There’s a lot of projects to help get Windows games working better on Linux, and this effort is basically all those projects coming together to work on making the ‘ultimate’ project that will make it easier than ever to game on Linux! :D
I haven’t noticed any issues with a 1080 using i3, so this definitely seems like a KDE issue. Are you getting desktop notifications when it goes black?
Sounds like a compositor issue. Look up your issues more generally with KDE instead of focusing on CS2 directly. There are some tweaks you can make with the full screen compositor that can make your experience better. Also try full screen vs windowed settings modes and see if you get any difference.
Joystickwake reacts dynamically to game controller input, lets the system sleep if you walk away, and requires no per-game setup. It can be installed from a package (official: ubuntu, community: arch, fedora) or just copied from the source code archive and launched from a startup script.
GameMode not only keeps the screen awake, but also tunes system settings like the CPU governor for performance, and keeps those changes in place until you exit the game even if you walk away at a menu screen. Once installed and running, activating it requires prefixing each game’s launch command with gamemoderun or using a game manager that knows how to do that for you.
You could try systemd-inhibit as a prefix to any game launch command, much in the same way as gamemoderun is used.
Sidebar: this could be considered an example of the XY Problem. You should consider editing the title since the problem you’re really hoping to solve is your laptop going to sleep while you play a game.
While the XY problem sort of applies to this post, I think labeling it as such might be a little too dismissive, since this is one of those rare cases where OP has correctly identified the root cause of the observed issue.
(Easier workarounds exist, but the ideal solution would indeed be fixing the hardware manager’s input idle detection such that it no longer ignores game controllers.)
For the panels issue, you can launch CS2, press Alt+F3 to open the window settings, go to configure special app settings, then set an option for the app so that it always launches in fullscreen mode.
I also added a shortcut to make games fullscreen by pressing Ctrl+Enter.
I believe this is a bug with KDE and should be reported to them. The same issue is reported on Valve’s repository but nothing has been done from Valve’s side to fix this issue.
As a a quick test, go into the Nvidia control panel and under OpenGL settings disable G-sync. If the problem goes away then you’re affected by the VRR regression. More info here: forums.developer.nvidia.com/t/…/46
linux_gaming
Oldest
This magazine is from a federated server and may be incomplete. Browse more on the original instance.