LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   NVidia drivers: Some hard freezes on -current... (https://www.linuxquestions.org/questions/slackware-14/nvidia-drivers-some-hard-freezes-on-current-4175452311/)

andrew.46 03-01-2013 04:03 PM

NVidia drivers: Some hard freezes on -current...
 
I have tried a variety of NVidia drivers, using the NVidia installer, finally settling on 313.09. With all of these versions I experience a hard freeze every couple of days. By 'hard freeze' I mean the display freezes and there is no response from mouse and keyboard, a reboot from the power switch is required. This with a GTS 450.

Has anybody else experienced this issue?

Didier Spaier 03-01-2013 10:00 PM

Blind guess: maybe the nvidia drivers you tried are not fully compatible with mesa 9.1? See recent entry in the Changelog:
Code:

x/mesa-9.1-i486-1.txz: Upgraded.
      Hate to stomp on the fresh proprietary video driver installs out there
      again, but it's probably better to get this in sooner than later.


TommyC7 03-01-2013 10:17 PM

I'm using an Nvidia optimus laptop and have yet to experience these freezes (when I use the Nvidia card).

Didier Spaier 03-01-2013 10:27 PM

Quote:

Originally Posted by TommyC7 (Post 4902895)
I'm using an Nvidia optimus laptop and have yet to experience these freezes (when I use the Nvidia card).

Please, be patient ;)

Seriously, do you use the (same) proprietary driver?

TommyC7 03-01-2013 10:40 PM

Yes, I wouldn't have posted otherwise. I tested 313.09 for awhile (to see any if there were any improved FPS results in certain programs), and when I didn't see any I reverted back to 310.32, but no problems on either of them.

andrew.46 03-01-2013 10:41 PM

Quote:

Originally Posted by Didier Spaier (Post 4902889)
Blind guess: maybe the nvidia drivers you tried are not fully compatible with mesa 9.1?

That could be one problem as well but this problem was going on before this change. Now that I have looked closely I suspect many, but not all, of these freezes occur when opening Firefox from a link and I suspect Flash may be at the heart of the problem. Something similar reported by the Arch people:

https://wiki.archlinux.org/index.php...ze_using_flash

So I have disabled hardware acceleration with Flash and I will install the latest 310 drivers and then cross my fingers...

Didier Spaier 03-01-2013 10:42 PM

Quote:

Originally Posted by TommyC7 (Post 4902905)
Yes, I wouldn't have posted otherwise. I tested 313.09 for awhile (to see any if there were any improved FPS results in certain programs), and when I didn't see any I reverted back to 310.32, but no problems on either of them.

So, probably bad guess...

andrew.46 03-01-2013 11:07 PM

Perhaps not, I did all of the above and the system again froze :). This time opening a new tab in Firefox directed from an URL in mutt...

andrew.46 03-02-2013 12:46 AM

Spending far too much time with this one :(. Tried nouveau for a while and it looks like a reasonable backup if all else fails. Disabled compositing in xorg.conf as it seems to be a villain in a number of bug reports...

sairum 03-02-2013 05:36 AM

I don’t know if this helps, but I've also been experiencing problems with the nvidia driver and I suspect that the numerous random freezes that have been reported in the net arise from different bugs. Hence, there is no simple solution for the problem. Sometimes, the suggested fixes work, but quite often they don’t. It all depends on the combination of the driver and the kernel. In my case, crashes start becoming frequent when I upgraded to nvidia 310.32. The symptoms were always the same: a frozen video display, but the computer was still working. Loging in via ssh allowed me to restart the machine after some house-cleaning, but interestingly I couldn’t find any traces KDE or even X!

dmesg consistently displayed this message

irq 16: nobody cared (try booting with the "irqpoll" option)
Pid: 1773, comm: kwin Tainted: P O 3.6.03.6 #4
Call Trace:
<IRQ> [<ffffffff8108ac9f>] ? __report_bad_irq+0x2f/0xd0
[<ffffffff8108afb5>] ? note_interrupt+0x1d5/0x220
[<ffffffff810889ae>] ? handle_irq_event_percpu+0x7e/0x140
[<ffffffff81088aaa>] ? handle_irq_event+0x3a/0x70
[<ffffffff8108b9ac>] ? handle_fasteoi_irq+0x4c/0xe0
[<ffffffff81004335>] ? handle_irq+0x15/0x20
[<ffffffff81004242>] ? do_IRQ+0x52/0xd0
[<ffffffff8146bca7>] ? common_interrupt+0x67/0x67
<EOI> [<ffffffff8146c3a2>] ? system_call_fastpath+0x16/0x1b
handlers:
[<ffffffff812ef200>] usb_hcd_irq
[<ffffffffa07c3b30>] nv_kern_isr [nvidia]
Disabling IRQ #16

After googling for this, I’ve tried all different sorts of suggested fixes (“irqpoll” in lilo header, “/usr/bin/nvidia-smi -pm 1” in rc.local, etc) but freezes still occurred randomly. I was about to change my old nvidia 8600GT when I upgraded to kernel 3.8.03.6, keeping nvidia 310.32, “irqpoll” in lilo and “/usr/bin/nvidia-smi -pm 1” in rc.local, and I haven’t seen a frozen screen since then!

Antonio

PS: I'm not running -current. It's a slack64 multilib setup. Only the kernel, nvidia blob, and standard patches were upgraded

andrew.46 03-02-2013 04:43 PM

Thanks for that Sairum. So far I have:
  • Installed NVidia 310.32
  • Disabled Hardware Acceleration in Flash
  • Disabled compositing in xorg
  • Upgraded kernel to 3.8.1
  • Appended 'irqpoll' in lilo.conf
  • Added '/usr/bin/nvidia-smi -pm 1' to rc.local

So now I will sit tight and see if I have beaten the freezes...

TommyC7 03-02-2013 04:50 PM

Quote:

Originally Posted by Didier Spaier (Post 4902907)
So, probably bad guess...

Hmm?

Didier Spaier 03-02-2013 04:52 PM

Quote:

Originally Posted by TommyC7 (Post 4903349)
Hmm?

I meant that the issues listed may be unrelated to the recent upgrade of mesa in -current (which was my initial guess).

andrew.46 03-05-2013 03:55 PM

Still getting the odd hard freeze so for the moment I have removed the NVidia drivers and I have decided to use nouveau for a couple of months. Then perhaps try newer NVidia drivers and see if the issue is resolved. Nouveau seems to work well enough, I miss the 3d acceleration in my vms and d2x-rebirth will not run but a stable system may very well be worth the price...

ReaperX7 03-06-2013 09:36 PM

Running -Current doesn't always mean that everything will work perfectly with the system.

Proprietary drivers are no exception.

The Nvidia driver shouldn't even have top worry about LibMesa at all as it contains it's own OpenGL libraries.

Because you have an Optimus setup...

Try this website for help getting the Optimus muxer support known as Bumblebee working.

Code:

http://bumblebee-project.org/

andrew.46 03-07-2013 01:55 AM

Optimus? Not here :)

andrew.46 03-08-2013 04:33 PM

Looks like with nouveau my system is again solid as a rock, but not quite as pretty as it was with the NVidia blob. I am a little surprised that the problem is not so widespread in this Slackware forum but I know that Google has seen the issue many times and not just recently. Waiting for newer NVidia drivers before I try again, sigh....

mats_b_tegner 03-10-2013 08:44 AM

The long-term driver branch has been updated to 310.40
http://www.nvidia.com/object/unix.html

andrew.46 03-10-2013 03:09 PM

Quote:

Originally Posted by mats_b_tegner (Post 4908498)
The long-term driver branch has been updated to 310.40
http://www.nvidia.com/object/unix.html

Thanks for that, I have actually jumped back a little to the 'legacy' driver although I believe this is not necessary for my card and have been using 304.84. So far so good...

commandlinegamer 03-10-2013 03:41 PM

I've had freezing up: -current (kernel 3.7.1) using the nouveau driver on a motherboard with integrated Geforce 7025 graphics. Within a few seconds of logging into to a user account using KDE, or even attempting to launch Firefox from within FVWM. No Ctrl-Alt-Bksp, Alt-SysRq combinations worked.

I've since installed nVidia 304.84 drivers, but need to see if that improves matters.

andrew.46 03-10-2013 04:21 PM

304.84 seems ok so far but black screen when logout. I can see a fix for kde but I am using Fluxbox...

andrew.46 03-24-2013 01:19 AM

I am marking this thread Solved as my own situation has stabilised completely. Currently running kernel 3.8.4 and NVidia 313.26 and no more freezing or black windows on logout. I can see by these Forums that the NVidia drivers are going through a rough patch at the moment so I am glad to have found a solution in my own case :).


All times are GMT -5. The time now is 05:07 PM.