Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Plasma bug with multiple xscreens in >=5.24
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
allistarM
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2004
Posts: 138

PostPosted: Thu Jun 16, 2022 10:24 am    Post subject: Plasma bug with multiple xscreens in >=5.24 Reply with quote

Hi all,
I run a system with 2 Nvidia GPUs and 2 xscreens. xcreen0 has 4 monitors and xscreen1 has 2 monitors. On plasma version 5.23 and earlier this works well as plasma ignores xscreen1. It correctly runs one plasma shell on each of the 4 monitors on xscreen0. Version 5.24 of plasma-workspace (or related packages) has introduced a bug where plasma now creates 4 shells, but two of them are on xscreen0 and 2 are on xscreen1. I want plasma to leave xscreen1 alone. I think this is related to how plasma identifies the outputs by the xrandr name. I think it assumes these names are unique, but in a multiple GPU system they aren't.

On xscreen0 the command:
xrandr --listmonitors
Returns:
0: +*DVI-I-1 1920/598x1080/336+1920+1080 DVI-I-1
1: +HDMI-0 1680/473x1050/296+240+30 HDMI-0
2: +DVI-D-0 1920/521x1080/293+1920+0 DVI-D-0
3: +HDMI-1 1920/480x1080/270+0+1080 HDMI-1

And on xscreen1 this is:
0: +DVI-I-1 1680/433x1050/271+0+0 DVI-I-1
1: +DVI-D-0 1920/509x1080/286+0+1050 DVI-D-0

It looks like plasma is trying to start up a shell for the 4 monitors on screen0 but because two of them have the same name as outputs on xscreen1 plasma is getting confused and starting them on there instead.

Is anyone aware of a way to tell plasma version 5.24 and newer to stick to one xscreen and ignore another?
Thanks,
Allistar.
Back to top
View user's profile Send private message
allistarM
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2004
Posts: 138

PostPosted: Sat Jun 25, 2022 1:15 am    Post subject: Reply with quote

I have fixed this issue by patching the plasma-workspace ebuild. I've added the ability to black-list monitors by their serial number. These monitors won't be added up by Plasma.
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