You are not logged in.

#1 2022-12-15 12:07:47

ncerrone
Member
Registered: 2022-12-15
Posts: 4

[SOLVED] Only One Monitor Displays the Desktop Environment at a Time

So a general overview:
I left my desktop on last night. I returned to one of my monitors with no signal. The other was completely blank and only displayed my mouse. A reboot resulted in both monitors coming back to life, but only up until the login screen. After the desktop environment (KDE Plasma) boots, one of my monitors loses signal. After messing around with it a bit, I have figured out that as long as only one monitor is connected to my GPU, either monitor will work individually.

I just installed Arch yesterday and I'm fairly new to Linux overall, so let me know if there is any more info / logs I should provide. I've attached my Xorg.0.log from my last boot with both monitors attached.

Xorg.0.log: http://0x0.st/onwH.txt

Solution:
Delete the dirctory ~/.local/share/kscreen and reboot!
Deleting just the contents of the directory did not fix the problem.

Last edited by ncerrone (2022-12-15 18:44:11)

Offline

#2 2022-12-15 14:37:37

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

Re: [SOLVED] Only One Monitor Displays the Desktop Environment at a Time

Output of "xrandr -q"?

Online

#3 2022-12-15 14:41:17

ncerrone
Member
Registered: 2022-12-15
Posts: 4

Re: [SOLVED] Only One Monitor Displays the Desktop Environment at a Time

seth wrote:

Output of "xrandr -q"?

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  59.94    50.00    60.05    60.00    50.04 
   1680x1050     59.95 
   1600x1200     60.00 
   1440x900      59.89 
   1280x1024     75.02    60.02 
   1280x960      60.00 
   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    59.93 
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected (normal left inverted right x axis y axis)
   2560x1440     59.95 + 165.00   144.00   120.00    99.95    84.98    23.97 
   1024x768      60.00 
   800x600       60.32 
   640x480       59.94 
DP-5 disconnected (normal left inverted right x axis y axis)

Offline

#4 2022-12-15 14:48:18

ncerrone
Member
Registered: 2022-12-15
Posts: 4

Re: [SOLVED] Only One Monitor Displays the Desktop Environment at a Time

Update:
Now in my display configuration, the other monitor shows up (which wasn't happening before). I can enable it and set it as my primary monitor, but once I apply changes I get something similar to what I was greeted with this morning. One monitor loses signal and the other goes black with only my mouse visible.

Offline

#5 2022-12-15 14:50:52

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

Re: [SOLVED] Only One Monitor Displays the Desktop Environment at a Time

Please use code tags, https://bbs.archlinux.org/help.php#bbcode (welcome to the forum wink)

xrandr --output DP-4 --auto --right-of HDMI-0

This is probably a kscreen problem, look around in ~/.local/share/kscreen/ and in doubt delete all files there.

Edit

once I apply changes I get something similar to what I was greeted with this morning. One monitor loses signal and the other goes black with only my mouse visible.

"goes black with only my mouse visible" means that either the session crashed to the compositor mis-reacts to the randr event (for whatever reason)
To check the latter theory, SHIFT+alt+F12 toggles the compositor, see whether there's any response to that.
Though the other output deactivating sounds like there's another issue w/ this.
Still try using xrandr to configure the output.
You can also do so from a different VT (Ctrl+Alt+F2,F3,F4…) but will first have to

export DISPLAY=:0

Last edited by seth (2022-12-15 14:55:18)

Online

#6 2022-12-15 17:29:34

ncerrone
Member
Registered: 2022-12-15
Posts: 4

Re: [SOLVED] Only One Monitor Displays the Desktop Environment at a Time

seth wrote:

Please use code tags, https://bbs.archlinux.org/help.php#bbcode (welcome to the forum wink)

xrandr --output DP-4 --auto --right-of HDMI-0

This is probably a kscreen problem, look around in ~/.local/share/kscreen/ and in doubt delete all files there.

Edit

once I apply changes I get something similar to what I was greeted with this morning. One monitor loses signal and the other goes black with only my mouse visible.

"goes black with only my mouse visible" means that either the session crashed to the compositor mis-reacts to the randr event (for whatever reason)
To check the latter theory, SHIFT+alt+F12 toggles the compositor, see whether there's any response to that.
Though the other output deactivating sounds like there's another issue w/ this.
Still try using xrandr to configure the output.
You can also do so from a different VT (Ctrl+Alt+F2,F3,F4…) but will first have to

export DISPLAY=:0

OK, sorry for the delay! After running

xrandr --output DP-4 --auto --right-of HDMI-0

I see some response from my other display. Something triggers the no-signal text to appear again and the monitor turns on for a brief moment, but still no image.

When I enable the disabled display and my screen turns black, if I use SHIFT+alt+F12 I get an image from the display that was already working. The other display still remains black.

When I go to the virtual terminal with ctrl+alt+f2 and do

export DISPLAY=:0
xrandr --output DP-4 --auto --right-of HDMI-0

I get

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  7 (RRSetScreenSize)
  Serial number of failed request:  44
  Current serial number in output stream:  45

Thanks for all the help btw

Offline

#7 2024-05-07 11:41:58

psionman
Member
Registered: 2021-03-13
Posts: 3

Re: [SOLVED] Only One Monitor Displays the Desktop Environment at a Time

@seth's suggestion worked for me

> This is probably a kscreen problem, look around in ~/.local/share/kscreen/ and in doubt delete all files there.

Last edited by psionman (2024-05-07 11:43:05)

Offline

#8 2024-05-07 11:59:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,230

Re: [SOLVED] Only One Monitor Displays the Desktop Environment at a Time

You are responding to a two year old solved thread, please pay attention to the dates before bumping.

Closing this old thread.

Online

Board footer

Powered by FluxBB