[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#503004: RandR: crashes if monitor is disconnected



On Tuesday 03 February 2009 09:38:48 Brice Goglin wrote:
> These are experimental packages :) We are working on making the upgrade
> smooth before everything enters unstable.

Yes, they are in experimental...
My comment on the configuration problems upon upgrade is intended
to give some useful feedback, not to complain!

Despite the posts, I do not understand the input-hotplug
interaction. My system correctly finds the keyboard, mouse
and touchpad by HAL... However, the xserver does as well
so everything is duplicated. Removing Input entries from
xorg.conf doesn't help:
(==) The core pointer device wasn't specified explicitly in the layout.
	Using the first mouse device.
(==) The core keyboard device wasn't specified explicitly in the layout.
	Using the first keyboard device.
and specifying one with Driver "evdev" (why not try?)
was no better. Only adding Option "AutoAddDevices" "false"
got the configuration working.

Seems that the problem is that somehow evdev is not blocking
input to the standard devices as it is supposed to do?

Must be simple to sort out. I just don't know enough.
Would be nice to be able to use multiple keyboards...

================================================================
> Does your original crash still happen now?

With the new driver, I uncommented the Option "Above" "LVDS"

Section "Monitor"
	Identifier	"VGA-0"
	Option		"PreferredMode"	"1600x1200"
	Option		"Above"	"LVDS"
EndSection

(and commented "#xrandr --output VGA-0 --above LVDS" in my .xsessionrc).
This now works and does not produce a crash
if the external monitor is unplugged. 
I suppose that this means that you can now close the present bug report!

The two means of adding an external screen differ in their consequences:
- The xorg.conf solution requires restarting the xserver
  to properly take into account plugging/unplugging the external monitor
- The .xsessionrc solution resets on login.
Of course, in all cases one can type "xrandr --output VGA-0 --above LVDS"
at any time upon plugging/unplugging. Should this be automatic?
Maybe the second head should automatically come up as a clone
upon plugin, unless configured otherwise in xorg.conf.


Finally, the new server fixes a few other bugs:
Under KDE4/plasma, the bottom pixels of the LVDS screen
appeared wrapped onto the bottom of the external monitor.
This is no longer the case.
Also, dragging windows from the LVDS screen to the external screen
had a hic (under KDE4/plasma) of getting blocked on the external screen;
Trying to drag them back to the LVDS screen would not go any further
than when the window title decorations hit the bottom of the external screen.
This is also no longer the case.
Bravo!



Reply to: