[–] 2 points 2 months ago (2 children)

You are 100% right about thr wiki, and it doesnt help that there's an unofficial wiki that pops up in search results too. And the wiki it especially out of date and confusing for nvidia. Its a known problem, and a bunch of "high level" contributers complain about it in discorse threads all the time.

You linked "nixos-hardware" repo, so you've obviously done your homework. If youre not importing that as a flake, and importing the "common-gpu-nvidia" (or whatever the module is actually exposed as, thats just the pathing) modules, and instead grabbing the values manually, then you also need to grab the ones from here: https://github.com/NixOS/nixos-hardware/blob/master/common/gpu/nvidia/default.nix

Your gpu is too old to be includes in the cuttoff that nvidia did when starting to open source their drivers, but i wouldn't say its too old to be usable or anything.

The wiki is out of date when they say power Management is experimental and unstable, I recommend setting that to true.

I think the main problem is using nouveau drivers, and setting the option provided in the link above should switch that to their closed source drivers. If you make that change, definitely do a rebuild boot instead of switch, and then reboot into the new Gen.

Its so annoying thag theres open (nouveau), open (nvidia - but only newer gpus), and closed (nvidia). There's been a lot of talk about making major changes to the nixos nvidia configuration settings, but there's a lot of conflicting ideas about how to improve them so it hasn't made much progress.

And apologizes for any weird formatting, especially around option names, on my phone.

  • source
  • parent
  • context
  • [–] 2 points 2 months ago (2 children)

    its definately not hibernation as I could set it to that instead of sleep but there is only one sleep option. I could see this as the way the os kinda works everything is its own thing so I could see the power management sleep being different than the click a button and sleep.

  • source
  • parent
  • context
  • [–] [S] 2 points 2 months ago* (last edited 2 months ago) (3 children)

    The Nixos Wiki is often annoyingly confusing and/or out of date. I built my config based on the wiki but options are introduced in different sections and it isn't clear which ones are supposed to be used together. Maybe I'll bother the wiki maintainers on Matrix.

    I'm not "intentionally" using either driver version, so I'm happy to switch!

    https://github.com/NixOS/nixos-hardware/blob/master/common/gpu/nvidia/pascal/default.nix

    Only lists two option lines. Trying that now.

      # The open source driver does not support Pascal GPUs.
      hardware.nvidia.open = false;
      hardware.nvidia.package = lib.mkDefault config.boot.kernelPackages.nvidiaPackages.legacy_580;
    

    Well this is confusing. I added it set to true because sometimes the system doesn't respond to input when it's suspended and I need to reboot. Wonder if it's contributing. I'll leave it on for now, and turn it off once I've tried the two liner above for a few days.

    Graphical corruption and system crashes on suspend/resume powerManagement.enable = true can sometimes fix this, but is itself unstable and is known to cause suspend issues. hardware.nvidia.powerManagement.enable = true can also sometimes fix this issue; it is false by default.

    I'm running an Nvidia GTX 1070 (10th gen, Pascal) and I hadn't remembered my system being that old! I don't remember when I bought it, and I guess it's too late to do anything about it now. Though maybe I can still get a previous-gen AMD card at a not too-outrageous price and have a big upgrade.

    From lspci:

    [nix-shell:~]$ sudo lshw -c video
    [sudo] password for clay: 
      *-display                 
           product: nouveaudrmfb
           physical id: 0
           bus info: pci@0000:01:00.0
           logical name: /dev/fb0
           version: a1
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress bus_master cap_list rom fb
           configuration: depth=32 driver=nouveau latency=0 resolution=3840,1600
           resources: irq:138 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff
    
  • source
  • parent
  • context
  • [–] 5 points 2 months ago (1 child)

    I think I've seen other nvidia users have this issue, and it turned out to be a problem with the driver not preserving font bitmaps. Does the corruption go away or change if you zoom in/out (i.e. change the font size)?

  • source
  • [–] 3 points 2 months ago (4 children)

    Also are you intentionally using "novaveu" instead of their "open" version? If so, not "judgement" or anything, just wanting to confirm. Also what gen nvidia gpu? Alot of the settings have different defaults depending on whether your over or under a certain gen.

  • source
  • parent
  • context
  • [–] 6 points 2 months ago (5 children)

    I wouldn't jump to your gpu going bad. There's been quite a few issues in the past with nvidia + sleep + power management.

    I would recommend trying to comment out those values you shared, the generally recommendation is to use to the defaults when it comes to nvidia, unless youre positive you need to override them for some reason you feel very confident about.

    A lot of them aren't named clearly and dont always do what you expect, at least from what ive read and from my personal experience.

    It also completes things a bit because gnome and kde like to automatically decide what gpu to use for what, its a little opaque, and sometimes causes issues.

  • source
  • [–] 2 points 2 months ago

    no. either you have to use the CLI or the browser extension. If you use qutebrowser there's a script that will tie into the bitwarden-cli and that would autofill for you. if you have multiple logins for something then it just opens dmenu or rofi or whatever you use and you can select your login from there.

  • source
  • parent
  • context
  • [–] 2 points 2 months ago (2 children)

    If it's in the Arch or CachyOS repos, it should be perfectly fine. The Arch packages are maintained by trusted devs, and unless the CachyOS team has been backdooring all their optimized builds this entire time with nobody noticing, they seem to be trustworthy, too.

    Generally, if you can get it via pacman, you shouldn't have to worry.

    That said, it sounds like you would want password autofill and easy adding. For that, don't bother with the desktop app and just use the extension in your browser of choice. There's no autofill via the desktop app.

  • source
  • view more: ‹ prev next ›