Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22591 - [xf86-video-intel] unplugging monitor on VT1 crashes X

Attached to Project: Arch Linux
Opened by David Rheinsberg (dvdhrm) - Monday, 24 January 2011, 15:52 GMT
Last edited by Jan de Groot (JGC) - Thursday, 31 March 2011, 10:04 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I have a notebook with an external monitor plugged in and enabled via xrandr in X. If I switch to some text console (VT1), the vtconsole driver takes over control and enables the internal and external monitor on the VT (default behaviour). If I now unplug the external monitor and switch back to X my system does not respond to keyboard input anymore. It responds to "ping", though (at least sometimes). SSH'ing to the machine works but no sh prompt is started, instead the ssh program hangs after passing the password/private-key. Sometimes the system doesn't respond to input at all.

I use the most recent 2.6.37 kernel with a custom configuration. I run the intel video driver with KMS enabled so my vt-console driver uses framebuffers. Since "xrandr" cannot disable monitors when VT7 (or the corresponding graphical VT) is not active (or at least I can't get it work), my current fix is to kill X when udev reports an event on my external monitor and /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-VGA-1/status is "disconnected". However, this is quite ugly.


Steps to reproduce:
- start X session with xf86-video-intel and KMS enabled on VT7
- run xrandr --output <internal_monitor> --auto
- run xrandr --output <external_monitor> --auto
- (probably restart your window manager to adjust settings to external monitor)
- run chvt 1
- unplug external monitor
- run chvt 7
-> System is unstable and shows unexpected behaviour; sometimes it even stops responding to any kind of input.

attached file:
config: kernel config
   config (60.1 KiB)
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 31 March 2011, 10:04 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 2.6.38
Comment by Jan de Groot (JGC) - Tuesday, 25 January 2011, 07:47 GMT
Could you report this upstream? This is most likely a bug in xf86-video-intel.
Comment by David Rheinsberg (dvdhrm) - Monday, 21 March 2011, 15:32 GMT
I reported the bug upstream and it got fixed. Related fixes are included in linux-2.6.38
https://bugs.freedesktop.org/show_bug.cgi?id=34289

Loading...