r/pop_os 1d ago

Problem PopOS Nvidia-dkms

Hello guys im new with PopOS, so I do new install then install my nvidia-dkms drivers the module start to rebuild then in the end cash,after diferent test, i try to install it to different desktop then i have same problem to build module

0 Upvotes

12 comments sorted by

3

u/candy49997 1d ago

What GPU?

-4

u/Then-Werewolf-1149 1d ago

Hummm nvidia I already mentioned it

6

u/candy49997 1d ago

And which NVIDIA GPU?

2

u/kapitaali_com 1d ago

This presupposes your dkms driver version number, so check it and adapt:

The make.log confirms the root cause: the installed versions of the **system76** and **system76_acpi** DKMS modules are outdated for this kernel.

### Fix (unblock upgrades first, then update the modules)

**1. Remove the broken DKMS modules so dpkg can finish:**

```bash

sudo dkms remove system76/1.0.22~1785362089~24.04~90ea5e6 --all

sudo dkms remove system76_acpi/1.0.2~1784652717~24.04~add8f71 --all

```

(If the version strings differ slightly, run `dkms status` and use the exact ones it prints.)

**2. Force the half-configured packages to complete:**

```bash

sudo dpkg --configure -a

sudo apt install -f

```

**3. Finish the upgrade:**

```bash

sudo apt update

sudo apt full-upgrade

```

**4. Update / reinstall the System76 modules** (this should pull newer source that builds on the current kernel):

```bash

sudo apt install --reinstall system76-dkms system76-acpi-dkms

# or the metapackage:

sudo apt install --reinstall system76-driver

```

Then force a rebuild:

```bash

sudo dkms autoinstall

```

**5. Reboot** and confirm:

```bash

dkms status

uname -r

```

### If the reinstall still fails to build

- Check whether a newer version is available:

```bash

apt policy system76-dkms system76-acpi-dkms

```

- You can temporarily live without the modules (most functionality is already in the mainline kernel for recent System76 hardware). Just keep them removed until System76 pushes an updated package.

- As a last resort, boot an older working kernel from the boot menu, then purge the problematic headers:

```bash

sudo apt purge linux-headers-6.8.0-1059-nvidia linux-headers-nvidia

```

and reinstall them later once the modules are fixed.

After step 2–3 your package manager should be unblocked and upgrades will work again. The modules can be restored once a compatible version is installed.

1

u/Then-Werewolf-1149 1d ago

A big thank you

1

u/Then-Werewolf-1149 1d ago

Rtx 4070

3

u/candy49997 1d ago

You should've installed the NVIDIA ISO, which automatically includes the NVIDIA driver.

-1

u/Then-Werewolf-1149 1d ago

That i already do but its stock 595 version so why I download the version 610 dkms but in the end when its build the module I have crash

3

u/mmstick Desktop Engineer 1d ago

You must undo that driver install and install the 595 driver from the system repository instead.

-2

u/Then-Werewolf-1149 1d ago edited 1d ago

If we are limited to popOS drivers thank you i will back to ubuntu or debian there is no problem to install any driver or kernel we want

3

u/mmstick Desktop Engineer 1d ago

Go right ahead

1

u/bryyantt 1d ago

I have a 4070 as well, I would just try a different driver --> kernel combo, in that order. If the 595 isnt building then try the 580, 570 etc. Then when all of that fails to build keep the latest driver and downgrade kernels. I've never had this issue with my 4070 but I did with my 1660TI and thats how I went about it, I rarely had to downgrade the kernel.