Linux Kodi Hardware Acceleration with Nvidia not working
#1
Hello!
I can't get my video card (GTX 1060) to decode with Kodi in Manjaro (Arch) Linux.
In System/Player/Videos/ Render Method is Auto Detect, but i can't changed it.
Reply
#2
(2021-07-01, 12:49)Alfonsu Wrote: I can't get my video card (GTX 1060) to decode with Kodi in Manjaro (Arch) Linux.

In case you haven't done so yet, you'll need to install Nvidia's proprietary drivers for proper video handling in Kodi.

For all other matters you'll have to ask the Manjaro Arch Linux people, as they are likely compiling, packaging and providing their own release of Kodi.
Reply
#3
(2021-07-01, 14:29)Klojum Wrote:
(2021-07-01, 12:49)Alfonsu Wrote: I can't get my video card (GTX 1060) to decode with Kodi in Manjaro (Arch) Linux.

In case you haven't done so yet, you'll need to install Nvidia's proprietary drivers for proper video handling in Kodi.

For all other matters you'll have to ask the Manjaro Arch Linux people, as they are likely compiling, packaging and providing their own release of Kodi.

I installed the Nvidia driver 465.31, but it doesn't work. With VLC Player еverything works
Reply
#4
(2021-07-01, 12:49)Alfonsu Wrote: In System/Player/Videos/ Render Method is Auto Detect, but i can't changed it.

Neither can I.  It should look like this.

Image
Learning Linux the hard way !!
Reply
#5
(2021-07-01, 15:41)black_eagle Wrote:
(2021-07-01, 12:49)Alfonsu Wrote: In System/Player/Videos/ Render Method is Auto Detect, but i can't changed it.

Neither can I.  It should look like this.

Image

Hmm. it looks different to me "KODI 19.1"

Image
Reply
#6
@Alfonsu without the Debug Log we don't have any clues at all.
it is possible that Manjaro package was built without vdpau support.
If that is the case then you should refer to manjaro forums.
The log will tell.

To receive meaningful assistance you will need to provide a full debug log.

The instructions are here... debug log (wiki)

If you are using the Basic Method, then ensure the following is applied...
1.Enable debugging in Settings>System Settings>Logging,
2.Restart Kodi
3.Replicate the problem.
4.Upload the log to Kodi Paste Site manually or use the Kodi Logfile Uploader. (wiki) With either method post the link to the log back here.

If you are using the Advanced Method ensure you have correctly created and applied the advancedsettings.xml file (wiki)

In both instances, you should see the word DEBUG throughout the log.

Note: Full logs only. No partial or redacted logs
Do NOT post your logs directly into the forum. Use the Kodi Paste Site. Post the link to your pasted log in the forum
Reply
#7
As I suspected arch pkgbuild is somewhat sloppy https://github.com/archlinux/svntogit-co...#L115-L140,
it does not list vdpau as a direct dependency and it does not explicitly enable needed features relying on the magic of autodetection (IMO a very bad thing for packaging).
Kodi ppa explicitly enables all the needed features at configure time eg -DENABLE_VAAPI=ON -DENABLE_VDPAU=ON
The resulting Arch binary is *not* linked to libvdpau.

Arch binary
Code:
readelf -d kodi-x11 | grep NEEDED | grep vdpau
^^ Nothing, no vdpau here

Kodi ppa
Code:
readelf -d kodi.bin | grep NEEDED | grep vdpau
 0x0000000000000001 (NEEDED)             Shared library: [libvdpau.so.1]

@Alfonsu report your issue to your distro or Arch linux Kodi package maintainers, they might want to improve their pkgbuild in order to provide stable feature set.
Reply
#8
@graysky  ^^^
Reply
#9
(2021-07-01, 20:31)asavah Wrote: @Alfonsu without the Debug Log we don't have any clues at all.
it is possible that Manjaro package was built without vdpau support.
If that is the case then you should refer to manjaro forums.
The log will tell.

To receive meaningful assistance you will need to provide a full debug log.

The instructions are here... debug log (wiki)

If you are using the Basic Method, then ensure the following is applied...
1.Enable debugging in Settings>System Settings>Logging,
2.Restart Kodi
3.Replicate the problem.
4.Upload the log to Kodi Paste Site manually or use the Kodi Logfile Uploader. (wiki) With either method post the link to the log back here.

If you are using the Advanced Method ensure you have correctly created and applied the advancedsettings.xml file (wiki)

In both instances, you should see the word DEBUG throughout the log.

Note: Full logs only. No partial or redacted logs
Do NOT post your logs directly into the forum. Use the Kodi Paste Site. Post the link to your pasted log in the forum

Thanks a lot for your time, but isn't this related to the removal of VDPAU from KODI 19, and if so how could I fix it.Today I tested a computer with Intel video and there the hardware acceleration works perfectly.
Reply
#10
(2021-07-02, 17:37)Alfonsu Wrote: Thanks a lot for your time, but isn't this related to the removal of VDPAU from KODI 19,

VDPAU was *not* removed in Kodi 19 and it's still present in current master.
Reply
#11
@wsnipex @asavahhttps://bugs.archlinux.org/task/71386
Need help programming a Streamzap remote?
Reply
#12
(2021-07-02, 18:44)asavah Wrote: VDPAU was *not* removed in Kodi 19 and it's still present in current master.

@Alfonsu ^^^ Indeed, my screenshot was from Kodi v20.  No issues here with VDPAU at the moment.  Just wish nVidia would be a little more helpful at times. Rolleyes
Learning Linux the hard way !!
Reply
#13
(2021-07-02, 19:06)graysky Wrote: @wsnipex @asavahhttps://bugs.archlinux.org/task/71386
Yes, thank you very much for your help. I was able to compile a new package and now the problem is gone.
Reply
#14
@black_eagle - Can you check out FS#71386 and add the cmake args suggested by @asavah?
Need help programming a Streamzap remote?
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi Hardware Acceleration with Nvidia not working0