You are not logged in.

#1 2023-02-26 04:17:08

namhisf
Member
Registered: 2023-02-26
Posts: 3

[SOLVED] One monitor stop to work after I log in.

Since some days ago I'm not able to make my two monitors work simultaneously.
They were working just fine and now, after the login screen just the LG monitor works.
I use KDE desktop.

$ lspci -k | grep -A 2 -E "(VGA|3D)"
07:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2070 SUPER] (rev a1)
	Subsystem: NVIDIA Corporation Device 139f
	Kernel driver in use: nvidia
$ xrandr
Screen 0: minimum 8 x 8, current 2880 x 1620, maximum 32767 x 32767
DP-0 connected primary 2880x1620+0+0 (normal left inverted right x axis y axis) 531mm x 298mm
   1920x1080    144.00*+ 119.98   119.88   100.00    99.93    74.99    60.00    59.94    50.00  
   1440x900     119.85  
   1280x1024    119.96    75.02    60.02  
   1280x960      99.78  
   1280x720      60.00    59.94    50.00  
   1024x768     119.99    75.03    60.00  
   800x600      119.97    99.66    75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480      119.52    75.00    59.94    59.93  
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected (normal left inverted right x axis y axis)
   3840x2160     60.00 +  59.94    50.00    30.00    29.97  
   2560x1440     59.95  
   1920x1080     59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94  
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)

output of $ dmesg :
https://pastebin.com/A9BvWAS2

Based on research on this forum and reddit I've already made the following attempts:

  1. Start with one or other monitor plugged. Both work fine separately but never toghter. As I said before, they were working fine and they still work before I log in.

  2. Permutations of configuration nvidia-settings. I tried to turn one or other on with different resolutions. The HMDI monitor never works when the DP monitor is on

  3. Set the same refresh rate on both monitors

  4. Force pipeline composition

  5. Reading nvidia forum (https://forums.developer.nvidia.com/t/l … ase/242156) I discovery that last update was to fix a display port connection and since one of my monitors use it, I tried to downgrade the driver. But when I did it the system stopped to boot.

  6. Reinstalled nvidia driver following arch wiki instrutions

Here some reference topics that I've already tried:
https://bbs.archlinux.org/viewtopic.php?id=249701
https://bbs.archlinux.org/viewtopic.php?id=280030
https://forums.developer.nvidia.com/t/c … ases/28500
https://www.reddit.com/r/archlinux/comm … up_doesnt/

Last edited by namhisf (2023-02-26 17:36:24)

Offline

#2 2023-02-26 08:47:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,378

Re: [SOLVED] One monitor stop to work after I log in.

   3840x2160     60.00 +  59.94    50.00    30.00    29.97  
xrandr --output HDMI-0 --auto

You can also enable and configure the output in systemsettings and nvidia-settings.

I use KDE desktop.

kscreen will try to be smart about this and restore your previous configuration.
If it /is/ smart (despite several recent threads suggesting otherwise…), logging out w/ the output enabled and logging in again should™ activate it by default (resp. leave it there)

Offline

#3 2023-02-26 16:18:59

namhisf
Member
Registered: 2023-02-26
Posts: 3

Re: [SOLVED] One monitor stop to work after I log in.

seth wrote:
   3840x2160     60.00 +  59.94    50.00    30.00    29.97  
xrandr --output HDMI-0 --auto

You can also enable and configure the output in systemsettings and nvidia-settings.

I use KDE desktop.

kscreen will try to be smart about this and restore your previous configuration.
If it /is/ smart (despite several recent threads suggesting otherwise…), logging out w/ the output enabled and logging in again should™ activate it by default (resp. leave it there)

I tried to enable the HDMI-0 using xrandr, sustemsettings and nvidia-settings. No success.
I also tried log out and log in as you suggested. When I log out both monitors start to work fine but as soon as I log back in just the DP-0 works.

Offline

#4 2023-02-26 16:32:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,378

Re: [SOLVED] One monitor stop to work after I log in.

I tried to enable the HDMI-0 using xrandr, sustemsettings and nvidia-settings. No success.

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855

Did you get any output from xrandr and what'S the resulting "xrandr -q"?
Also disable kscreen.

Offline

#5 2023-02-26 17:35:42

namhisf
Member
Registered: 2023-02-26
Posts: 3

Re: [SOLVED] One monitor stop to work after I log in.

seth wrote:

I tried to enable the HDMI-0 using xrandr, sustemsettings and nvidia-settings. No success.

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855

Ok, sorry I misunderstood.

seth wrote:

Did you get any output from xrandr and what'S the resulting "xrandr -q"?

The command

xrandr --output HDMI-0 --auto

doesn't produce outputs, the screens just blick and the monitor from HDMI-0 still black.

The output from xrandr -q

xrandr -q
Screen 0: minimum 8 x 8, current 5760 x 2160, maximum 32767 x 32767
DP-0 connected 1920x1080+3840+0 (normal left inverted right x axis y axis) 531mm x 298mm
   1920x1080    144.00*+ 119.98   119.88   100.00    99.93    74.99    60.00    59.94    50.00  
   1440x900     119.85  
   1280x1024    119.96    75.02    60.02  
   1280x960      99.78  
   1280x720      60.00    59.94    50.00  
   1024x768     119.99    75.03    60.00  
   800x600      119.97    99.66    75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480      119.52    75.00    59.94    59.93  
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 632mm x 360mm
   3840x2160     60.00*+  59.94    50.00    30.00    29.97  
   2560x1440     59.95  
   1920x1080     59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94  
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
seth wrote:

Also disable kscreen.

It worked!!! I will tag the thread as solved!
Thank you

Offline

#6 2023-02-26 19:48:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,378

Re: [SOLVED] One monitor stop to work after I log in.

3840x2160     60.00*+  59.94    50.00    30.00    29.97 

The output is now active.
If that's not the status quo after deactivating kscreen, but was a direct response to the xrandr call (something else changed, because DP-0 moved its position and is no longer scaling), "no output" is expectable, but the black screen would either suggest that the output was immediately turned off again or (if it's actually on, just not displaying anything) that the WM/compositor responded incorrectly.

kscreen issues are increasingly common, if you still want to use the daemon, make sure to remove its config cache, https://wiki.archlinux.org/title/KDE#Un … lution_set

Offline

Board footer

Powered by FluxBB