While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- GOG launch their Preservation Program to make games live forever with a hundred classics being 're-released'
- Valve dev details more on the work behind making Steam for Linux more stable
- Half-Life 2 free to keep until November 18th, Episodes One & Two now included with a huge update
- NVIDIA detail upcoming Linux driver features for Wayland and explain current support
- Direct3D to Vulkan translation layer DXVK v2.5 released with rewritten memory management
- > See more over 30 days here
-
Half-Life: Blue Shift remake mod Black Mesa: Blue Shift…
- a0kami -
The Walking Dead, The Expanse and more in the Telltale …
- Caldathras -
Half-Life 2 free to keep until November 18th, Episodes …
- wvstolzing -
Half-Life 2 free to keep until November 18th, Episodes …
- Caldathras -
The Walking Dead, The Expanse and more in the Telltale …
- Liam Dawe - > See more comments
- Steam and offline gaming
- Dorrit - Weekend Players' Club 11/15/2024
- Ehvis - What do you want to see on GamingOnLinux?
- Liam Dawe - New Desktop Screenshot Thread
- Vortex_Acherontic - Types of programs that are irritating
- dvd - See more posts
View PC info
Linux Distribution: Fedora 38
Desktop Environment: Gnome 44.2
Graphics Card: GTX 1080
GPU Driver Version: Proprietary 530.41.03
Have you checked for system updates?: Yes
If this is to do with Steam, please add your system read-out from Steam -> Help -> System Information (please put that into Pastebin/Gist as linked above!):
https://pastebin.com/ETLiunDn
You can note your issue below here
Hi all! I'm encountering an issue where my cursor leaves the game window when building, and though I would try my luck at finding a solution here. I've tried using gamescope which does solve the problem, but I can only launch the game about 5% of the time, the other 95% just freeze the entire window and I have to kill processes. Worth noting is that I'm using X11.
Note any particular steps to reproduce it below here
Install the game and play it on a multi-monitor setup.
View PC info
Possibly losing focus. A simple thing to try is to press ALT+TAB a few times, it might get it back. Another workaround, is to CLICK the mouse on every screen as a game is loading.
View PC info
Thanks for the input! I suspected as much, I might have to try and file a bug report if the devs have a place for that.
The issue is that the mouse doesn't lock to the game window after using the tool in game that allows for building. I suspect that the issue is that a menu appears to select an object to build, which presents an in-game cursor. When that menu closes, and you get back control of the character, the mouse input doesn't get locked to the game properly and can travel into the 2nd monitor.
The issue can be worked around by clicking the window a couple of times, I'll have to try alt-tabbing as well, but the problem with clicking is that all mouse inputs is an action causing me to build, destroy, or re-open the build menu again. One can of course look straight into the sky so that the actions doesn't do anything, but that tends to activate the GNOME hot corner a lot, making the whole ordeal a bit tedious.
View PC info
This isn't all relevant to you, but this is the crap I put up with and what I do about it.
I used to have problems with mouse breaking out of game and activating auto-hide panels and desktop things like that too. I went through a few desktops/WMs. Trinity/TDE (love that, but started having mouse breakout problems), Lumina desktop with Fluxbox (love that too, but still had minor issues). KDE Plasma is just too much bloat and mess for me.
Eventually, my final solution was IceWM because of its ability to strictly enforce focus behaviour with fine grained settings. It also has a window list that I can bring up with ctrl-alt-esc that just cuts through the slime and brings a game into focus when highlighted with arrow keys and Enter. That's my last resort, and it never lets me down (except in the event of a finicky game that can't tolerate a focus change at all, and freezes/crashes/corrupts... one such example for me is Rage 2, but Borderless Windowed mode completely eliminates any problems for me with that one)
I haven't seen Gnome in a very long time, but does it have a window list you can bring up with a hotkey? I can't say how well that would work out, it could itself not get focus and alt-tab may not get you there either (seen that behaviour in other desktop environments with games too).
Last edited by Grogan on 15 June 2023 at 6:54 pm UTC
View PC info
View PC info
View PC info
I can fully relate to a lot in that text. I switched to primarily use Linux on desktop about a year ago, and trying different DEs and trying to navigate all the issues can be a real adventure! I'm a bit too much of a newbie to feel comfortable poking around with some of the more niche DEs and WMs but maybe some day, I'm pretty happy with GNOME right now to be fair.
There is a task switcher in GNOME, so alt-tabbing is definitely something worth trying in this scenario. The devs seem to be aware of the issue and the game is still in development, so there's at least some hope to get it resolved in the proper way. Hopefully it will be a priority to be patched
I'll try the alt-tab thing. I worked around it by clicking like mad, changing viewing angle and a whole lot of swearing.
View PC info
That was my strategy as well. I did however notice that if I purposefully moved the cursor onto my 2nd monitor and then back onto the game, it would magically start locking it again. Worth trying if it can be reproduced on your side as well :)
Last edited by Dalgam on 20 June 2023 at 7:06 pm UTC
View PC info
The only fix I found was to run Valheim via Proton, but that cripples the performance as it is common for some Unity based games due to some weird threading the engine tires to use. At least this is the explanation I came up:
In earlier Proton version (before 6.0 I believe) it was enough to limit the cores visible to the Uniy game using
taskset -c 0,2,4,6 %command%
and it fixed the performance.Doesn't work that well meanwhile. Not even if you disable FSync ... :(
Another solution might be running Valheim with Gamescope, so game scrop does the mouse capture unless you Alt+Tab or press Meta on Gnome to release the cursor.
Unfortunate Gamescope doesn’t work for me atm .. it once did but then someday stopped doing so :/
What I do to get the mouse pointer back into the game is to open the Steam Overlay, move my pointer atop Valheim and close the Overlay.