[go: up one dir, main page]

Running Bookworm, Plasma DE if that鈥檚 relevant.

Background: I鈥檓 learning here. Decent amount of coding and embedded hardware experience but I鈥檓 usually missing one or two key concepts with this stuff.

Getting a box running, and wrestling with NVIDIA drivers. I successfully installed the driver (I think), but now lightdm isn鈥檛 working. From what I read it appears there鈥檚 a common issue around a race condition where lightdm tries to fire up before the drivers ready, so I need to add the nvidia driver to initramfs.

Can anyone give me some pointers? Specifically while I get the above:

  1. I鈥檓 not sure what modules need to be added and if they鈥檙e named something specific for debian vs other distros
  2. The correct file to modify
  3. The correct format/syntax that needs to be added

I鈥檝e found lots of examples, just none specific to debian, and screwing around at this level I don鈥檛 want to bork something enough I need to do a bare install.

Thanks for any help!

  • targetx@programming.dev
    link
    fedilink
    arrow-up
    1
    3 years ago

    It would be useful to get some more info.

    1. how did you install the drivers?

    2. what do you mean by lightdm doesn鈥檛 work?

    3. can you get some logs from a terminal? Like journalctl -xe? If your gui isnt coming up you could get these from tty1 by using ctrl+alt+f1.

    I haven鈥檛 used nvidia in a long time but use debian daily. I鈥檇 expect if you installed the drivers using a supported method it would do stuff like initramfs etc automatically if required.

    I鈥檓 sure you already found this but just in case here is the official documentation; https://wiki.debian.org/NvidiaGraphicsDrivers

  • batmaniam@lemmy.worldOP
    link
    fedilink
    arrow-up
    1
    edit-2
    3 years ago

    for posterity: I don鈥檛 think that was it (although it does seem to be a common issue especially when you have an SSD). I never did try initramfs modification (not correctly anyway, I don鈥檛 think).

    Problem was resolved by purging nvidia, and installing the driver manually. There also appears to be an issue with the secure boot signature, so for the time being I addressed it by disabling secure boot. Another day鈥檚 problem. edit: so it was likely never a race condition issue, it was likely secure boot rejecting the keys. It should be easily resolvable, even if I need to purge again, reinstall, and put the key in the proper place, but I鈥檓 ok for now given whats on this machine, what it has access to, and other shit I have to do.

    edit: I forgot, I confirmed that the system is, infact properly utelizing the driver to get the most out of the card.