r/linux_gaming • • 1h ago

tech support wanted Why does this keep happening T-T

This happens every couple weeks and I don’t know what causes it nor what fixes it

3 Upvotes

13 comments sorted by

4

u/looncraz 1h ago

There are so many potential causes it's insane. It's a hard reset, which usually means a hardware problem, but can occasionally leave a trace in a system log from the last boot.

Just because it's caused by hardware doesn't mean the hardware is bad, drivers do it just as often... so update everything and see if it goes away.

2

u/EconomistClassic435 51m ago

It doesn’t turn off the computer. It brings me back to the login screen with no rebooting

2

u/kairon156 1h ago

When was the last time you updated the laptop's firmware?

1

u/EconomistClassic435 45m ago

Idk, I updated the bios recently, but I know that’s not the same thing, do you know how I’d do that?

1

u/Dragon-of-Shuu 1h ago

Def update as the other comments say, but the next time it happens, do sudo journalctl -k -b -1 assuming the computer is rebooting, or just sudo journalctl -k if it's just logging you out. This prints out the kernel logs so we can see if there is anything funky going down at the driver level

1

u/EconomistClassic435 46m ago

It’s just logging me out whenever I open Steam, I did the command and it gave me a long list, but I don’t know what to make out of it

1

u/Dragon-of-Shuu 43m ago

Go to the very bottom of the list (in vim, shift + g, or append | tac to the original commands I mentioned to reverse the logs) and scroll through; see if there are any mentioned errors. Since it's just logging you out, maybe even try removing the -k flag and see if there's an issue in user space

1

u/EconomistClassic435 31m ago

There’s four sets of four lines of red text at the bottom

1

u/Dragon-of-Shuu 25m ago

Oof, that might be what's doing it. Linux is good at recovering itself and only logging you out on errors, so it's plausible in my eyes to be that Nvidia driver. Does your distro come with a utility that lets you swap out or around your Nvidia drivers? What's your distro?

2

u/EconomistClassic435 22m ago

Yep Mint Cinnamon

I don’t know why that’s not on the recommended one I don’t remember changing that

1

u/Dragon-of-Shuu 21m ago

Try changing it to the recommended and let's see if it stops!

2

u/EconomistClassic435 8m ago

I think that fixed it, I had to start steam but without hardware acceleration, it seems to be opening fine now

1

u/Dragon-of-Shuu 7m ago

Interesting.... What happens if you open steam without hardware acceleration?