You are not logged in.
Current Set up:
Dual monitors, SDDM display manager autologing to wayfire DE. Also have xfce installed. GPU is nvidia GTX1660ti and I am using nouveau drivers. Linux kernel 6.8.1
PC boots up into wayfire no problem. When I logout back to the greeter I can't move the mouse properly between both monitors. They are reversed. I have to move left to get to the right monitor. Ok so a little inconvenient. If I login to the xfce session then things become weird. Grabbing a window on the the left monitor will move a window on the right monitor. Typing with the cursor focused in the left monitor will output text on the right monitor and vice versa. Actually, I should say when the cursor is on the left monitor and window will become focused on the right monitor.
If I downgrade kernel to 6.7.9 the issue goes away.
I have another machine with xfce using the nvdia drivers with linux kernel 6.8.1 and works without issues.
Last edited by callmejoe (2024-03-21 13:56:47)
Offline
Is the wayfire (auto)login actually a critical step here?
If you boot to SDDM, log into xfce, logout and login again, do mouse and monitor behave as expected?
What if you use the nvidia blob instead of nouveau (this sounds as if only the output rendering is flipped, so you're seeing the output for monitor #1 on monitor #2 et vv.)?
Offline
Is the wayfire (auto)login actually a critical step here?
no it's not critical . i'll disable that for testing
If you boot to SDDM, log into xfce, logout and login again, do mouse and monitor behave as expected?
still get same unwanted behavior
What if you use the nvidia blob instead of nouveau (this sounds as if only the output rendering is flipped, so you're seeing the output for monitor #1 on monitor #2 et vv.)?
switching to nvidia does fix the issue. fixes SDDM and xfce mouse and monitor issue
Here is the output of inxi -G when booted with nouveau and booted with nvidia
nouveau:
Graphics:
Device-1: NVIDIA TU116 [GeForce GTX 1660 Ti] driver: nouveau v: kernel
Device-2: Logitech C920 PRO HD Webcam driver: N/A type: USB
Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
compositor: wayfire v: 0.9.0-643b451b driver: X: loaded: modesetting,nouveau
dri: nouveau gpu: nouveau resolution: 1: 1920x1080 2: 1920x1080
API: EGL v: 1.5 drivers: nouveau,swrast
platforms: gbm,wayland,x11,surfaceless,device
API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 24.0.3-arch1.1
renderer: NV168
API: Vulkan Message: No Vulkan data available.nvidia
Graphics:
Device-1: NVIDIA TU116 [GeForce GTX 1660 Ti] driver: nvidia v: 550.54.14
Device-2: Logitech C920 PRO HD Webcam driver: N/A type: USB
Display: x11 server: X.Org : 21.1.11 with: Xwayland v: 23.2.4 driver: X:
loaded: nvidia unloaded: modesetting, nouveau gpu: nvidia, nvidia-nvswitch
resolution: 1: 1920x1080~60Hz 2: 1920x1080-60Hz
API:
EGL v: 1.5 drivers: nvidia, swrast
platforms: gbm,x11, surfaceless, device
API
: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.54.14
renderer: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2
API: Vulkan : 1.3.279 drivers: nvidia surfaces: xcb, xlibAnd the issues go away completely if i downgrade to 6.7.9
Offline
Since it easily gets lost in your quotes up there:
switching to nvidia does fix the issue. fixes SDDM and xfce mouse and monitor issue
Do/did you use xf86-video-nouveau?
Offline
Do/did you use xf86-video-nouveau?
i have that package installed if that's what you are asking
Offline
Yes. If you want to try nouveau again, I'd remove that and see whether the issue remains.
Offline
i removed xf86-video-nouveau but it didn't fix the issue.
however, mesa was just updated from 24.03-1 to 24.03-2 and that fixed half the issue. I can now grab windows properly. which at least lets me work within the desktop. The screens are still reversed though. hopefully i can just use the xfce settings to fix that. but i am not sure why the screens are reversed in SDDM. I'm thinking I can use some sddm script and xrandr maybe to address that in the meantime. And maybe another mesa update will come out which fixes it, we'll see.
I could switch the monitor cables around, but then grub and boot messages are on the "wrong" screen.
I'll keep playing around with it.
Marking as SOLVED.
Offline
spoke to soon. after playing around with xfce settings the same bad behavior is back.
im going to just downgrade the kernel to 6.7.9 and see if the next kernel version fixes the issue. keeping marked as solved
Offline
https://gitlab.freedesktop.org/drm/nouveau/-/issues/
If it was *just* the output layout benig messed up, I'd guess the output naming pattern mght have changed or indeed some randr call fails otherwise¹, but w/ the mouse behavior, it's more likely that the output for monitor #1 goes to monitor #2 and monitor 2# goes to monitor #1
Are the two outputs the same model and/or daisy-chained (so one cable goes to the 1st monitor and then another one from the 1st monitor to the 2nd)?
¹ itr, do you use some randr scripts in SDDM?
Offline
2 outputs are different brands but same size and resolutions. One is an Acer the other is an HP. just simple 1920 60hz monitors
not daisy chained. monitors each directly connected to video card....wait a sec.... i do have a KVM switch between the monitors and gpu. maybe that is messing it up somehow?? i'll have to check that.
no im not using any current scripts in SDDM.
EDIT: also, i ended up switching the cables around. now i can get it all to work properly, but now grub menu ends up on a different monitor than i want. but not a deal breaker really. i'll play around with that KVM switch and see how it goes. thanks
Last edited by callmejoe (2024-03-21 16:08:21)
Offline