• 3 Posts
  • 24 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle







  • Thanks for the links! I updated my config from z3fold to zsmalloc and adjusted the vm.page-cluster to test these out.

    Reading a bit more, I think when using large max_pool_percent (>30) with Zswap the two solutions are more similar than not. A crucial difference is what use-case is more acceptable since Zswap can cause unresponsiveness (and potential lockup) under high memory pressure. While Zram could result in an OOM crash in a similar worst-case scenario.






  • bazsy@lemmy.worldtoLinux@lemmy.mlAMD GPUs are cursed for me
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 months ago

    Most distros use systemd and its logging solution: journald. You can use journalctl to read the logs around the time of the crash for e.g.:

    • journalctl -S -5m this shows the last 5 minutes. Use this when a game crashes but the system continues working and did not reboot.
    • journalctl -b -1 -S -10m this shows the last 10 minutes from the previous boot. Use this if the crash froze the whole system and rebooted.

    Look for red lines (errors) and what wrote them. AMD GPU faults usually have the ‘amdgpu’ mentioned, memory errors could appear as ‘protection fault’.



  • bazsy@lemmy.worldtoAndroid@lemmy.worldAndroid Tablets
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 months ago

    With the currently available Android tablets the software really limits its uses. Many of the higher quality product focus too much on productivity without success. But this creeps up the prices so much that makes them hard to justify for entertainment.

    I think there are only a few use cases where tablets shine:

    • A small (and cheap) reader that’s a comfortable in one hand with a decent screen resolution. It works great as a big phone to enjoy reading comics, books, websites or browsing social media. The Tab S6 Lite 2022 is a solid 10" option and chinese brands offer 8" tabs like the Doogee T20 Mini. You won’t get long software support but the price makes it somewhat acceptable.
    • An Oled multimedia screen. These are great for all kinds of videos, movies and series. There are just a few options like the P11 Pro Gen2 that are affordable.

    Longer software support is only available from just Samsung or Google and I can’t justify the prices of those if a laptop can replace it. Here a Pixel Tablet or a Tab S9 costs the same as 13" laptop with oled screen (Zenbook S 13) with “unlimited” software support.

    I do own a T20 Mini and an old ThinkPad and I really like reading on the Android tablet even with the slow SoC and medicore screen, but bring a real laptop along for longer trips.



  • bazsy@lemmy.worldtoLinux@lemmy.mlHelp on BTRFS setup
    link
    fedilink
    English
    arrow-up
    6
    ·
    11 months ago

    Do I need to disable compression on my swap subvolume?

    Short: No

    Long: it doesn’t matter when mounting multiple subvolumes of the same btrfs partition the options from the first one (usually /) will apply to all. So even if you disable it, that will be ignored.

    The old way of creating swap shows the chattr +C line which disables CoW. The same method should work for your Downloads folder since CoW is needed for snapshotting.







  • Filesystem permissions

    For many apps it is not an issue and provides additional security but in other cases it’s very annoying and not trivial to fix.

    Example1: opening a .docx from Thunderbird flatpak with OnlyOffice flatpak does not work out of the box.

    Example2: mpv and VLC flatpaks work well for local files, but fail to open network shares from Dolphin.

    I think a possible solution would be runtime permission dialogs when denied access.