Remove unused flatpak packages? KDE and Mesa?

I did a fresh install of CachyOS two days ago. Everything appears to be working. But when I update the packages the updater tells me that the following flatpak packages are being unused and could be removed:

==> Flatpak Unused Packages:
org.freedesktop.Platform.GL.default
org.freedesktop.Platform.GL.default
org.kde.Platform
org.freedesktop.Platform.codecs-extra
org.kde.Platform.Locale

These appear to be KDE and Mesa packages. Are they safe to be removed or should I just ignore that info in the updater?

If you don’t have any other flatpaks installed that depend on them you can remove them. Take a snapshot beforehand, just in case.

Thanks. But isn’t weird that they are considered “unused” even though my system is still running KDE and requires Mesa for my AMD GPU, especially since they were installed with CachyOS initially?

They are just dependencies for other flatpaks. You should have Mesa installed from the repos.

Flatpak installs its own mesa and kde libraries. They are isolated from the system packages and allows flatpak app dependencies to be out of sync to the underlying OS.

That is helpful. Thank you very much.