Not a member yet? Why not Sign up today
Create an account  

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mouse infinite spin on Wayland (Linux)

#1
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
Reply

#2
Have you tried the workaround
Reply

#3
Yep the workaround works :)
Reply

#4
that may turn out to be useful info
Reply

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

#6
https://youtu.be/PGNiXGX2nLU?t=61
[Image: unknown.png]
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)