[Libva] [Nouveau] [Mesa-dev] nouveau_drv_video.so ?

Emil Velikov emil.l.velikov at gmail.com
Thu Jun 30 11:11:18 UTC 2016


Hi poma,

Seems like you're missed your question. "nouveau_drv_video.so ?" does
not mean much I'm afraid :-(

On 30 June 2016 at 11:03, poma <pomidorabelisima at gmail.com> wrote:
> On 30.06.2016 08:27, Xiang, Haihao wrote:
>>
>>
>> Are you using VA-API on X11? libva gets the driver name from Xserver,
>> it is nouveau for you. so libva tries to load nouveau_drv_video.so.
>> You can create a symlink for nouveau pointing to a available driver or
>> just ignore the message because you have gallium_drv_video.so now.
>>
Indeed. The tricky part is that libva honours the gallium_drv_video.so
name only in some corner cases :-(

>> Thanks
>> Haihao
>>
>
>
> In practice, regarding video acceleration, nouveau has proven to be fragile,
> no matter what and how to config
>
> $ file /usr/lib64/dri/nouveau_drv_video.so
> /usr/lib64/dri/nouveau_drv_video.so: cannot open `/usr/lib64/dri/nouveau_drv_video.so' (No such file or directory)
>
> $ ll /usr/lib64/dri/nouveau_drv_video.so
> ls: cannot access '/usr/lib64/dri/nouveau_drv_video.so': No such file or directory
>
This should no longer be the case with mesa 12.0, where appropriately
named files/links are created.


> # ln -s vdpau_drv_video.so nouveau_drv_video.so
>
> $ ll /usr/lib64/dri/nouveau_drv_video.so
> ... /usr/lib64/dri/nouveau_drv_video.so -> vdpau_drv_video.so
>
> $ file /usr/lib64/dri/nouveau_drv_video.so
> /usr/lib64/dri/nouveau_drv_video.so: symbolic link to vdpau_drv_video.so
>
If you do this you're up-to the mercy of the vdpau_drv_video (wrapper)
driver, which seems abandoned for the past 4 years.


> # ln -fs gallium_drv_video.so nouveau_drv_video.so
>
> $ ll /usr/lib64/dri/nouveau_drv_video.so
> ... /usr/lib64/dri/nouveau_drv_video.so -> gallium_drv_video.so
>
> $ file /usr/lib64/dri/nouveau_drv_video.so
> /usr/lib64/dri/nouveau_drv_video.so: symbolic link to gallium_drv_video.so
>
As said above, this should no longer be needed.


>
> $ icecat
> ...
> libva info: VA-API version 0.39.2
> libva info: va_getDriverName() returns 0
> libva info: Trying to open /usr/lib64/dri/nouveau_drv_video.so
> libva info: Found init function __vaDriverInit_0_39
> libva info: va_openDriver() returns 0
> icecat: pushbuf.c:727: nouveau_pushbuf_data: Assertion `kref' failed.
> Aborted (core dumped)
>
> https://bugzilla.redhat.com/attachment.cgi?id=1174453
>
>From a quick guess - MT and/or GL VAAPI interop related ? If so, these
two [1] patches could help.

-Emil

[1]
https://github.com/imirkin/mesa/commit/be089dd63c6102df48de06bb7184ca1202f1e0f5
https://github.com/imirkin/mesa/commit/5e8e523514e73afa48916e094583f4ca83f05175


More information about the Libva mailing list