Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem getting VDPAU and nouveau to work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
gruftie
Apprentice
Apprentice


Joined: 24 Sep 2002
Posts: 184

PostPosted: Mon Oct 30, 2017 8:35 am    Post subject: problem getting VDPAU and nouveau to work Reply with quote

After searching the internet for days, I still can't get VDPAU working.

So, here the details:

lspci gives graphics card:
Code:
01:00.0 VGA compatible controller: NVIDIA Corporation G92GLM [Quadro FX 2800M] (rev a2)


I recently switched from nvidia-drivers to nouveau for some reasons. X11 works fine so far, but VDPAU doesn't. I have "nouveau", "vaapi" and "vdpau" set as use-flags. when running vainfo I get this:
Code:
# vainfo
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
vaInitialize failed with error code -1 (unknown libva error),exit


Checking the DISPLAY variable:
Code:

# export | grep DISPLAY
declare -x DISPLAY=":1"


and then, the same with the DISPLAY variable _unset_, I get this:
Code:

# DISPLAY="" vainfo
Invalid MIT-MAGIC-COOKIE-1 keyerror: can't connect to X server!
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/nouveau_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: mesa gallium vaapi
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :   VAEntrypointVLD
      VAProfileMPEG2Simple            :   VAEntrypointEncSlice
      VAProfileMPEG2Main              :   VAEntrypointVLD
      VAProfileMPEG2Main              :   VAEntrypointEncSlice
      VAProfileNone                   :   VAEntrypointVideoProc


I found the following environment variables to set:
Code:

LIBVA_DRIVER_NAME="vdpau"
VDPAU_DRIVER="nouveau"


After that, I get this:
Code:
# vainfo
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns -1
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib64/va/drivers/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_40
Floating point exception (core dumped).


So apparently the correct backend is now selected, but fails.

vdpauinfo gives me this:
Code:
# vdpauinfo
display: :1   screen: 0
Error creating VDPAU device: 23


And here I'm stuck. I have not even an idea what's wrong.
Can anyone push me into the right direction where to start searching what's going on? Any ideas?
I re-merged everything I suspect to be involved.

Thanks in advance.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Mon Oct 30, 2017 10:00 am    Post subject: Reply with quote

emerge -v nvidia-firmware

Says in the wiki, assuming you have it installed...already
Back to top
View user's profile Send private message
gruftie
Apprentice
Apprentice


Joined: 24 Sep 2002
Posts: 184

PostPosted: Mon Oct 30, 2017 10:57 am    Post subject: Reply with quote

Forgot that to mention. It's already installed:

Code:
[ebuild   R    ] sys-firmware/nvidia-firmware-340.32::gentoo  0 KiB


But I don't know how to check if it's used or even loaded. Grepping for "firmware" in dmesg doesn't bring up anything.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Tue Oct 31, 2017 1:05 am    Post subject: Reply with quote

gruftie, I did a little bit of research on my own and across the board it looks like for most linux users (and non-linux as well, but definitely spread evenly across the spectrum of different distributions) is the issue about coordinating activity between chips (graphics and central/main CPU). The question I think at this point is what is nvidia doing to make their technology (like this) accessible, and is it possible that they could be doing more for us end users. Have you filed a bug?
Back to top
View user's profile Send private message
gruftie
Apprentice
Apprentice


Joined: 24 Sep 2002
Posts: 184

PostPosted: Tue Oct 31, 2017 7:54 am    Post subject: Reply with quote

Thanks for your reply.
I don't think that what nvidia is doing or not doing for us is relevant here, as this is about nouveau, which is developed without nvidias support anyway. The proprietary driver works without problems, but I want to get rid of it in favour of the free nouveau driver.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1179

PostPosted: Tue Oct 31, 2017 8:44 pm    Post subject: Reply with quote

Well, it might help to note that VDPAU is technology introduced by Nvidia and therefore it matters in more than one respect. The other reason why I think it could be of interest is based on similar problems on the nvidia site itself. But that was just a guess of mine that it might take someone with a bit more knowledge about the chip itself, which is not me. :evil:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum