• 13 Posts
  • 735 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle
  • d3Xt3r@lemmy.nztoKDE@lemmy.kde.socialOpt out? Opt in? Opt Green!
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    edit-2
    28 days ago

    I’m not moving any goalposts. You’re the one arguing about the semantics around “Plasma”, and I keep saying that’s irrelevant.

    Refer back to my original comment which was, and I quote:

    So, are there any plans to reduce the bloat in KDE, maybe even make a lightweight version (like LXQt) that’s suitable for older PCs with limited resources?

    To clarify, here I was:

    • Referring to KDE + default apps that are part of a typical KDE installation
    • Stating that a typical KDE installation is bloated compared to a typical lightweight DE like LXQt
    • Saying with the intention that the “bloat” is RELATIVE, with respect to a older PC with limited resources

    The ENTIRE point of my argument was the KDE isn’t really ideal RELATIVELY, for older PCs with limited resources, and I’m using LXQt here are a reference.

    In a subsequent test, here’s a direct apples-to-apples(ish) component comparison:

    Component Process_KDE RAM_KDE Process_LXQt RAM_LXQt
    WM kwin_x11 99 openbox 18
    Terminal konsole 76 qterminal 75
    File Manager Dolphin 135 pcmanfm-qt 80
    File Archiver ark 122 Lxqt-archiver 73
    Text Editor kwrite 121 featherpad 73
    Image Viewer gwenview 129 lximage-qt 76
    Document Viewer okular 128 qpdfview-qt6 51
    Total 810 446

    plasmashell was sitting at 250MB btw in this instance btw.

    The numbers speak for themselves - no one in their right minds would consider KDE (or plasmashell, since you want to be pedantic) to be “light”, in RELATION to an older PC with limited resources - which btw, was the premise of my entire argument. Of course KDE or plasmashell might be considered “light” on a modern system, but not an old PC with 2GB RAM. Whether something is considered light or bloated is always relative, and in this instance, it’s obvious to anyone that KDE/plasmashell isn’t “light”.


  • d3Xt3r@lemmy.nztoKDE@lemmy.kde.socialOpt out? Opt in? Opt Green!
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    edit-2
    27 days ago

    You’re arguing semantics and that’s not the point I’m trying to argue here. Forget the term “Plasma”. I don’t really care about what the DE is branded as or what’s in “Plasma” the software package. When I say “KDE”, I mean the desktop + all the basic default/recommended apps that you’d see on a typical KDE installation, such as Dolphin, Konsole, Kate, Kalculator, Spectacle etc that’s part of the KDE project. IDK whether the apps I’ve mentioned are considered part of “Plasma” or not, but again, that’s not the point, I’m saying this is what I meant when I said “KDE” - and what most people would expect when they picture a “KDE” environment.

    Anyways, I tested this myself on two identical VMs with 2GB RAM, one installed with Fedora 40 KDE, and another with Fedora 40 LXQt, both set to use X11 (because LXQt isn’t Wayland ready yet), both updated and running the latest kernel 6.8.10-300.fc40. I logged into the DEs, opened only two terminal windows and nothing else, ran, and ran htop. The screenshot speaks for itself:

    And when I tried disabling swap on both machines, the KDE machine was practically unusable, with only 53MB RAM remaining before it completely froze on me. Meanwhile, the LXQt one was still very much usable even without swap enabled.

    I’d like to see you try running without swap and see how it fares. And if you think it’s unfair disabling swap on a 2GB machine - try installing LXQt yourself, disable swap and see for yourself how much more usable it is compared to KDE.

    And this is why I say KDE is bloated and not suitable for old machines.

    Edit: Also, check out the memory consumption listed by a user in this post: https://lemmy.nz/comment/9070317

    Edit2: Here’s a screenshot of the top 30 processes on my test systems, side-by-side:

    Of the above, I calculated the usage of the top 10 processes specific to each respective DE, and you can see that KDE’s memory usage is almost double that of LXQt. Had I counted all the DE-specific processes, it’d no doubt be a lot more than double.


  • Correct me if I’m wrong, but this #OptGreen project isn’t talking specifically about Plasma, is it? They don’t mention Plasma anywhere on the page they linked.

    In any case, that’s irrelevant, also, I don’t doubt that KDE can’t run at all under the specs you mentioned - that’s not the issue. The question is, how much free/usable RAM do you actually have on that machine - let’s say with no apps open first, and with then check again with Konsole + Dolphin + KWrite/Kate open? And for fun, fire up Konqueror as well and check again.


  • d3Xt3r@lemmy.nztoKDE@lemmy.kde.socialOpt out? Opt in? Opt Green!
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    edit-2
    28 days ago

    Edit: Screenshots proving that what you’re saying is not correct:

    I’m not talking specifically about Plasma, I’m talking about the “DE” part of KDE in general; and particularly in this context of repurposing and extending the life of old PCs.

    I find it a bit ironic for KDE to be pushing this message, when it’s a heavy DE (relatively speaking) - it’s NOT what anyone would have in mind when when selecting a DE for an old PC.

    For instance, take LXQt - run the default/recommended file browser, terminal and text editor, and compare it with KDE + equivalents - you’d see a significant difference in resource consumption. On a system with low RAM, that extra bit of free memory makes a big difference, as it could mean avoiding the penalty hit of the swap file, which you’d invariably run into as soon as you fire up a modern Web browser. So it’s vital that the DE use as little resources as possible on such a machine.



  • The problem is that games don’t run at all or require major effort to run without issues.

    A major cause for that is the distro - when it comes to gaming, the distro makes a huge difference as I outlined previously. The second major cause is the flavor of Wine you chose (Proton-GE is the best, not sure what you used). The third major cause is checking whether or not the games are even compatible in the first place (via ProtonDB, Reddit etc) - you should do this BEFORE you recommend Linux to a gamer.

    In saying all that, I’ve no idea about pirated stuff though, you’re on your own on that one - Valve and the Wine developers obviously don’t test against pirated copies, and you won’t get much support from the community either.


  • Unfortunately you chose the wrong distro for your friend - Linux Mint isn’t good for gaming - it uses an outdated kernel/drivers/other packages, which means you’ll be missing out on all the performance improvements (and fixes) found in more up-to-date distros. Gaming on Linux is a very fast moving target, the landscape is changing at a rapid pace thanks to the development efforts of Valve and the community. So for gaming, you’d generally want to be on the latest kernel+mesa+wine stack.

    Also, as you’ve experienced, on Mint you’d have to manually install things like Waydroid and other gaming software, which can be a PITA for newbies.

    So instead, I’d highly recommend a gaming-oriented distro such as Nobara or Bazzite. Personally, I’m a big fan of Bazzite - it has everything you’d need for gaming out-of-the-box, and you can even get a console/Steam Deck-like experience, if you install the -deck variant. Also, because it’s an immutable distro with atomic updates, it has a very low chance of breaking, and in the rare ocassion that an update has some issues - you can just select the previous image from the boot menu. So this would be pretty ideal for someone who’s new to Linux, likes to game, and just wants stuff to work.

    In saying that, getting games to run in Linux can be tricky sometimes, depending on the game. The general rule of thumb is: try running the game using Proton-GE, and if that fails, check Proton DB for any fixes/tweaks needed for that game - with this, you would never again have to spend hours on troubleshooting, unless you’re playing some niche game that no one has tested before.


  • As an actual M1+Asahi user and a gamer: Asahi is not there yet. Right now, if you’re on macOS, Crossover (or Porting Kit) and/or Parallels is able to run more games and with better performance compared to Asahi (using krun + FEX). Also, Steam on macOS (non-native) is much more peformant compared to Asahi, where it’s currently slow and glitchy.

    But that will all change in the future once the Vulkan driver and TSO patches are ready. FEX is also seeing a lot of improvements, so by the end of the year, there’s a good chance that gaming on Asahi would be much better than macOS.



  • This has nothing to do with Arch or Bazzite, it’s actually a bug in recent kernels. Switching to Mint only fixed it for you because Mint uses an old kernel.

    The fix/workaround is to enable “above 4G decoding” and “resizable BAR” in your BIOS. If your BIOS does not have these options, you can either downgrade to an earlier kernel (or OS image if you’re on Bazzite), or switch to a patched kernel like the Cachy kernel.


  • Is that all? Will that remove all the traces of arch?

    There will be some other minor dot files in your /home which you might want to review, like .bashrc, .bash_profile, .profile etc. These should be mostly harmless, but if you don’t recall customising them, then yeah free to nuke all the dot files. Also be aware that some programs also leave their configs outside the .config folder, like Firefox might have a .mozilla folder, GTK programs might create a .themes folder, vim has .vim. So you might want to review and delete these as well, if you want a clean config.

    As for the last step - just before you boot into your new distro, you might to get rid of the Arch/Endeavour entries from your ESP/UEFI. Run efibootmgr to see your current UEFI boot entries, then nuke the entries using efibootmgr --delete-bootnum -b #.

    And to get rid of the GRUB configs, delete your <ESP>/EFI/grub folder. I’m guessing your /boot is on your root partition? If not then you’ll also need to delete /boot/grub.

    Now when you install your next distro, you should get a nice and clean GRUB install.


  • 1. No
    2. You’ll need to delete your ~/.config, ~/.local, ~/.cache ( and maybe ~/.var, which is your Flatpak app data/cache). Might be best to rename your .config instead of outright deleting it, just in case you need to restore some old config.
    3. It’s been a while since I used Nobara, but IIRC it only creates the default @ and @home subvolumes.
    4,5. Nobara should have Timeshift installed by default.

    Honestly though, since you said that you want something that “just works” for gaming and coding, you should just get Bazzite. Bazzite is an immutable distro and everything is set up to work out-of-the-box. You never have to worry about broken updates again due to atomic updates and image rollbacks. You can directly boot from a previous image from GRUB (no need to restore it first), pin known good images to your GRUB, and even rollback to any previous image via the web (upto 90 days) - all with just a single command. And for coding, you can easily set up a Distrobox container to install all your tools and IDEs etc, it integrates well with the host OS so you won’t even notice/care that it’s inside a container.




  • d3Xt3r@lemmy.nzMtoLinux@lemmy.mlLinux 6.9 released
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 month ago

    Mine looks like this:

    UUID=blah /media/games ntfs3 uid=1000,gid=1000,umask=000,rw,user,exec,nofail,nocase,windows_names 0 0

    If you’re copy-pasting this, make sure your uid and gid matches of course.

    But the key thing for Steam is you need to have your compatdata folder on a Linux partition, because Proton creates folders with invalid characters (like :). windows_names would prevent that of course, and thus prevents corruption, but it would cause Proton to fail since if can’t create those folders/files. So you’ll need to symlink that folder on your NTFS disk to point to a folder on a Linux partition.

    Eg:

    $ mkdir -p ~/.steam/steam/steamapps/compatdata
    $ ln -s ~/.steam/steam/steamapps/compatdata /media/games/Steam/steamapps/ 
    

    Of course, before you run the above, you’ll need to delete the existing compatdata folder from the NTFS disk.



  • d3Xt3r@lemmy.nzMtoLinux@lemmy.mlTaking your ideas for my next linux app
    link
    fedilink
    arrow-up
    26
    arrow-down
    6
    ·
    edit-2
    1 month ago

    I’d like to see a simple, dependency-free, calculator app, written in Rust, using egui. All other GUI calculator apps I’ve seen so far are unnecessarily heavy, using bloated toolkits like GTK or Qt.

    This would be handy for those run a GTK/Qt-free environment, and/or those who just want a tiny calculator app (optimised for the smallest binary size) without any external dependencies. Preferably even compiled using musl, to remove any glibc dependencies - resulting in a simple, small, portable binary that can run on any distro and doesn’t even need to be installed.

    Eventually, I would like to see this idea expanded to other apps - such as a simple text editor, a simple image editor, and maybe even a simple and lightweight web browser using Servo.


  • d3Xt3r@lemmy.nzMtoLinux@lemmy.mlLinux 6.9 released
    link
    fedilink
    arrow-up
    15
    ·
    1 month ago

    ntfs3 has had several improvements in 6.2 and 6.8, and it’s been pretty stable for me of late. I use it to share/backup my Steam game library mainly + for my portable drives for general data storage/local backups, and haven’t had any issues.

    It’s not orphaned. There was a bit of lull after it was introduced in kernel 5.15, and yes it was a bit unstable in the 5.x series, but it’s been pretty good since 6.2 where they finally introduced the nocase and windows_names mount options. The performance improvements are worth it if you use NTFS heavily, so I would personally recommend switching.



  • d3Xt3r@lemmy.nzMtoLinux@lemmy.mlLaptop randomly playing media
    link
    fedilink
    arrow-up
    20
    ·
    edit-2
    1 month ago

    If it’s just Crunchyroll doing this, you can disable auto-play for it (or just disable it for all sites, IMO automatic playback of media is pretty annoying).

    Another alternative is to use Auto Tab Discard, which automatically suspends tabs which are inactive after x seconds. This also helps save memory and CPU usage, and also greatly benefits laptop users. So if you tend to leave your browser open and have dozens of tabs in the background, I’d highly recommend getting this.