[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#976389: libqt5quick5-gles: With libqt5quick5-gles KDE icons & widgets don't appear, with libqt5quick5 it works



Hi Russell!

On Sat, Dec 05, 2020 at 12:27:25AM +1100, Russell Coker wrote:
> When I had a system running with libqt5quick5-gles the display was horribly
> messed up with missing icons and KDE window controls.  I could work around
> it by setting
> MESA_EXTENSION_OVERRIDE=”-GL_EXT_bgra -GL_EXT_texture_format_BGRA8888″ in
> the environment for the user (which didn't affect SDDM which still had
> mangled display).
>
> When I ran "apt remove libqt5quick5-gles" (which installed libqt5quick5)
> and rebooted (I could have just restarted sddm but wanted to get the new
> kernel) it worked without setting any environment variables.
>
> Using the MESA_EXTENSION_OVERRIDE variable broke Warzone2100 (for reasons I
> have not figured out), but using libqt5quick5 KDE and Warzone2100 both work
> perfectly.
>
> https://etbe.coker.com.au/2020/12/04/kde-icons-disappearing-unstable/
>
> I wrote a blog post about this which has some more details.
>
> https://inductive-kickback.com/2017/02/mystery-black-window-workaround-druid-back-in-development/
>
> The above blog post has the most technical detail about this including some test Qt code.
>
> In what situations does libqt5quick5-gles work better than libqt5quick5?

Thanks for the detailed bug report and the blog post link!

If you are using amd64 desktop then you would almost never need
libqt5quick5-gles. These packages are mostly needed for ARM64 users, or for
users of video cards that support OpenGL ES but not desktop OpenGL.

See my blog post for details:

https://mitya57.me/weblog/2020/01/qt-opengl-es-packages-available.html

However, it would be nice to know why users end up with the -gles packages
installed. Your case is not the only one, here is a similar story:

https://www.reddit.com/r/debian/comments/jpm3bn/after_doing_a_distupgrade_i_no_longer_have_icons/

For the record, let me put together some links I found via your blog post:

- https://askubuntu.com/q/1288506
- https://www.reddit.com/r/kde/comments/jhqbnz/kde_plasma_rendering_problem_black_squares/
- https://ubuntuforums.org/showthread.php?t=2442842

All dependencies should be in a form like libqt5gui5 | libqt5gui5-gles, so
apt should fall back to the latter package only if the former is not available
for some reason. So I want to understand what that reason is.

In your blog post, you say “The system in question had most of KDE removed due
to package dependency issues when tracking Unstable and when I reinstalled it
I guess the wrong one was installed”. Maybe you can look at the logs and check
if they give some clue?

I really would like to prevent this from happening for other users, so any
suggestions would be welcome.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


Reply to: