-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] UI items, subtitles causes playing video to glitch weirdly #9065
Comments
Can confirm on other devices as well with Allwinner and RockChip SoCs. Problem description
InformationExample 1
Example 2
I also tested various versions and this has been an issue since quite a while, but I thought it'd be fixed in stable. Counter Example
This has various other problems, but not the flickering issue on overlay. |
Maybe more interesting is another counter example I just found: Counter Example
So it worked on 20231018 (kernel 6.5), but doesn't on 20240802 (kernel 6.6). |
I thought I was the only with this issue, but it affects many devices. |
Upgraded to LE 12.0.1 (stable), and I'm still noticing the issue happening. |
This has nothing to do with the kernel version, it's yet another issue of xbmc/xbmc#23921 (mostly because frames (-rates) of gui/video layer are out of sync). See also xbmc/xbmc#25588 (comment) |
Compiled a LibreELEC image with your patches and it works; no tearing. I'm honestly impressed. Test Setup
More precisely I compiled the bootable version first and then added your suggested patch to make sure I had a booting baseline. Allwinner also needs this patchJust as a small reminder. |
Not to make a hurry, but I am not sure about the conventions here. Am I supposed to make the PR? I am also a bit hesitant because of the authorship because this is basically @knaerzche's fix 😅 Or should I just wait? (also fine, just want to cover all bases) |
@NetDwarf .. @knaerzche or @heitbaum won't complain if someone saves them the effort of sending a pull request. Feel free to send the change suggested. |
The issue is pretty much fixed by #9277 . I realized too late that the first/linked PR was only for LE13 and not LE12. Given that the issue at hand is in LE12, I would close it for now. It could potentially be reopened if there is no fix provided for LE13. |
Sorry to interrupt, but the fix proposed is completely disabling Async rendering, On the other hand, the fix can be tested in wider install base like LE. |
Sure, because it doesn't work as expected.
I checked this already, but it doesn't help with this issue here. Just from a wild guess, it looks like the (gui) frames are in an incorrect order and that's nothing you are addressing in this PR. |
@knaerzche ah ok, thanks for the clarifcation, i guess i misinterpreted the case here. |
@XxAcielxX can you test LE12-nightly for NanoPC-T4? If it fixes the flicker/tearing issue for you, this could be closed. PS.: To be a bit more verbose. It was a mistake by me to PR the fix to master. I realized too late that it wouldn't fix LE12 and posted the same fix to LE12 subsequently. The latter has been merged and the former might never been merged, depending if a better fix is possible. This however means that the problem is fixed in LE12 test builds (but not LE13 ones) and most likely in 12.0.2 🤞 |
Sorry for late response as I was testing it. Now I can confirm that patch https://github.com/LibreELEC/LibreELEC.tv/blob/master/projects/RPi/patches/kodi/000-temp-revert-fences.patch fixes my issue. So I'll close this. |
Describe the bug
When playing videos with
ff-h264-drm_prime (HW)
orff-vp9-drm_prime (HW)
Decorder, it causes the video to glitch weirdly (UI items like changing volume, mute/unmute, Video Info, etc). Even the Subtitle causes this issue as well.Videos played locally, over the network, or YouTube Addon, all are affected.
The issue does not occur with
ff-hevc-drm_prime (HW)
Decorder.It is happening on a fresh test install too. Here is a video example https://youtu.be/IRxyoZ4qt_w
How to reproduce
Steps to reproduce the behavior:
Information
Debug Log
Bug happens randomly, hard to get debug log
The text was updated successfully, but these errors were encountered: