View previous topic :: View next topic |
Author |
Message |
gruftie Apprentice
Joined: 24 Sep 2002 Posts: 184
|
Posted: Mon Oct 30, 2017 8:35 am Post subject: problem getting VDPAU and nouveau to work |
|
|
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 |
|
|
LIsLinuxIsSogood Veteran
Joined: 13 Feb 2016 Posts: 1179
|
Posted: Mon Oct 30, 2017 10:00 am Post subject: |
|
|
emerge -v nvidia-firmware
Says in the wiki, assuming you have it installed...already |
|
Back to top |
|
|
gruftie Apprentice
Joined: 24 Sep 2002 Posts: 184
|
Posted: Mon Oct 30, 2017 10:57 am Post subject: |
|
|
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 |
|
|
LIsLinuxIsSogood Veteran
Joined: 13 Feb 2016 Posts: 1179
|
Posted: Tue Oct 31, 2017 1:05 am Post subject: |
|
|
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 |
|
|
gruftie Apprentice
Joined: 24 Sep 2002 Posts: 184
|
Posted: Tue Oct 31, 2017 7:54 am Post subject: |
|
|
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 |
|
|
LIsLinuxIsSogood Veteran
Joined: 13 Feb 2016 Posts: 1179
|
Posted: Tue Oct 31, 2017 8:44 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
|