You are not logged in.
Hello,
I updated my system today and i went afk and my monitors turned off, and when i came back the login screen SDDM was working fine on both monitors,
but after logged in only my second monitor (dp-1) was working and my main monitor(dp-0) was not turning on.
I checked my nvidia-settings > display configuration and it was saying my main monitor was off.
I tried turning it on by changing the resolution from 'off' to its defualt and applying it, but it did not wake up my main monitor.
I tried unplugging and pluggin back my both monitors and that did not work either.
I am not sure which logs to attatch, but here is my system info.
OS: Arch Linux x86_64
Kernel: 6.1.7-arch1-1
DE: Plasma 5.26.5
WM: KWin
NVIDIA Driver Version: 525.85.05
The workaround i found was
cd ~/.local/share/kscreen/
and delete all display config files in the folder and
cd ~/.local/share/kscreen/outputs
and delete all display config files in the folder
and reboot and it was fixed.
And I disabled Screen energy saving in Energy Saving settings page.
Offline
cd ~/.local/share/kscreen/
and delete all display config files in the folder and
cd ~/.local/share/kscreen/outputs
and delete all display config files in the folder
and reboot and it was fixed.
Next time this happens (iff) please post the output of "xrandr -q", then try "xrandr --output DP-0 --auto" (make sure the output name fits) and dump "xrandr -q" again; then "xset dpms force off; sleep 1; xset dpms force on"
What likely happens is that the DPMS causes the output to unregister and kscreen seeing that as opportunity to remove it.
You can test this w/ "xset dpms off" and waiting a couple of seconds before juggling your mouse.
And I disabled Screen energy saving in Energy Saving settings page.
Greta does not approve.
Offline
Thank you, I will try generate the logs and upload them soon as i get some free time.
I am suspecting this issue is also related to my other issue i am having, which is all my widgets moves (shifted down) around on restart, but at first they load fine, but few seconds later they move around. I am not sure which startup script is cuasing this and i was experiencing this issue before the system update.
My main monitor and second monitors run in different resolutions and they are in a stacked monitor layout, i wonder if this plays a role in the issue.
Offline
You could try to simply disable the kscreen daemon in "kcmshell5 kded".
Offline
I disabled KScreen 2 and rebooted and the my main monitor resolution was set to lower resolution than the originally one i set and so the widget were scaled big and did not have enough room take original position and so it was moved around.
Then I went back to settings and started kscreens and it switched to the original resolution and the widget scaled down and went to their original positions.
When i disabled KScreen 2 should it have atleast kept the original resolution i set? am i setting the resolution wrong?
Last edited by HardDiskUsage (2023-01-23 03:48:56)
Offline
Please post the output of
xrandr -qand your xorg log, https://wiki.archlinux.org/title/Xorg#General
Offline
Sorry for late reply.
I ended fixing it, I did few steps not sure which fixed it, but it was a DPI issue essentially.
I was checking the HiDPI wiki page and with
xdpyinfo | grep -B2 resolution I found out that was my DPI was set wrong (much lower) and i did some searching and turns out it was using my second monitors DPI, and also that running two monitor with different dpi is tricky.
What I ended up doing was:
1. deleted all display configs from ~/.local/share/kscreen/ (not sure if this is necessary)
2. shutdown
3. unplug my second montor
4. log in, open up nvidia-settings and set my resolution and refresh rate and checked force full composition pipeline
5. after that also clicked "Save to X Configuration File"
6. Set up the widgets
7. rebooted and my widgets were in place and i checked my DPI and was set correctly.
8. then i plugged in my second monitor and in nvidia-settings only setup the resolution and position DID NOT saved to X config file.
9. rebooted and everything was in placed and dpi was set properly still.
Last edited by HardDiskUsage (2023-01-26 03:17:04)
Offline
5. after that also clicked "Save to X Configuration File"
You now have a static and somewhat bogus server layout.
You want to get rid of that and in doubt override the server DPI w/ something like
/etc/X11/xorg.conf.d/20-nvidia.conf
Section "Device"
Identifier "Default nvidia Device"
Driver "nvidia"
Option "DPI" "123x123" # use the actually desired DPI, probably 96 or 144
Option "UseEdidDpi" "False"
EndSectionOffline
I removed the /etc/X11/xorg.conf and added /etc/X11/xorg.conf.d/20-nvidia.conf with my main montior DPI and rebooted and it works.
I tested it just to make sure by removing /etc/X11/xorg.conf.d/20-nvidia.conf and rebooting and sure enought it moved the widgets.
Thank you so much!
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline