tf2 freezes my system on xlibre
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
- start tf2 from steam on plasma 6 with xlibre
- 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
- [x] I have checked the existing issues
- [x] I have read the Contributing Guidelines
- [ ] I'd like to work on this issue
I accidentally marked it as completed but whatever, seems like this is a tf2 specific issue.
Thank you for reporting the issue! Do you have any logs showing what crashes when and would you mind to share them if so?
I have no logs, it just freezes my entire system, only the vulkan version of the game does this.
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 ?)
I don't really have a way of testing ssh but I can try getting to a TTY.
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
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 Thank you for your feedback! I reopened the issue so we can look into it.
Could you please provide some log files if possible?
@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 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!
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.
I just ended up working around it by playing in borderless fullscreen.
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.
Other source games (like l4d2) work just fine.
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)