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).
philippe@hpprol2:~> inxi -SGaz
System:
Kernel: 6.7.6-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc avail: xen
parameters: root=UUID=78cf2dab-782f-467c-b749-1bc362844d10 splash=verbose
showopts vga=838 mitigations=auto security=apparmor
Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 info: frameworks
v: 5.115.0 wm: kwin_wayland tools: avail: xscreensaver vt: 4 dm: SDDM
Distro: openSUSE Tumbleweed 20240226
Graphics:
Device-1: NVIDIA GK104GL [Quadro K4200] driver: nouveau v: kernel non-free:
series: 470.xx+ status: legacy-active (EOL~2024-09-xx) arch: Kepler
code: GKxxx process: TSMC 28nm built: 2012-2018 pcie: gen: 2 speed: 5 GT/s
lanes: 16 ports: active: DP-1,DVI-I-1 empty: DP-2 bus-ID: 0a:00.0
chip-ID: 10de:11b4 class-ID: 0300 temp: 58.0 C
Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev,vesa
alternate: nouveau,nv,nvidia dri: nouveau gpu: nouveau d-rect: 3840x1080
display-ID: 0
Monitor-1: DP-1 pos: right res: 1920x1080 size: N/A modes: N/A
Monitor-2: DVI-I-1 pos: primary,left res: 1920x1080 size: N/A modes: N/A
API: EGL v: 1.5 hw: drv: nvidia nouveau platforms: device: 0 drv: nouveau
device: 1 drv: swrast gbm: drv: nouveau surfaceless: drv: nouveau wayland:
drv: nouveau x11: drv: nouveau
API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 23.3.6 glx-v: 1.4
direct-render: yes renderer: NVE4 device-ID: 10de:11b4 memory: 3.87 GiB
unified: no display-ID: :1.0
API: Vulkan Message: No Vulkan data available.
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
I see that wayland did not start on VT2 but on VT3
philippe@hpprol2:~> env | grep VT
XDG_VTNR=3
In journalctl by logon I see that wayland start on VT3. Any Idea why ?
Feb 28 09:17:51 hpprol2 sddm-helper[10775]: pam_unix(sddm:session): session opened for user philippe(uid=1000) by philippe(uid=0)
Feb 28 09:17:51 hpprol2 sddm-helper[10775]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Feb 28 09:17:51 hpprol2 systemd[10780]: Starting D-Bus User Message Bus...
Feb 28 09:17:52 hpprol2 dbus-broker-launch[10795]: Service file '/usr/share/dbus-1/services/org.kde.dolphin.FileManager1.service' is not named after the D-Bus name 'org.freedesktop.FileManager1'.
Feb 28 09:17:52 hpprol2 dbus-broker-launch[10795]: Service file '/usr/share/dbus-1/services/org.kde.plasma.Notifications.service' is not named after the D-Bus name 'org.freedesktop.Notifications'.
Feb 28 09:17:52 hpprol2 dbus-broker-launch[10795]: Service file '/usr/share/dbus-1/services/org.kde.kscreen.service' is not named after the D-Bus name 'org.kde.KScreen'.
Feb 28 09:17:52 hpprol2 dbus-broker-launch[10795]: Service file '/usr/share/dbus-1/services/org.jackaudio.service' is not named after the D-Bus name 'org.jackaudio.service'.
Feb 28 09:17:52 hpprol2 dbus-broker-launch[10795]: Policy to allow eavesdropping in /usr/share/dbus-1/session.conf +31: Eavesdropping is deprecated and ignored
Feb 28 09:17:52 hpprol2 dbus-broker-launch[10795]: Policy to allow eavesdropping in /usr/share/dbus-1/session.conf +33: Eavesdropping is deprecated and ignored
Feb 28 09:17:52 hpprol2 systemd[10780]: Started D-Bus User Message Bus.
Feb 28 09:17:52 hpprol2 dbus-broker-launch[10795]: Ready
Feb 28 09:17:52 hpprol2 systemd[10780]: Created slice Slice /app/dbus-:1.4-org.jackaudio.service.
Feb 28 09:17:52 hpprol2 systemd[10780]: Started dbus-:1.4-org.jackaudio.service@0.service.
Feb 28 09:17:52 hpprol2 jackdbus[10807]: default: not implemented 0
Feb 28 09:17:52 hpprol2 jackdbus[10807]: default: not implemented 0x55b601f3c650 0x55b601f3c5c0 (nil)
Feb 28 09:17:52 hpprol2 jackdbus[10807]: default: 0x55b60304aa40: not implemented
Feb 28 09:17:52 hpprol2 jackdbus[10807]: default: 0x55b60304aa40: not implemented
Feb 28 09:17:52 hpprol2 jackdbus[10807]: default: 0x55b60304a540: not implemented
Feb 28 09:17:52 hpprol2 jackdbus[10807]: default: 0x55b60304a540: not implemented
Feb 28 09:17:52 hpprol2 jackdbus[10807]: default: 0x55b60304aa40: not implemented
Feb 28 09:17:52 hpprol2 jackdbus[10807]: default: failed to stat "/home/philippe/.config/jack/conf.xml", error is 2 (No such file or directory)
Feb 28 09:17:52 hpprol2 jackdbus[10807]: default: open() failed to open conf filename.
Feb 28 09:17:52 hpprol2 sddm-helper[10814]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
Feb 28 09:17:52 hpprol2 wireplumber[10792]: [11:30:05.800199861] [10792] WARN IPAManager ipa_manager.cpp:154 No IPA found in '/usr/lib64/libcamera'
Feb 28 09:17:52 hpprol2 wireplumber[10792]: [11:30:05.800350790] [10792] INFO Camera camera_manager.cpp:284 libcamera v0.2.0
Feb 28 09:17:52 hpprol2 sddm-helper[10775]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session" "/usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
Feb 28 09:17:52 hpprol2 sddm-helper[10817]: Jumping to VT 3
Feb 28 09:17:52 hpprol2 sddm-helper[10817]: VT mode didn't need to be fixed
If I use ALT-CTRL-F1 to jump to a console and I come back the monitors are again shifted the primary is the DP-1
If I do ALT-CTRL-F2 I have a black screen on the two monitors with the cursor blinking but no logon screen.
Doing ALT-CTRL-F3 to return to the wayland session give me a black screen on the DP-1 monitor. On the DVI monitor I see the normal display and have access but I cannot reactivate the DP-1 monitor with systemsettings it remains black: I can see the mouse and I can drag a program from the DP-1 to the DVI monitor.
I can only reactivate the DP-1 by logoff and logon
With X11 these problems don’t happen.
Are there settings for wayland that I didn’t set?
Many thanks in advance
Philippe