All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 38364 ] - Ignoring invalid EDID block 1 do entire edid is invalid and not just block 1
@ 2011-06-16 10:50 zaverel
  0 siblings, 0 replies; 2+ messages in thread
From: zaverel @ 2011-06-16 10:50 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=38364


Hello ,

All is fine except i can't change resolution on my second monitor vga
,tv in fact, (reported as DVI-I-2 ) anymore with my 9400gt.


Now , i'm on :

linux-2.6.39-gentoo-r1
xorg-server-1.10.2
xf86-video-nouveau-0.0.16_pre20110323
libdrm-2.4.25

Errors in dmesg  are:

nouveau 0000:02:00.0: DVI-I-2: Ignoring invalid EDID block 1.
[drm:drm_edid_block_valid] *ERROR* Raw EDID:
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................




whatever i valid with xrandr is not really do on my tv
although xrandr say it's good , my tv always report 1202x670 50hz

I tried with and without xorg.conf

My last kernel working is linux-2.6.36-gentoo-r6.



If, i tweak drm_edid.c from kernel-2.6.39-gentoo-r1 like this:

--- drm_edid.c    2011-06-10 22:37:36.605848000 +0200
+++ linux/drivers/gpu/drm/drm_edid.c    2011-06-13 13:04:43.136786102 +0200
@@ -292,7 +292,7 @@
                   block + (valid_extensions + 1) * EDID_LENGTH,
                   j, EDID_LENGTH))
                 goto out;
-            if (drm_edid_block_valid(block + (valid_extensions + 1) *
EDID_LENGTH)) {
+            if (drm_edid_block_valid(block + (valid_extensions + 0) *
EDID_LENGTH)) {
                 valid_extensions++;
                 break;
             }

  that work good  like before but i'm not sure that is safe.

More info in 
http://lists.freedesktop.org/archives/nouveau/2011-June/008548.html

I can post logs here too , just tell me.

See you

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [Bug 38364 ] - Ignoring invalid EDID block 1 do entire edid is invalid and not just block 1
@ 2011-06-28 13:33 zaverel
  0 siblings, 0 replies; 2+ messages in thread
From: zaverel @ 2011-06-28 13:33 UTC (permalink / raw)
  To: dri-devel

Hello

I just change from nvidia (nouveau) to ati (radeon)
for some reasons of noise .

And it's the same probleme with wrong edid block 1.

My tweak of drm_edid.c work again whatever it's nouveau or radeon
but again , i don't know if it's safe.

--- drm_edid.c    2011-06-10 22:37:36.605848000 +0200
+++ linux/drivers/gpu/drm/drm_edid.c    2011-06-13 13:04:43.136786102 +0200
@@ -292,7 +292,7 @@
                   block + (valid_extensions + 1) * EDID_LENGTH,
                   j, EDID_LENGTH))
                 goto out;
-            if (drm_edid_block_valid(block + (valid_extensions + 1) *
EDID_LENGTH)) {
+            if (drm_edid_block_valid(block + (valid_extensions + 0) *
EDID_LENGTH)) {
                 valid_extensions++;
                 break;
             }






log with my tweak (linux-gentoo-2.6.39-r2)


...
coretemp coretemp.2: TjMax is 97 C.
coretemp coretemp.3: TjMax is 97 C.
w83627ehf: Found W83667HG chip at 0x290
[drm:drm_edid_block_valid] *ERROR* Raw EDID:
<3>00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
<3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
<3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
<3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
<3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
<3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
<3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
<3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................

radeon 0000:02:00.0: VGA-1: EDID invalid.
[drm:drm_edid_block_valid] *ERROR* Raw EDID:
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 7f ff ff  ................
<3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
<3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................

radeon 0000:02:00.0: VGA-1: EDID invalid.
[drm] force priority to high
[drm] force priority to high
[drm] force priority to high
EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro,commit=0
[drm:drm_edid_block_valid] *ERROR* Raw EDID:
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................

radeon 0000:02:00.0: VGA-1: EDID invalid.
[drm:drm_edid_block_valid] *ERROR* Raw EDID:
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
<3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................

radeon 0000:02:00.0: VGA-1: EDID invalid.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-28 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-16 10:50 [Bug 38364 ] - Ignoring invalid EDID block 1 do entire edid is invalid and not just block 1 zaverel
  -- strict thread matches above, loose matches on Subject: below --
2011-06-28 13:33 zaverel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.