this post was submitted on 25 Mar 2024
118 points (96.1% liked)

Linux

48008 readers
1681 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hi everyone, I ran apt full-upgrade last month and accidentally deleted a couple packages that weren't supposed to be removed, due to me not paying enough attention. I could recover most of the system just fine, since most of the missing features and related packages were obvious to me. However, I still couldn't figure out why transparency is not working on KDE, both in Wayland and X. I suspected it could be a missing compositor, but libwayland and libqt6waylandcompositor6 (and related packages) are all installed (and that wouldn't explain why it isn't also working on X).

I have attached a screenshot to illustrate what I mean.

I would appreciate if anyone could help me figure out what package might be missing that is causing this issue. Thanks in advance!

EDIT: Thank you so much everyone! I finally solved my problem. I just had to replace libqt5quick5-gles by libqt5quick5 (non gles version).

Commandline: apt install libqt5quick5
Install: libqt5quick5:amd64 (5.15.10+dfsg-2+b2)
Remove: libqt5quick5-gles:amd64 (5.15.10+dfsg-2+b2)
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 12 points 7 months ago* (last edited 7 months ago) (3 children)

Sadly I am not using BTRFS for my root directory on this specific system. If I end up deciding to reinstall, I will definitely go back to BTRFS to avoid such problems.

Debian actually has a KDE group named kde-full. I reinstalled it but the issue persists, which was honestly surprising to me.

~$ sudo apt install kde-full
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
kde-full is already the newest version (5:147).
0 upgraded, 0 newly installed, 0 to remove and 87 not upgraded.

The new user idea was really clever, thanks for the suggestion! I will try that now and see.

Edit: the new user also presents the same problem. Actually, it makes sense, since SDDM is affected as well (I should have mentioned that before).

[–] [email protected] 5 points 7 months ago (1 children)

Debian doesn't have package groups in that sense. kde-full is just a package which depends on the other KDE packages.
So, if you tell it to install kde-full, it'll just check that, yes, it does have the kde-full package installed, whether all the dependencies are fulfilled or not.

You can try doing apt --fix-broken install (without specifying a package), maybe that will pull in the missing dependency.
Or you can reinstall: apt reinstall kde-full

[–] [email protected] 2 points 7 months ago (1 children)

Thanks for the tip! However, I tried apt reinstall kde-full and apt --fix-broken install, but no packages were installed and (unsurprisingly) the problem still persists.

[–] [email protected] 2 points 7 months ago (1 children)

Hmm, then I'm guessing, it's not a missing package. It kind of doesn't quite make sense anyways, as KDE Wayland can't be run without a compositor.

Maybe the installed Breeze theme is broken. If you install a different Plasma theme in the System Settings, does that give you transparency?

[–] [email protected] 1 points 7 months ago (1 children)

I agree with that. I suspect you might be right. SDDM (Breeze) is also weird with transparency. However, I just installed materia-kde but unfortunately the problem persisted (screenshot attached). Before that, I ran apt purge kde* plasma* libkf* and apt install kde-full. That too didn't solve my problem.

[–] [email protected] 3 points 7 months ago (1 children)

I can't believe, I seem to be the first to ask this, but are maybe graphics drivers broken? Are you on Nvidia?

Those black squares for the status bar icons, I think, I've seen before somewhere, so I'm at least guessing that your problem isn't a completely new problem...

[–] [email protected] 4 points 7 months ago* (last edited 7 months ago) (1 children)

You are right, I should have made this clear. I am not on Nvidia, I am using an old Thinkpad on Intel Haswell.

I'm glad to know my problem isn't completely new. I'll look into it further online. If you ever find a link to a report of a similar issue, I would be happy to see!

Edit: I found this link, the issue reported appears to be very similar to what I'm seeing here https://libreddit.tux.pizza/r/kde/comments/jhqbnz/kde_plasma_rendering_problem_black_squares/

Edit 2: I finally solved my problem! It was indeed an old problem already reported somewhere.

[–] [email protected] 3 points 7 months ago
[–] [email protected] 4 points 7 months ago (1 children)

You will also need to use snapper before every apt-get upgrade to avoid these issues

[–] [email protected] 2 points 7 months ago

Thanks for the recommendation! I will definitely do it when I eventually install some other distro in the future.

[–] [email protected] 2 points 7 months ago (1 children)

you installed it without uninstalling first? have you tried an apt purge to get rid of related conf files, then reinstall kde?

[–] [email protected] 1 points 7 months ago

You are absolutely right. I just tried apt purge kde* plasma* libkf* and apt install kde-full followed by a reboot. But sadly, the problem persists.