So, FYI, the NVidia driver also suffers from this: turn off a monitor
and Plasma crashes; turn off both monitors and X crashes.

There is a workaround with the nvidia proprietary driver: specify your
connected displays in xorg.conf. Mine looks like this:

Section "Screen"
    Identifier     "Screen0"
    DefaultDepth    24
    Option         "MetaModes" "DFP-4: 3840x2160 +0+0, DFP-6: 3840x2160 +3840+0"
    Option         "ConnectedMonitor" "DFP-4, DFP-6"
EndSection

This says that DFP-4 and DFP-6 are connected, and have the specified
initial resolutions and positions. Now, when I turn a monitor off,
absolutely nothing happens: X thinks the monitor is still on, which
means Plasma doesn't notice the change and doesn't crash. w00t.

The other problem I had was that even with this X wouldn't activate the
second display (both are Dell P2715q) when it started because it had
switched to power saving mode, so X came up in single-head mode on the
same display as the virtual console. The following command line
activates the second display:

xrandr --output DP-4 --pos 3840x0 --mode 3840x2160

Note that the output name doesn't match the ConnectedMonitor name from
the NVidia driver. Yeah, there are two names for everything. Awesome,
right?

Anyway, it would be nice to get a fix for this, but that depends on
there being a way to distinguish between "I unplugged the monitor", "I
shut the monitor off", and "the monitor went into power saving mode". If
there isn't, then my vote is in favor of doing something intelligent in
the usual case, which is that it's way more likely my monitor went into
power saving mode than that I disconnected it.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kubuntu-meta in Ubuntu.
https://bugs.launchpad.net/bugs/1492778

Title:
  kde crashes when powering on/off monitor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kubuntu-meta/+bug/1492778/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to