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

          Priority: medium
            Bug ID: 72648
          Assignee: dri-devel at lists.freedesktop.org
           Summary: All 3 monitor EDIDs show the same
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: jim.cromie at gmail.com
          Hardware: Other
            Status: NEW
           Version: XOrg CVS
         Component: DRM/Radeon
           Product: DRI

I recently bought a 3rd monitor, plugged it to my radeon,
turns out its EDID is bad; it caused 2 of 3 monitors
to go to low-res, which Id reboot to correct (ick)

I fixed that with 
   drm_kms_helper.edid_firmware=VGA-1:edid/1920x1080.bin

.. which is nice, esp as its been available since 2012 :-)


what worries me is the following:
I have 3 different monitors on the 3 video connectors,
and dmesg (pasted below) confirms this.


[jimc at groucho 3.13.0-rc3-x2a-00174-g9538e10]$ for p in
/sys/class/drm/card0*/edid; do echo; echo $p; echo; monitor-edid $p ; done 

/sys/class/drm/card0-DVI-D-1/edid

Name: X241W
EISA ID: ACRad99
EDID version: 1.3
EDID extension blocks: 0
Screen size: 51.8 cm x 32.4 cm (24.05 inches, aspect ratio 16/10 = 1.60)
Gamma: 2.2
Digital signal
Max video bandwidth: 170 MHz

    HorizSync 31-81
    VertRefresh 56-75

    # Monitor preferred modeline (60.0 Hz vsync, 74.0 kHz hsync, ratio 16/10,
94 dpi)
    ModeLine "1920x1200" 154 1920 1968 2000 2080 1200 1203 1209 1235 +hsync
+vsync

/sys/class/drm/card0-HDMI-A-1/edid

Name: X241W
EISA ID: ACRad99
EDID version: 1.3
EDID extension blocks: 0
Screen size: 51.8 cm x 32.4 cm (24.05 inches, aspect ratio 16/10 = 1.60)
Gamma: 2.2
Digital signal
Max video bandwidth: 170 MHz

    HorizSync 31-81
    VertRefresh 56-75

    # Monitor preferred modeline (60.0 Hz vsync, 74.0 kHz hsync, ratio 16/10,
94 dpi)
    ModeLine "1920x1200" 154 1920 1968 2000 2080 1200 1203 1209 1235 +hsync
+vsync

/sys/class/drm/card0-VGA-1/edid

Name: X241W
EISA ID: ACRad99
EDID version: 1.3
EDID extension blocks: 0
Screen size: 51.8 cm x 32.4 cm (24.05 inches, aspect ratio 16/10 = 1.60)
Gamma: 2.2
Digital signal
Max video bandwidth: 170 MHz

    HorizSync 31-81
    VertRefresh 56-75

    # Monitor preferred modeline (60.0 Hz vsync, 74.0 kHz hsync, ratio 16/10,
94 dpi)
    ModeLine "1920x1200" 154 1920 1968 2000 2080 1200 1203 1209 1235 +hsync
+vsync




heres that dmesg grep - Im using dpm, and enabled debug-prints



[jimc at groucho 3.13.0-rc3-x2a-00174-g9538e10]$ grep -E 'radeon|drm' dmesg 
 Command line: BOOT_IMAGE=/vmlinuz-3.13.0-rc3-x2a-00174-g9538e10
root=/dev/mapper/vg_groucho-lv_root ro quiet rhgb radeon.dyndbg radeon.dpm=-1
radeon.aspm=-1 printk.time=0 LANG=en_US.UTF-8
 Kernel command line: BOOT_IMAGE=/vmlinuz-3.13.0-rc3-x2a-00174-g9538e10
root=/dev/mapper/vg_groucho-lv_root ro quiet rhgb radeon.dyndbg radeon.dpm=-1
radeon.aspm=-1 printk.time=0 LANG=en_US.UTF-8
 [drm] Initialized drm 1.1.0 20060810
 [drm] radeon kernel modesetting enabled.
 [drm] initializing kernel modesetting (CEDAR 0x1002:0x68E1 0x1787:0x3000).
 [drm] register mmio base: 0xFE9E0000
 [drm] register mmio size: 131072
 radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
(1024M used)
 radeon 0000:01:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
 [drm] Detected VRAM RAM=1024M, BAR=256M
 [drm] RAM width 64bits DDR
 [drm] radeon: 1024M of VRAM memory ready
 [drm] radeon: 1024M of GTT memory ready.
 [drm] GART: num cpu pages 262144, num gpu pages 262144
 [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
 [drm] Loading CEDAR Microcode
 [drm] PCIE GART of 1024M enabled (table at 0x000000000025D000).
 radeon 0000:01:00.0: WB enabled
 radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00
and cpu addr 0xffff880221ba2c00
 radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c
and cpu addr 0xffff880221ba2c0c
 radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418
and cpu addr 0xffffc90010f1c418
 [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
 [drm] Driver supports precise vblank timestamp query.
 radeon 0000:01:00.0: irq 42 for MSI/MSI-X
 radeon 0000:01:00.0: radeon: using MSI.
 [drm] radeon: irq initialized.
 [drm] ring test on 0 succeeded in 1 usecs
 [drm] ring test on 3 succeeded in 1 usecs
 [drm] ring test on 5 succeeded in 1 usecs
 [drm] UVD initialized successfully.
 [drm] Enabling audio 0 support
 [drm] ib test on ring 0 succeeded in 0 usecs
 [drm] ib test on ring 3 succeeded in 0 usecs
 [drm] ib test on ring 5 succeeded
 [drm] Radeon Display Connectors
 [drm] Connector 0:
 [drm]   HDMI-A-1
 [drm]   HPD2
 [drm]   DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c 0x646c
 [drm]   Encoders:
 [drm]     DFP1: INTERNAL_UNIPHY1
 [drm] Connector 1:
 [drm]   DVI-D-1
 [drm]   HPD4
 [drm]   DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c
 [drm]   Encoders:
 [drm]     DFP2: INTERNAL_UNIPHY
 [drm] Connector 2:
 [drm]   VGA-1
 [drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
 [drm]   Encoders:
 [drm]     CRT1: INTERNAL_KLDSCP_DAC1
 [drm] Internal thermal controller with fan control
 [drm] radeon: dpm initialized
 [drm] fb mappable at 0xD0460000
 [drm] vram apper at 0xD0000000
 [drm] size 9216000
 [drm] fb depth is 24
 [drm]    pitch is 7680
 fbcon: radeondrmfb (fb0) is primary device
 radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
 radeon 0000:01:00.0: registered panic notifier
 [drm] Initialized radeon 2.35.0 20080528 for 0000:01:00.0 on minor 0
 [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 251
 [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 244
 [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 87
 [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 241
 [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 200
 radeon 0000:01:00.0: VGA-1: EDID block 0 invalid.
 [drm:radeon_vga_detect] *ERROR* VGA-1: probed a monitor but no|invalid EDID
 [drm:radeon_vga_detect] *ERROR* VGA-1: probed a monitor but no|invalid EDID
 [drm:radeon_atom_pick_pll] *ERROR* unable to allocate a PPLL
 [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:12]
 [drm:radeon_vga_detect] *ERROR* VGA-1: probed a monitor but no|invalid EDID
 [drm:radeon_vga_detect] *ERROR* VGA-1: probed a monitor but no|invalid EDID
 [drm:radeon_atom_pick_pll] *ERROR* unable to allocate a PPLL
 [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:13]
 [drm:radeon_atom_pick_pll] *ERROR* unable to allocate a PPLL
 [drm:drm_crtc_helper_set_config] *ERROR* failed to set mode on [CRTC:14]
 [drm:radeon_vga_detect] *ERROR* VGA-1: probed a monitor but no|invalid EDID
 radeon 0000:01:00.0: GPU lockup CP stall for more than 10017msec
 radeon 0000:01:00.0: GPU lockup (waiting for 0x000000000000006b last fence id
0x0000000000000069 on ring 0)
 [drm:rv770_stop_dpm] *ERROR* Could not force DPM to low.
 [drm] Disabling audio 0 support
 radeon 0000:01:00.0: Saved 55 dwords of commands on ring 0.
 radeon 0000:01:00.0: GPU softreset: 0x00000008
 radeon 0000:01:00.0:   GRBM_STATUS               = 0xA0003828
 radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
 radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
 radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
 radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
 radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
 radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00010000
 radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
 radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x80018647
 radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
 radeon 0000:01:00.0: GRBM_SOFT_RESET=0x00004001
 radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00000100
 radeon 0000:01:00.0:   GRBM_STATUS               = 0x00003828
 radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
 radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
 radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
 radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
 radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
 radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
 radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
 radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x00000000
 radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
 radeon 0000:01:00.0: GPU reset succeeded, trying to resume
 [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
 [drm] PCIE GART of 1024M enabled (table at 0x000000000025D000).
 radeon 0000:01:00.0: WB enabled
 radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00
and cpu addr 0xffff880221ba2c00
 radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c
and cpu addr 0xffff880221ba2c0c
 radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418
and cpu addr 0xffffc90010f1c418
 [drm] ring test on 0 succeeded in 1 usecs
 [drm] ring test on 3 succeeded in 1 usecs
 [drm] ring test on 5 succeeded in 1 usecs
 [drm] UVD initialized successfully.
 [drm] Enabling audio 0 support
 [drm] ib test on ring 0 succeeded in 0 usecs
 [drm] ib test on ring 3 succeeded in 1 usecs
 [drm] ib test on ring 5 succeeded
 radeon 0000:01:00.0: GPU lockup CP stall for more than 10005msec
 radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000000089 last fence id
0x0000000000000087 on ring 0)
 [drm:rv770_stop_dpm] *ERROR* Could not force DPM to low.
 [drm] Disabling audio 0 support
 radeon 0000:01:00.0: Saved 55 dwords of commands on ring 0.
 radeon 0000:01:00.0: GPU softreset: 0x00000008
 radeon 0000:01:00.0:   GRBM_STATUS               = 0xA0003828
 radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
 radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
 radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
 radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
 radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
 radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00010000
 radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
 radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x80018647
 radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
 radeon 0000:01:00.0: GRBM_SOFT_RESET=0x00004001
 radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00000100
 radeon 0000:01:00.0:   GRBM_STATUS               = 0x00003828
 radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
 radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
 radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
 radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
 radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
 radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
 radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
 radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x00000000
 radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
 radeon 0000:01:00.0: GPU reset succeeded, trying to resume
 [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
 [drm] PCIE GART of 1024M enabled (table at 0x000000000025D000).
 radeon 0000:01:00.0: WB enabled
 radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00
and cpu addr 0xffff880221ba2c00
 radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c
and cpu addr 0xffff880221ba2c0c
 radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418
and cpu addr 0xffffc90010f1c418
 [drm] ring test on 0 succeeded in 1 usecs
 [drm] ring test on 3 succeeded in 1 usecs
 [drm] ring test on 5 succeeded in 1 usecs
 [drm] UVD initialized successfully.
 [drm] Enabling audio 0 support
 [drm] ib test on ring 0 succeeded in 0 usecs
 [drm] ib test on ring 3 succeeded in 1 usecs
 [drm] ib test on ring 5 succeeded
 radeon 0000:01:00.0: GPU lockup CP stall for more than 10006msec
 radeon 0000:01:00.0: GPU lockup (waiting for 0x0000000000000166 last fence id
0x0000000000000164 on ring 0)
 [drm:rv770_stop_dpm] *ERROR* Could not force DPM to low.
 [drm] Disabling audio 0 support
 radeon 0000:01:00.0: Saved 55 dwords of commands on ring 0.
 radeon 0000:01:00.0: GPU softreset: 0x00000008
 radeon 0000:01:00.0:   GRBM_STATUS               = 0xA0003828
 radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
 radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
 radeon 0000:01:00.0:   SRBM_STATUS               = 0x20000AC0
 radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
 radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
 radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00010000
 radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
 radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x80018647
 radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
 radeon 0000:01:00.0: GRBM_SOFT_RESET=0x00004001
 radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00000100
 radeon 0000:01:00.0:   GRBM_STATUS               = 0x00003828
 radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
 radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
 radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
 radeon 0000:01:00.0:   SRBM_STATUS2              = 0x00000000
 radeon 0000:01:00.0:   R_008674_CP_STALLED_STAT1 = 0x00000000
 radeon 0000:01:00.0:   R_008678_CP_STALLED_STAT2 = 0x00000000
 radeon 0000:01:00.0:   R_00867C_CP_BUSY_STAT     = 0x00000000
 radeon 0000:01:00.0:   R_008680_CP_STAT          = 0x00000000
 radeon 0000:01:00.0:   R_00D034_DMA_STATUS_REG   = 0x44C83D57
 radeon 0000:01:00.0: GPU reset succeeded, trying to resume
 [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
 [drm] PCIE GART of 1024M enabled (table at 0x000000000025D000).
 radeon 0000:01:00.0: WB enabled
 radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00
and cpu addr 0xffff880221ba2c00
 radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c
and cpu addr 0xffff880221ba2c0c
 radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418
and cpu addr 0xffffc90010f1c418
 [drm] ring test on 0 succeeded in 1 usecs
 [drm] ring test on 3 succeeded in 1 usecs
 [drm] ring test on 5 succeeded in 1 usecs
 [drm] UVD initialized successfully.
 [drm] Enabling audio 0 support
 [drm] ib test on ring 0 succeeded in 0 usecs
 [drm] ib test on ring 3 succeeded in 1 usecs
 [drm] ib test on ring 5 succeeded


apologies if those logs should have been done as attachemnts

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.freedesktop.org/archives/dri-devel/attachments/20131212/9fec728d/attachment-0001.html>

Reply via email to