v17 ubuntu 18.04+AMD VEGA56 can not using HARDWARE decode.
#1
Hi experts,
       The kodi not support UVD for AMD VEGA56 card?   I enabled VAAPI & VDPAU, and try to play the H.264 & 10bit video,   it is not smoothly, it seems to use the PowerPoint.     I  check the kodi play information and find it is using software decode.    How to ask KODI to support hardware decode for amd card? Thanks so much.
       The driver is using AMDGPU-PRO 18.30.   I think the driver is installed normally cause DOTA2 is very smoothly.
       Thank for helping me.
Reply
#2
I just using PPA for install the newest KODI.  
Can not be started .
Is there any conflict between amdgpu-pro and kodiHuh

libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
: CommandLine Error: Option 'help-list' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Segmentation fault (core dumped)
Reply
#3
AMDGPU-PRO is not supported - use the open drivers.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#4
Thanks for quick reply.
I retry the AMDGPU  (NOT PRO)
KODI runs fine. But it still can not play H.264 10bits  with hardware decode. 
But mplayer can decode by vega with PRO and NON-PRO driver. Why?
Reply
#5
Nobody knows besides your full and uncut Debug Log.

For Vega to properly work you need kernel 4.18 and newest linux-firmware. Also Mesa 18.2.x is suggested.

Remember: Kodi is not about decoding only BUT also about rendering. It is OpenGL application - comparing it with mplayer makes limited sense.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#6
Thanks.
i just type
sudo apt-cache policy mesa-vdpau-drivers
For check the mesa version.
As you said , 18.2 maybe a good choice.
May you give me the mesa PPA for upgrading the mesa? Smile
Reply
#7
Maybe you could have googled that yourself: https://launchpad.net/~paulo-miguel-dias...untu/pkppa 18.1.7 is new enough

Install that and post:

vainfo | pastebinit
dmesg | pasteinit
and your full uncut Debug Log after playing whatever movie you consider
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#8
For the firmware: 

Code:
wget https://launchpad.net/ubuntu/+source/linux-firmware/1.175/+build/15318153/+files/linux-firmware_1.175_all.deb && sudo dpkg -i linux-firmware_1.175_all.deb
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#9
u r real warm-heart man. Big Grin
For some game performance reason, i changed back to PRO driver.  i can using snap to install the kodi.
And i  am also trying your recommandation. Smile Hope it can be worked.
If not work or not enable the hardware decode. i will attach the log Smile

The mplayer looks too ugly and the ASS looks also not good.  But the strange point is this ware can play the video with hardware decode with PRO driver. i am a little confusion about that.

If the KODI can also do that, i will remove the MPLAYER Smile
Reply
#10
Dear.
      I saw my card  supports so many format in linux. Big Grin
koskers@koskers-MS-7B38:~$  vainfo | pastebinit
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
http://paste.ubuntu.com/p/wvFdMWVJvb/

koskers@koskers-MS-7B38:~$ dmesg | pastebinit
http://paste.ubuntu.com/p/nzNkRyXNHJ/
Reply
#11
MODIFY:

libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
http://paste.ubuntu.com/p/S6qgdhhWxW/

koskers@koskers-MS-7B38:~$ dmesg | pastebinit
http://paste.ubuntu.com/p/49Y6z46Q75/


Another small issue.
I tested by using the HDR H.265 10bit 4K TS format SAMSUNG sample video. KODI plays the video which looks very very gary and with 98% CPU usage NOT smoothly(It looks like a RAW from camera).   MPV plays vivid with 50% CPU usage.
Hope KODI can support the AMDGPU-PRO driver in the future Smile      The MPV user inferface is not friendly when i try to choose the ASS or investigate the video format. i love KODI Smile
Reply
#12
You still did not post a kodi Debug Log

And btw. to use HEVC10 bit you need kodi 18 nightly! V17 has not support for it.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#13
Dear.
   The install the KODI LOG FILE UPLOADER as Addon.
   The kodi version is 18
   The old file and new log full file is here Smile
    Thanks for your support.  Thanks indeed.
https://paste.ubuntu.com/p/YCH5zwvZJ6/

https://paste.ubuntu.com/p/WwvSx7bf22/
Reply
#14
"18.0-ALPHA1 Git:20170530-82eed1a-dirty"

That is kodi 18 from over a year ago. Try the most recent one from the ppa.
Reply
#15
(2018-09-23, 00:55)KOSKERS Wrote: The old file and new log full file is here
NOTICE: Disabled debug logging due to GUI setting. Level 0.
Also enable debugging in Kodi next time for a more in-depth log file while you're at it.
Reply

Logout Mark Read Team Forum Stats Members Help
ubuntu 18.04+AMD VEGA56 can not using HARDWARE decode.0