Bugzilla – Bug 1220675
Problem with wayland +KDE : multimonitors and console (ALT-CTRL-Fx)
Last modified: 2024-03-07 14:12:58 UTC
Created attachment 873117 [details] output of journalctl -b I have a server with a nvidia quadro K4200 GPU with two monitors connected: the first connected on the DVI the second on the Display port (DP-1).I use KDE and the login is done via SDDM When I boot the system the hardware info are displayed on the monitor connected to the DVI port. With X11 this monitor is the primary (with the task bar) the second monitor (DP-1) has no task bar. X11 use the VT2. When I start with wayland the primary monitor is set to DP-1. I can force this to the DVI monitor via the systemsettings but when I logoff and login the configuration is not preserved and I must redefined it in systemsettings each time. The background of the monitors + taskbar are swapped but a program running on monitor 1 remains on monitor 1 only the background and the taskbar are swapped. A second problem is that the wayland session is started on VT3 or VT4. philippe@hpprol2:~/Script> env | grep VT XDG_VTNR=3 If I switch via ALT-CTRL-F1 to the first console and go back the monitors roles are again swapped. If I go to the VT2 via ALT-CTRL-F I have a black screen on the two monitors but the mouse arrow is present and I can move it. If I click on this VT2 and come back to the wayland I see that the DP-1 monitor is black. I can move a program from the DP-1 to the DVI monitor with the help of the mouse, but the monitor DP-1 remain black even if I try to reset with systemsettings. If I go to the VT1 console and come back in the wayland session then the DP-1 monitor redisplay the programs windows and the background. I attach the output of journalctl -b : you can see at line 3423 the start of wayland-session and the jump to VT3
Possibly problem is caused by KDE's "KScreen 2" service: https://forums.opensuse.org/t/nvidia-and-modesettings-second-display-problem/148795
Kscreen 2 is disabled in systemsettings; Regards
With snapshot 20240305 it seems that the problem of primary monitor is solved: My DVI monitor remains now primary, no more swap. Other problems are still present: wayland session still start on VT3 , VT4 or VT7 IF I go to VT2 and go back to VT3 (Wayland session) the DP-1 monitor goes black. Flickering of the DP-1 monitor if I hover over the sessions in the taskbar Regards Philippe