Hang with VLC video on 346.47

Periodically I’ve been seeing the 346.47 driver hang when playing video on a GTX 980. Everything freezes for a good 10 seconds or so, then resume for an instant, then freeze up again. This shows up in the kernel log when this happens:

[143776.885977] NVRM: GPU at PCI:0000:01:00: GPU-199c86dc-fdf0-d1c8-37a2-d9e525b5d155
[143776.885981] NVRM: Xid (PCI:0000:01:00): 31, Ch 00000010, engmask 00008100, intr 10000000

The only way I’ve gotten out of it is by killing VLC via Alt-F4 while it’s frozen (the key strokes are processed when things resume briefly).

I’ve seen this behavior occur on both Linux 3.19.3 and 3.14.37. Any ideas about the cause?

I believe it’s using the VDPAU output module for video.

Did you ever figure out what was causing this?

I’ve been having the exact same issue with a new build when using VLC (often when skipping through a video). GTX 970, 352.30 driver, Arch Linux.

After this occurs, I sometimes get Xid 8 (on the same boot), but it always starts with Xid 31

Its VDPAU atleast I think. Also had this issue and I disabled everything video accelerated with VLC and it worked for now atleast.

I thought so too, and tried disabling acceleration and using a different video mode but I was still getting issues with VLC, however, a lot less frequently.

What options did you specifically change?

Maybe the same problem as mine: https://devtalk.nvidia.com/default/topic/825049/linux/compiz-crash-with-recent-nvidia-drivers/
Before compiz crash I got video freeze for a few second and a xid 31 error like yours.
Perhaps you can try the 331.113 release which is AFAIK the latest version that does not exhibit the problem. This can eventually give some clues to the nvidia guys about this problem which is now more than one year old.

Hello,
still got the same issue with 352.41 driver on Linux 4.1.0-1-amd64 with a GTX 970.

It occurs randomly after I switch with full screen & windowed mode on VLC playing a xvid video.