So, recently, I bought an nvme ssd to replace the very old ssd I have on my laptop. I don't know what the non-nvme is called. It shows as "sda" on the system. Anyway, doubled the storage. The new drive is an nvme WD black SN770. I have the same one running just fine on an optiplex dell mini running endeavourOS. Zero issues. I like to separate home and root partitions and have btrfs on root for snapshots. So, thinking it would behave the same on the laptop, I put the new drive in the laptop and did the same partitioning. Installed Fedora this time, since I like gnome on the laptop and plasma on desktop. Everything went fine. Laptop was responsive and all until I was done and closed the lid. Came back a while later to use it again, black screen and nothing revives it. No key combo or anything works except holding down the power button to shut it off. This kept happening every single time I closed and opened the lid after a while. Thought it might be the distro/DE. Removed fedora and slapped endeavourOS with plasma on it. Same shit happens now. Black screen every time I open the lid after a suspend. So, I decided fuck it, let me juse use ext4 since it happens on every distro. Removed btrfs and used ext4 on all partions, and now this issue never happens. Not even once. Is this a known issue with btrfs and nvmes? Do they not like each other? Just wanted to share this little dilemma I had to deal with the last couple of days.

  • saiarcot895@programming.dev
    ·
    1 year ago

    Can confirm that btrfs on nvme with sleep/suspend has been working fine for me on my Framework laptop (haven't tested hibernate, though).

    • donut4ever@lemm.ee
      hexagon
      ·
      1 year ago

      I think it starts acting up when there is nvidia in the mix. I don't think framework has nvidia, does it?

    • donut4ever@lemm.ee
      hexagon
      ·
      1 year ago

      It has been working flawlessly on my desktop. That one has all Intel, though. Also, now on ext4, I have zero issues and this laptop has Nvidia. So crazy.

  • 🧟‍♂️ Cadaver@lemmy.one
    ·
    1 year ago

    Do you have a swapfile >8 Gb ? that might be it.

    If not, BTRFS and resume kernel parameter tend to not work well. You might want a non btrfs swapfile. You can create a separate partition or a file.

    Arch and arch based distros tend not to handle hibernation without tweaks.

    • donut4ever@lemm.ee
      hexagon
      ·
      1 year ago

      I created a 16 GB swap partition and chose "swap" in the file type when partitioning

      • 🧟‍♂️ Cadaver@lemmy.one
        ·
        1 year ago

        Try to disable your swap. You don't need a 16Gb swap partition. If you really need to hibernate, try switching to a swapfile instead, but that can cause resume errors.

  • floofloof@lemmy.ca
    ·
    1 year ago

    I use btrfs and nvme on a Dell XPS 13 and I've had no issues, so it's not a universal problem.

  • RockyC@lemm.ee
    ·
    1 year ago

    This sounds suspiciously like a hardware issue to me. What model of computer is it and what model is the old SSD? You may need a firmware update on either the laptop or the SSD.

    • donut4ever@lemm.ee
      hexagon
      ·
      1 year ago

      I have a dell Inspiron 7573 2 in 1. 4k screen with hybrid graphics Intel/Nvidia mx130 My laptop doesn't support LVFM on Linux. So, for the SSD I had to get into Windows and update, but it doesn't matter since I've replaced it with this one. Bios is latest since I'm able to update through a thumb drive. It's the new nvme drive that doesn't like btrfs. It's working flawlessly now on ext4. Nvidia installed and all. Zero issue. I'll be missing out on snapshots, but oh well