You are not logged in.

#1 2020-06-12 09:22:53

voltaicracer
Member
Registered: 2020-06-12
Posts: 1

NVIDIA - Unable to setup hardware video acceleration

I have a Dell XPS 15 7590 with an NVIDIA GeForce GTX 1650 Mobile / Max-Q dGPU.

I want to use the NVIDIA drivers with PRIME Render Offloading. I followed instructions on the following pages

- https://wiki.archlinux.org/index.php/Dell_XPS_15_7590
- https://wiki.archlinux.org/index.php/NVIDIA
- https://wiki.archlinux.org/index.php/PR … er_offload
- https://wiki.archlinux.org/index.php/Ha … celeration

This effectively meant, I installed the following packages:

  • nvidia

  • nvidia-prime

  • nvidia-utils

  • nvidia-settings

I also installed:

  • libva-utils

  • vdpauinfo

At this point, I think I have the right drivers installed.

>> lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile) (rev 02)
	DeviceName:  Onboard IGD
	Subsystem: Dell Device 0905
--
01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)
	Subsystem: Hewlett-Packard Company Device 8601
	Kernel driver in use: nvidia

But now if I run vainfo or vdpauinfo, I get errors.

>> vainfo
vaInitialize failed with error code -1 (unknown libva error),exit

>> vdpauinfo
display: :0.0   screen: 0
Error creating VDPAU device: 1

The vainfo error is mentioned in the archwiki. And I tried to set the environment variables as mentioned. But then I noticed that I don't have `/usr/lib/dri/vdpau_drv_video.so` (the instructions seem to indicate that I should have it). Some googling and looking at the wiki again, led me to install the following:

sudo pacman -S libva-vdpau-driver libvdpau-va-gl

And then set:

LIBVA_DRIVER_NAME=vdpau 
VDPAU_DRIVER=nvidia

Now I get a floating point exception for vainfo and the same error for vdpauinfo

>> vainfo                                                                                   
[1]    14308 floating point exception (core dumped)  vainfo

>> vdpauinfo
display: :0.0   screen: 0
Error creating VDPAU device: 1

I have searched a lot and could not figure out what is going on. Appreciate any help. Please do let me know if I can share any other information to help identify the issue.

Many thanks in advance.

Offline

Board footer

Powered by FluxBB