• Skullgrid@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 day ago

    I ran dpkg --get-selections to get all my installed packages and here’s the installed Nvidia stuff. Try to install what’s missing.

    If you can’t even get to command line, try to backup your data to an external source by using a live USB, and replace your debian with Pika OS, which has all the Nvidia stuff out the gate.

    nvidia-alternative                              
    nvidia-driver                                   
    nvidia-driver-bin                               
    nvidia-driver-libs:amd64                        
    nvidia-driver-libs:i386                         
    nvidia-egl-common                               
    nvidia-egl-icd:amd64                            
    nvidia-egl-icd:i386                             
    nvidia-installer-cleanup                        
    nvidia-kernel-common                            
    nvidia-kernel-dkms                              
    nvidia-kernel-support                           
    nvidia-legacy-check                             
    nvidia-modprobe                                 
    nvidia-persistenced                             
    nvidia-settings                                 
    nvidia-smi                                      
    nvidia-support                                  
    nvidia-suspend-common                           
    nvidia-vdpau-driver:amd64                       
    nvidia-vulkan-common                            
    nvidia-vulkan-icd:amd64                         
    nvidia-vulkan-icd:i386                          
    

    EDIT : from apt list --installed

    libnvidia-allocator1/stable,now 550.163.01-2 amd64 [installed,automatic]
    libnvidia-allocator1/stable,now 550.163.01-2 i386 [installed,automatic]
    libnvidia-cfg1/stable,now 550.163.01-2 amd64 [installed,automatic]
    libnvidia-egl-gbm1/stable,now 1.1.2.1-1 amd64 [installed,automatic]
    libnvidia-egl-gbm1/stable,now 1.1.2.1-1 i386 [installed,automatic]
    libnvidia-egl-wayland1/stable,stable,now 1:1.1.18-1 amd64 [installed,automatic]
    libnvidia-egl-wayland1/stable,stable,now 1:1.1.18-1 i386 [installed,automatic]
    libnvidia-eglcore/stable,now 550.163.01-2 amd64 [installed,automatic]
    libnvidia-eglcore/stable,now 550.163.01-2 i386 [installed,automatic]
    libnvidia-encode1/stable,now 550.163.01-2 amd64 [installed,automatic]
    libnvidia-encode1/stable,now 550.163.01-2 i386 [installed,automatic]
    libnvidia-glcore/stable,now 550.163.01-2 amd64 [installed,automatic]
    libnvidia-glcore/stable,now 550.163.01-2 i386 [installed,automatic]
    libnvidia-glvkspirv/stable,now 550.163.01-2 amd64 [installed,automatic]
    libnvidia-glvkspirv/stable,now 550.163.01-2 i386 [installed,automatic]
    libnvidia-gpucomp/stable,now 550.163.01-2 amd64 [installed,automatic]
    libnvidia-gpucomp/stable,now 550.163.01-2 i386 [installed,automatic]
    libnvidia-ml1/stable,now 550.163.01-2 amd64 [installed,automatic]
    libnvidia-pkcs11-openssl3/stable,now 550.163.01-2 amd64 [installed,automatic]
    libnvidia-ptxjitcompiler1/stable,now 550.163.01-2 amd64 [installed,automatic]
    libnvidia-ptxjitcompiler1/stable,now 550.163.01-2 i386 [installed,automatic]
    libnvidia-rtcore/stable,now 550.163.01-2 amd64 [installed,automatic]
    
    • Hadriscus@jlai.lu
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      24 hours ago

      Thanks a bunch for the advice but I can’t start my system. That’s regardless of the distro I try and install (I already overwrote Trixie with Bazzite… and now with Nobara). I followed this tutorial :https://fostips.com/install-nvidia-driver-in-debian-13/?amp=1

      I explain the situation over here in more detail if by any chance this rings a bell with you :

      https://forums.debian.net/viewtopic.php?t=164124

      Cheers, appreciate the advice

      • Skullgrid@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        24 hours ago

        you done fucked up the secure boot settings I think. I am in no way qualified to help you.

        I don’t even understand how you can install a different OS. Work off a live USB if you even can.

        As far as I understand this is the bit you fucked up. btw, the images in the debian forum post just show “filename1.jpg” as text and don’t display. post on !/c/[email protected]

        Step 2: Enroll MOK key for Secure Boot
        
        Debian updates its kernel (minor versions) regularly for security updates and fixes. Without re-building kernel modules every time, DKMS is used, which however needs be signed for secure boot using a machine owner key (MOK).
        
        1. First, run the command below to check if Debian was installed with UEFI boot by running the command below in terminal:
        
        ls /sys/firmware/efi
        
        The command tells to list the /sys/firmware/efi directory content. If it says “No such file or directory”, then you have Debian installed as legacy boot.
        
        2. Next, run command to check if secure boot enabled:
        
        sudo mokutil --sb-state
        
        If both UEFI and secure boot enabled (as the screenshot below shows you), then you need to run commands below one by one to create and enroll MOK key.
        
        3. First, run the command below to manually generate a mok key.
        
        sudo dkms generate_mok
        
        Run sudo apt install dkms if the dkms command not found, and set a password for the key.
        
        4. Next, run command to import the key:
        
        sudo mokutil --import /var/lib/dkms/mok.pub
        
        5. Finally, reboot your computer. At next boot, it should pop-up a screen (see the screenshot below), asking to perform MOK menagement.
        
        There, just choose to Enroll MOK -> continue -> confirm -> enter password (you set when creating the key) -> reboot.
        
        After enabled non-free repository and enrolled MOK key, you may then run the commands below to install NVIDIA driver.
        
        First, install the kernel headers for DKMS:
        
        sudo apt install linux-headers-$(dpkg --print-architecture)
        
      • dondelelcaro@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        24 hours ago

        Can’t see the images in the forum, but is the kernel actually starting? (Does it get past grub? Does it get to grub?)

        From your forum post it sounds like you’re seeing a secure boot issue, which may require changing some bios settings. (Installing the non free driver definitely breaks secure boot.)

          • dondelelcaro@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            22 hours ago

            Yep, definitely secure boot. For now, you may be able to disable secure boot on your workstation or boot off of the install media and run the commands to enroll the mok key that you were given in another thread.

            • Hadriscus@jlai.lu
              link
              fedilink
              arrow-up
              1
              ·
              40 minutes ago

              Thank you so much, that was it. I mean, I disabled secureboot, so now I can boot into either Bazzite or Windows, but this whole MOK key business? I’d love to know if I should try and correct it right now because it’ll come to bite me in the ass later if I don’t? What would you say?

              Thanks again