• obnomus@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    21 hours ago

    Yeah but when you buy a gaming laptop like I didn’t know anything about that, and when I moved away from I learned a lot of things. Now I have a laptop with only one gpu and which is RTX 3050 and no igpu and guess what sleep doesn’t work. I haven’t tried nvidia-open but I’ll give it a try because a comment reminded me of that.

    • 1984@lemmy.today
      link
      fedilink
      arrow-up
      1
      ·
      21 hours ago

      Yeah I understand. It really is Nvidia holding Linux back and still the usage is growing every year, so not bad. It would be nice if the most popular graphics card maker could make drivers that work well with Linux but even people who worked on the drivers are admitting they are hell to work with.

      • obnomus@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        17 hours ago

        Ok so turns out for my issue there is a fix and I tried it and it worked and I can’t believe it.

        All I have to do is create this /etc/modprobe.d/99-nvidia-power.conf, add this to it

        options nvidia NVreg_PreserveVideoMemoryAllocations=1

        options nvidia NVreg_TemporaryFilePath=/var/tmp

        options nvidia NVreg_EnableS0ixPowerManagement=1

        options nvidia-drm modeset=1 fbdev=1

        and run sudo dracut --rebuild and reboot.

        • 1984@lemmy.today
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          13 hours ago

          Ah I actually remember that fix!

          I used the same one a couple of years ago when I was on Nvidia. Cool to see it still does it’s job, but sad that it’s still needed.