[nv4e] [vdpau] causes hangs
Submitted by Ronald
Assigned to Nouveau Project
Description
I saw this on IRC:
10:59 #nouveau: < mupuf>
ok
11:00 #nouveau: < blackiner>
imirkin: i know you were messing around a bit on nv4x video decoding stuff a bit back, did you have any patches that would have affected a nv43 recently?
11:00 #nouveau: < blackiner>
just tried out arch on my other machine, any vdpau video seems to freeze the machine on it
11:01 #nouveau: < blackiner>
but xv works fine
11:01 #nouveau: < imirkin>
blackiner: there is no vdpau support for nv4x. there is xvmc support however.
11:01 #nouveau: < imirkin>
blackiner: i do think that some distros recently started including libvdpau_nouveau.so though
11:01 #nouveau: < imirkin>
which is probably why you've just started seeing issues
11:01 #nouveau: < blackiner>
yeah it seems to install all the vdpau stuff by default
11:02 #nouveau: < imirkin>
it's probably the case that vdpau is somehow broken for nv4x
11:02 #nouveau: < imirkin>
there's definitely no video decoding support in there
11:02 #nouveau: < blackiner>
I wonder if there is some init function somewhere where it should just tell vdpau: No, not possible, please go away
11:02 #nouveau: < imirkin>
but the presentation layer probably tries to do some timing thing
11:02 #nouveau: < imirkin>
and i've seen the timer stuff be broken on nv4x
11:02 #nouveau: < imirkin>
well, i added that for nv3x
11:03 #nouveau: < imirkin>
(well, i added a requirement for NPOT textures)
And I saw this in my dmesg with flash:
[14826.835439] nouveau E[ PGRAPH][0000:00:05.0] ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[14826.835480] nouveau E[ PGRAPH][0000:00:05.0] ch 3 [0x00056000 plugin-containe[15953]] subc 7 class 0x4497 mthd 0x020
8 data 0x00000120
[14826.835832] nouveau E[ PGRAPH][0000:00:05.0] ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[14826.836292] nouveau E[ PGRAPH][0000:00:05.0] ch 3 [0x00056000 plugin-containe[15953]] subc 7 class 0x4497 mthd 0x020
8 data 0x00000120
[14826.836355] nouveau E[ PGRAPH][0000:00:05.0] ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[14826.836973] nouveau E[ PGRAPH][0000:00:05.0] ch 3 [0x00056000 plugin-containe[15953]] subc 7 class 0x4497 mthd 0x0208 data 0x00000120
[14826.837046] nouveau E[ PGRAPH][0000:00:05.0] ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[14826.837607] nouveau E[ PGRAPH][0000:00:05.0] ch 3 [0x00056000 plugin-containe[15953]] subc 7 class 0x4497 mthd 0x0208 data 0x00000120
[14826.837724] nouveau E[ PGRAPH][0000:00:05.0] ERROR nsource: DATA_ERROR nstatus: BAD_ARGUMENT
[14826.838284] nouveau E[ PGRAPH][0000:00:05.0] ch 3 [0x00056000 plugin-containe[15953]] subc 7 class 0x4497 mthd 0x0208 data 0x00000120
I think this issue crashed my machine as I was opening something in Youtube. The relevant output was this:
feb 24 13:39:00 Charlie kernel: nouveau E[plugin-containe[28001]] failed to idle channel 0xcccc0000 [plugin-containe[2
feb 24 13:39:15 Charlie kernel: [sched_delayed] sched: RT throttling activated
feb 24 13:39:15 Charlie kernel: nouveau E[plugin-containe[28001]] failed to idle channel 0xcccc0000 [plugin-containe[2
feb 24 13:42:18 Charlie kernel: nouveau E[ X[832]] failed to idle channel 0xcccc0000 [X[832]]
feb 24 13:42:18 Charlie kernel: nouveau E[ X[832]] failed to idle channel 0xcccc0000 [X[832]]