From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 89969] vaDriverInit fails with gallium/nouveau driver Date: Thu, 09 Apr 2015 17:02:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0659453186==" 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 --===============0659453186== Content-Type: multipart/alternative; boundary="1428598933.Db44ea1.22184"; charset="UTF-8" --1428598933.Db44ea1.22184 Date: Thu, 9 Apr 2015 17:02:13 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=89969 --- Comment #5 from Julien Isorce --- I am interested but I would need some infos to start :) Also I do not understand why a functionality is missing in drivers/nouveau since st/vdpau works (which means nouveau_vp3_fill_picparm_mpeg12_bsp and nouveau_vp3_fill_picparm_h264_bsp work). So I was suspecting something wrong in st/va/picture.c Using the above bt, I noticed that for st/vpdau http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/vdpau/decode.c#n557 the third param is well defined. Whereas for st/va http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/va/picture.c#n520 the third param is NULL which leads to the crash. Few minutes ago I tried naively to replace this NULL param with "&context->desc.base" but then I can see a wrong image in my application when rendering decoded images. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. --1428598933.Db44ea1.22184 Date: Thu, 9 Apr 2015 17:02:13 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 5 on bug 89969 from
I am interested but I would need some infos to start :)

Also I do not understand why a functionality is missing in drivers/nouveau
since st/vdpau works (which means nouveau_vp3_fill_picparm_mpeg12_bsp and
nouveau_vp3_fill_picparm_h264_bsp work).

So I was suspecting something wrong in st/va/picture.c
Using the above bt, I noticed that for st/vpdau
http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/vdpau/decode.c#n557
the third param is well defined.
Whereas for st/va
http://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/va/picture.c#n520
the third param is NULL which leads to the crash.

Few minutes ago I tried naively to replace this NULL param with
"&context->desc.base" but then I can see a wrong image in my application when
rendering decoded images.


You are receiving this mail because:
  • You are the QA Contact for the bug.
  • You are the assignee for the bug.
--1428598933.Db44ea1.22184-- --===============0659453186== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK --===============0659453186==--