You are not logged in.
Hello,
I have an inkling that my computer does not have any hardware-acceleration enabled for 1660 Ti Turing, since I'm getting terrible FPS drops on games compared to a Windows session on the same hardware.
09:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660 Ti] (rev a1)
Subsystem: Gigabyte Technology Co., Ltd TU116 [GeForce GTX 1660 Ti]
Kernel driver in use: nvidia
$ grep -iE 'vdpau | dri driver' /var/log/Xorg.0.log
[ 9.721] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
This is partially confirmed since running:
$ vainfo
Trying display: wayland
Trying display: x11
libva error: vaGetDriverNames() failed with unknown libva error
vaInitialize failed with error code -1 (unknown libva error),exit
I tried to follow the instruction at https://wiki.archlinux.org/title/Hardwa … ing_VA-API however I'm stuck at this point:
You can override the driver for VA-API by using the LIBVA_DRIVER_NAME environment variable:
Intel graphics:
For libva-intel-driver use i965.
For intel-media-driver use iHD.
NVIDIA:
For Nouveau use nouveau.
For NVIDIA VDPAU use vdpau.
For NVIDIA NVDEC use nvidia.
There are no nvidia drivers located at /usr/lib/dri.
$ ls /usr/lib/dri
crocus_dri.so i915_dri.so kms_swrast_dri.so r300_dri.so radeonsi_dri.so virtio_gpu_dri.so zink_dri.so
d3d12_dri.so iris_dri.so nouveau_dri.so r600_dri.so swrast_dri.so vmwgfx_dri.so
I did find an nvidia driver elsewhere, at /usr/lib/xorg/modules/drivers/nvidia_drv.so, so I tried to set my environmental variables accordingly:
$ echo $LIBVA_DRIVERS_PATH
/usr/lib/xorg/modules/drivers/nvidia_drv.so
$ echo $LIBVA_DRIVER_NAME
nvidia
However, I'm still getting the error from vainfo
$ vainfo
Trying display: wayland
Trying display: x11
libva error: vaGetDriverNames() failed with unknown libva error
vaInitialize failed with error code -1 (unknown libva error),exit
Last edited by DeutscheGabanna (2024-04-14 10:21:04)
Offline
Here's my full journalctl from the current boot.
http://0x0.st/X-yA.txt
Offline
Movieplayers & browsers tend to care about HW Videoacceleration, but most games don't .
Your HW va setup is wrong though.
$ pacman -F nvidia_drv_video.so
extra/libva-nvidia-driver 0.0.11-1
usr/lib/dri/nvidia_drv_video.so
extra/libva-vdpau-driver 0.7.4-6
usr/lib/dri/nvidia_drv_video.so
multilib/lib32-libva-vdpau-driver 0.7.4-7
usr/lib32/dri/nvidia_drv_video.so
$
( first run sudo pacman -Fy if needed )
You probably are missing libva-nvidia-driver .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Movieplayers & browsers tend to care about HW Videoacceleration, but most games don't .
Your HW va setup is wrong though.
$ pacman -F nvidia_drv_video.so extra/libva-nvidia-driver 0.0.11-1 usr/lib/dri/nvidia_drv_video.so extra/libva-vdpau-driver 0.7.4-6 usr/lib/dri/nvidia_drv_video.so multilib/lib32-libva-vdpau-driver 0.7.4-7 usr/lib32/dri/nvidia_drv_video.so $
( first run sudo pacman -Fy if needed )
You probably are missing libva-nvidia-driver .
Thanks for a reply. I appreciate you taking the time to help me.
I installed the package and now I do find nvidia_video_drv.so in /usr/lib/dri. My ~/.bashrc contains:
# Re-configure what kind of a driver hardware graphical acceleration uses
# as per https://wiki.archlinux.org/title/Hardware_video_acceleration#Configuring_VA-API
export LIBVA_DRIVER_NAME=nvidia
I resourced my bash by running;
$ source ~/.bash_profile
However, the vainfo error remains.
Offline
I installed the package
"the"?
Which one? (They conflict with each other)
Try libva-vdpau-driver and set the driver to vdpau
Offline