Bug 731296
Summary: | kernels >= 2.6.40 break xrandr | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nils Philippsen <nphilipp> | ||||||||
Component: | xorg-x11-drv-intel | Assignee: | Adam Jackson <ajax> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 15 | CC: | ajax, gansalmon, gasmith, itamar, jonathan, kernel-maint, madhu.chinakonda, martin.wilck, mcepl, michael_e_brown, nphilipp, sergio, xgl-maint | ||||||||
Target Milestone: | --- | Keywords: | Regression | ||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | kernel-3.1.5-1.fc16 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2011-12-12 21:57:46 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
Nils Philippsen
2011-08-17 09:55:37 UTC
I seem to be having the exact same issue on a Dell Latitude D620, with the same, I believe, video chipset. One note: if I boot up the machine with the external monitor connected, it works just fine (dual displays as expected), but if I suspend and then resume the machine without the monitor connected, it then breaks and wont connect to the external monitor ever again until I reboot. An additional bug that I have noticed that seems to be related, on suspend/resume, X seems to die on resume about one out of four times. seems to me that xrandr change the name of the devices. # xrandr Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192 eDP1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 304mm x 190mm 1280x800 60.1*+ 40.0 (...) so xrandr --output LVDS1 --auto, will not work but xrandr --output eDP1 --auto, works. What's your DE? If it is XFCE or something similar, then this is a duplicate of bug 738084. It's non-fallback GNOME 3/Shell. Same issue on F-16 (i.e. same behavior and kernel messages), with these versions: kernel-3.1.0-5.fc16.x86_64 xorg-x11-drv-intel-2.16.0-2.fc16.x86_64 Anything else I should check? Ominous: woken up from suspend, I try to activate external monitor from GNOME Shell/System Settings/Display this morning, to no avail. A few hours later, my screen suddenly goes blank like on an unoccupied virtual console (black, with white underscore-cursor in top-left corner), but with the X11 mouse pointer visible and movable. At that point, the external monitor shows the same picture, but frozen (mouse cursor doesn't move). Try to press key like Alt+F<x> to get back to the desktop, then wiggling the mouse I seem to activate the GNOME Shell overview, which gets me my desktop back. Now activating the external display in settings works. What I described in comment #6 was only a fluke, never happened again. I have the same issue here. With 2.6.40+, once the external display has been switched off (e.g. because I remove the laptop from the docking station), it can't be turned on any more. Making matters worse, because it's impossible to switch the DVI1 on, GNOME 3 remembers my display config as "DVI1 off" and switches off the external monitor immediately after I log in, and is unable to switch it on again. There is no way out of this situation except to boot 2.6.38.6-27.fc15 or earlier and switch the external display on with that kernel. Created attachment 537811 [details]
dmesg with 2.6.41.1-1.fc15
Created attachment 537815 [details]
Xorg.0.log with 2.6.41.1-1.fc15
I think I identified the cause of the problem. It's the Fedora patch "drm-intel-make-lvds-work.patch". I compiled stock 3.0 with the Fedora config and saw no problem. Applied "drm-intel-make-lvds-work.patch", and the problem occurs just like with the Fedora kernel. I confirmed my previous result by building the Fedora kernel 2.6.41.1-1 skipping "drm-intel-make-lvds-work.patch". The problem is gone. Created attachment 538096 [details]
modified kernel spec file
spec file used to compile the kernel package. Note that it'd be possible to simply recompile i915.ko after reverting "drm-intel-make-lvds-work.patch" from the Fedora sources.
Given that "drm-intel-make-lvds-work.patch" seems to have been in the Fedora kernel for long before the 2.6.40 update, and that problems with external monitors are observed only since 2.6.40, I speculate that this patch is incompatible with i915 as of 3.0.x/2.6.40 and above (possibly the problem that it's supposed to solve is already solved upstream?). Please comment. Thanks for taking the time to debug this. We discussed the patch you highlighted and agree that dropping it is the right thing to do. It has been dropped in Fedora git and the next build on f15/f16 should have that change. Note that I'll be on vacation for a few days, so won't have the chance to test this until about mid of next week. Ahh, forgot: thanks to Martin for digging into this. Much appreciated. Thank you. I was acting in my own interest :-) hi, patch drm-intel-make-lvds-work.patch still on kernel-3.1.4-1.fc16.src.rpm , I am also interested to know what harm this patch do to my laptop. (In reply to comment #19) > hi, > patch drm-intel-make-lvds-work.patch still on kernel-3.1.4-1.fc16.src.rpm , > I am also interested to know what harm this patch do to my laptop. We haven't built a kernel with this change yet. As far as I'm aware, it won't do actual harm to your laptop. Things just won't work. kernel-3.1.5-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/kernel-3.1.5-1.fc16 Package kernel-3.1.5-1.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing kernel-3.1.5-1.fc16' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-16840/kernel-3.1.5-1.fc16 then log in and leave karma (feedback). kernel-2.6.41.5-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/kernel-2.6.41.5-1.fc15 kernel-3.1.5-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. kernel-2.6.41.5-4.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/kernel-2.6.41.5-4.fc15 kernel-2.6.41.6-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/kernel-2.6.41.6-1.fc15 (In reply to comment #20) > (In reply to comment #19) > > hi, > > patch drm-intel-make-lvds-work.patch still on kernel-3.1.4-1.fc16.src.rpm , > > I am also interested to know what harm this patch do to my laptop. > > We haven't built a kernel with this change yet. As far as I'm aware, it won't > do actual harm to your laptop. Things just won't work. yeah , I mean, find things that wasn't work, and start work, anyway as I type I remember that I forgot to test my display port , but until now don't found any difference. Thanks |