this post was submitted on 16 Jan 2024
51 points (91.8% liked)

Linux

48323 readers
1194 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
 

Former title: SSD having issues after I filled up its storage

I wrote this poorly last time so here's a more clear description: Hey all, so I filled my SSD up on Linux Mint and it's running sluggishly. I deleted more than half of my storage but there's still issues. It can read / write fast according to my inexperienced testing and I have trimmed it (to my knowledge) but there's still issues. Loading up programs now takes 30 seconds (even something like VLC which typically took like 0.5 seconds). Loading new audio files into VLC can take 10 seconds. I have checked my system monitor and nothing seems out of place. Also, when the program starts running, it runs perfectly. The computer itself is fast but loading anything new takes ages. Does anyone have any ideas? It's a new laptop, not even two months old.

Edit: This is somehow, and strangely, a Flatpak issue apparently? It was triggered either by a full SSD or the new Linux Mint 21.3 Cinnamon update.

Edit 2: Interesting experiment result

'it took 30 seconds but this got outputted and then the file ran: dave@dog: ~$ flatpak run org.x.Warpinator Gtx-Message: 14:29:03.389: Failed to load module "xapp-gtk3-module" Using landlock for incoming file isolation'

It appears there's either a xdg-desktop-portal-gtk and/or xdg-desktop-portal-gnome error and I'm not alone, Mint and Arch users are both reporting it as of recent strangely???

This was a real sneaky fu(ker as it dodged all logical system testing. The only reason I caught it was cause it was suspicious how fast system programs booted and how flatpaks booted like sh(t. Not sure if I'm even right about the module, but I'm highly suspicious

Some comment mentioned this and it explained it well: Random shot, because it's probably not an issue on Mint like it was on Arch a few months ago, but xdg-desktop-portal problems can cause apps to take forever to load, but run fine once loaded.

edit: Try removing xdg-desktop-portal-gtk and/or xdg-desktop-portal-gnome

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 10 months ago (1 children)

What do you mean with "Deleted half of my storage"?
How did you do that? Did you just go into your file manager and deleted some photos, or did you remove partitions and stuff outside of /home/?

You know of the "linuxatemyram.com"-site, do you? Did you try to "optimize" the RAM consumption or other performance tweaks? It sounds like you "don't have enough RAM" and then Linux tries to use the swap space, pulling stuff from your SSD.

Did you install Mint freshly onto the new SSD? Did you use the recommended partioning-layout (regarding swap space)?

I hate to say it, but did you try to reinstall your OS? Maybe that might help...

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

i deleted half of the data on the ssd (no it's not in the trash folder.) i deleted timeshift files and unused apps. how do i optimize ram consumption and get 'other performancw tweaks'. i shouldnt be running out of ram if nothing is loaded and i just booted up? yeah i installed mint on to the ssd when i got it. i dont dual boot so do i need to partition? no i have not reinstalled linux but i might

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

i deleted half of the data on the ssd (no it's not in the trash folder.) i deleted timeshift files and unused apps.

Can you name a few examples? Apps usually don't need much data, and timeshift backups aren't accumulative, so only the first one is big, and the following ones are just a few MBs big.
Why not store them on an external drive? That would be the best method anyway, in case you can't access your PC.

how do i optimize ram consumption and get 'other performancw tweaks'. i shouldnt be running out of ram if nothing is loaded and i just booted up?

Easy. You don't :) Linux is already very optimized ootb, and the only thing you can install for example is TLP, a battery life prolonger for better runtime on laptops.
Other than that, don't. And take a look at the link, everything gets explained very well and simple there.

i dont dual boot so do i need to partition?

If you have to ask this, it should be fine. The default layout on Mint is good as is.

no i have not reinstalled linux but i might

Remember to backup your data!!!
If you haven't made many customisations, every file should be restored easily. Might help, but keep an eye on your actions.

Don't do stupid things and maybe consider immutable distros, like Fedora Silverblue, since you can't mess up anything on them.

[–] [email protected] 0 points 10 months ago

read the edited post! apparently somethings wrong with the gtk3 module, im only having slow boots for flatpaks!!