this post was submitted on 11 Aug 2023
1 points (66.7% liked)

Debian operating system

2614 readers
1 users here now

Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. Debian provides more than a pure OS: it comes with over 59000 packages, precompiled software bundled up in a nice format for easy installation on your machine.

founded 4 years ago
MODERATORS
 

Running Bookworm, Plasma DE if that's relevant.

Background: I'm learning here. Decent amount of coding and embedded hardware experience but I'm 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't working. From what I read it appears there's 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'm not sure what modules need to be added and if they're 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've found lots of examples, just none specific to debian, and screwing around at this level I don't want to bork something enough I need to do a bare install.

Thanks for any help!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

for posterity: I don't 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't 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's 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'm 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.