xserver icon indicating copy to clipboard operation
xserver copied to clipboard

tf2 freezes my system on xlibre

Open terrorbyte69420 opened this issue 4 months ago • 15 comments

Select the version

25.0.0.7

Describe your issue

Sometimes, usually after the system has been on for a bit, my system freezes if I try launching tf2 (vulkan version), this doesn't not happen on wayland, other source games (also vulkan) like l4d2 work just fine. plasma 6 with xlibre, artix linux

Steps to reproduce

  1. start tf2 from steam on plasma 6 with xlibre
  2. system freezes but the cursor can still be moved

What did you expect?

The game to not freeze my system.

Additional Information

amd gpu (radeon 6600), kde plasma, tf2 is the vulkan version

Extra fields

terrorbyte69420 avatar Aug 03 '25 14:08 terrorbyte69420

I accidentally marked it as completed but whatever, seems like this is a tf2 specific issue.

terrorbyte69420 avatar Aug 03 '25 15:08 terrorbyte69420

Thank you for reporting the issue! Do you have any logs showing what crashes when and would you mind to share them if so?

callmetango avatar Aug 06 '25 12:08 callmetango

I have no logs, it just freezes my entire system, only the vulkan version of the game does this.

terrorbyte69420 avatar Aug 26 '25 22:08 terrorbyte69420

I have no logs, it just freezes my entire system, only the vulkan version of the game does this.

By "entire system" you mean just the GUI or even the kernel ? (ssh login still possible ?)

metux avatar Aug 27 '25 08:08 metux

I don't really have a way of testing ssh but I can try getting to a TTY.

terrorbyte69420 avatar Aug 29 '25 13:08 terrorbyte69420

Okay here's what happened, I rebooted and switched from plasma wayland to plasma xlibre in sddm, as soon as I got to the desktop my main display was at 50hz instead of 180hz (does not happen on wayland), I tried launching tf2 vulkan in fullscreen, as soon as it got to the loading screen, the display set itself to 50hz again (I had display settings open on a secondary monitor) and all of my displays froze (I had a video on another display), I managed to get into a TTY and reboot. tf2 seems to really not like it if you're running in vulkan and fullscreen on xlibre or xorg, as the same stuff would happen on dwm a few years ago. my tf2 launch options MANGOHUD_CONFIG=fps_only mangohud %command% -nojoy -novid

terrorbyte69420 avatar Aug 29 '25 13:08 terrorbyte69420

I'm having the same issues with other games as well. Some work, but others freeze the whole system after playing for a while (you can still move the cursor or switch tty) or crash the game. I've tested it with Xorg + picom, and this doesn't seem to happen. I'm running an i5-12600K with it's iGPU (UHD 770).

C4taclysm99 avatar Sep 19 '25 17:09 C4taclysm99

@C4taclysm99 Thank you for your feedback! I reopened the issue so we can look into it.

Could you please provide some log files if possible?

callmetango avatar Sep 19 '25 17:09 callmetango

@C4taclysm99 Thank you for your feedback! I reopened the issue so we can look into it.

Could you please provide some log files if possible?

I've been trying to actively reproduce it for an hour, but so far, nothing. Seems to be random. I'm not sure if it's driver-related, since I didn't look into xlibre-xf86-video-intel much as it was affecting the resolution and most software (my terminal emulator and browser wasn't displaying properly and etc.). If I'm successful, I'll try to send the log here. I've been experiencing this issue for a while, but have only just decided to report it. Sorry for the inconvenience.

C4taclysm99 avatar Sep 19 '25 18:09 C4taclysm99

@C4taclysm99 No problem, some bugs are hard to track. I had a look at your setup and it is different to the one of the original reporter. Would you mind to create a new issue and copy the contents of your comments over there? And could you please add some detail like what distribution you are using, what version of XLibre etc.? Thank you in advance!

callmetango avatar Sep 19 '25 18:09 callmetango

I tried using gamescope to run the game, it works fine on wayland but on xlibre it feels weirdly sluggish but it didn't change my refresh rate or anything.

terrorbyte69420 avatar Sep 25 '25 12:09 terrorbyte69420

I just ended up working around it by playing in borderless fullscreen.

terrorbyte69420 avatar Nov 04 '25 17:11 terrorbyte69420

If I recall correctly, Source games interact with DXVK in a weird manner on X11. I believe a working workaround for this was to launch the game with the -refresh hz launch option, where hz is your monitor's refresh rate.

notbabaisyou avatar Nov 06 '25 15:11 notbabaisyou

Other source games (like l4d2) work just fine.

terrorbyte69420 avatar Nov 06 '25 18:11 terrorbyte69420

Try using sysrq commands to recover from the freeze and then copy the logs into a safe place e.g: "~/home" using cp command then restart

I suspect this issue is related to present-flips (It was happening to me in some games , and some weird situations , but I can't reproduce that now)

AmerXz avatar Dec 01 '25 07:12 AmerXz