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

1 point

Flatpak on Arch? Is what you want not in the AUR?

permalink
report
reply
1 point

no flarpak on linux vut apparently this imapcts flatpak on arch as well

permalink
report
parent
reply
-1 points

I’m sorry, I found your response confusing. Arch is a Linux distro, I know flatpak is available for it. If there’s a bug with flatpak, I would expect it to be pretty much the same across most GNU based Linux systems. My question, however, was why use flatpak on Arch Linux at all, as the AUR has pretty much everything including the kitchen sink… unless you are developing flatpaks, I guess, in which then it would make sense to me.

You don’t owe me an explanation, it just sounded odd to me to be needing flatpak when there was AUR, was all.

permalink
report
parent
reply
1 point

I had this issue as well, but my file system was broken when i was trashing a OS, I did not know it was xdg-desktop-portal-gtk or xdg-desktop-portal-gnome I think it was Debian with cinnamon or maybe LMDE.

permalink
report
reply
1 point

I had this problem with flatpaks, I changed the dbus implementation to dbus-broker (in endeavouros) and it fixed the issue. It may be the same problem.

permalink
report
reply
1 point

how do yoy do that

permalink
report
parent
reply
1 point

I installed dbus-broker and the package manager checked the dependencies and removed the unnecessary stuff. After that I applied the dbus-broker services:

systemctl enable dbus-broker.service

sudo systemctl --global enable dbus-broker.service

And then restarted.

Idk if it might break things in mint, so I would be cautious.

permalink
report
parent
reply
1 point

alright edit: I have a Flatpak issue, not an SSD issue. does anyone have any thoughts? this could be due to the new linux mint update. my pc is a samsung galaxy s2 (750XED P13CFG)

permalink
report
reply
0 points

the linux mint discussion forum has a post about my model not being great but last update my system worked just fine. i actually think having a full ssd broke flatpak. otherwise ive hit a horrible regression issue https://github.com/orgs/linuxmint/discussions/277

permalink
report
parent
reply
1 point

How long ago did you delete everything?

SSD’s dont work like old HD’s depending on the generation of tech it might be storing multiple values per cell which means when you “filled” the SSD you put a charge into every single storage cell on the drive.

Garbage collection and TRIM will slowly over time clear out all the cells flagged as deleted but if one bit is still valid in a cell that was holding 3-4 other bits it cant overwrite that, or relocate it.

That means that your files/videos and such stay fragmented and may never get put back together sequentially or in a way that the controller can optimize again for speed.

The only fix, may be running a factory wipe from the Drive MFG’s tool set, that should fully blank each cell and let you re-install and make it feel fresh again.

Be warned though, you have already done a full drive write once at least, this would be another. You can expect some dead cells and while there is over provisioning that should provide replacements you could see a loss in usable space sooner than later.

permalink
report
reply
1 point

i deleted everything ywsterday, and i trimmed today. i was unaware of the dead cell issue. is there a way to disk defragment an ssd?

permalink
report
parent
reply
1 point

in theory time, it should slowly rewrite everything to consolidate it. If you dont have time, then factory format and reinstall.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 9.6K

    Monthly active users

  • 5.8K

    Posts

  • 162K

    Comments