Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Second monitor not working after qt6/kde6 upgrade
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
beerbellyswan
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2004
Posts: 130
Location: mendon, ny

PostPosted: Mon Jul 01, 2024 2:34 pm    Post subject: Second monitor not working after qt6/kde6 upgrade Reply with quote

hi everyone - i upgraded my system to qt6/kde6 with no real problems, but now my primary monitor (of two) doesn't work after firing up kde. when i shut down my displaymanager, my primary monitor has my terminal and is working fine. but when i start up displaymanager (im using sddm), the primary monitor goes blank and the login screen starts up on my secondary monitor. I don't see any errors in the Xorg.log.0 or in my xorg-session.log logfiles, and both the NVIDIA Settings and the KDE Display settings look correct (both "see" my primary monitor with no errors). I'm happy to provide any system info or logs - but i've explored everything i can think of and can't find any trace of whats wrong. anyone have any ideas?

thanks!
Back to top
View user's profile Send private message
rab0171610
Guru
Guru


Joined: 24 Dec 2022
Posts: 359

PostPosted: Mon Jul 01, 2024 3:55 pm    Post subject: Reply with quote

I am still on stable, but I am going to assume that the newer SDDM still by default runs under X11 and that /usr/share/sddm/scripts/Xsetup is still a valid configuration file. You will have to verify that on your end. I would try:
https://blog.victormendonca.com/2018/06/29/how-to-fix-sddm-on-multiple-screens/
You will need xrandr installed if it is not already.
Code:
$ xrandr | grep ' connected'

You can then edit /usr/share/sddm/scripts/Xsetup, adding lines that pertain to your monitor setup.
For example, turn output DP-1 off during SDDM login screen:
Code:
#!/bin/sh
# Xsetup - run as root before the login dialog appears

xrandr --output DP-1 --off

Then add the this one DisplayCommand= line to /etc/sddm.conf:

Code:
[XDisplay]
# Xsetup script path
# A script to execute when starting the display server
DisplayCommand=/usr/share/sddm/scripts/Xsetup


Reboot.
As I said, something may have changed in the newer version (config files may be different, paths may be different, etc.) that would make this now obsolete. If that is the case I apologize. If not, then setting the displays explicitly for SDDM as described in this method should give you control over how SDDM is displayed in a multi-monitor setup under X11.
If you set it up correctly and you still have issues, then you can undo any changes you made and I would recommend that you file a bug report.
Back to top
View user's profile Send private message
jms.gentoo
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2009
Posts: 102

PostPosted: Mon Jul 01, 2024 4:14 pm    Post subject: Re: Second monitor not working after qt6/kde6 upgrade Reply with quote

beerbellyswan wrote:
my primary monitor (of two) doesn't work after firing up kde.

Quote:
NVIDIA

are you using the nvidia DVI output to connect to the primary monitor?
Are you using nvidia-drivers 555.58 ?
they are a few other hiccups with 555.58 depending on card.
have a look here
https://forums.gentoo.org/viewtopic-t-1169730.html
Back to top
View user's profile Send private message
beerbellyswan
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2004
Posts: 130
Location: mendon, ny

PostPosted: Mon Jul 01, 2024 5:21 pm    Post subject: RESOLVED: Second monitor not working after qt6/kde6 upgrade Reply with quote

jms.gentoo wrote:

are you using the nvidia DVI output to connect to the primary monitor?
Are you using nvidia-drivers 555.58 ?
they are a few other hiccups with 555.58 depending on card.
have a look here
https://forums.gentoo.org/viewtopic-t-1169730.html


BOOM this is the problem! i didnt even notice that my nvidia drivers were being upgraded during the hundreds of other kde/qt packages being done so this didnt register with me. but that guys problem is exactly what i was experiencing so i downgraded to 550 and now im back in business. thanks a lot to both of you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum