Bug 56111

Summary: EDID not read, results in flickering monitor
Product: DRI Reporter: Darxus <darxus>
Component: GeneralAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium CC: darxus, jrnieder
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Ubuntu Oneric dmesg output, not having this problem
none
Debian dmesg output, which does have this problem none

Description Darxus 2012-10-18 01:40:03 UTC
Created attachment 68741 [details]
Ubuntu Oneric dmesg output, not having this problem

Debian bug:  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690794
Ubuntu bug, possibly the same, fixed, but I don't know how:  https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/958439

Installed Debian Wheezy, then installed package linux-image-3.5-trunk-amd64 from Experimental, which I guess is an unmodified mainline kernel:

$ uname -a
Linux dancer 3.5-trunk-amd64 #1 SMP Debian 3.5.5-1~experimental.1 x86_64 GNU/Linux

EDID is not read properly, resulting in (CRT) monitor flickering (looks like 60hz).

gnome-control-center says the display is "Unknown".

xrandr --verbose does not mention the EDID.

I previously had these problems on Ubuntu, reported in the above Ubuntu bug.  It persisted when I changed video cards from Nvidia to AMD Radeon.  It went away with a kernel upgrade.  Not sure what the change was.

"xrandr --verbose" output:

-------------------------------------------------------------------------
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 400, current 1600 x 1200, maximum 1920 x 1440
default connected 1600x1200+0+0 (0x13b) normal (normal) 0mm x 0mm
        Identifier: 0x137
        Timestamp:  40607
        Subpixel:   no subpixels
        Clones:    
        CRTC:       0
        CRTCs:      0
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
  1920x1440 (0x138)    0.0MHz
        h: width  1920 start    0 end    0 total 1920 skew    0 clock    0.0KHz
        v: height 1440 start    0 end    0 total 1440           clock    0.0Hz
  1856x1392 (0x139)    0.0MHz
        h: width  1856 start    0 end    0 total 1856 skew    0 clock    0.0KHz
        v: height 1392 start    0 end    0 total 1392           clock    0.0Hz
  1792x1344 (0x13a)    0.0MHz
        h: width  1792 start    0 end    0 total 1792 skew    0 clock    0.0KHz
        v: height 1344 start    0 end    0 total 1344           clock    0.0Hz
  1600x1200 (0x13b)    0.0MHz *current
        h: width  1600 start    0 end    0 total 1600 skew    0 clock    0.0KHz
        v: height 1200 start    0 end    0 total 1200           clock    0.0Hz
  1280x1024 (0x13c)    0.0MHz
        h: width  1280 start    0 end    0 total 1280 skew    0 clock    0.0KHz
        v: height 1024 start    0 end    0 total 1024           clock    0.0Hz
  1152x864 (0x13d)    0.0MHz
        h: width  1152 start    0 end    0 total 1152 skew    0 clock    0.0KHz
        v: height  864 start    0 end    0 total  864           clock    0.0Hz
  1024x768 (0x13e)    0.0MHz
        h: width  1024 start    0 end    0 total 1024 skew    0 clock    0.0KHz
        v: height  768 start    0 end    0 total  768           clock    0.0Hz
  800x600 (0x13f)    0.0MHz
        h: width   800 start    0 end    0 total  800 skew    0 clock    0.0KHz
        v: height  600 start    0 end    0 total  600           clock    0.0Hz
  640x480 (0x140)    0.0MHz
        h: width   640 start    0 end    0 total  640 skew    0 clock    0.0KHz
        v: height  480 start    0 end    0 total  480           clock    0.0Hz
  720x400 (0x141)    0.0MHz
        h: width   720 start    0 end    0 total  720 skew    0 clock    0.0KHz
        v: height  400 start    0 end    0 total  400           clock    0.0Hz
-------------------------------------------------------------------------

"get-edid 2>&1 | parse-edid > get-parse-edid.txt 2>&1" output:

-------------------------------------------------------------------------
parse-edid: parse-edid version 2.0.0
parse-edid: EDID checksum failed - data is corrupt. Continuing anyway.
parse-edid: first bytes don't match EDID version 1 header
parse-edid: do not trust output (if any).

        # EDID version 32 revision 118
Section "Monitor"
        Identifier "NQ@:6765"
        VendorName "NQ@"
        ModelName "NQ@:6765"
        # DPMS capabilities: Active off:yes  Suspend:yes  Standby:no

        Mode    "1110x1568"     # vfreq 17.559Hz, hfreq 33.766kHz
                DotClock        82.930000
                HTimings        1110 1218 1326 2456
                VTimings        1568 1600 1626 1923
        EndMode
        Mode    "884x888"       # vfreq 335.422Hz, hfreq 314.290kHz
                DotClock        287.890000
                HTimings        884 916 1029 916
                VTimings        888 943 967 937
        EndMode
        Mode    "888x632"       # vfreq 389.264Hz, hfreq 264.700kHz
                DotClock        251.200000
                HTimings        888 987 1107 949
                VTimings        632 635 648 680
        EndMode
        Mode    "1652x1902"     # vfreq 16.831Hz, hfreq 45.478kHz
                DotClock        254.540000
                HTimings        1652 1769 1881 5597
                VTimings        1902 1957 2005 2702
        EndMode
EndSection
-------------------------------------------------------------------------


Output of "xrandr --verbose" on Ubuntu Oneric, which does not have this problem:

-------------------------------------------------------------------------
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x55
        Timestamp:  32750
        Subpixel:   horizontal rgb
        Clones:    
        CRTCs:      0 1 2 3 4 5
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        underscan vborder: 0 (0x00000000)       range:  (0,128)
        underscan hborder: 0 (0x00000000)       range:  (0,128)
        underscan:      off
                supported: off          on           auto        
        coherent: 1 (0x00000001)        range:  (0,1)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x56
        Timestamp:  32750
        Subpixel:   horizontal rgb
        Clones:    
        CRTCs:      0 1 2 3 4 5
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        underscan vborder: 0 (0x00000000)       range:  (0,128)
        underscan hborder: 0 (0x00000000)       range:  (0,128)
        underscan:      off
                supported: off          on           auto        
        coherent: 1 (0x00000001)        range:  (0,1)
HDMI-0 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x57
        Timestamp:  32750
        Subpixel:   horizontal rgb
        Clones:    
        CRTCs:      0 1 2 3 4 5
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        underscan vborder: 0 (0x00000000)       range:  (0,128)
        underscan hborder: 0 (0x00000000)       range:  (0,128)
        underscan:      off
                supported: off          on           auto        
        coherent: 1 (0x00000001)        range:  (0,1)
DVI-0 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x58
        Timestamp:  32750
        Subpixel:   horizontal rgb
        Clones:    
        CRTCs:      0 1 2 3 4 5
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        underscan vborder: 0 (0x00000000)       range:  (0,128)
        underscan hborder: 0 (0x00000000)       range:  (0,128)
        underscan:      off
                supported: off          on           auto        
        coherent: 1 (0x00000001)        range:  (0,1)
DVI-1 connected 1600x1200+0+0 (0x5a) normal (normal left inverted right x axis y axis) 390mm x 290mm
        Identifier: 0x59
        Timestamp:  32750
        Subpixel:   horizontal rgb
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:    
        CRTC:       0
        CRTCs:      0 1 2 3 4 5
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        EDID:
                00ffffffffffff005a6309e801010101
                260d01031d281ec0eacc58a054479925
                0f484cffff80a94f81996159714fc14f
                c940d140e140a659403062b0324040c0
                130086221100001e000000ff0034324b
                3033333830303333350a000000fd0032
                b41e6e1a000a202020202020000000fc
                004732323066620a20202020202000df
        load detection: 1 (0x00000001)  range:  (0,1)
        underscan vborder: 0 (0x00000000)       range:  (0,128)
        underscan hborder: 0 (0x00000000)       range:  (0,128)
        underscan:      off
                supported: off          on           auto        
        coherent: 1 (0x00000001)        range:  (0,1)
  1600x1200 (0x5a)  229.5MHz +HSync +VSync *current +preferred
        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock  106.2KHz
        v: height 1200 start 1201 end 1204 total 1250           clock   85.0Hz
  2048x1536 (0x5b)  267.0MHz -HSync +VSync
        h: width  2048 start 2200 end 2424 total 2800 skew    0 clock   95.4KHz
        v: height 1536 start 1537 end 1540 total 1589           clock   60.0Hz
  1920x1440 (0x5c)  234.0MHz -HSync +VSync
        h: width  1920 start 2048 end 2256 total 2600 skew    0 clock   90.0KHz
        v: height 1440 start 1441 end 1444 total 1500           clock   60.0Hz
  1856x1392 (0x5d)  218.2MHz -HSync +VSync
        h: width  1856 start 1952 end 2176 total 2528 skew    0 clock   86.3KHz
        v: height 1392 start 1393 end 1396 total 1439           clock   60.0Hz
  1792x1344 (0x5e)  261.0MHz -HSync +VSync
        h: width  1792 start 1888 end 2104 total 2456 skew    0 clock  106.3KHz
        v: height 1344 start 1345 end 1348 total 1417           clock   75.0Hz
  1600x1200 (0x5f)  202.5MHz +HSync +VSync
        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock   93.8KHz
        v: height 1200 start 1201 end 1204 total 1250           clock   75.0Hz
  1280x1024 (0x60)  157.5MHz +HSync +VSync
        h: width  1280 start 1344 end 1504 total 1728 skew    0 clock   91.1KHz
        v: height 1024 start 1025 end 1028 total 1072           clock   85.0Hz
  1280x1024 (0x61)  135.0MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock   80.0KHz
        v: height 1024 start 1025 end 1028 total 1066           clock   75.0Hz
  1152x864 (0x62)  108.0MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock   67.5KHz
        v: height  864 start  865 end  868 total  900           clock   75.0Hz
  1024x768 (0x63)   94.5MHz +HSync +VSync
        h: width  1024 start 1072 end 1168 total 1376 skew    0 clock   68.7KHz
        v: height  768 start  769 end  772 total  808           clock   85.0Hz
  1024x768 (0x64)   78.8MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock   60.1KHz
        v: height  768 start  769 end  772 total  800           clock   75.1Hz
  1024x768 (0x65)   75.0MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock   56.5KHz
        v: height  768 start  771 end  777 total  806           clock   70.1Hz
  1024x768 (0x66)   65.0MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  1024x768 (0x67)   44.9MHz +HSync +VSync Interlace
        h: width  1024 start 1032 end 1208 total 1264 skew    0 clock   35.5KHz
        v: height  768 start  768 end  776 total  817           clock   43.5Hz
  832x624 (0x68)   57.3MHz -HSync -VSync
        h: width   832 start  864 end  928 total 1152 skew    0 clock   49.7KHz
        v: height  624 start  625 end  628 total  667           clock   74.6Hz
  800x600 (0x69)   50.0MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock   48.1KHz
        v: height  600 start  637 end  643 total  666           clock   72.2Hz
  800x600 (0x6a)   49.5MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock   46.9KHz
        v: height  600 start  601 end  604 total  625           clock   75.0Hz
  800x600 (0x6b)   40.0MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  800x600 (0x6c)   36.0MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock   35.2KHz
        v: height  600 start  601 end  603 total  625           clock   56.2Hz
  640x480 (0x6d)   31.5MHz -HSync -VSync
        h: width   640 start  664 end  704 total  832 skew    0 clock   37.9KHz
        v: height  480 start  489 end  491 total  520           clock   72.8Hz
  640x480 (0x6e)   31.5MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock   37.5KHz
        v: height  480 start  481 end  484 total  500           clock   75.0Hz
  640x480 (0x6f)   30.2MHz -HSync -VSync
        h: width   640 start  704 end  768 total  864 skew    0 clock   35.0KHz
        v: height  480 start  483 end  486 total  525           clock   66.7Hz
  640x480 (0x70)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   60.0Hz
  720x400 (0x71)   35.5MHz -HSync -VSync
        h: width   720 start  738 end  846 total  900 skew    0 clock   39.4KHz
        v: height  400 start  421 end  423 total  449           clock   87.8Hz
  720x400 (0x72)   28.3MHz -HSync +VSync
        h: width   720 start  738 end  846 total  900 skew    0 clock   31.5KHz
        v: height  400 start  412 end  414 total  449           clock   70.1Hz
-------------------------------------------------------------------------


Output of "get-edid 2>&1 | parse-edid > get-parse-edid.txt 2>&1" on
Ubuntu Oneric:

-------------------------------------------------------------------------
parse-edid: parse-edid version 2.0.0
parse-edid: EDID checksum failed - data is corrupt. Continuing anyway.
parse-edid: first bytes don't match EDID version 1 header
parse-edid: do not trust output (if any).

        # EDID version 32 revision 118
Section "Monitor"
        Identifier "NQ@:6765"
        VendorName "NQ@"
        ModelName "NQ@:6765"
        # DPMS capabilities: Active off:yes  Suspend:yes  Standby:no

        Mode    "623x1902"      # vfreq 121.269Hz, hfreq 368.295kHz
                DotClock        269.960000
                HTimings        623 671 783 733
                VTimings        1902 1908 1945 3037
        EndMode
        Mode    "613x1637"      # vfreq 16.090Hz, hfreq 65.018kHz
                DotClock        263.780000
                HTimings        613 729 787 4057
                VTimings        1637 1655 1671 4041
        EndMode
        Mode    "1652x1900"     # vfreq 48.351Hz, hfreq 134.078kHz
                DotClock        269.900000
                HTimings        1652 1757 1867 2013
                VTimings        1900 1906 1913 2773
        EndMode
        Mode    "1568x1908"     # vfreq 19.585Hz, hfreq 49.374kHz
                DotClock        259.560000
                HTimings        1568 1686 1783 5257
                VTimings        1908 1930 1949 2521
        EndMode
EndSection
-------------------------------------------------------------------------

Oneric kernel is:

$ uname -a
Linux dancer 3.0.0-26-generic #43-Ubuntu SMP Tue Sep 25 17:19:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Comment 1 Darxus 2012-10-18 01:47:55 UTC
Created attachment 68742 [details]
Debian dmesg output, which does have this problem
Comment 2 Michel Dänzer 2012-10-18 07:16:07 UTC
(In reply to comment #1)
> Created attachment 68742 [details]
> Debian dmesg output, which does have this problem
[...]
> [    5.773063] ni_cp: Failed to load firmware "radeon/BARTS_pfp.bin"
> [    5.773113] [drm:evergreen_startup] *ERROR* Failed to load firmware!

Is the firmware-linux-nonfree package installed on Debian Wheezy?
Comment 3 Darxus 2012-10-18 13:27:20 UTC
(In reply to comment #2)
> Is the firmware-linux-nonfree package installed on Debian Wheezy?

No, it was not.  

Installing this package appears to have solved my problem, thanks.

gnome-control-center is no-longer listing my monitor as "Unknown", but appropriately as "Viewsonic [something].

It's too painfully backlit by the sun at this time of day to be sure it's not flickering, but based on previous experience I'm confident it's not.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.