https://bugs.kde.org/show_bug.cgi?id=366346

Sebastian Kügler <se...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|http://commits.kde.org/libk |http://commits.kde.org/libk
                   |screen/c2e1becccec9a2cccc80 |screen/5ad4370cce960c5b5192
                   |701535733c784f318e5d        |a47169b353ed94414815
   Version Fixed In|                            |5.7.4

--- Comment #5 from Sebastian Kügler <se...@kde.org> ---
Git commit 5ad4370cce960c5b5192a47169b353ed94414815 by Sebastian Kügler.
Committed on 02/08/2016 at 13:49.
Pushed by sebas into branch 'Plasma/5.7'.

update CRTCs before enabling an output

Summary:
When connecting the docking station (Lenovo OneLink+), which has a VGA
connected monitor attached, enabling a display usually fails. It
complains about no CRTC being available (and indeed the available CRTCs
don't have our output as possible output). Updating the CRTC before
enabling an output makes this work for me.

Note: it's not a problem when connecting via HDMI, this seems to be
either unique to VGA or to the docking station. (Other dock users report
similar behaviour).

I'm being fairly liberal with update calls here, probably just doing it
in enableOutput will work as well -- but I haven't extensively tested
it. I don't know how expensive these calls are.

On boot, my setup is still not restored, but at least with this patch
manually enabling an output works reliably now.
FIXED-IN:5.7.4

Test Plan:
* rebooted with dock disconnected, can enable an output with this patch, would
reliably fail without
* rebooted with dock connected, still works
* connected/disconnected/connected dock with output attached, works well

Reviewers: dvratil, graesslin

Reviewed By: graesslin

Subscribers: graesslin, plasma-devel, #plasma

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D2336

M  +1    -0    backends/xrandr/xrandrconfig.cpp
M  +2    -0    backends/xrandr/xrandrcrtc.cpp

http://commits.kde.org/libkscreen/5ad4370cce960c5b5192a47169b353ed94414815

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to