Nvidia drivers causing hard lockups when launching X11 25 January 2021, 02:06:46 I've got an issue that I cannot for the life of me figure out. Basically, whenever I laucnh X11 using startx on Nvidia drivers, Openbox (but it happens with any other wm) works fine for 5-15 seconds, after which the system hard locks up, with no mouse movement, no switching ttys or anything. I can gracefully shut down by pressing the power button or using the magic key, however. I have tried using different driver versions including dkms and regular, different kernel versions including the regular and hardened kernel that I usually use, disabling all autostart programs in openbox, using a different window manager, using different xorg configuration files as well as no config files at all, and unplugging all peripherals. I have socklog set up but I can't see it at the time of the crash because logs get cleared at reboot and I can't figure out how to stop that. Currently running 5.10.10 hardened and nvidia-dkms 460.32.03-1. Any help would be appreciated. Oh and using nouveau does work.
Re: Nvidia drivers causing hard lockups when launching X11 Reply #1 – 25 January 2021, 09:32:26 so, post here some logs ;-) read please https://forum.artixlinux.org/index.php/topic,1923.0.html
Re: Nvidia drivers causing hard lockups when launching X11 Reply #2 – 25 January 2021, 22:01:46 Okay, the system is not freezing anymore and I don't have a log from when it was, but please don't close this thread yet because it will likely happen again soon at which point I will be sure to save the log.
Re: Nvidia drivers causing hard lockups when launching X11 Reply #3 – 26 January 2021, 10:00:20 What's your Xorg configuration for nvidia? You can boot from an installation media or livecd after a freeze, mount your drives and copy existing logs somewhere. BTW Xorg logs are preserved in *.old files after reboot.
Re: Nvidia drivers causing hard lockups when launching X11 Reply #4 – 26 January 2021, 14:58:19 Quote from: 2d9QZPy7 – on 25 January 2021, 02:06:46I've got an issue that I cannot for the life of me figure out. Basically, whenever I laucnh X11 using startx on Nvidia drivers, Openbox (but it happens with any other wm) works fine for 5-15 seconds, after which the system hard locks up, with no mouse movement, no switching ttys or anything. I can gracefully shut down by pressing the power button or using the magic key, however. I have tried using different driver versions including dkms and regular, different kernel versions including the regular and hardened kernel that I usually use, disabling all autostart programs in openbox, using a different window manager, using different xorg configuration files as well as no config files at all, and unplugging all peripherals. I have socklog set up but I can't see it at the time of the crash because logs get cleared at reboot and I can't figure out how to stop that. Currently running 5.10.10 hardened and nvidia-dkms 460.32.03-1. Any help would be appreciated. Oh and using nouveau does work.Hi,Did you install also your CPU's microcode?If not, do that too
Re: Nvidia drivers causing hard lockups when launching X11 Reply #5 – 03 February 2021, 18:47:24 The issue has come back but now I have logs. Intel microcode has always been installed and nouveau is manually blacklisted in addition to whatever the nvidia proprietary driver does.
Re: Nvidia drivers causing hard lockups when launching X11 Reply #6 – 03 February 2021, 20:13:01 Please check this link and this link too, both look as a similar case issue
Re: Nvidia drivers causing hard lockups when launching X11 Reply #7 – 03 February 2021, 20:28:34 Thanks for the quick reply. The issue on the nvidia forums was about intermittent freezing, whereas in my case the computer never unfreezes after it happens. However, adding Code: [Select]__GL_MaxFramesAllowed=1 seems to have fixed it, but considering it took a week after the last time the issue subsided to it randomly coming back again, I'll have to wait and see.
Re: Nvidia drivers causing hard lockups when launching X11 Reply #8 – 15 February 2021, 21:58:56 It seems to me as solved.Therefor, I am marking it as so.Do not hesitate to reopen it, if you have any future problems.