You are not logged in.
Pages: 1
I'm having trouble getting hardware acceleration working, I have an Intel Core i7-9850h (Coffee Lake Refresh). I have tried both the libva-intel-driver (i965) and intel-media-driver (iHD). Each time I've set the appropriate values for my LIBVA_DRIVER_NAME and VDPAU_DRIVER environment variables using my /etc/environment file. I followed the guide on the wiki https://wiki.archlinux.org/index.php/Ha … celeration each time and I rebooted each time. Both VA-API and VDPAU do not work; I've attached the output below.
vainfo
vaInitialize failed with error code -1 (unknown libva error),exit
vdpauinfo
display: :0 screen: 0
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
Last edited by WhyDoWeWonder (2020-02-15 02:35:30)
Offline
Each time I've set the appropriate values for my LIBVA_DRIVER_NAME and VDPAU_DRIVER environment variables using my /etc/environment file.
Have you checked if the values are actually applied?
echo $LIBVA_DRIVER_NAME $VDPAU_DRIVER
Offline
Yes I have, I typed it one before I restarted my computer and after each time. The appropiate values were applied.
Offline
Have you installed the linux-firmware package?
Offline
No, I haven't, after installing the package hardware acceleration seems to be working, if you don't mind though I have a few queries related to the problem.
1. How can I identify what firmware files I need for hardware acceleration? I don't need all the files in linux-firmware and would rather just download the firmware I need
2. Should I use libva-intel-driver (i965) or intel-media-driver (iHD)?
Offline
How can I identify what firmware files I need for hardware acceleration?
# dmesg | grep firmware
intel-media-driver (iHD)
^ This.
Offline
Thank you so much! How do I mark a topic as resolved and close the thread?
Last edited by WhyDoWeWonder (2020-02-23 02:33:45)
Offline
Just edit your title (SOLVED).
Offline
UPDATE: I've noticed that VLC has been a little finicky recently but I couldn't figure out what was wrong. Commands below
vainfo
vaInitialize failed with error code -1 (unknown libva error),exit
vdpauinfo
display: :0 screen: 0
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
Offline
I thought you said hardware acceleration was working now? Is that not the case?
If it's not working then perhaps I was wrong about the driver, did you try i965 instead?
In respect of VLC see https://bbs.archlinux.org/viewtopic.php?id=253244 (but that would only be relevant if {va,vdpau}info didn't return errors).
Offline
Still getting the same errors with i965.
Offline
So why did you claim that hardware acceleration was working earlier in the thread?
Offline
So why did you claim that hardware acceleration was working earlier in the thread?
I previously tried playing videos with VLC which used up 400% CPU on top. After following your instructions it used ~75% and VLC would no longer give me errors when I ran it through console so I figured that was it. I've recently ran into a few problems with it and ran vainfo and vdpauinfo (Which I had neglected to do before). I soon discovered that whatever I did helped with the CPU usage when playing videos but hardware acceleration was still broken.
Last edited by WhyDoWeWonder (2020-03-11 22:11:32)
Offline
Pages: 1