You are not logged in.
Hello, i got KDE Plasma and from like 1 week ago when i have two monitors (external + laptop) laptop screen goes black after login. I can open stuff on external and drag them over. A temporarily fix for me is to unplug vga cable let laptop screen load and then plug it back in. I don't really know where to look so if you ask i will provide.
I use
Xorg as display server
KDE plasma desktop environment
I have Intel intergrated graphics intel hd graphic 4500.
I have one config file for xorg at
/etc/X11/xorg.conf.d/10-monitor.conf
which contains
Section "Monitor"
Identifier "VGA1"
Modeline "1920x1080R" 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync
Option "PreferredMode" "1920x1080R"
EndSection
Section "Screen"
Identifier "Screen0"
Monitor "VGA1"
DefaultDepth 24
SubSection "Display"
Modes "1920x1080R"
EndSubSection
EndSection
Section "Device"
Identifier "Device0"
Driver "intel"
EndSection
EDIT: The config file was created and change long before this problem i have appeared.
Last edited by kevinen98 (2020-09-24 13:40:55)
Offline
after login
Probably means that kscreen steamrolls its (now dated) config over the layout. Change the setup there or deactivate the daemon.
Offline
Ok, will i lose anything if i disable the deamon? How do i disable it? What is kscreens actual name?
I tried to find it with the name kscreen but nothing comes up. I have something called kscreen-console.
Thanks for the reply!
Offline
Should be a systemsettings page, possibly a kded daemon.
I think it also provides a nice icon in the systray, but haven't used plasma/KDE since years ago.
Offline
Try temporarily removing the 10-monitor.conf file, then report what happens.
Also, what are the KDE "System Settings" for display configuration and compositor?
Last edited by zpg443 (2020-09-24 13:33:05)
Offline
Should be a systemsettings page, possibly a kded daemon.
I think it also provides a nice icon in the systray, but haven't used plasma/KDE since years ago.
So i fixed it! I did as you said and found kscreen 2 as a background service which automatically starts but i switched it off. But then i got a problem where the screens where mirrored in a weird way as i have one 1080p and one 768p.
My solution was to edit the file /etc/X11/xorg.conf.d/10-monitor.conf to
Section "Monitor"
Identifier "VGA1"
Modeline "1920x1080R" 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync
Option "PreferredMode" "1920x1080R"
EndSection
Section "Screen"
Identifier "Screen0"
Monitor "VGA1"
DefaultDepth 24
SubSection "Display"
Modes "1920x1080R"
EndSubSection
EndSection
Section "Monitor"
Identifier "eDP1"
Option "PreferredMode" "1366x768"
Option "Position" "1920 312"
EndSection
Section "Device"
Identifier "Device0"
Driver "intel"
EndSection
And that fixed it. But if you feel like it could you do me a favor and see if my config file looks right.
Thanks!
Last edited by kevinen98 (2020-09-24 13:41:34)
Offline
Try temporarily removing the 10-monitor.conf file, then report what happens.
Also, what are the KDE "System Settings" for display configuration and compositor?
I fixed it but thanks anyway!
Offline
You don't need the Device and Screen sections, just use
Option "Enable" "False"
in the one you don't want.
You can also arrange them vertically or horizontally or however you want.
Or you seek to fix the kscreen config (and probably file an upstream bug to be more clever about dynamic setups ;-)
Offline
You don't need the Device and Screen sections, just use
Option "Enable" "False"
in the one you don't want.
You can also arrange them vertically or horizontally or however you want.Or you seek to fix the kscreen config (and probably file an upstream bug to be more clever about dynamic setups ;-)
Oh i dont? I had another problem where kde or xorg (which ever decides which resolutions is available) didn't have 1920x1080 as a resulotion choice for my external monitor so i added Device and Screen sections because someone said that is the fix to my problem.
I think i stay with xorg for now. Might try to fix kscreen config when i have more time.
Offline
If the "Monitor" "Identifier" matches the output name in eg. xrandr: no. The config will auto-apply to that output.
You can also try to just comment the other lines ("#") but the resolution is added and preferred in the monitor section (I'd rather suspect further interference by kscreen) and the Device section is unreferenced anyway.
Offline