Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Solved Choppy GUI when using kodi-gbm but kodi-x11 is fine
#1
When I run kodi-gbm, the GUI initially starts out smooth (menu animations, changing screens, etc), but after I play a video and return to the GUI, it is no longer smooth.  I see choppiness and visual artifact on over parts that are moving/animated.  I did not experience this when running kodi-x11.  Is there a setting to tweak to restore the smooth GUI with kodi-gbm?

Here is a debug log.
Need help programming a Streamzap remote?
Reply
#2
Can you provide screenshots?
Reply
#3
Yes, I am hosting a short video clip showing the effect here.  I did find this dirty regions page, but could not start kodi-gbm with a value of 2 (recommended from wiki) or a value of 1.  Only a value of 3 and that caused the GUI resolution to get all messed up.
Need help programming a Streamzap remote?
Reply
#4
Odd. Can you build with https://github.com/xbmc/xbmc/pull/22012 and test again? I don't have high hopes, but it's worth a try.
Reply
#5
That made it much worse Big Grin  It's easily 2x or 4x as choppy now.  Confirmed building with gl or gles.
Need help programming a Streamzap remote?
Reply
#6
Here is a short movie showing the effect with that patch applied.
Need help programming a Streamzap remote?
Reply
#7
Hi, i had the same problem with the "gles" build. I solved that by installing mesa 22.2.4. With the newer 22.3.1 series I had the exact same problem as you. I am on arch linux here.
Now i had the new 22.3.1 and newer installed and got it only  working with the "gl" build.

best regards
Reply
#8
Thanks, this is also an Arch box.  I am running it in 4k/60 Hz.  Was that your resolution as well?  I ask because I cannot reproduce the behavior on another monitor at a lower resolution.
Need help programming a Streamzap remote?
Reply
#9
Yes I am also on Tv with 4K/60Hz
Reply
#10
Is there a bug report for Mesa? Do you have more info?
Reply
#11
I can confirm this bug on a 3rd system but only when it is running in 2160p.  Dropping down to 1440p or 1080p is fluid.

EDIT:  @sarbes - Yes!  https://gitlab.freedesktop.org/mesa/mesa/-/issues/7977 and https://github.com/LibreELEC/LibreELEC.tv/issues/7299

passing that variable to my systemd service fixes the issue:
Code:
% cat /etc/conf.d/kodi-standalone 
# Define environment variables to pass to the service below
mesa_glthread=false
Need help programming a Streamzap remote?
Reply
#12
And to update, the problem has been fixed upstream with the release of mesa 22.3.5
Need help programming a Streamzap remote?
Reply
#13
(2023-02-26, 13:14)graysky Wrote: And to update, the problem has been fixed upstream with the release of mesa 22.3.5

I'm curious to know, does https://github.com/xbmc/xbmc/pull/22012 still have an issue now you have the mesa fix?
Reply
#14
(2023-03-17, 15:23)popcornmix Wrote: I'm curious to know, does https://github.com/xbmc/xbmc/pull/22012 still have an issue now you have the mesa fix?

No issues patching Nexus with 22012 now. (Mesa 22.3.6 on the system).
Need help programming a Streamzap remote?
Reply
#15
The bug was reintroduced with the release of 23.1.0, see: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9115
Need help programming a Streamzap remote?
Reply

Logout Mark Read Team Forum Stats Members Help
Choppy GUI when using kodi-gbm but kodi-x11 is fine0