Solved Choppy GUI when using kodi-gbm but kodi-x11 is fine - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Solved Choppy GUI when using kodi-gbm but kodi-x11 is fine (/showthread.php?tid=371539) |
Choppy GUI when using kodi-gbm but kodi-x11 is fine - graysky - 2023-01-23 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. RE: Choppy GUI when using kodi-gbm but kodi-x11 is fine - sarbes - 2023-01-23 Can you provide screenshots? RE: Choppy GUI when using kodi-gbm but kodi-x11 is fine - graysky - 2023-01-23 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. RE: Choppy GUI when using kodi-gbm but kodi-x11 is fine - sarbes - 2023-01-23 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. RE: Choppy GUI when using kodi-gbm but kodi-x11 is fine - graysky - 2023-01-23 That made it much worse It's easily 2x or 4x as choppy now. Confirmed building with gl or gles. RE: Choppy GUI when using kodi-gbm but kodi-x11 is fine - graysky - 2023-01-23 Here is a short movie showing the effect with that patch applied. RE: Choppy GUI when using kodi-gbm but kodi-x11 is fine - thxwein - 2023-01-23 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 RE: Choppy GUI when using kodi-gbm but kodi-x11 is fine - graysky - 2023-01-23 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. RE: Choppy GUI when using kodi-gbm but kodi-x11 is fine - thxwein - 2023-01-23 Yes I am also on Tv with 4K/60Hz RE: Choppy GUI when using kodi-gbm but kodi-x11 is fine - sarbes - 2023-01-23 Is there a bug report for Mesa? Do you have more info? RE: Choppy GUI when using kodi-gbm but kodi-x11 is fine - graysky - 2023-01-23 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 RE: Choppy GUI when using kodi-gbm but kodi-x11 is fine - graysky - 2023-02-26 And to update, the problem has been fixed upstream with the release of mesa 22.3.5 RE: Choppy GUI when using kodi-gbm but kodi-x11 is fine - popcornmix - 2023-03-17 (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? RE: Choppy GUI when using kodi-gbm but kodi-x11 is fine - graysky - 2023-03-17 (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). RE: Choppy GUI when using kodi-gbm but kodi-x11 is fine - graysky - 2023-08-06 The bug was reintroduced with the release of 23.1.0, see: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9115 |