Hazeron Forums
Mouse infinite spin on Wayland (Linux) - Printable Version

+- Hazeron Forums (https://hazeron.com/mybb)
+-- Forum: Shores of Hazeron (https://hazeron.com/mybb/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://hazeron.com/mybb/forumdisplay.php?fid=17)
+---- Forum: Prerelease Bug Reports (https://hazeron.com/mybb/forumdisplay.php?fid=21)
+---- Thread: Mouse infinite spin on Wayland (Linux) (/showthread.php?tid=2814)



Mouse infinite spin on Wayland (Linux) - Chojin - 08-17-2022

on Wayland (Xorg successor) the game runs well.
Unfortunately when the game grab the mouse, it is like infinite spin, so impossible to move.

Log is saying:
qt.qpa.wayland: Setting cursor position is not possible on wayland
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
This plugin supports grabbing the mouse only for popup windows


Using Arch Linux with
qt5-base 5.15.5+kde+r174-1
qt5-declarative 5.15.5+kde+r19-1
qt5-svg 5.15.5+kde+r11-1
qt5-translations 5.15.5+kde+r2-1
qt5-wayland 5.15.5+kde+r38-3
qt5-x11extras 5.15.5+kde+r0-1
qt6-base 6.3.1-1
qt6-svg 6.3.1-1
qt6-translations 6.3.1-1


Workaround: unset environment variable related to Wayland so the game will launch with "standard" qt lib.
env -u WAYLAND_DISPLAY -u QT_QPA_PLATFORM /HazeronLauncher


RE: Mouse infinite spin on Wayland (Linux) - QuakeIV - 08-18-2022

Have you tried the workaround


RE: Mouse infinite spin on Wayland (Linux) - Chojin - 08-18-2022

Yep the workaround works :)


RE: Mouse infinite spin on Wayland (Linux) - QuakeIV - 08-18-2022

that may turn out to be useful info


RE: Mouse infinite spin on Wayland (Linux) - Chojin - 08-20-2022

I added -u QT_QPA_PLATFORM as depending of what qt libs you may have installed it would set a Wayland environment variable.


RE: Mouse infinite spin on Wayland (Linux) - Xantheose - 08-26-2022

https://youtu.be/PGNiXGX2nLU?t=61