【kodi】The control bar keeps flickering after the video is played

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
hisunecom
New here
Posts: 4
Joined: Mon Aug 10, 2020 7:12 pm

【kodi】The control bar keeps flickering after the video is played

Post by hisunecom » Mon Aug 10, 2020 7:33 pm

I have installed many versions of kodi from qnapclub, They have the same problem:

The control bar keeps flickering after the video is played.

After the video is paused, return to other pages of kodi, the ui of the whole kodi will always flickering.

Stopping the video can solve this problem, or choose window mode instead of full screen mode

Can someone help me?

User avatar
OneCD
Ask me anything
Posts: 8057
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: 【kodi】The control bar keeps flickering after the video is played

Post by OneCD » Tue Aug 11, 2020 12:23 am

Hi and welcome to the forum. :)
hisunecom wrote:
Mon Aug 10, 2020 7:33 pm
Can someone help me?
Sorry, no.

But you get +10 points for your use of fancy brackets:【 】 :wink:

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

User avatar
dolbyman
Guru
Posts: 20404
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: 【kodi】The control bar keeps flickering after the video is played

Post by dolbyman » Tue Aug 11, 2020 12:25 am

maybe downgrade of hdstation helps

viewtopic.php?f=295&t=155897

hisunecom
New here
Posts: 4
Joined: Mon Aug 10, 2020 7:12 pm

Re: 【kodi】The control bar keeps flickering after the video is played

Post by hisunecom » Tue Aug 11, 2020 12:18 pm

OneCD wrote:
Tue Aug 11, 2020 12:23 am
Hi and welcome to the forum. :)
hisunecom wrote:
Mon Aug 10, 2020 7:33 pm
Can someone help me?
Sorry, no.

But you get +10 points for your use of fancy brackets:【 】 :wink:
LOL

hisunecom
New here
Posts: 4
Joined: Mon Aug 10, 2020 7:12 pm

Re: 【kodi】The control bar keeps flickering after the video is played

Post by hisunecom » Tue Aug 11, 2020 12:19 pm

dolbyman wrote:
Tue Aug 11, 2020 12:25 am
maybe downgrade of hdstation helps

viewtopic.php?f=295&t=155897
Thank you very much, I'll revert back to 4.0.7!

DeepBlueDiver
New here
Posts: 4
Joined: Wed Jun 09, 2010 1:39 am

Re: 【kodi】The control bar keeps flickering after the video is played

Post by DeepBlueDiver » Tue Sep 29, 2020 8:14 am

I believe I have found a solution/workaround.

I downloaded, extracted, and compared qpkg for HD_Station version 4.0.7 and 4.0.10. Somewhen between this releases compton (a compositing window manager for X11) was added to /etc/X11/xinit/default-desktop script. There is an open issue on GitHub reporting overlay flickering in Kodi when compton is active (I already reported this workaround there).

https://github.com/xbmc/xbmc/issues/16934

Until this is somehow resolved in Kodi, try starting compton with --unredir-if-possible option so it stops composing on full-screen. It fixed overlay flickering on the setup I tested it (QNAP TS-451+, fw 4.4.3.1421, HD_Station 4.0.10, Kodi Leia 18.8.0.0 from QNAP Club Europa).

SSH into your NAS, but do NOT modify the script since it will be overwritten on next HD_Station update. Instead chroot or cd into your HD Station dir, and append the option to compton config, creating the file if it doesn't exist.

Modify acording to your setup (ie: CACHEDEV1_DATA, MD0_DATA, etc).

Code: Select all

cd /share/CACHEDEV1_DATA/.qpkg/HD_Station/
echo "unredir-if-possible = true;" >> root/.config/compton.conf
While this setting can fix problems on some apps like Kodi, it might break things in others (like tearing on games or video playing).
Adding compton's option --unredir-if-possible-exclude in compton.conf allows to exclude specific apps from the action of --unredir-if-possible.

Code: Select all

unredir-if-possible = true;
unredir-if-possible-exclude = [ "name = 'app1-window-name'",
                                "name = 'app2-window-name'",  
                                "name = 'app3-window-name'"
                              ];
I hope it helps to solve this problem for some of you.

malve
Starting out
Posts: 14
Joined: Thu Oct 06, 2016 1:04 am

Re: 【kodi】The control bar keeps flickering after the video is played

Post by malve » Mon Oct 19, 2020 4:09 am

DeepBlueDiver wrote:
Tue Sep 29, 2020 8:14 am
Modify acording to your setup (ie: CACHEDEV1_DATA, MD0_DATA, etc).

Code: Select all

cd /share/CACHEDEV1_DATA/.qpkg/HD_Station/
echo "unredir-if-possible = true;" >> root/.config/compton.conf
Amazing! Really nice digging you made there. Thanks a ton!
The flickering drove me mad.
QNAP TS-451+
Upgraded to 16 GB RAM (Crucial DDR3L 1600 MHz SODIMM CT102464BF160B)
Seagate IronWolf 2TB drives (ST2000VN004) in RAID 5

User avatar
Xmantium
Been there, done that
Posts: 560
Joined: Fri Sep 03, 2010 3:55 am
Location: Manchester, England

Re: 【kodi】The control bar keeps flickering after the video is played

Post by Xmantium » Mon Oct 19, 2020 8:44 am

I reverted to HD Station v4.0.7 when this happened on v4.0.10, seems to be the most stable for Kodi

wally!
New here
Posts: 4
Joined: Wed Oct 31, 2018 7:56 pm

Re: 【kodi】The control bar keeps flickering after the video is played

Post by wally! » Sun Oct 25, 2020 6:26 am

In my case I had to change HDStation 4.0.10 resolution settings to 4k30Hz and
just change Kodi 18.8 Video Settings "Video Scaling Method - Bilinear".

You can try with Kodi resolution (set to 4k in Video Setings)

Cheers!

Post Reply

Return to “Community Apps”