Posts: 20
Joined: Aug 2020
Reputation:
0
Hi I recently swapped Nvidia to AMD GPU. I am now able to use wayland. However, Kodi is not playing H264 format. I can hear audio but no video. VLC plays the same file fine. It's just Kodi I have this issue> I have tried various options ie.e adjust refresh rate etc that I found on this forum, but none of them seems to be working. I tried the same in X11, but no luck. I deleted Kodi along with the config file and reinstalled.
Any suggestions?
OS Fedora 39 (Wayland)
AMD GPU
Kodi version: 20.4
Posts: 117
Joined: Nov 2022
Reputation:
20
Neo1973
Team-Kodi Member
Posts: 117
I don't think you played any file in that log so there is nothing we can look into.
Posts: 3,799
Joined: Jan 2023
Reputation:
370
can you create an additional paste with the output of "vainfo" (in a terminal)?
just to ensure it has the decode profile for what you're attempting to play
Posts: 19
Joined: May 2019
Reputation:
1
kvdex
Junior Member
Posts: 19
The flatpak version of kodi doesn't play nice with hardware decoding (at least with AMD). The choices end up being:
1. Turn off h/w decoding (allow hardware acceleration - vaapi [unchecked])
2. Use your distro's native repo version of kodi
3. Compile kodi (and need binaries) from source
I say this because after I found out the Ubuntu PPA (I run linux mint) wasn't being maintained anymore I switched to the flatpak version and had the same problems as you, both on a laptop with an AMD A-series APU and on my Ryzen HTPC with an RX 5500 XT. I could deal with software decoding on the HTPC, but not on the laptop since I watch interlaced content. I ended up compiling Nexus for the desktop and Omega on the laptop, both run hardware decoding/de-interlacing fine. I didn't use my distro's repo because it is still on Leia or Matrix.
Posts: 20
Joined: Aug 2020
Reputation:
0
Hi I get the below, however, on further reading about this, I realized Fedora has disabled AMD/Intel GPU video acceleration. Kind of let down.
vainfo: command not found
I will have to see what I need to do to enable this.
Posts: 20
Joined: Aug 2020
Reputation:
0
Thanks for this recommendation. The RPMFusion version works although hardware acceleration is switched on.
What's the difference, HA was enabled on both Flathub and RPMfusion versions. But one works and the other doesn't. Does it mean the RPMFusion version is bypassing HA although it is enabled?
Posts: 19
Joined: May 2019
Reputation:
1
kvdex
Junior Member
Posts: 19
No, it's just the way flatpak sandbox works sometimes; It has some weird GL issues with AMD for some reason. Sometimes it's just easier to go another route then to troubleshoot. I can tell you, however, that the RPMfusion version is using your native drivers on your native DE, and the flatpak version is running on the freedesktop platform (in a sandbox) using the video drivers that are compiled for whatever version (of freedesktop) kodi-flatpak was built against.