Issue with nvidia-legacy-390xx-driver 390.157-11~mx23ahs.  [Solved]

For developer discussion on package requests
Message
Author
User avatar
oops
Posts: 1996
Joined: Tue Apr 10, 2018 5:07 pm

Issue with nvidia-legacy-390xx-driver 390.157-11~mx23ahs.

#1 Post by oops »

Issue with nvidia-legacy-390xx-driver 390.157-11~mx23ahs.
The nvidia-legacy-390xx-driver 390.157-11~mx23ahs works with kernel 6.1.xx amd64 , but not for kernel 6.12.xx amd64.
I guess a patch is needed for kernel 6.12.xx ?

seen here:
https://bbs.archlinux.org/viewtopic.php?id=301252
https://aur.archlinux.org/packages/nvid ... ent-999674
nvidia-390xx-dkms 390.157-15

or nvidia-390xx-dkms 390.157-12
https://packages.debian.org/sid/nvidia- ... 0xx-driver
Building the kernel module has been tested up to Linux 6.14.
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils MX Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19-23_x64 & antiX23_x32 runit

User avatar
Stevo
Developer
Posts: 14747
Joined: Fri Dec 15, 2006 7:07 pm

Re: Issue with nvidia-legacy-390xx-driver 390.157-11~mx23ahs.

#2 Post by Stevo »

Just fixed in Sid yesterday, will port to AHS.

Code: Select all

nvidia-graphics-drivers-legacy-390xx (390.157-12) unstable; urgency=medium

  * Backport drm_driver_has_date changes from 570.124.04 to fix kernel module
    build for Linux 6.14.
  * Backport file_operations_fop_unsigned_offset_present changes from
    535.230.02.
  * Bump Standards-Version to 4.7.2. No changes needed.

 -- Andreas Beckmann <anbe@debian.org>  Sat, 29 Mar 2025 09:53:19 +0100
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

User avatar
Stevo
Developer
Posts: 14747
Joined: Fri Dec 15, 2006 7:07 pm

Re: Issue with nvidia-legacy-390xx-driver 390.157-11~mx23ahs.  [Solved]

#3 Post by Stevo »

Apparently, this patched driver will not build against 6.1 kernels, which our KDE edition installs along with AHS, so that's an problem. :frown: I don't know how much systems with older hardware like that really need AHS, to be honest. :confused: I can build it with

Code: Select all

DEB_BUILD_OPTIONS="nocheck"
so it doesn't do a test build against the stock distribution kernel's header, but that doesn't solve that stock kernel issue. Maybe we can stick it in ahs-staging for now.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

User avatar
oops
Posts: 1996
Joined: Tue Apr 10, 2018 5:07 pm

Re: Issue with nvidia-legacy-390xx-driver 390.157-11~mx23ahs.

#4 Post by oops »

... Thank you for these information Stevo.
I will do a test too to see.
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils MX Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19-23_x64 & antiX23_x32 runit

User avatar
oops
Posts: 1996
Joined: Tue Apr 10, 2018 5:07 pm

Re: Issue with nvidia-legacy-390xx-driver 390.157-11~mx23ahs.

#5 Post by oops »

For info:
Nice, now the kernel 6.1.xx (6.1.0-32) and 6.12.xx are both OK here, with the nvidia 390.157-12~mx23ahs
TKS Stevo
I will try some other kernel versions until 6.14.xx later.

Code: Select all

$ apt policy nvidia-legacy-390xx-driver
nvidia-legacy-390xx-driver:
  Installé : 390.157-12~mx23ahs
  Candidat : 390.157-12~mx23ahs
 Table de version :
 *** 390.157-12~mx23ahs 500
        500 http://mxrepo.com/mx/repo bookworm/ahs-staging amd64 Packages
        100 /var/lib/dpkg/status
     390.157-11~mx23ahs 500
        500 http://mxrepo.com/mx/repo bookworm/ahs amd64 Packages
     390.157-3~mx23ahs 500
        500 http://mxrepo.com/mx/repo bookworm/non-free amd64 Packages
        
 $ nvidia-smi 

Code: Select all

Snapshot created on: 20231206_1323
System:
  Kernel: 6.12.21-amd64-generic-x86-64 arch: x86_64 bits: 64 compiler: gcc
    v: 12.2.0 clocksource: tsc avail: hpet,acpi_pm parameters: root=UUID=<filter>
    ro lang=fr_FR kbd=fr,us kbvar=oss tz=Europe/Paris ipv6.disable=1
    selinux=0 apparmor=0 zswap.enabled=1 zswap.compressor=zstd
    zswap.max_pool_percent=25 zswap.zpool=zsmalloc quiet
    initrd=boot\initrd.img-6.12.21-amd64-generic-x86-64
  Desktop: IceWM v: 3.7.3 tools: xautolock avail: i3lock,xfce4-screensaver
    vt: 7 dm: LightDM v: 1.32.0 Distro: MX-TOF-23_x64 Libretto décembre 06 2023
    base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Desktop Mobo: MSI model: B75MA-E33 (MS-7808) v: 1.0
    serial: <superuser required> uuid: <superuser required>
    UEFI: American Megatrends v: 1.7 date: 09/30/2013
CPU:
  Info: model: Intel Core i5-2320 bits: 64 type: MCP arch: Sandy Bridge
    gen: core 2 level: v2 built: 2010-12 process: Intel 32nm family: 6
    model-id: 0x2A (42) stepping: 7 microcode: 0x2F
  Topology: cpus: 1x dies: 1 clusters: 4 cores: 4 smt: <unsupported> cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 1600 min/max: 1600/3300 scaling: driver: intel_cpufreq
    governor: ondemand cores: 1: 1600 2: 1600 3: 1600 4: 1600 bogomips: 23954
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nvidia v: 390.157
    non-free: 550/565.xx+ status: current (as of 2025-01; EOL~2026-12-xx)
    arch: Pascal code: GP10x process: TSMC 16nm built: 2016-2021 pcie: gen: 1
    speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:1c82
    class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa alternate: nv gpu: nvidia
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1280x1024 s-dpi: 85 s-size: 382x302mm (15.04x11.89")
    s-diag: 487mm (19.17")
  Monitor-1: VGA-0 res: mode: 1280x1024 hz: 60 scale: 100% (1) dpi: 86
    size: 376x301mm (14.8x11.85") diag: 482mm (18.96") modes: N/A
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 egl: 1.4 drv: nvidia
    device: 2 drv: swrast gbm: drv: kms_swrast surfaceless: drv: swrast x11:
    egl: 1.4 drv: nvidia inactive: wayland,device-1
  API: OpenGL v: 4.6.0 vendor: nvidia v: 390.157 glx-v: 1.4
    direct-render: yes renderer: GeForce GTX 1050 Ti/PCIe/SSE2 memory: 3.91 GiB
  API: Vulkan v: 1.4.304 layers: 4 device: 0 type: cpu name: llvmpipe (LLVM
    15.0.6 256 bits) driver: mesa llvmpipe v: 24.2.8-1mx23ahs (LLVM 15.0.6)
    device-ID: 10005:0000 surfaces: xcb,xlib
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: xfce4-display-settings gpu: nvidia-settings,nvidia-smi x11: xdriinfo,
    xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio
    vendor: Micro-Star MSI 7 driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:1e20 class-ID: 0403
  Device-2: NVIDIA GF116 High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:0bee class-ID: 0403
  API: ALSA v: k6.12.21-amd64-generic-x86-64 status: kernel-api with: apulse
    type: pulse-emulator tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.4.1 status: off with: 1: pipewire-pulse
    status: off 2: wireplumber status: off 3: pw-jack type: plugin
    tools: pw-cat,pw-cli,wpctl
  Server-2: PulseAudio v: 16.1 status: active
    tools: pacat,pactl,pamixer,pavucontrol
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI RTL8111/8168/8411 driver: r8169 v: kernel pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager,smbd
Drives:
  Local Storage: total: 1.82 TiB used: 38.63 GiB (2.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: HDWD120 size: 1.82 TiB
    block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s tech: HDD
    rpm: 7200 serial: <filter> fw-rev: ACF0 scheme: GPT
Partition:
  ID-1: / raw-size: 29.3 GiB size: 28.67 GiB (97.86%) used: 11.58 GiB (40.4%)
    fs: ext4 dev: /dev/sda9 maj-min: 8:9
  ID-2: /home raw-size: 97.66 GiB size: 95.56 GiB (97.86%)
    used: 27.05 GiB (28.3%) fs: ext4 dev: /dev/sda10 maj-min: 8:10
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 25%
  ID-1: swap-1 type: partition size: 7.81 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda6 maj-min: 8:6
Sensors:
  System Temperatures: cpu: 38.0 C mobo: N/A gpu: nvidia temp: 37 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 20%
Repos:
  Packages: pm: dpkg pkgs: 3191 libs: 1597 tools: apt, apt-get, aptitude,
    nala, synaptic pm: rpm pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  No active apt repos in: /etc/apt/sources.list.d/extended-lts.list
  No active apt repos in: /etc/apt/sources.list.d/mozilla.list
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://mxrepo.com/mx/repo/ bookworm main non-free
    2: deb http://mxrepo.com/mx/repo/ bookworm ahs
    3: deb http://mxrepo.com/mx/repo/ bookworm ahs-staging
  Active apt repos in: /etc/apt/sources.list.d/mxpitemp.list
    1: deb http://mxrepo.com/mx/testrepo bookworm test
Info:
  Memory: total: 12 GiB available: 11.62 GiB used: 1.27 GiB (10.9%)
  Processes: 235 Power: uptime: 4m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 4.59 GiB services: upowerd,xfce4-power-manager
    Init: SysVinit v: 3.14 runlevel: 5 default: graphical tool: systemctl
  Compilers: gcc: 12.2.0 Shell: quick-system-in default: Bash v: 5.2.15
    running-in: quick-system-in inxi: 3.3.37
Boot Mode: UEFI
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils MX Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19-23_x64 & antiX23_x32 runit

User avatar
Stevo
Developer
Posts: 14747
Joined: Fri Dec 15, 2006 7:07 pm

Re: Issue with nvidia-legacy-390xx-driver 390.157-11~mx23ahs.

#6 Post by Stevo »

I've sent up the first 6.14 Liquorix kernel, and fixed nvidia 535, 525 and 470 Tesla, and fixed zfs-dkms 2.31 packages. I've confirmed that building against the 6.1 kernel works in reality, just not in the test build that the packaging process does, unless I pass DEB_BUILD_OPTIONS="nocheck" to have it skip that.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

User avatar
Michael-IDA
Posts: 367
Joined: Sat Jan 12, 2019 8:00 pm

Re: Issue with nvidia-legacy-390xx-driver 390.157-11~mx23ahs.

#7 Post by Michael-IDA »

@Stevo,

I admit I'm not much on graphics, but if I understand the above, if we have a 6.1 kernel we should rebuild our nvidia drivers?

If so, what's the proper way to do that?

Thanks,
Michael
NIH Cancer Study: The group supplemented with both vitamins and fenbendazole exhibited significant (P = 0.009) inhibition of tumor growth.
The day Microsoft makes a product that doesn't suck...
... is the day they make a vacuum cleaner.

User avatar
oops
Posts: 1996
Joined: Tue Apr 10, 2018 5:07 pm

Re: Issue with nvidia-legacy-390xx-driver 390.157-11~mx23ahs.

#8 Post by oops »

Stevo wrote: Thu Apr 03, 2025 10:03 pm I've sent up the first 6.14 Liquorix kernel, and fixed nvidia 535, 525 and 470 Tesla, and fixed zfs-dkms 2.31 packages. I've confirmed that building against the 6.1 kernel works in reality, just not in the test build that the packaging process does, unless I pass DEB_BUILD_OPTIONS="nocheck" to have it skip that.
The in v-12 change from debian is a nice improvement for signed or unsigned kernels up to 6.14.xx ... (* Backport file_operations_fop_unsigned_offset_present changes from 535.230.02.)
Thanks for the effort Stevo.
And I will try the 6.14 Liquorix kernel too.

Edit:
I would like to be able to compile this latest nvidia driver by myself (nvidia-legacy-390xx-driver 390.157-12~mx19ahs) for MX19amd64 too, what is your method to do that? (if it is not too complicated to do) ... or maybe from Debian sid : http://ftp.de.debian.org/debian/pool/no ... x/?C=M;O=D
Last edited by oops on Fri Apr 11, 2025 3:34 pm, edited 3 times in total.
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils MX Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19-23_x64 & antiX23_x32 runit

User avatar
oops
Posts: 1996
Joined: Tue Apr 10, 2018 5:07 pm

Re: Issue with nvidia-legacy-390xx-driver 390.157-11~mx23ahs.

#9 Post by oops »

Michael-IDA wrote: Thu Apr 03, 2025 10:11 pm @Stevo,

I admit I'm not much on graphics, but if I understand the above, if we have a 6.1 kernel we should rebuild our nvidia drivers?

If so, what's the proper way to do that?

Thanks,
Michael
nvidia-legacy-390xx-driver 390.157-12~mx23ahs is only in test for now. ( on ahs-staging repository)

Only if you have this nvidia-legacy-390xx-driver 390.157-xx~mx23ahs, you can do:

Code: Select all

MAJ nvidia driver:
in file /etc/apt/sources.list.d/mx.list … add … 
# staging nvidia driver latest
deb http://mxrepo.com/mx/repo/ bookworm ahs-staging

Restart the PC, boot kernel: "quiet 3" (in terminal mode is better)

ddm-mx -p nvidia #to purge the last one

ddm-mx -i nvidia -f nvidia-legacy-390xx-driver

reboot the PC
Pour les nouveaux utilisateurs: Alt+F1 pour le manuel, ou FAQS, MX MANUEL, et Conseils MX Conseils Debian - Info. système “quick-system-info-mx” (QSI) ... Ici: System: MX-19-23_x64 & antiX23_x32 runit

User avatar
Stevo
Developer
Posts: 14747
Joined: Fri Dec 15, 2006 7:07 pm

Re: Issue with nvidia-legacy-390xx-driver 390.157-11~mx23ahs.

#10 Post by Stevo »

You don't need the updated driver if all you're running is the 6.1 kernel; the updates are for it to support the latest kernel releases also.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

Post Reply

Return to “Package Requests / Status”