Bug 593429
Summary: | KMS:RV635:Radeon 3650HD graphics driver broken on a laptop when connected to a docking station and external display | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pasi Karkkainen <pasik> | ||||||||||
Component: | xorg-x11-drv-ati | Assignee: | Jérôme Glisse <jglisse> | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | low | ||||||||||||
Version: | 13 | CC: | airlied, awilliam, jglisse, mcepl, redhat, uckelman, vedran, xgl-maint | ||||||||||
Target Milestone: | --- | Keywords: | Triaged | ||||||||||
Target Release: | --- | ||||||||||||
Hardware: | All | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | kernel-2.6.33.6-147.2.4.fc13 | Doc Type: | Bug Fix | ||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2010-08-03 01:11:33 UTC | Type: | --- | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
Pasi Karkkainen
2010-05-18 18:55:29 UTC
Can you log in through ssh when the laptop is docked ? If so attach _full_ dmesg. I'll try it as soon as I'm back where the dock is. I think the kernel crashes since keyboard didn't have any effect.. but I'll verify and report back. Thanks. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers Improving summary. --- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers [This triage is part of collective effort done by students of University of Rijeka Department of Informatics.] Ok, finally I could do some more testing. It seems I can access the machine with ssh. Some logs here available here: http://pasik.reaktio.net/fedora/bz593429/ Booting with both the internal and external display connected: http://pasik.reaktio.net/fedora/bz593429/both-internal-and-external-displays-active/dmesg.txt I notice these errors from the dmesg: [drm:drm_mode_getfb] *ERROR* invalid framebuffer id [drm:drm_mode_getfb] *ERROR* invalid framebuffer id Same setup but with drm.debug=15: http://pasik.reaktio.net/fedora/bz593429/both-internal-and-external-displays-active/dmesg-with-drmdebug.txt With drm debugging enabled there seems to be so much noise that "dmesg" command won't show the whole log.. Should I try something else? I also tried booting with "nomodeset", and having *only* the external display connected via dock via DVI, the laptop lid closed. In this case I could see Fedora booting up on the external display, I got GDM on the external display, but when I login from GDM the external display goes blank, and the *internal* display wakes up showing the desktop.. Created attachment 417757 [details]
dmesg with both monitors extended
Created attachment 417758 [details]
same with drm.debug=15
Discussion continues here: http://lists.freedesktop.org/archives/dri-devel/2010-June/001017.html Problem/bug described here: http://lists.freedesktop.org/archives/dri-devel/2010-June/001044.html Paste from that email: <snip> > HDMI-0 connected (normal left inverted right x axis y axis) > 1920x1080 59.9 + > 1600x1200 60.0 > 1680x1050 60.0 > 1280x1024 60.0 > 1440x900 59.9 > 1280x960 60.0 > 1280x800 59.8 > 1024x768 60.0 > 800x600 60.3 56.2 > 640x480 60.0 > > $ xrandr --output DVI-0 --right-of LVDS > > Didn't make a difference.. no picture on the external DVI display. > > I wonder if that HDMI-0 is the key to the problem.. I don't have anything connected > to the HDMI connector on the laptop. There's no HDMI connector on the dock, it's only in the laptop. Indeed that is the problem. On your system the HDMI and DVI ports share the same encoder and DDC line so they will both come up as connected since the line is shared. The driver used to check the edid when the lines where shared and select HDMI or DVI based on the EDID, but perhaps that got broken at some point. Alex Here's a new log with drm.debug=4, which still enables me to capture the kernel messages before they're flooded away. http://pasik.reaktio.net/fedora/bz593429/both-internal-and-external-displays-active/dmesg-with-drmdebug4.txt Which clearly shows both the DVI and HDMI connectors are detected as active, when only DVI is connected for real.. and this messes up everything. Created attachment 425373 [details]
dmesg with drm.debug=4
dmesg with drm.debug=4, both the internal display and external DVI display connected.
Upstream patch to fix this bug: http://lists.freedesktop.org/archives/dri-devel/2010-July/001817.html It has been CC'd to stable for inclusion in 2.6.33.stable. Please include this bugfix patch in F13 kernel update! Created attachment 431145 [details]
0001-drm-radeon-kms-fix-shared-ddc-handling.patch
Added the upstream bugfix patch as an attachment.
Any chance of getting this bugfix patch to the next F13 kernel update? My F13 laptop is totally unusable without this.. Jerome? Dave? Any idea when this fix will hit the repos? I'm suffering this exact issue too. I've got to disconnect the DVI each morning at startup. After startup I can connect DVI again and start using it.. (lousy workaround, but it works.. so the laptop isn't totally unusable). Oh, forgot to mention, I've tested the patch applied to F13 2.6.33.5-124 kernel, and it works OK. So it should be straight forward to apply to F13 kernel update. This should be fixed in 2.6.34.1-26.fc13 kernel-2.6.33.6-147.2.4.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/kernel-2.6.33.6-147.2.4.fc13 I just tested kernel-2.6.33.6-147.2.4.fc13.x86_64.rpm, and it seems to work OK! Thanks for including the fix. .. and I just noticed there seems to be an additional patch available from upstream: http://lists.freedesktop.org/archives/dri-devel/2010-July/002279.html Subject: "[PATCH] drm/radeon/kms: fix shared ddc harder" I'm just building a custom kernel and including that extra patch aswell, to verify things still work with it. Ok, I applied the extra patch from http://lists.freedesktop.org/archives/dri-devel/2010-July/002279.html to kernel-2.6.33.6-147.2.4.fc13.src.rpm, and built a custom kernel for testing. Things seem to work OK with that additional patch applied. No problems found. So I guess that extra patch should be applied to next F13 kernel update. Tried the 2.6.33.6-147.2.4.fc13.i686.PAE kernel and all seems well. At least I don't have to disconnect the DVI connector anymore. kernel-2.6.33.6-147.2.4.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update kernel'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/kernel-2.6.33.6-147.2.4.fc13 The extra patch from http://lists.freedesktop.org/archives/dri-devel/2010-July/002279.html should be applied aswell, since it's a followup patch and is sent for stable inclusion aswell. Thanks! kernel-2.6.33.6-147.2.4.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |