Bug 15030
Summary: | screen connected to displayport is not detected - kms radeon | ||
---|---|---|---|
Product: | Drivers | Reporter: | Nicolas Reinecke (pl4nkton) |
Component: | Video(DRI - non Intel) | Assignee: | drivers_video-dri |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | airlied, alan, alexdeucher, zaitcev |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 2.6.36-rc8+ | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
video bios
DP fail - connect to running system DP works DP screen not detected, drm.debug, second screen on dvi-d found xf86-video-ati patch drm radeon patch |
Description
Nicolas Reinecke
2010-01-10 18:19:14 UTC
What kernel are you using? You may be using an older drm without DP support. I now use kernel 2.6.33-rc4, before it was 2.6.33-rc3. [ 0.000000] Linux version 2.6.33-rc4-desktop32 (root@desktop) (gcc version 4.4.3 20100108 (prerelease) (Ubuntu 4.4.2-9ubuntu3) ) #1 SMP Wed Jan 13 15:28:02 CET 2010 The screen gets a video signal until drm take over control form the bios and switch to standby. I was wrong to report non kms as operational. No sign of DP link in xrandr, Xorg log or dmesg. Are you using straight displayport or a displayport->DVI convertor? It is a straight displayport connection. Created attachment 24622 [details]
video bios
The graphics card is a "Gainward Golden Sample 1024M 256Bit CRT DVI HDMI DP" with a custom pcb layout. Maybe they wired the DP differently. When I'm using Win7 + ATI driver, DP works as good as the DVI-D connection. Does this work any better with the latest atom parser updates in drm-radeon-testing: http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=shortlog;h=refs/heads/drm-radeon-testing I tried latest DDX and drm-2.6 radeon-testing. The screen still get no signal. With the latest xf86-video-ati git version DP works if the screen was connected at boot. When I connect it at runtime false modes are detected and I can't enable the DP screen. KMS still refuses to detect it. Created attachment 24877 [details]
DP fail - connect to running system
The fix for KMS DP went in after rc6: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=9ce929078af868ce5f5b0b3537184dad642fba43 Created attachment 24878 [details]
DP works
I don't understand how why 9ce929078af868ce5f5b0b3537184dad642fba43 affects the DP. I can see the changelog entry, but there does not seem to be any code in it that actually did it. Also, the wireless changes in it are strangely... unrelated. Can anyone point me to the function name with the change? thats a merge commit It affects radeon displayport f28cf33945cc112f8ee835512b7440905dc29ad2 43c33ed87d0f1b900a6a3014db556ecc7f4a989b 97b94ccb9aa1b82ed7a9a045d0ae5b32c99b84a0 are all radeon DP commits to fix it. I don't see any wireless stuff touched in that merge. DP still not working with KMS. Created attachment 25928 [details]
DP screen not detected, drm.debug, second screen on dvi-d found
DP still not working with KMS. The UMS driver uses this i2c commands: ... [ 573.709] RADEONDPEncoderService: 1 19 [ 573.709] (II) RADEON(0): I2C device "DisplayPort-0-DP:ddc2" registered at address 0xA0. [ 573.710] get auxch 0030 40 30 i2c addr:0x92 status:00 [ 573.710] get auxch 0030 00 30 i2c addr:0x92 status:00 [ 573.711] (II) RADEON(0): I2C device "DisplayPort-0-DP:E-EDID segment register" registered at address 0x60. [ 573.711] get auxch 0031 40 30 i2c addr:0x92 status:00 [ 573.712] get auxch 0031 00 30 i2c addr:0x92 status:00 [ 573.712] (II) RADEON(0): I2C device "DisplayPort-0-DP:EDID EEPROM interface" registered at address 0x62. [ 573.713] get auxch 0037 40 30 i2c addr:0x92 status:00 [ 573.714] get auxch 0037 00 30 i2c addr:0x92 status:00 [ 573.714] (II) RADEON(0): I2C device "DisplayPort-0-DP:DDC control interface" registered at address 0x6E. [ 573.715] get auxch 0050 40 30 i2c addr:0x92 status:00 [ 573.715] get auxch 0050 40 50 i2c addr:0x92 status:00 [ 573.716] get auxch 0050 50 30 i2c addr:0x92 status:00 [ 573.717] get auxch 0050 50 40 i2c addr:0x92 status:00 ... [ 573.805] get auxch 0050 50 40 i2c addr:0x92 status:00 [ 573.806] get auxch 0050 10 30 i2c addr:0x92 status:00 [ 573.808] RADEONDPEncoderService: 1 19 [ 573.809] get auxch 0000 90 47 i2c addr:0x92 status:00 [ 573.809] get auxch 0100 90 41 i2c addr:0x92 status:00 [ 573.809] (II) RADEON(0): EDID for output DisplayPort-0 ... the kms does something different and fail to detect a device Oct 17 17:14:57 desktop kernel: [ 9.448391] [drm] ring test succeeded in 1 usecs Oct 17 17:14:57 desktop kernel: [ 9.448515] [drm] radeon: ib pool ready. Oct 17 17:14:57 desktop kernel: [ 9.448588] [drm] ib test succeeded in 0 usecs Oct 17 17:14:57 desktop kernel: [ 9.448590] [drm] Enabling audio support Oct 17 17:14:57 desktop kernel: [ 9.448597] failed to evaluate ATIF got AE_BAD_PARAMETER Oct 17 17:14:57 desktop kernel: [ 9.449237] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:40 len:30 0x92 40 Oct 17 17:14:57 desktop kernel: [ 9.449735] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:40 len:30 0x92 40 Oct 17 17:14:57 desktop kernel: [ 9.450245] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:40 len:30 0x92 40 Oct 17 17:14:57 desktop kernel: [ 9.451272] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:40 len:30 0x92 40 Oct 17 17:14:57 desktop kernel: [ 9.452580] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:40 len:30 0x92 40 Oct 17 17:14:57 desktop kernel: [ 9.453084] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:40 len:30 0x92 40 Oct 17 17:14:57 desktop kernel: [ 9.453577] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:40 len:30 0x92 40 Oct 17 17:14:57 desktop kernel: [ 9.454070] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:40 len:30 0x92 40 Oct 17 17:14:57 desktop kernel: [ 9.454562] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:40 len:30 0x92 40 Oct 17 17:14:57 desktop kernel: [ 9.455055] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:40 len:30 0x92 40 Oct 17 17:14:57 desktop kernel: [ 9.455547] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:40 len:30 0x92 40 Oct 17 17:14:57 desktop kernel: [ 9.455551] [drm:radeon_process_aux_ch], failed to get auxch 0000 40 30 0x92 40 after 11 retries Oct 17 17:14:57 desktop kernel: [ 9.455953] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:00 len:30 0x92 00 Oct 17 17:14:57 desktop kernel: [ 9.456021] [drm:radeon_atombios_get_tv_info], Default TV standard: PAL Oct 17 17:14:57 desktop kernel: [ 9.456058] [drm:radeon_atombios_get_tv_info], Default TV standard: PAL Oct 17 17:14:57 desktop kernel: [ 9.456094] [drm] Radeon Display Connectors Oct 17 17:14:57 desktop kernel: [ 9.456096] [drm] Connector 0: Oct 17 17:14:57 desktop kernel: [ 9.456098] [drm] HDMI-A Oct 17 17:14:57 desktop kernel: [ 9.456100] [drm] HPD1 Oct 17 17:14:57 desktop kernel: [ 9.456103] [drm] DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c Oct 17 17:14:57 desktop kernel: [ 9.456105] [drm] Encoders: Oct 17 17:14:57 desktop kernel: [ 9.456107] [drm] DFP1: INTERNAL_UNIPHY Oct 17 17:14:57 desktop kernel: [ 9.456109] [drm] Connector 1: Oct 17 17:14:57 desktop kernel: [ 9.456111] [drm] DisplayPort Oct 17 17:14:57 desktop kernel: [ 9.456112] [drm] HPD3 Oct 17 17:14:57 desktop kernel: [ 9.456115] [drm] DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 0x7e6c Oct 17 17:14:57 desktop kernel: [ 9.456117] [drm] Encoders: Oct 17 17:14:57 desktop kernel: [ 9.456119] [drm] DFP2: INTERNAL_UNIPHY Oct 17 17:14:57 desktop kernel: [ 9.456121] [drm] Connector 2: Oct 17 17:14:57 desktop kernel: [ 9.456122] [drm] DVI-I Oct 17 17:14:57 desktop kernel: [ 9.456124] [drm] HPD2 Oct 17 17:14:57 desktop kernel: [ 9.456127] [drm] DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c Oct 17 17:14:57 desktop kernel: [ 9.456129] [drm] Encoders: Oct 17 17:14:57 desktop kernel: [ 9.456131] [drm] CRT1: INTERNAL_KLDSCP_DAC1 Oct 17 17:14:57 desktop kernel: [ 9.456133] [drm] DFP3: INTERNAL_KLDSCP_LVTMA Oct 17 17:14:57 desktop kernel: [ 9.456135] [drm] Connector 3: Oct 17 17:14:57 desktop kernel: [ 9.456136] [drm] VGA Oct 17 17:14:57 desktop kernel: [ 9.456139] [drm] DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c Oct 17 17:14:57 desktop kernel: [ 9.456141] [drm] Encoders: Oct 17 17:14:57 desktop kernel: [ 9.456143] [drm] CRT2: INTERNAL_KLDSCP_DAC2 Oct 17 17:14:57 desktop kernel: [ 9.745923] [drm] Internal thermal controller with fan control Oct 17 17:14:57 desktop kernel: [ 9.745970] [drm] radeon: power management initialized Oct 17 17:14:57 desktop kernel: [ 9.745976] [drm:radeon_atom_encoder_dpms], encoder dpms 30 to mode 3, devices 00000008, active_devices 00000000 Oct 17 17:14:57 desktop kernel: [ 9.745982] [drm:radeon_atom_encoder_dpms], encoder dpms 30 to mode 3, devices 00000080, active_devices 00000000 Oct 17 17:14:57 desktop kernel: [ 9.745986] [drm:radeon_atom_encoder_dpms], encoder dpms 21 to mode 3, devices 00000001, active_devices 00000000 Oct 17 17:14:57 desktop kernel: [ 9.745994] [drm:radeon_atom_encoder_dpms], encoder dpms 31 to mode 3, devices 00000200, active_devices 00000000 Oct 17 17:14:57 desktop kernel: [ 9.745998] [drm:radeon_atom_encoder_dpms], encoder dpms 22 to mode 3, devices 00000010, active_devices 00000000 Oct 17 17:14:57 desktop kernel: [ 9.767231] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:11:HDMI Type A-1] Oct 17 17:14:57 desktop kernel: [ 9.769239] [drm:radeon_atombios_connected_scratch_regs], DFP1 disconnected Oct 17 17:14:57 desktop kernel: [ 9.769242] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:11:HDMI Type A-1] disconnected Oct 17 17:14:57 desktop kernel: [ 9.769245] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:13:DisplayPort-1] Oct 17 17:14:57 desktop kernel: [ 9.770083] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:90 len:47 0x92 02 Oct 17 17:14:57 desktop kernel: [ 9.770146] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:90 len:47 0x92 02 Oct 17 17:14:57 desktop kernel: [ 9.770208] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:90 len:47 0x92 02 Oct 17 17:14:57 desktop kernel: [ 9.770270] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:90 len:47 0x92 02 Oct 17 17:14:57 desktop kernel: [ 9.770333] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:90 len:47 0x92 02 Oct 17 17:14:57 desktop kernel: [ 9.770397] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:90 len:47 0x92 02 Oct 17 17:14:57 desktop kernel: [ 9.770463] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:90 len:47 0x92 02 Oct 17 17:14:57 desktop kernel: [ 9.770526] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:90 len:47 0x92 02 Oct 17 17:14:57 desktop kernel: [ 9.770588] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:90 len:47 0x92 02 Oct 17 17:14:57 desktop kernel: [ 9.770651] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:90 len:47 0x92 02 Oct 17 17:14:57 desktop kernel: [ 9.770713] [drm:radeon_process_aux_ch], get auxch addr:0000 i2ccmd:90 len:47 0x92 02 Oct 17 17:14:57 desktop kernel: [ 9.770716] [drm:radeon_process_aux_ch], failed to get auxch 0000 90 47 0x92 02 after 11 retries Oct 17 17:14:57 desktop kernel: [ 9.770722] [drm:radeon_atombios_connected_scratch_regs], DFP2 disconnected Oct 17 17:14:57 desktop kernel: [ 9.770724] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:13:DisplayPort-1] disconnected Oct 17 17:14:57 desktop kernel: [ 9.770727] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:15:DVI-I-1] Oct 17 17:14:57 desktop kernel: [ 9.826374] [drm:radeon_atombios_connected_scratch_regs], CRT1 disconnected Oct 17 17:14:57 desktop kernel: [ 9.826378] [drm:radeon_atombios_connected_scratch_regs], DFP3 connected Oct 17 17:14:57 desktop kernel: [ 9.826396] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:15:DVI-I-1] probed modes : Oct 17 17:14:57 desktop kernel: [ 9.826399] [drm:drm_mode_debug_printmodeline], Modeline 20:"1920x1200" 60 154000 1920 1968 2000 2080 1200 1203 1209 1235 0x48 0x9 Oct 17 17:14:57 desktop kernel: [ 9.826404] [drm:drm_mode_debug_printmodeline], Modeline 21:"1600x1200" 60 162000 1600 1664 1856 2160 1200 1201 1204 1250 0x40 0x5 Oct 17 17:14:57 desktop kernel: [ 9.826408] [drm:drm_mode_debug_printmodeline], Modeline 24:"1680x1050" 60 146250 1680 1784 1960 2240 1050 1053 1059 1089 0x40 0x6 Oct 17 17:14:57 desktop kernel: [ 9.826412] [drm:drm_mode_debug_printmodeline], Modeline 22:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5 Oct 17 17:14:57 desktop kernel: [ 9.826417] [drm:drm_mode_debug_printmodeline], Modeline 23:"1280x960" 60 108000 1280 1376 1488 1800 960 961 964 1000 0x40 0x5 Oct 17 17:14:57 desktop kernel: [ 9.826421] [drm:drm_mode_debug_printmodeline], Modeline 28:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa Oct 17 17:14:57 desktop kernel: [ 9.826425] [drm:drm_mode_debug_printmodeline], Modeline 25:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5 Oct 17 17:14:57 desktop kernel: [ 9.826430] [drm:drm_mode_debug_printmodeline], Modeline 26:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa Oct 17 17:14:57 desktop kernel: [ 9.826434] [drm:drm_mode_debug_printmodeline], Modeline 27:"720x400" 70 28320 720 738 846 900 400 412 414 449 0x40 0x6 Oct 17 17:14:57 desktop kernel: [ 9.826438] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:18:VGA-1] Oct 17 17:14:57 desktop kernel: [ 9.830327] [drm:radeon_atom_dac_detect], Bios 0 scratch 200000 00000010 Oct 17 17:14:57 desktop kernel: [ 9.830332] [drm:radeon_atombios_connected_scratch_regs], CRT2 disconnected Oct 17 17:14:57 desktop kernel: [ 9.830334] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:18:VGA-1] disconnected Oct 17 17:14:57 desktop kernel: [ 9.830337] [drm:drm_setup_crtcs], Oct 17 17:14:57 desktop kernel: [ 9.830339] [drm:drm_enable_connectors], connector 11 enabled? no Oct 17 17:14:57 desktop kernel: [ 9.830341] [drm:drm_enable_connectors], connector 13 enabled? no Oct 17 17:14:57 desktop kernel: [ 9.830343] [drm:drm_enable_connectors], connector 15 enabled? yes Oct 17 17:14:57 desktop kernel: [ 9.830346] [drm:drm_enable_connectors], connector 18 enabled? no Oct 17 17:14:57 desktop kernel: [ 9.830348] [drm:drm_target_preferred], looking for cmdline mode on connector 15 Oct 17 17:14:57 desktop kernel: [ 9.830350] [drm:drm_target_preferred], looking for preferred mode on connector 15 Oct 17 17:14:57 desktop kernel: [ 9.830353] [drm:drm_target_preferred], found mode 1920x1200 Oct 17 17:14:57 desktop kernel: [ 9.830355] [drm:drm_setup_crtcs], picking CRTCs for 8192x8192 config Oct 17 17:14:57 desktop kernel: [ 9.830358] [drm:drm_setup_crtcs], desired mode 1920x1200 set on crtc 8 Oct 17 17:14:57 desktop kernel: [ 9.834454] [drm] fb mappable at 0xD0142000 Oct 17 17:14:57 desktop kernel: [ 9.834455] [drm] vram apper at 0xD0000000 Oct 17 17:14:57 desktop kernel: [ 9.834456] [drm] size 9216000 Oct 17 17:14:57 desktop kernel: [ 9.834458] [drm] fb depth is 24 Oct 17 17:14:57 desktop kernel: [ 9.834459] [drm] pitch is 7680 Oct 17 17:14:57 desktop kernel: [ 9.834514] fb0: radeondrmfb frame buffer device Oct 17 17:14:57 desktop kernel: [ 9.834515] drm: registered panic notifier Oct 17 17:14:57 desktop kernel: [ 9.834521] [drm] Initialized radeon 2.6.0 20080528 for 0000:01:00.0 on minor 0 I made a pach as recommended by Alex Deucher here: http://www.mail-archive.com/dri-devel@lists.sourceforge.net/msg47317.html to fix the retry loop. Also every get auxch is printed (not in the patches). Created attachment 33852 [details]
xf86-video-ati patch
Created attachment 33862 [details]
drm radeon patch
(In reply to comment #17) > > I made a pach as recommended by Alex Deucher here: > http://www.mail-archive.com/dri-devel@lists.sourceforge.net/msg47317.html to > fix the retry loop. > Also every get auxch is printed (not in the patches). Does the patch help? No. It fails as seen in the logs above. Closing as obsolete, if this is still seen with 3.2+ please update the bug |