You are not logged in.

#1 2018-07-03 09:40:17

zegkljan
Member
Registered: 2017-12-30
Posts: 60

VA-API and VDPAU with GeForce 940M

I have an Optimus laptop but I decided not to use optimus at all and just run with the nVidia card all the time. I wanted to get hardware video acceleration running according to the wiki (https://wiki.archlinux.org/index.php/Ha … celeration). However, it definitely does not work:

$ vainfo 
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
GPU at BusId 0x1 doesn't have a supported video decoder
fish: “vainfo” terminated by signal SIGFPE (Floating point exception)
$ vdpauinfo 
display: :1   screen: 0
GPU at BusId 0x1 doesn't have a supported video decoder
Error creating VDPAU device: 1

Some additional info that might be of help:

$ lspci | egrep 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940M] (rev a2)
$ journalctl -b | grep -iE 'vdpau | dri driver'
Jul 03 11:12:25 eddie /usr/lib/gdm-x-session[573]: (II) modeset(G0): [DRI2]   DRI driver: i965
Jul 03 11:12:25 eddie /usr/lib/gdm-x-session[573]: (II) modeset(G0): [DRI2]   VDPAU driver: i965
Jul 03 11:12:25 eddie /usr/lib/gdm-x-session[573]: (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
Jul 03 11:12:49 eddie /usr/lib/gdm-x-session[948]: (II) modeset(G0): [DRI2]   DRI driver: i965
Jul 03 11:12:49 eddie /usr/lib/gdm-x-session[948]: (II) modeset(G0): [DRI2]   VDPAU driver: i965
Jul 03 11:12:49 eddie /usr/lib/gdm-x-session[948]: (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia

The card has the E feature set according to https://en.wikipedia.org/wiki/Nvidia_Pu … _SIP_block so VDPAU should be available. Any help is welcome.

Offline

#2 2018-08-13 12:40:00

bilabila
Member
Registered: 2018-08-07
Posts: 23
Website

Re: VA-API and VDPAU with GeForce 940M

Same error with MX150, using nvidia driver. vainfo, vdpauinfo, nvidia-settings all say

GPU at BusId 0x1 doesn't have a supported video decoder

Have you worked it out?

Offline

#3 2018-08-26 10:06:05

zegkljan
Member
Registered: 2017-12-30
Posts: 60

Re: VA-API and VDPAU with GeForce 940M

bilabila wrote:

Same error with MX150, using nvidia driver. vainfo, vdpauinfo, nvidia-settings all say

GPU at BusId 0x1 doesn't have a supported video decoder

Have you worked it out?

Nope sad. To be honest, however, I haven't actually searched for a solution very much.

Offline

#4 2018-08-28 00:00:26

Xigi
Member
From: online
Registered: 2013-11-27
Posts: 15

Re: VA-API and VDPAU with GeForce 940M

install bumblebee and use optirun?

Offline

#5 2018-08-28 06:59:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: VA-API and VDPAU with GeForce 940M

If you were to use that you are better off using the intel GPU and VAAPI

Set VDPAU_DRIVER and likely DRI_PRIME=1 as well and check back how it behaves: https://wiki.archlinux.org/index.php/Ha … ring_VDPAU

Offline

#6 2018-08-28 07:20:12

zegkljan
Member
Registered: 2017-12-30
Posts: 60

Re: VA-API and VDPAU with GeForce 940M

V1del wrote:

If you were to use that you are better off using the intel GPU and VAAPI

Set VDPAU_DRIVER and likely DRI_PRIME=1 as well and check back how it behaves: https://wiki.archlinux.org/index.php/Ha … ring_VDPAU

I'm confused. Are you talking about using bumblebee or not? Not using it, setting DRI_PRIME=1 did nothing.

I'd rather not use bumblebee because it causes some problems for some applications I'd like to use (mainly games) and also the performance is somewhat decreased compared to using the NVIDIA card directly. But to be honest, this vdpau issue starts to drive me crazy a little bit so I'm considering going back to bumblebee.

Offline

#7 2018-08-28 07:52:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: VA-API and VDPAU with GeForce 940M

I'm talking about not using it. My first sentence was a response to Xigi.

This is either way a bit of a special situation, since you have to copy the image over the intel GPU anyway, however afaik at least the decoding should still work

Offline

Board footer

Powered by FluxBB