You are not logged in.
This is difficult to describe; I've searched around and found little in terms of information. When I launch a game in Steam, Counter Strike GO it launches normally, but the mouse is not there. I have dual monitors (this was not an issue until I recently ran pacman -Syu) and when I move the mouse around it shows on the other monitor. If I right click within CS, the game mouse appears.
When I load into game I'm unable to look away from the ground. I spin around, or the view jumps straight to the sky. I've noticed in the main menu that the task bar up top (I use Gnome) is a blank space. If I move my mouse up towards this space I lose the game mouse and instead get my desktop mouse.
It seems like CS isn't taking "priority" for lack of a better term.
I've typically been able to figure these problems out; but I've never come across this before. It's like the game is not the top window.
Mod note: changed title from "Steam - Mouse Issue" to "Wayland, games and mouse sensitivity" -- WorMzy
Last edited by WorMzy (2016-10-15 11:21:10)
Offline
I don't use Gnome but do know it had a major update recently. You may want to direct your search efforts in that direction. People are talking.
Offline
Hello,
I am using Gnome3 and after last update the default Xsession opens in Wayland. The Destkop Environment work pretty nice, but sometimes I want to play a game, for example ioquake3 or Borderlands 2 from linux steam. And when I play the game the mouse sensitivity is insane - sometimes the game does not map mouse movements (the cursor is still or moves only in one direction in a linear way) or sometimes the sensitivity makes my character turn like 720 degrees by moving mouse only by one millimeter.
I suppose it is happening because games still use old xorg libraries and not new libinput libraries. Is there a way to make them work with Wayland server?
Regards,
2020 ASUS Zephyrus G14
Offline
Mod note: Merging with an existing thread for this issue, but keeping the new title for visibility (former title: Steam - Mouse Issue)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
@WorMzy, thanks, I tried to search for existing thread but there were no results.
2020 ASUS Zephyrus G14
Offline
I had some problems today as well. I haven't debugged it properly but I'm confident it's the Gnome upgrade. I used openbox and everything works.
Offline
You can try the X.Org session for playing games in Gnome:
Offline
Reason:
Pointer locking wasn't supported, but now it is supported in Wayland. Games need to adapt.
https://fedoraproject.org/wiki/How_to_d … ting_games
>> But wait! SDL2 is Wayland capable, so IOQuake3 or Openarena should run fine?
Right. But SDL2 doesn't support it either.
https://bugs.debian.org/cgi-bin/bugrepo … bug=838366
Hopefully coming soon, this is the reason why IOQuake3 fails also like CS:GO. The story remembers me a little bit on the ABI-Change for C++11 from GCC. It was delayed a long time, this this actual post, because the slow communication between GCC and LLVM. Sometimes the world isn't perfect and we have to be patiend. In the end, everything will be solved
Last edited by hoschi (2016-11-06 16:01:02)
Offline
Wayland is not mature for some games.
If game suport SDL2 you use:
export SDL_VIDEODRIVER=wayland
And then run game in SDL mode. Example:
xonotic-sdl
Work fine here.
Last edited by mapintar (2016-11-09 17:51:06)
Offline
>> But wait! SDL2 is Wayland capable, so IOQuake3 or Openarena should run fine?
Right. But SDL2 doesn't support it either.
https://bugs.debian.org/cgi-bin/bugrepo … bug=838366
Pointer locking is implemented in sdl2-2.0.5.
Offline
I will test that during weekend with the variable and the new SDL2 (in stable since 30.11.2016) and IOQuake3, looking forward
Offline
export SDL_VIDEODRIVER=wayland
This works. IOQuake3 run's in fullscreen and mouse is "captured". Graphics are displayed correctly and my HD3000 (Intel Sandy Bridge) produces 440 fps on 1366x768 with the built-in "demo_four". Thanks mapintar
By the way:
My X220 produced just 150 fps some years ago. It becomes faster and faster and now offers OpenGL 3.3, which even MacOS (max 3.2) or Windows (max 3.1) never reached. Linux starts low, but seeing how it improves especially on the long distance is always nice. Sadly I can't imagine that much applications use OpenGL 3.3, most will stick with OpenGL 3.0 or OpenGL 4 and above. How cares, just more than Windows
Offline
Having the same problem in Minecraft (View locked to top or ground and mouse/character is spinning around the own axis).
Just ran a pacman -Syu but this still did not help.
This really starts to annoy me.
Tried the usage of
export SDL_VIDEODRIVER=wayland
but this did not help me either!
Any ideas what could solve my problem, or when things become fixed?
Greez and thanks
mitras2
Offline
Minecraft is written in Java. This cannot work
I'm pretty sure it is and will be always executed within XWayland. This will need likely an other fix.
Last edited by hoschi (2016-11-23 17:05:14)
Offline
Xorg server 1.19 has fixes for xwayland. I tried CS, Half Life, Portal.
Wait until it will be presented in repos or upgrade from staging if you video drivers support xorg-server 1.19.
Offline
Hello,
I am using Gnome3 and after last update the default Xsession opens in Wayland. The Destkop Environment work pretty nice, but sometimes I want to play a game, for example ioquake3 or Borderlands 2 from linux steam. And when I play the game the mouse sensitivity is insane - sometimes the game does not map mouse movements (the cursor is still or moves only in one direction in a linear way) or sometimes the sensitivity makes my character turn like 720 degrees by moving mouse only by one millimeter.
I suppose it is happening because games still use old xorg libraries and not new libinput libraries. Is there a way to make them work with Wayland server?Regards,
Exactly the same problem here
Using gnome wayland
Problem in tf2 and angeldust
Offline
Exactly the same problem here
The post immediately above yours contains the solution -- Xorg version 1.19 has fixes for this but is only available from the [staging] repositories because the vendor-specific DDX drivers are not yet compatible.
To use [staging]. add these lines to /etc/pacman.conf, they must be above your usual repositories:
[staging]
Include = /etc/pacman.d/mirrorlist
Then simply update your system:
# pacman -Syu
I'm not sure how [staging] is managed thereafter, hopefully somebody else will offer some tips
If your card does not work well with the generic modesetting DDX driver then you will have to use GNOME on X until version 1.19 makes it into [Extra]
Jin, Jîyan, Azadî
Offline
The package xorg-server 1.19 is now in the extras repository. This fixes the issues for me.
Offline
So, i know this is a really old topic, but I'm having the same issue when trying to play Minetest. Pointer locking doesn't seem to work and the view frustum just goes haywire, even though I've got xorg-server 1.19 installed.
A quick search turned up a related github issue in the minetest repo, but they seem to have concluded that the issue has been fixed with xorg-server 1.19 as well.
Anybody else run into the same issue still?
I'm running:
minetest 0.4.16-2
wayland 1.14.0-1
sway 0.15.0
xorg-server 1.19.5-1
Offline