inxi -GSaz --vs output:
Code: Select all
inxi 3.3.26-00 (2023-03-28)
System:
Kernel: 6.1.0-18-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-18-amd64
root=UUID=dc01939c-dada-4c11-aad9-719b3695de97 ro quiet splash
Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm
v: 4.18.0 vt: 7 dm: LightDM v: 1.26.0 Distro: Debian GNU/Linux 12 (bookworm)
Graphics:
Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: ASUSTeK driver: nouveau
v: kernel non-free: 530.xx+ status: current (as of 2023-03) arch: Pascal
code: GP10x process: TSMC 16nm built: 2016-21 pcie: gen: 1 speed: 2.5 GT/s
lanes: 16 link-max: gen: 3 speed: 8 GT/s ports: active: HDMI-A-1
empty: DP-1,DVI-D-1 bus-ID: 01:00.0 chip-ID: 10de:1c82 class-ID: 0300
temp: 52.0 C
Device-2: NVIDIA AD104 [GeForce RTX 4070] vendor: ASUSTeK driver: N/A
alternate: nouveau non-free: N/A status: unknown device ID pcie: gen: 3
speed: 8 GT/s lanes: 4 link-max: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 03:00.0 chip-ID: 10de:2786 class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver:
X: loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: nouveau
display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: HDMI-A-1 mapped: HDMI-1 model: Sceptre X405BV-FMQC
serial: <filter> built: 2016 res: 1920x1080 hz: 60 dpi: 55 gamma: 1.2
size: 880x490mm (34.65x19.29") modes: max: 1920x1080 min: 720x400
API: OpenGL v: 4.3 Mesa 22.3.6 renderer: NV137 direct-render: Yes
Here's what happens when I run
Code: Select all
sudo apt install nvidia-driver firmware-misc-nonfree
Code: Select all
Building for 6.1.0-18-amd64
Building initial module for 6.1.0-18-amd64
Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more informat
ion.
dpkg: error processing package nvidia-kernel-dkms (--configure):
installed nvidia-kernel-dkms package post-installation script subprocess return
ed error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver:
nvidia-driver depends on nvidia-kernel-dkms (= 525.147.05-4~deb12u1) | nvidia-k
ernel-525.147.05 | nvidia-open-kernel-525.147.05 | nvidia-open-kernel-525.147.05
; however:
Package nvidia-kernel-dkms is not configured yet.
Package nvidia-kernel-525.147.05 is not installed.
Package nvidia-kernel-dkms which provides nvidia-kernel-525.147.05 is not conf
igured yet.
Package nvidia-open-kernel-525.147.05 is not installed.
Package nvidia-open-kernel-525.147.05 is not installed.
dpkg: error processing package nvidia-driver (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.36-9+deb12u4) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-18-amd64
Processing triggers for update-glx (1.2.2) ...
Processing triggers for glx-alternative-nvidia (1.2.2) ...
update-alternatives: using /usr/lib/nvidia to provide /usr/lib/glx (glx) in auto
mode
Processing triggers for glx-alternative-mesa (1.2.2) ...
Processing triggers for libc-bin (2.36-9+deb12u4) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-18-amd64
Errors were encountered while processing:
nvidia-kernel-dkms
nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
sudo dpkg --configure nvidia-driver
dpkg: dependency problems prevent configuration of nvidia-driver:
nvidia-driver depends on nvidia-kernel-dkms (= 525.147.05-4~deb12u1) | nvidia-kernel-525.147.05 | nvidia-open-kernel-525.147.05 | nvidia-open-kernel-525.147.05; however:
Package nvidia-kernel-dkms is not configured yet.
Package nvidia-kernel-525.147.05 is not installed.
Package nvidia-kernel-dkms which provides nvidia-kernel-525.147.05 is not configured yet.
Package nvidia-open-kernel-525.147.05 is not installed.
Package nvidia-open-kernel-525.147.05 is not installed.
dpkg: error processing package nvidia-driver (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
nvidia-driver
Code: Select all
sudo dpkg --configure nvidia-driver
dpkg: dependency problems prevent configuration of nvidia-driver:
nvidia-driver depends on nvidia-kernel-dkms (= 525.147.05-4~deb12u1) | nvidia-kernel-525.147.05 | nvidia-open-kernel-525.147.05 | nvidia-open-kernel-525.147.05; however:
Package nvidia-kernel-dkms is not configured yet.
Package nvidia-kernel-525.147.05 is not installed.
Package nvidia-kernel-dkms which provides nvidia-kernel-525.147.05 is not configured yet.
Package nvidia-open-kernel-525.147.05 is not installed.
Package nvidia-open-kernel-525.147.05 is not installed.
dpkg: error processing package nvidia-driver (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
nvidia-driver
Code: Select all
sudo apt install nvidia-kernel-525.147.05 nvidia-open-kernel-525.147.05
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'nvidia-kernel-dkms' instead of 'nvidia-kernel-525.147.05'
Note, selecting 'nvidia-open-kernel-dkms' instead of 'nvidia-open-kernel-525.147.05'
nvidia-kernel-dkms is already the newest version (525.147.05-4~deb12u1).
nvidia-kernel-dkms set to manually installed.
The following NEW packages will be installed:
nvidia-open-kernel-dkms nvidia-open-kernel-support
0 upgraded, 2 newly installed, 0 to remove and 83 not upgraded.
2 not fully installed or removed.
Need to get 26.2 MB of archives.
After this operation, 173 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/contrib amd64 nvidia-open-kernel-support amd64 525.147.05-1~deb12u1 [9,964 B]
Get:2 http://deb.debian.org/debian bookworm/contrib amd64 nvidia-open-kernel-dkms amd64 525.147.05-1~deb12u1 [26.2 MB]
Fetched 26.2 MB in 3s (9,891 kB/s)
Selecting previously unselected package nvidia-open-kernel-support.
(Reading database ... 228767 files and directories currently installed.)
Preparing to unpack .../nvidia-open-kernel-support_525.147.05-1~deb12u1_amd64.deb ...
Unpacking nvidia-open-kernel-support (525.147.05-1~deb12u1) ...
Selecting previously unselected package nvidia-open-kernel-dkms.
Preparing to unpack .../nvidia-open-kernel-dkms_525.147.05-1~deb12u1_amd64.deb ...
Unpacking nvidia-open-kernel-dkms (525.147.05-1~deb12u1) ...
Setting up nvidia-kernel-dkms (525.147.05-4~deb12u1) ...
Removing old nvidia-current-525.147.05 DKMS files...
Deleting module nvidia-current-525.147.05 completely from the DKMS tree.
Loading new nvidia-current-525.147.05 DKMS files...
Building for 6.1.0-18-amd64
Building initial module for 6.1.0-18-amd64
Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more information.
dpkg: error processing package nvidia-kernel-dkms (--configure):
installed nvidia-kernel-dkms package post-installation script subprocess returned error exit status 10
Setting up nvidia-open-kernel-support (525.147.05-1~deb12u1) ...
Processing triggers for nvidia-alternative (525.147.05-4~deb12u1) ...
Setting up nvidia-open-kernel-dkms (525.147.05-1~deb12u1) ...
Loading new nvidia-current-open-525.147.05 DKMS files...
Building for 6.1.0-18-amd64
Building initial module for 6.1.0-18-amd64
Done.
nvidia-current-open.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.1.0-18-amd64/updates/dkms/
nvidia-current-open-modeset.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.1.0-18-amd64/updates/dkms/
nvidia-current-open-drm.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.1.0-18-amd64/updates/dkms/
nvidia-current-open-uvm.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.1.0-18-amd64/updates/dkms/
nvidia-current-open-peermem.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.1.0-18-amd64/updates/dkms/
depmod...
Setting up nvidia-driver (525.147.05-4~deb12u1) ...
Processing triggers for glx-alternative-nvidia (1.2.2) ...
Processing triggers for glx-alternative-mesa (1.2.2) ...
Processing triggers for update-glx (1.2.2) ...
Processing triggers for libc-bin (2.36-9+deb12u4) ...
Processing triggers for glx-alternative-nvidia (1.2.2) ...
Processing triggers for libc-bin (2.36-9+deb12u4) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-18-amd64
Errors were encountered while processing:
nvidia-kernel-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)