Various Linux window/focus bugs

dusek

New member
1. Sometimes the window is offset a little bit as seen in the first attachment (see the black bar at the bottom). This means the game timer at the top is not visible. This can be fixed manually relatively easily by going into settings and just clicking "apply" on resolution settings.

2. The game still doesn't seem to play nicely with multiple monitors. I have to disable my 2nd monitor otherwise I randomly have cases where my cursor escapes the window and goes to the other monitor. This hasn't happened in any of the other Source 2 games (Dota 2, CS2) but those are running natively on Linux

3. Changing display configuration bugs out deadlock completely, where it exits fullscreen and clicks don't work/are offset. To reproduce this bug, I go in KDE plasma and disable my 2nd monitor, I can no longer click on things in the game until I do a restart
 

Attachments

  • 1725260908646.png
    1725260908646.png
    1.6 MB · Views: 13
Out of curiosity, is one monitor a connected with a different style connector than the other? Ex: 1x HDMI 1x DPI or DVI/VGA? I've had issues with some stuff in the past because of that.
 
This happened to me in a match.
My guess is that the game tried to access a file or texture that wasn't needed until that point.

With the playtest getting quite a bit of updates, it may be worth checking the integrity of the files in Steam or deleting the game followed by re-downloading for a fresh install.
 
Out of curiosity, is one monitor a connected with a different style connector than the other? Ex: 1x HDMI 1x DPI or DVI/VGA? I've had issues with some stuff in the past because of that.
Yes, but not sure if it's relevant. Also the cursor escaping the window issue seems to be fixed, black bar and changing display configuration issues are still there
 
Cursor escaping the window happens to me in Deadlock and Apex Legends (also a Source engine game) when there's heavy CPU load. In Deadlock, pressing the tab key to actually access a cursor seems to fix it.
 
I've experienced bug 1 before as well, with the same fix. Fedora 40, GNOME, X, Proton 9.0-3.
 
Disregard my previous post, the cursor escaping bug isn't fixed yet unfortunately. I found this out the hard way
 
I've had similar issues running fullscreen mode with two monitors. Fullscreen was losing focus and the game would close on startup repeatedly and I could not get the game to start. I was able to get the game to come up by changing
"setting.fullscreen_min_on_focus_loss" "1" to "setting.fullscreen_min_on_focus_loss" "0"
in
steamapps/common/Deadlock/game/citadel/cfg/video.txt

For issue #2 you can create a gap between the monitors to lock your cursor to one monitor. It will say that gaps are unsupported in plasma settings but I do the following as a workaround:
$ kscreen-doctor output.HDMI-2.position.1940,0 output.HDMI-1.position.0,0

Outputs and positions depend on your config so check out kscreen-doctor --help
 
Back
Top