Hi,
I use Immersed to wear 3D glasses and run a triple display set in my laptop. I am used to this setup in my desktop.
The point is that in xorg there is a way to create virtual displays using xrandr, but that does not work with wayland. And you need to have a card that has empty ports set up, my new laptop do not have such ports.
Now, Immersed is able to use gnome over wayland to create those virtual displays, but they cannot use kde to do such thing.
So I am stocked with just one desktop.
It would be great if someone could create an app to set up virtual displays (not virtual desktops) in kde over wayland.
If someone can point me to xrand equivalent on wayland, that would be great too.
Gnome can do it. I hope that means kde can do it too.
1 Like
I’d like to see this added too, I don’t have space for monitors and my setup has to be mobile so using a quest for my monitors is ideal.
I managed to run it with the last kubuntu 25.04 (plasma 6.3 I think)
For the record: There is a problem with higher resolutions. I managed to make it work with 1280x1024, but bigger than that the display show scrambled. Here you have the code to prepare the displays before and after immersed:
#!/usr/bin/env bash
echo 'creating virtual monitors'
kscreen-doctor {{ output.1.mode.4 output.1.scale.1 }}
krfb-virtualmonitor --name VD1 --password pass123 --resolution 1280x1024 --port 5900 --scale 1 &
krfb-virtualmonitor --name VD2 --password pass123 --resolution 1280x1024 --port 5901 --scale 1 &
./Immersed-x86_64.AppImage
killall krfb-virtualmonitor
kscreen-doctor {{ output.1.mode.1 output.1.scale.1.25 }}
How about kscreen-doctor? I remember asking myself the same question at one point, and that was what I found.
In this case I only use kscreen-doctor to change the resolution and scale of my physical display so it matches the resolution of the other ones, that are “momentarily” locked to a max resolution of 1280x1024. I think I ran kscreen-doctor --info (or similar) to get the resolutions (modes) that my display accepted and that are system specific.