VAAPI assistance

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

VAAPI assistance

Jerry Geis-2
Hello my hardware has:
03:00.0 VGA compatible controller: NVIDIA Corporation GT218 [ION] (rev a2)

rpm -qa | grep nvidia
nvidia-detect-410.78-1.el7.elrepo.x86_64
kmod-nvidia-340xx-340.107-2.el7_6.elrepo.x86_64
nvidia-x11-drv-340xx-340.107-1.el7.elrepo.x86_64

rpm -qa | grep libva
libva-vdpau-driver-0.7.4-19.el7.x86_64
libva-utils-1.8.3-4.el7.x86_64
libva-devel-1.8.3-1.el7.x86_64
libva-1.8.3-1.el7.x86_64

rpm -qa | grep vdpau
libva-vdpau-driver-0.7.4-19.el7.x86_64
libvdpau-1.1.1-3.el7.x86_64

vainfo
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.40 (libva )
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG4Simple            : VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD

grep Driver /var/log/Xorg.0.log
[    43.069] X.Org Video Driver: 24.0
[    45.744] Module class: X.Org Video Driver
[    45.744] (II) NVIDIA dlloader X Driver  340.107  Thu May 24 21:18:05 PDT 2018
[    45.744] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    47.328] Module class: X.Org XInput Driver

grep -i vdpau /var/log/Xorg.0.log
[    46.978] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia



So to me all looks good - but there is no hardware acceleration???
gst-inspect-1.0 | grep vaapi 
returns nothing.

When I play the video with totem its taking way too much CPU.
I removed the ~/.cache/gstreamer* .

What have I missed ?

Thanks

Jerry

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: VAAPI assistance

Victor Jaquez
Long story short: libva-vdpau bridge is not in gstreamer-vaapi drivers whitelist
and it's basically unmaintained.

You can check
https://blogs.igalia.com/vjaquez/2018/03/28/gstreamer-va-api-troubleshooting/
for further information.


On Wed, 30 Oct 2019 at 11:54, Jerry Geis wrote:

> Hello my hardware has:
> 03:00.0 VGA compatible controller: NVIDIA Corporation GT218 [ION] (rev a2)
>
> rpm -qa | grep nvidia
> nvidia-detect-410.78-1.el7.elrepo.x86_64
> kmod-nvidia-340xx-340.107-2.el7_6.elrepo.x86_64
> nvidia-x11-drv-340xx-340.107-1.el7.elrepo.x86_64
>
> rpm -qa | grep libva
> libva-vdpau-driver-0.7.4-19.el7.x86_64
> libva-utils-1.8.3-4.el7.x86_64
> libva-devel-1.8.3-1.el7.x86_64
> libva-1.8.3-1.el7.x86_64
>
> rpm -qa | grep vdpau
> libva-vdpau-driver-0.7.4-19.el7.x86_64
> libvdpau-1.1.1-3.el7.x86_64
>
> vainfo
> libva info: VA-API version 0.40.0
> libva info: va_getDriverName() returns 0
> libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
> libva info: Found init function __vaDriverInit_0_40
> libva info: va_openDriver() returns 0
> vainfo: VA-API version: 0.40 (libva )
> vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API -
> 0.7.4
> vainfo: Supported profile and entrypoints
>       VAProfileMPEG2Simple            : VAEntrypointVLD
>       VAProfileMPEG2Main              : VAEntrypointVLD
>       VAProfileMPEG4Simple            : VAEntrypointVLD
>       VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
>       VAProfileH264Main               : VAEntrypointVLD
>       VAProfileH264High               : VAEntrypointVLD
>       VAProfileVC1Simple              : VAEntrypointVLD
>       VAProfileVC1Main                : VAEntrypointVLD
>       VAProfileVC1Advanced            : VAEntrypointVLD
>
> grep Driver /var/log/Xorg.0.log
> [    43.069] X.Org Video Driver: 24.0
> [    45.744] Module class: X.Org Video Driver
> [    45.744] (II) NVIDIA dlloader X Driver  340.107  Thu May 24 21:18:05
> PDT 2018
> [    45.744] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
> [    47.328] Module class: X.Org XInput Driver
>
> grep -i vdpau /var/log/Xorg.0.log
> [    46.978] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
>
>
>
> So to me all looks good - but there is no hardware acceleration???
> gst-inspect-1.0 | grep vaapi
> returns nothing.
>
> When I play the video with totem its taking way too much CPU.
> I removed the ~/.cache/gstreamer* .
>
> What have I missed ?
>
> Thanks
>
> Jerry

> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: VAAPI assistance

Jerry Geis-2
In reply to this post by Jerry Geis-2
>Long story short: libva-vdpau bridge is not in gstreamer-vaapi drivers whitelist
>and it's basically unmaintained.

>You can check
>https://blogs.igalia.com/vjaquez/2018/03/28/gstreamer-va-api-troubleshooting/
>for further information.
Thanks! - When I export the GST_VAAPI_ALL_DRIVERS=1 and re-run the gst-inspect-1.0 I do get vaapi data now.
however when I run totem it does not make a difference in the amount of CPU the process is taking.
I remove cache files, and I verified the above environment variable was set.

Thanks,

Jerry

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: VAAPI assistance

Victor Jaquez
On Thu, 31 Oct 2019 at 07:38, Jerry Geis wrote:

> >Long story short: libva-vdpau bridge is not in gstreamer-vaapi drivers
> whitelist
> >and it's basically unmaintained.
>
> >You can check
> >
> https://blogs.igalia.com/vjaquez/2018/03/28/gstreamer-va-api-troubleshooting/
> >for further information.
> Thanks! - When I export the GST_VAAPI_ALL_DRIVERS=1 and re-run the
> gst-inspect-1.0 I do get vaapi data now.
> however when I run totem it does not make a difference in the amount of CPU
> the process is taking.
> I remove cache files, and I verified the above environment variable was set.

Perhaps totem blacklisted vaapi drivers. I don't know.

Either way, precisely because of totem we blocked libva-vdapu bridge: it won't
work.

>
> Thanks,
>
> Jerry

> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: VAAPI assistance

Jerry Geis-2
In reply to this post by Jerry Geis-2
Perhaps totem blacklisted vaapi drivers. I don't know.

Thanks I did the command :
modprobe --showconfig | grep blacklist
gives a long list

modprobe --showconfig | grep blacklist | grep vaapi
shows nothing.

Is there something else I should look at ? 
Thanks,

Jerry

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: VAAPI assistance

Nicolas Dufresne-5


Le jeu. 31 oct. 2019 15 h 10, Jerry Geis <[hidden email]> a écrit :
Perhaps totem blacklisted vaapi drivers. I don't know.

Thanks I did the command :
modprobe --showconfig | grep blacklist
gives a long list

modprobe --showconfig | grep blacklist | grep vaapi
shows nothing.

Is there something else I should look at ? 
Thanks,

VAAPI drivers are userspace drivers. So modprobe is meaningless.

Nvidia/vdpau adapter is unstable and may hang your GPU, we have disabled it for that reason. It's strange that distro will install such untested and I maintained driver in the first place, but this is the way it is at the moment.


Jerry
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel