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

poma pomidorabelisima at gmail.com
Thu Jun 30 10:03:03 UTC 2016


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.
> 
> 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

$ vainfo 
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: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# 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

$ ll /usr/lib64/dri/
...
... gallium_drv_video.so
... nouveau_drv_video.so -> vdpau_drv_video.so
... vdpau_drv_video.so
...

$ vainfo 
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_38
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.1)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileH264Baseline           :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# 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

$ ll /usr/lib64/dri/
...
... gallium_drv_video.so
... nouveau_drv_video.so -> gallium_drv_video.so
... vdpau_drv_video.so
...

$ vainfo 
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
vainfo: VA-API version: 0.39 (libva 1.7.1)
vainfo: Driver version: mesa gallium vaapi
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264Baseline           :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc


$ 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



More information about the Nouveau mailing list