From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 89969] vaDriverInit fails with gallium/nouveau driver
Date: Thu, 09 Apr 2015 16:02:09 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1641619889=="
Return-path:
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Sender: "Nouveau"
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
List-Id: nouveau.vger.kernel.org
--===============1641619889==
Content-Type: multipart/alternative; boundary="1428595329.eA1cD00f1.7179"; charset="UTF-8"
--1428595329.eA1cD00f1.7179
Date: Thu, 9 Apr 2015 16:02:09 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=89969
--- Comment #3 from Julien Isorce ---
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 , 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 , desc=0x0, dec=0x7fffe004a000)
at nouveau_vp3_video_bsp.c:121
#1 nouveau_vp3_bsp (dec=dec@entry=0x7fffe004a000, desc=desc@entry=...,
target=target@entry=0x7fffe001fe00, comm_seq=comm_seq@entry=2,
num_buffers=num_buffers@entry=1, data=data@entry=0x7fffe7ffdcd0,
num_bytes=num_bytes@entry=0x7fffe7ffdcc0) at nouveau_vp3_video_bsp.c:257
#2 0x00007ffff072118e in nvc0_decoder_bsp (dec=dec@entry=0x7fffe004a000,
desc=desc@entry=..., target=target@entry=0x7fffe001fe00,
comm_seq=comm_seq@entry=2,
num_buffers=1, data=0x7fffe7ffdcd0, num_bytes=0x7fffe7ffdcc0,
vp_caps=vp_caps@entry=0x7fffe7ffdbd8, is_ref=is_ref@entry=0x7fffe7ffdbdc,
refs=refs@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=,
data=, num_bytes=) at nvc0/nvc0_video.c:48
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe7fff700 (LWP 854)]
nouveau_vp3_bsp (dec=dec@entry=0x7fffe0068040, desc=desc@entry=...,
target=target@entry=0x7fffe0063110, comm_seq=comm_seq@entry=2,
num_buffers=num_buffers@entry=2, data=data@entry=0x7fffe7ffe150,
num_bytes=num_bytes@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@entry=0x7fffe0068040, desc=desc@entry=...,
target=target@entry=0x7fffe0063110, comm_seq=comm_seq@entry=2,
num_buffers=num_buffers@entry=2, data=data@entry=0x7fffe7ffe150,
num_bytes=num_bytes@entry=0x7fffe7ffe140) at nouveau_vp3_video_bsp.c:270
#1 0x00007ffff02a918e in nvc0_decoder_bsp (dec=dec@entry=0x7fffe0068040,
desc=desc@entry=..., target=target@entry=0x7fffe0063110,
comm_seq=comm_seq@entry=2,
num_buffers=2, data=0x7fffe7ffe150, num_bytes=0x7fffe7ffe140,
vp_caps=vp_caps@entry=0x7fffe7ffe058, is_ref=is_ref@entry=0x7fffe7ffe05c,
refs=refs@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=,
data=, num_bytes=) 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.
--1428595329.eA1cD00f1.7179
Date: Thu, 9 Apr 2015 16:02:09 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 3
on bug 89969
from Julien Isorce
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@entry=0x7fffe004a000, desc=desc@entry=...,
target=target@entry=0x7fffe001fe00, comm_seq=comm_seq@entry=2,
num_buffers=num_buffers@entry=1, data=data@entry=0x7fffe7ffdcd0,
num_bytes=num_bytes@entry=0x7fffe7ffdcc0) at nouveau_vp3_video_bsp.c:257
#2 0x00007ffff072118e in nvc0_decoder_bsp (dec=dec@entry=0x7fffe004a000,
desc=desc@entry=..., target=target@entry=0x7fffe001fe00,
comm_seq=comm_seq@entry=2,
num_buffers=1, data=0x7fffe7ffdcd0, num_bytes=0x7fffe7ffdcc0,
vp_caps=vp_caps@entry=0x7fffe7ffdbd8, is_ref=is_ref@entry=0x7fffe7ffdbdc,
refs=refs@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@entry=0x7fffe0068040, desc=desc@entry=...,
target=target@entry=0x7fffe0063110, comm_seq=comm_seq@entry=2,
num_buffers=num_buffers@entry=2, data=data@entry=0x7fffe7ffe150,
num_bytes=num_bytes@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@entry=0x7fffe0068040, desc=desc@entry=...,
target=target@entry=0x7fffe0063110, comm_seq=comm_seq@entry=2,
num_buffers=num_buffers@entry=2, data=data@entry=0x7fffe7ffe150,
num_bytes=num_bytes@entry=0x7fffe7ffe140) at nouveau_vp3_video_bsp.c:270
#1 0x00007ffff02a918e in nvc0_decoder_bsp (dec=dec@entry=0x7fffe0068040,
desc=desc@entry=..., target=target@entry=0x7fffe0063110,
comm_seq=comm_seq@entry=2,
num_buffers=2, data=0x7fffe7ffe150, num_bytes=0x7fffe7ffe140,
vp_caps=vp_caps@entry=0x7fffe7ffe058, is_ref=is_ref@entry=0x7fffe7ffe05c,
refs=refs@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.
--1428595329.eA1cD00f1.7179--
--===============1641619889==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt
YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy
ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK
--===============1641619889==--