You are not logged in.

#1 2023-06-29 00:17:12

Sophed
Member
Registered: 2023-06-29
Posts: 5
Website

Nvidia freezing randomly

Hey all, first time posting here so let me know if I'm doing anything wrong. For a while now I've been having issues with my system freezing randomly both in Xorg and Wayland, leaving my only choice being to hard reset my computer by physically pressing a button on the front of my case. From what I can tell there doesn't seem to be anything of significance in journalctl but I'm not the best at reading errors. There doesn't seem to be a pattern for when it happens but I can usually use the system for around 2 - 3 hours before it happens again, although it's not guaranteed as sometimes it has frozen directly after a restart. appears to freeze video playback and after a few seconds my audio and cursor also become unresponsive, leaving the entire system frozen. I have tried SSHing into my system while it is in this state and it doesn't allow me to connect. I run a dual boot system with Windows which doesn't have this issue, leading me to believe it isn't a hardware issue. I have also never had these issues on non Arch based distributions such as Ubuntu 22.04 (maybe a package update broke something?). This issue began around a month ago and I've been searching for a solution for a while now as it's really been interrupting my workflow. If anyone can offer any advice I would really appreciate it, thanks!

GPU: Nvidia GTX 1060 6GB w/ Proprietary drivers
CPU: AMD Ryzen 5 2600
Happens with all window managers/desktop environments

Here's my journalctl from last boot if it helps:
https://pastes.io/qrwskuemp5

Last edited by Sophed (2023-06-29 00:32:02)

Offline

#2 2023-06-29 07:07:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,132

Re: Nvidia freezing randomly

there doesn't seem to be anything of significance in journalctl

is because

only choice being to hard reset my computer by physically pressing a button on the front of my case

https://wiki.archlinux.org/title/Keyboa … el_(SysRq)

I run a dual boot system with Windows

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.


began around a month ago

Try to downgrade nvidia to 530xx, use the dkms package.
Also see https://wiki.archlinux.org/title/Ryzen#Troubleshooting

And post your journal using ix.io or 0x0.st - the pastes.io link runs some javascript that took my system OOM within some seconds.

Online

#3 2023-06-29 15:21:11

Sophed
Member
Registered: 2023-06-29
Posts: 5
Website

Re: Nvidia freezing randomly

Alright I'll give them a try and get back to you! Also sorry about the pastes link :<

Offline

#4 2023-07-04 17:13:30

Sophed
Member
Registered: 2023-06-29
Posts: 5
Website

Re: Nvidia freezing randomly

seth wrote:

there doesn't seem to be anything of significance in journalctl

is because

only choice being to hard reset my computer by physically pressing a button on the front of my case

https://wiki.archlinux.org/title/Keyboa … el_(SysRq)

I run a dual boot system with Windows

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.


began around a month ago

Try to downgrade nvidia to 530xx, use the dkms package.
Also see https://wiki.archlinux.org/title/Ryzen#Troubleshooting

And post your journal using ix.io or 0x0.st - the pastes.io link runs some javascript that took my system OOM within some seconds.

Quick update, I have tried basically everything. Downgraded Nvidia packages - broke my system, added kernel parameters - also broke my system, SysRq keys don't seem to do anything when it freezes, disabling hibernation on windows also didn't achieve anything and I'm honestly running out of ideas hmm

Offline

#5 2023-07-04 17:38:01

duuumbo
Member
Registered: 2023-07-04
Posts: 14

Re: Nvidia freezing randomly

I think I have the same problem, or at least the same symptoms. My neofetch output:

                   -`                    dumbo@DumboPC 
                  .o+`                   ------------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Kernel: 6.4.1-arch2-1 
               `+oooooo:                 Uptime: 35 mins 
               -+oooooo+:                Packages: 1301 (pacman) 
             `/:-:++oooo+:               Shell: bash 5.1.16 
            `/++++/+++++++:              Resolution: 1440x900, 1366x768 
           `/++++++++++++++:             WM: i3 
          `/+++ooooooooooooo/`           Theme: Adwaita [GTK2/3] 
         ./ooosssso++osssssso+`          Icons: Adwaita [GTK2/3] 
        .oossssso-````/ossssss+`         Terminal: kitty 
       -osssssso.      :ssssssso.        CPU: Intel i7-2600 (8) @ 3.800GHz 
      :osssssss/        osssso+++.       GPU: NVIDIA GeForce GTX 1660 
     /ossssssss/        +ssssooo/-       Memory: 1733MiB / 7926MiB 
   `/ossssso+/:-        -:/+osssso+-
  `+sso+:-`                 `.-/+oso:                            
 `++:.                           `-/+/                           
 .`                                 `/

When I freeze, SysRq does not respond. I do not run dual boot. I have this problem for a while, maybe 4-5 months, but it's pretty hard to troubleshoot since I can't reproduce it, and fixes take long to see if somthing changed. I also have journalctl logs to share, but there is nothing really usefull that I can see: http://ix.io/4zKA.

Offline

#6 2023-07-04 19:44:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,132

Re: Nvidia freezing randomly

I'm honestly running out of ideas

Downgrade the nvidia driver without breaking the system?

seth wrote:

use the dkms package

added kernel parameters - also broke my system

What kernel parameters? For sysrq??

I have this problem for a while, maybe 4-5 months

That would predate the troublesome 535xx drivers - though incidentally so would the OPs

This issue began around a month ago

there is nothing really usefull that I can see

You've trouble w/ your creative headset and archlinux-keyring-wkd-sync fails like every 5 minutes (what's not supposed to happen) and is also when the journal abruptly stops.
Also get rid of xdg-desktop-portal-gnome, it's broken outside gnome sessions.

Did either of you test the LTS kernel?

Online

#7 2023-07-04 21:10:29

Sophed
Member
Registered: 2023-06-29
Posts: 5
Website

Re: Nvidia freezing randomly

seth wrote:

Did either of you test the LTS kernel?

Switching to it now, I'll update if anything happens.

seth wrote:

What kernel parameters?

The ones listed under fixes for AMD CPUs, there were a few there that messed with my bootloader config, I will give them another try though.

Last edited by Sophed (2023-07-04 21:12:27)

Offline

#8 2023-07-04 21:22:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,132

Re: Nvidia freezing randomly

The ones listed under fixes for AMD CPUs

Which ones specifically?
The most relevant there is the c-state limitation, next to the curve optimizer adjustment (but that's not a kernel parameter)
None shoulf™ be able to "break" your system (whatever that means)

Online

#9 2023-07-06 02:16:04

Sophed
Member
Registered: 2023-06-29
Posts: 5
Website

Re: Nvidia freezing randomly

Okay so update: I've been using the LTS kernel for the past 2 days with no freezes, that at least narrows down the point of failure.

Offline

Board footer

Powered by FluxBB