[Nouveau] [Bug 89969] vaDriverInit fails with gallium/nouveau driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 9 09:02:09 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89969

--- Comment #3 from Julien Isorce <julien.isorce at gmail.com> ---
basic libva unit tests passes but it fails to decode 2 videos mpeg12
(nouveau_vp3_fill_picparm_mpeg12_bsp) and h264
(nouveau_vp3_fill_picparm_h264_bsp).

nouveau_vp3_fill_picparm_mpeg12_bsp (map=0x7ffff7e3c000 <error: Cannot access
memory at address 0x7ffff7e3c000>, desc=0x0, dec=0x7fffe004a000)
    at nouveau_vp3_video_bsp.c:121
121       pic_bsp->picture_structure = desc->picture_structure;
(gdb) bt
#0  nouveau_vp3_fill_picparm_mpeg12_bsp (map=0x7ffff7e3c000 <error: Cannot
access memory at address 0x7ffff7e3c000>, desc=0x0, dec=0x7fffe004a000)
    at nouveau_vp3_video_bsp.c:121
#1  nouveau_vp3_bsp (dec=dec at entry=0x7fffe004a000, desc=desc at entry=...,
target=target at entry=0x7fffe001fe00, comm_seq=comm_seq at entry=2, 
    num_buffers=num_buffers at entry=1, data=data at entry=0x7fffe7ffdcd0,
num_bytes=num_bytes at entry=0x7fffe7ffdcc0) at nouveau_vp3_video_bsp.c:257
#2  0x00007ffff072118e in nvc0_decoder_bsp (dec=dec at entry=0x7fffe004a000,
desc=desc at entry=..., target=target at entry=0x7fffe001fe00,
comm_seq=comm_seq at entry=2, 
    num_buffers=1, data=0x7fffe7ffdcd0, num_bytes=0x7fffe7ffdcc0,
vp_caps=vp_caps at entry=0x7fffe7ffdbd8, is_ref=is_ref at entry=0x7fffe7ffdbdc, 
    refs=refs at entry=0x7fffe7ffdbe0) at nvc0/nvc0_video_bsp.c:117
#3  0x00007ffff0721650 in nvc0_decoder_decode_bitstream
(decoder=0x7fffe004a000, video_target=0x7fffe001fe00, picture=0x0,
num_buffers=<optimised out>, 
    data=<optimised out>, num_bytes=<optimised out>) at nvc0/nvc0_video.c:48

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe7fff700 (LWP 854)]
nouveau_vp3_bsp (dec=dec at entry=0x7fffe0068040, desc=desc at entry=...,
target=target at entry=0x7fffe0063110, comm_seq=comm_seq at entry=2, 
    num_buffers=num_buffers at entry=2, data=data at entry=0x7fffe7ffe150,
num_bytes=num_bytes at entry=0x7fffe7ffe140) at nouveau_vp3_video_bsp.c:270
270          caps = nouveau_vp3_fill_picparm_h264_bsp(dec, desc.h264, bsp);
(gdb) bt
#0  nouveau_vp3_bsp (dec=dec at entry=0x7fffe0068040, desc=desc at entry=...,
target=target at entry=0x7fffe0063110, comm_seq=comm_seq at entry=2, 
    num_buffers=num_buffers at entry=2, data=data at entry=0x7fffe7ffe150,
num_bytes=num_bytes at entry=0x7fffe7ffe140) at nouveau_vp3_video_bsp.c:270
#1  0x00007ffff02a918e in nvc0_decoder_bsp (dec=dec at entry=0x7fffe0068040,
desc=desc at entry=..., target=target at entry=0x7fffe0063110,
comm_seq=comm_seq at entry=2, 
    num_buffers=2, data=0x7fffe7ffe150, num_bytes=0x7fffe7ffe140,
vp_caps=vp_caps at entry=0x7fffe7ffe058, is_ref=is_ref at entry=0x7fffe7ffe05c, 
    refs=refs at entry=0x7fffe7ffe060) at nvc0/nvc0_video_bsp.c:117
#2  0x00007ffff02a9650 in nvc0_decoder_decode_bitstream
(decoder=0x7fffe0068040, video_target=0x7fffe0063110, picture=0x0,
num_buffers=<optimised out>, 
    data=<optimised out>, num_bytes=<optimised out>) at nvc0/nvc0_video.c:48

Worth to mention that gallium/vdpau succeeds to decode these 2 videos. Also
libva succeeds to decode video using libva's vdpau-driver on top of
gallium/vdpau.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20150409/911e7fa9/attachment.html>


More information about the Nouveau mailing list