When using xbmc with vdpau acceleration enabled, I get a green screen (audio works), and this appears in the kernel log :
nouveau E[ PFIFO][0000:03:00.0] DMA_PUSHER - ch 6 [xbmc.bin] get 0x00200f06c8 put 0x00200f0770 ib_get 0x000000db ib_put 0x000000dc state 0x80000000 (err: INVALID_CMD) push 0x00400040
Sometimes it makes xbmc crash completely.
This is on an nv50 (Chipset: MCP79/MCP7A (NVAC) ) : VGA compatible controller: NVIDIA Corporation ION VGA (rev b1)
It works all right using mplayer.
Just a wild guess : something to do with GL_NV_vdpau_interop?
If you need any more information, I'd be happy to provide it.
Created attachment 95806 [details]
xbmc log excerpt with vdpau enabled
Yep, it has to do with vdpau interop. I think that the DMA_PUSHER error is unrelated, but not sure. There were some patches to make it work better on nouveau, not sure if they made it to 10.1 -- try 10.2?
mplayer should work fine.
Created attachment 95811 [details]
xbmc stdout on first crash
I just installed mesa from git [Mesa 10.2.0-devel (git-f9901f1)] and while the green display is gone, yet xbmc still crashes.
relevant dmesg output :
Crash 1 :
[106884.734647] nouveau E[xbmc.bin] multiple instances of buffer 10 on validation list
[106884.734665] nouveau E[xbmc.bin] validate_init
[106884.734673] nouveau E[xbmc.bin] validate: -22
[106884.739268] nouveau E[xbmc.bin] multiple instances of buffer 10 on validation list
[106884.739287] nouveau E[xbmc.bin] validate_init
[106884.739315] nouveau E[xbmc.bin] validate: -22
crash 2 :
[107027.343245] nouveau E[ PGRAPH][0000:03:00.0] DATA_ERROR INVALID_BITFIELD
[107027.343270] nouveau E[ PGRAPH][0000:03:00.0] DATA_ERROR
[107027.343290] nouveau E[ PGRAPH][0000:03:00.0] ch 5 [0x001f7f4000 xbmc.bin] subc 3 class 0x8397 mthd 0x1b0c data 0x00000004
Does it work fine until it crashes, or does it crash too fast for you to tell?
Those errors are fairly non-sensical, at least the first, which leads me to believe that it's a fallout from sharing the screen among multiple contexts. There are lots of bugs in that area, it's something I plan on looking at over the weekend.
(In reply to comment #4)
> Does it work fine until it crashes, or does it crash too fast for you to
Yes, it seems to work fine. I got to watch a record 20 seconds of video, and it appeared to work fine. Mind you, it wasn't a FullHD video. I'm open to patch testing ;)
Still happens with mesa 10.3 and xbmc 13.2.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1060.