You are not logged in.

#1 2020-02-15 02:33:29

WhyDoWeWonder
Member
Registered: 2020-02-15
Posts: 17

Cannot enable Hardware Acceleration

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

#2 2020-02-15 11:34:25

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,680
Website

Re: Cannot enable Hardware Acceleration

WhyDoWeWonder wrote:

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

#3 2020-02-15 23:37:05

WhyDoWeWonder
Member
Registered: 2020-02-15
Posts: 17

Re: Cannot enable Hardware Acceleration

Yes I have, I typed it one before I restarted my computer and after each time. The appropiate values were applied.

Offline

#4 2020-02-16 11:18:46

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,680
Website

Re: Cannot enable Hardware Acceleration

Have you installed the linux-firmware package?

Offline

#5 2020-02-17 22:14:06

WhyDoWeWonder
Member
Registered: 2020-02-15
Posts: 17

Re: Cannot enable Hardware Acceleration

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

#6 2020-02-17 22:26:14

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,680
Website

Re: Cannot enable Hardware Acceleration

WhyDoWeWonder wrote:

How can I identify what firmware files I need for hardware acceleration?

# dmesg | grep firmware
WhyDoWeWonder wrote:

intel-media-driver (iHD)

^ This.

Offline

#7 2020-02-23 02:33:05

WhyDoWeWonder
Member
Registered: 2020-02-15
Posts: 17

Re: Cannot enable Hardware Acceleration

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

#8 2020-02-23 06:48:34

10PinkPanther
Member
From: Croatia
Registered: 2012-11-10
Posts: 374

Re: Cannot enable Hardware Acceleration

Just edit your title (SOLVED).

Offline

#9 2020-03-03 12:59:44

WhyDoWeWonder
Member
Registered: 2020-02-15
Posts: 17

Re: Cannot enable Hardware Acceleration

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

#10 2020-03-03 17:00:29

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,680
Website

Re: Cannot enable Hardware Acceleration

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

#11 2020-03-03 20:16:06

WhyDoWeWonder
Member
Registered: 2020-02-15
Posts: 17

Re: Cannot enable Hardware Acceleration

Still getting the same errors with i965.

Offline

#12 2020-03-04 19:44:29

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,680
Website

Re: Cannot enable Hardware Acceleration

So why did you claim that hardware acceleration was working earlier in the thread?

Offline

#13 2020-03-07 02:20:33

WhyDoWeWonder
Member
Registered: 2020-02-15
Posts: 17

Re: Cannot enable Hardware Acceleration

Head_on_a_Stick wrote:

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

Board footer

Powered by FluxBB