Problem with hardware acceleration and codecs
#1
Hi,

I have recently bought a Beelink GT1 Ultimate and installed Kodi on it.
It worked well with some videos with h264 and HEVC codec.

I wanted to play a movie with h264 codec, but Kodi played the video with graphic glitch.
Here are the screenshots:
Image

Image

Image

I disabled hardware acceleration in Kodi, and the graphic glitch disappeared, but the videos with HEVC codec are choppy without hardware acceleration.

Is there an addon, that automatically detects the codec and decides whether hardware acceleration should be enabled or not?
Or is there an another solution for this problem?
Reply
#2
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.

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

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. Always use a paste site like pastebin.com. Post the link to your pasted log in the forum
Reply
#3
Ok, here is the log: http://paste.kodi.tv/yavihumafa
Reply
#4
I guess that was not enough info to investigate the problem.
I made info files with MediaInfo.

I have problem with this video file, when hardware acceleration is on: https://pastebin.com/ZQxp1FHZ
I don't have this problem with this video file: https://pastebin.com/DC4anmSZ

I have the same problem with this video file, but it doesn't happen as frequently as with the first one: https://pastebin.com/QHBpJ1cJ
I don't have this problem with this version: https://pastebin.com/d25n8TL4

I'm not an expert in video codecs, but I can see that there are 5 Ref frames in the "good" video files and it seems like this graphic glitch happens more often when I play the one with 12 Ref frames than the other one with 9 Ref frames.
Reply
#5
I have the same problem. did you manage to solve it?
Reply
#6
(2018-10-01, 10:56)viperain Wrote: I have the same problem. did you manage to solve it?
Such "metoo" posts are not really helpful. Your situation may be different because, for example, different hardware. Also there are newer Kodi versions out now.
Provide a debug-enabled debug log (wiki) file, and we can perhaps pinpoint the problem.
Reply
#7
Hi,

I couldn't solve the problem on Android.

There is an OS made for running Kodi only called LibreELEC. I installed it on a microSD card and I don't have this problem while playing movies.
If you have a device with amlogic S905 or S912 I recommend this version: https://forum.libreelec.tv/thread/12325-...2-devices/
You can install it on the internal memory if you don't need Android. I recommend testing which version and dtb image works with your hardware with a spare pendrive.

If you install it on a microSD card or a pendrive, you will have an option to reboot from internal. On the first boot from microSD card or pendrive you have to hold the reset button with a toothpick or something similar.
You can also use this app instead of the toothpick: https://play.google.com/store/apps/detai...date&hl=en
I recommend buying a microSD card with fast random speeds, I use Sandisk Ultra with A1 rating.

You may have problems with samba sharing in Kodi and external subtitles, you have to use Putty to solve them: https://forum.libreelec.tv/thread/12325-...#post93214
Reply
#8
Well, the Android version in the Play Store was last updated on 19th november 2017, or are the newer versions not on Play Store?
I read somewhere that the GPU driver's source code for Amlogic S912 isn't public and Beelink's driver is poor, so maybe updating Kodi won't solve the problem.
Reply
#9
If anyone interested in this or has the same problem with Amlogic boxes: I've managed to solve my problem by using Kodi on CoreELEC instead of Android. It can be installled on a bootable memory card and you can still boot Android from the power menu.
Reply

Logout Mark Read Team Forum Stats Members Help
Problem with hardware acceleration and codecs0