Skip to content

Playing games with NVIDIA card crashes X server.

I haven't been playing games past few weeks, but today when I launched dota2, after 2,3 minutes it got stuck. Keyboard mouse both were unresponsive. I had to hard reboot my laptop. Tried with other few games on steam, same result.

While the game is stuck, I could ssh from my other devices. killall dota2 stopped the ingame music, but my screen was still stuck on the game screen.

sudo systemctl restart sddm restarted the display manager and laptop was responsive again.

The games run fine while running steam with igpu ( not running steam with prime-run ).

I'm on 5.11.2-arch1-1 kernel and 460.56 nvidia drivers. Few weeks ago while on the 5.10 kernel and its nvidia driver, games were running fine.

Is anyone else facing similar issues?

Edit: Steam logs during crash - https://pastebin.com/Ma1CkHnP

Edited 5 Mar 2021. We only hold this version.

8 points9 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
8 · 91% up
Kind
Text
ID
ly68ug

Author

2
posts
5
comments
0
media
View profile

9 comments

Try deleting the shader cache.
X does not recover gracefully from a gfx fault.

1 points

I have disabled Shader Pre-Caching, so there is no shader cache to delete.

1 points

That's good but it still has to build shaders (and it does cache them) and you need to rebuild them when you update drivers. It should know to do this automatically but it seems a buggy process to me.

1 points

I have a similar issue. Every game crashes xorg, unless it's on windowed mode with borders. Wierd and annoying bug.

1 points

That could be a notification issue; could try disabling steam overlay to see if it makes a difference.

1 points

Okay, now it appears that it's a csgo problem. I've played flawlessly assetto corsa competizione and rocket league. Only csgo crashes if I play in fullscreen or borderless.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.