Edit: “Updating to the legacy 580xx drivers doesn’t show me a desktop anymore”, just in case someone else can stumble upon this by searching something similar.

Thanks to @[email protected] and @[email protected] I did try fixing it out of curiosity. I had forgotten to install linux-headers. Hopefully someone who actually has the same problem as me, and needs to fix it, can use the tips given in the comments. On my end, I just had to install linux-headers and one reboot later it worked.

Always check if you have all needed packages and don’t just “remember” that you had them installed.

  • Skullgrid@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 day ago

    Hey Look, it’s me! I am on nobara against my fucking will. I spent all saturday screaming.

    I’m going to refer the shit out of this thread in my news battle to get my goddamn debian OS back. DNF is scary and I can’t use signal.

    Here’s my notes (WARNING: THESE NOTES LEAD TO FAILURE) :

    
    - get verson info for KDE and NVIDIA drivers
    https://metadata.ftp-master.debian.org/changelogs//non-free-firmware/n/nvidia-graphics-drivers/nvidia-graphics-drivers_550.163.01-2_changelog
    https://packages.debian.org/trixie/nvidia-driver
    https://packages.debian.org/search?keywords=nvidia&searchon=names&suite=trixie&section=all
    https://stackoverflow.com/questions/17999695/debian-package-dependencies-installing-specific-version-not-the-latest
    
    
    added changes to /etc/apt/sources.list
    https://wiki.debian.org/NvidiaGraphicsDrivers?action=show&redirect=NVIDIA#Debian-13_notes
    
    2 - 16
    5 - 18
    8-17
    
    
    16 deb http://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware
    17 deb http://security.debian.org/debian-security/ trixie-security contrib non-free main non-free-firmware
    18 deb http://deb.debian.org/debian/ trixie-updates non-free-firmware non-free contrib main
    
    2 deb http://deb.debian.org/debian trixie main (contrib) non-free-firmware
    5 deb http://deb.debian.org/debian trixie-updates main non-free-firmware (non-free contrib)
    8 deb http://security.debian.org/debian-security/ trixie-security (contrib) main non-free-firmware
    
    
    added git to /etc
    
    ran
      git config --global --add safe.directory /etc
    because I was geting thsi eror :
      fatal: detected dubious ownership in repository at '/etc'
      To add an exception for this directory, call:
    
    installing drivers
      https://wiki.debian.org/NvidiaGraphicsDrivers?action=show&redirect=NVIDIA#Debian-13_notes
        apt install nvidia-kernel-dkms nvidia-driver
    
    
        WARNING: No kernel headers were found, skipping module build.
                 To get the headers for the running kernel (6.12.57+deb13-amd64)
                 please install the linux-headers-6.12.57+deb13-amd64 package.
       ran
            apt install linux-headers-generic
       to resolve
    
       I DID ACTUALL RUN THE FOLLOWING
       _____
       Post-installation steps for Trixie
    
        Optionally verify the result of the DKMS module compilation:
    
        # dkms status
    
        If you plan to use wayland (which is a default for both the Gnome and KDE Plasma desktops since Debian 12 "Bookworm") make sure to follow the Wayland Modesetting notes below.
    
            If gnome starts with X11, you may enable wayland support by enabling NVreg_PreserveVideoMemoryAllocations=1 as mentioned below.
    
            If you plan to use suspend/hibernate functionality under KDE desktop environment, you may want to add another option to avoid graphics "glitches" after wakeup/restore:
            Warning: skip this step if you have Optimus hybrid graphics
    
            # echo "options nvidia NVreg_PreserveVideoMemoryAllocations=1" >> /etc/modprobe.d/nvidia-options.conf
    
        In most cases a restart of the system is recommended to fully load the new driver. For wayland, check again if modeset is properly set, as described above.
    
        _____https://wiki.debian.org/NvidiaGraphicsDrivers?action=show&redirect=NVIDIA#Wayland_configuration and this wayland shit too
        _____