edid.bin drm_kms_helper Intel HD4200 not working
#1
Hello

I'm running both xbmcbuntu 14.04 (xbmc 13.2) and Openelec 4.0.7 on Zotac CI520 Intel HD4200
everythings fine sofar, except booting with turned off Monitor -- Problem of missing Display
used the edid solution on my Raspberry, which worked great and trying the same thing now on my new Zotac


Followed the Guide cconcernig setting up edid.bin via drm_kms_helper for intel
wiki.openelec.tv/index.php/Configuring_a_Custom_xorg.conf#Intel

The Point is ..
when I start Openelec or xbmcbuntu with turned on Monitor I get:

OpenELEC:~ # dmesg | grep drm
[ 0.698890] [drm] Initialized drm 1.1.0 20060810
[ 0.699040] [drm] radeon kernel modesetting enabled.
[ 0.699978] [drm] Memory usable by graphics device = 2048M
[ 0.738034] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 0.738176] [drm] Driver supports precise vblank timestamp query.
[ 0.820676] fbcon: inteldrmfb (fb0) is primary device
[ 1.042111] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[ 1.050925] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[ 2.347632] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[ 16.995007] [drm] Got external EDID base block and 1 extension from "edid.bin" for connector "HDMI-A-1"
[ 18.411529] [drm] Got external EDID base block and 1 extension from "edid.bin" for connector "HDMI-A-1"


When starting with turned off Monitor I only get:

OpenELEC:~ # dmesg | grep drm
[ 0.698929] [drm] Initialized drm 1.1.0 20060810
[ 0.699080] [drm] radeon kernel modesetting enabled.
[ 0.700018] [drm] Memory usable by graphics device = 2048M
[ 0.738065] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 0.738208] [drm] Driver supports precise vblank timestamp query.
[ 0.768998] [drm] Cannot find any crtc or sizes - going 1024x768
[ 0.769973] fbcon: inteldrmfb (fb0) is primary device
[ 0.780236] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[ 0.787641] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[ 2.347683] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off


Seems to me that the edid.bin gets only loaded when Monitor is "switched on" which is kind of sensless

autostart.sh (openelec)
#! /bin/sh
echo -n "HDMI-A-1:edid.bin" > /sys/module/drm_kms_helper/parameters/edid_firmware

rc.local (xbmcbuntu)
#! /bin/sh
echo -n "HDMI-A-1:edid/edid.bin" > /sys/module/drm_kms_helper/parameters/edid_firmware


edid.bin under
.config/firmware/edid.bin (openelec)
/lib/firmware/edid/edid.bin (xbmcbuntu)


Not sure if I'm missing something
Any Ideas appreciated

regards
Martin
vdr 2.2.0 (yavdr/unstable-vdr) / TBS 6991 dvbs-2 - Twin Tuner plus CI / vdr-plugin-vnsiserver 1.3.0 (FernetMenta's GIT) / Ubuntu 14.04 LTS
Zotac CI520 / kodibuntu 14.04 / Helix 14.1 stable, vdr addon 1.9.23 (Opdenkamp's GIT), Skin Rapier 7.2.0
MacBook Pro / OSX 10.10 / Helix 14.1 stable, vdr addon 1.9.23 (Opdenkamp's GIT), Skin Rapier 7.2.0
MySQL MediaDB
Reply
#2
bugs.freedesktop.org
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
Hey Martin,

Where did you get your Intel EDID.BIN file from?
Reply
#4
After a succesful boot, you can get it via the sysfs interface. Here is a more advanced method to do the above: 1824527 (post)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
Ah! ok so going from that howto and a wiki article, for Openelec I would:

(assuming it is card0-HDMI-A-1)

cp /sys/class/drm/card0-HDMI-A-1/edid /storage/.config/firmware/edid.bin

And then put in autostart.sh:

#! /bin/sh
echo -n "HDMI-A-1:edid.bin" > /sys/module/drm_kms_helper/parameters/edid_firmware

Is that right?
Reply
#6
Not really, cause at that moment your boot is already over. See the above link. That gets the edid.bin already set in grub and digitally enables the output.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#7
Hmm ok. Thanks anyway. Any other suggestions?

I get about 50% black screen on start up, which is starting to get a bit annoying.
Reply
#8
No other suggestion. Go to bugs.freedesktop.org and file that with DRM/intel.

It has absolutley nothing to do with kodi. It's a kernel / gpu driver issue.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#9
it might be the same bug I see on my system. As soon as I have _HDMI_ audio configured, the display will stay black when booting with TV off. Works fine with SPDIF.

edit: obviously with edid override
Reply
#10
@nugget21
I gathered my edid.bin via raspberypi's tvservice tool
on raspeberry use
sudo tvservice -d /boot/edid.bin

or you can try read-edid if your running on ubuntu
https://launchpad.net/ubuntu/+source/read-edid
sudo apt-get install read-edid
extract: get-edid > edid.bin
check: parse-edid < edid.bin

@ fritsch
I'm running my OpeneElec installation diskless using PXE for networkboot
so grub is not an option
But I'm able to hand over Kernel Parameter at boot time via PXE

Already tried that but without the video parameter
so will give it a go tonight using

Code:
drm_kms_helper.edid_firmware=HDMI-A-1:edid/edid.bin video=HDMI-A-1:D

Thanks fo the hint
Martin
vdr 2.2.0 (yavdr/unstable-vdr) / TBS 6991 dvbs-2 - Twin Tuner plus CI / vdr-plugin-vnsiserver 1.3.0 (FernetMenta's GIT) / Ubuntu 14.04 LTS
Zotac CI520 / kodibuntu 14.04 / Helix 14.1 stable, vdr addon 1.9.23 (Opdenkamp's GIT), Skin Rapier 7.2.0
MacBook Pro / OSX 10.10 / Helix 14.1 stable, vdr addon 1.9.23 (Opdenkamp's GIT), Skin Rapier 7.2.0
MySQL MediaDB
Reply
#11
(2014-12-17, 16:05)wsnipex Wrote: it might be the same bug I see on my system. As soon as I have _HDMI_ audio configured, the display will stay black when booting with TV off. Works fine with SPDIF.

edit: obviously with edid override

I'm not sure if it is the same bug as it still works 50% of the time. Is yours going to a black screen every time when HDMI audio is enabled?
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
edid.bin drm_kms_helper Intel HD4200 not working00