View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000597 | AlmaLinux-10 | General | public | 2025-12-18 07:20 | 2025-12-18 07:24 |
| Reporter | tbsky | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Summary | 0000597: nvidia package or procedure need to tweak | ||||
| Description | Hi: according to AlmaLinux nvidia document: https://wiki.almalinux.org/documentation/nvidia.html you only need two lines to use nvidia card: dnf install almalinux-release-nvidia-driver dnf install dnf install almalinux-release-nvidia-driver nvidia-driver-cuda reboot and now we can use "nvidia-smi" to check the card status. I install a brand new AlmaLinux 10.1 with a telsa T4, after procedure above, the "nvidia-smi" is very slow, the card is stay at P0 27W state even the system is idle. and system show error message at boot: [ 6.698324] NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: !rmapiLockIsOwner() @ rmapi.c:563 [ 6.698361] NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: !rmapiLockIsOwner() @ rmapi.c:563 [ 6.698416] NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: !rmapiLockIsOwner() @ rmapi.c:563 [ 6.698434] NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: !rmapiLockIsOwner() @ rmapi.c:563 the fix it is easy. just "dracut -v -f" and reboot then everything will be fine. but it took me whole day to find the reason. below is the diff of "bad" and "good" initrdramfs: diff -ru /tmp/bad /tmp/good --- /tmp/bad 2025-12-18 15:03:03.105406573 +0800 +++ /tmp/good 2025-12-18 15:03:09.459326822 +0800 @@ -1,8 +1,8 @@ -Image: initramfs-6.12.0-124.20.1.el10_1.x86_64.img.bad: 40M +Image: /boot/initramfs-6.12.0-124.20.1.el10_1.x86_64.img: 29M ======================================================================== Version: dracut-107-3.el10 -Arguments: -f +Arguments: -v -f dracut modules: bash @@ -77,6 +77,7 @@ -rw-r--r-- 1 root root 2476 Jun 5 2025 etc/lvm/lvmlocal.conf -r--r--r-- 1 root root 33 Aug 18 08:00 etc/machine-id drwxr-xr-x 2 root root 0 Aug 18 08:00 etc/modprobe.d +-rw-r--r-- 1 root root 193 Aug 18 08:00 etc/modprobe.d/nvidia-modeset.conf -rw-r--r-- 1 root root 674 Aug 18 08:00 etc/modprobe.d/tuned.conf lrwxrwxrwx 1 root root 17 Aug 18 08:00 etc/mtab -> /proc/self/mounts lrwxrwxrwx 1 root root 24 Aug 18 08:00 etc/nsswitch.conf -> authselect/nsswitch.conf @@ -299,12 +300,12 @@ -rwxr-xr-x 1 root root 2579664 Aug 17 08:00 usr/lib64/systemd/libsystemd-core-257-13.el10.alma.1.so -rwxr-xr-x 1 root root 4872928 Aug 17 08:00 usr/lib64/systemd/libsystemd-shared-257-13.el10.alma.1.so drwxr-xr-x 2 root root 0 Aug 18 08:00 usr/lib/dracut --rw-r--r-- 1 root root 4 Aug 18 08:00 usr/lib/dracut/build-parameter.txt +-rw-r--r-- 1 root root 7 Aug 18 08:00 usr/lib/dracut/build-parameter.txt -rwxr-xr-x 1 root root 8181 May 1 2025 usr/lib/dracut-crypt-lib.sh -rwxr-xr-x 1 root root 4082 May 1 2025 usr/lib/dracut-dev-lib.sh -rw-r--r-- 1 root root 18 Aug 18 08:00 usr/lib/dracut/dracut-107-3.el10 lrwxrwxrwx 1 root root 29 Aug 18 08:00 usr/lib/dracut/hooks -> ../../../var/lib/dracut/hooks --rw-r--r-- 1 root root 199 Aug 18 08:00 usr/lib/dracut/hostonly-files +-rw-r--r-- 1 root root 235 Aug 18 08:00 usr/lib/dracut/hostonly-files -rwxr-xr-x 1 root root 27151 May 1 2025 usr/lib/dracut-lib.sh -rw-r--r-- 1 root root 447 Aug 18 08:00 usr/lib/dracut/modules.txt -rw-r--r-- 1 root root 0 Aug 18 08:00 usr/lib/dracut/need-initqueue @@ -1370,6 +1371,7 @@ -rw-r--r-- 1 root root 1811 Jan 10 2025 usr/lib/kbd/unimaps/viscii.uni drwxr-xr-x 2 root root 0 Aug 18 08:00 usr/lib/modprobe.d -rw-r--r-- 1 root root 884 Aug 18 08:00 usr/lib/modprobe.d/dist-blacklist.conf +-rw-r--r-- 1 root root 1039 Aug 18 08:00 usr/lib/modprobe.d/nvidia.conf -rw-r--r-- 1 root root 821 Dec 11 2024 usr/lib/modprobe.d/systemd.conf drwxr-xr-x 2 root root 0 Aug 18 08:00 usr/lib/modules drwxr-xr-x 2 root root 0 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64 @@ -1450,11 +1452,6 @@ -rw-r--r-- 1 root root 19492 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/kernel/drivers/char/virtio_console.ko.xz drwxr-xr-x 2 root root 0 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/kernel/drivers/crypto -rw-r--r-- 1 root root 5976 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/kernel/drivers/crypto/padlock-aes.ko.xz -drwxr-xr-x 2 root root 0 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/kernel/drivers/gpu -drwxr-xr-x 2 root root 0 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/kernel/drivers/gpu/drm --rw-r--r-- 1 root root 7456 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/kernel/drivers/gpu/drm/drm_ttm_helper.ko.xz -drwxr-xr-x 2 root root 0 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/kernel/drivers/gpu/drm/ttm --rw-r--r-- 1 root root 45756 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/kernel/drivers/gpu/drm/ttm/ttm.ko.xz drwxr-xr-x 2 root root 0 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/kernel/drivers/hid drwxr-xr-x 2 root root 0 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/kernel/drivers/hid/amd-sfh-hid -rw-r--r-- 1 root root 21948 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/kernel/drivers/hid/amd-sfh-hid/amd_sfh.ko.xz @@ -1720,30 +1717,19 @@ -rw-r--r-- 1 root root 24096 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/kernel/sound/core/snd-rawmidi.ko.xz -rw-r--r-- 1 root root 6116 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/kernel/sound/core/snd-seq-device.ko.xz -rw-r--r-- 1 root root 6304 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/kernel/sound/soundcore.ko.xz --rw-r--r-- 1 root root 75244 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.alias --rw-r--r-- 1 root root 69322 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.alias.bin +-rw-r--r-- 1 root root 74736 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.alias +-rw-r--r-- 1 root root 68971 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.alias.bin -rw-r--r-- 1 root root 9732 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.builtin -rw-r--r-- 1 root root 12284 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.builtin.alias.bin -rw-r--r-- 1 root root 12061 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.builtin.bin -rw-r--r-- 1 root root 86748 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.builtin.modinfo --rw-r--r-- 1 root root 17349 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.dep --rw-r--r-- 1 root root 28393 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.dep.bin +-rw-r--r-- 1 root root 16775 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.dep +-rw-r--r-- 1 root root 27625 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.dep.bin -rw-r--r-- 1 root root 166 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.devname -rw-r--r-- 1 root root 98408 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.order --rw-r--r-- 1 root root 123 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.softdep --rw-r--r-- 1 root root 53956 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.symbols --rw-r--r-- 1 root root 64518 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.symbols.bin -drwxr-xr-x 2 root root 0 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/weak-updates -drwxr-xr-x 2 root root 0 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/weak-updates/nvidia-open -lrwxrwxrwx 1 root root 69 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/weak-updates/nvidia-open/nvidia-drm.ko -> ../../../6.12.0-124.8.1.el10_1.x86_64/extra/nvidia-open/nvidia-drm.ko -lrwxrwxrwx 1 root root 65 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/weak-updates/nvidia-open/nvidia.ko -> ../../../6.12.0-124.8.1.el10_1.x86_64/extra/nvidia-open/nvidia.ko -lrwxrwxrwx 1 root root 73 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/weak-updates/nvidia-open/nvidia-modeset.ko -> ../../../6.12.0-124.8.1.el10_1.x86_64/extra/nvidia-open/nvidia-modeset.ko -drwxr-xr-x 2 root root 0 Aug 18 08:00 usr/lib/modules/6.12.0-124.8.1.el10_1.x86_64 -drwxr-xr-x 2 root root 0 Aug 18 08:00 usr/lib/modules/6.12.0-124.8.1.el10_1.x86_64/extra -drwxr-xr-x 2 root root 0 Aug 18 08:00 usr/lib/modules/6.12.0-124.8.1.el10_1.x86_64/extra/nvidia-open --rw-r--r-- 1 root root 323854 Aug 18 08:00 usr/lib/modules/6.12.0-124.8.1.el10_1.x86_64/extra/nvidia-open/nvidia-drm.ko --rw-r--r-- 1 root root 25114470 Aug 18 08:00 usr/lib/modules/6.12.0-124.8.1.el10_1.x86_64/extra/nvidia-open/nvidia.ko --rw-r--r-- 1 root root 4578070 Aug 18 08:00 usr/lib/modules/6.12.0-124.8.1.el10_1.x86_64/extra/nvidia-open/nvidia-modeset.ko +-rw-r--r-- 1 root root 76 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.softdep +-rw-r--r-- 1 root root 45551 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.symbols +-rw-r--r-- 1 root root 55061 Aug 18 08:00 usr/lib/modules/6.12.0-124.20.1.el10_1.x86_64/modules.symbols.bin lrwxrwxrwx 1 root root 14 Aug 18 08:00 usr/lib/os-release -> initrd-release drwxr-xr-x 2 root root 0 Aug 18 08:00 usr/lib/sysctl.d -rw-r--r-- 1 root root 1810 Apr 30 2025 usr/lib/sysctl.d/10-default-yama-scope.conf | ||||
| Steps To Reproduce | install a brand new AlamLinux 10.1 with nvidia telas gpu. dnf install almalinux-release-nvidia-driver dnf install dnf install almalinux-release-nvidia-driver nvidia-driver-cuda reboot and run "nvidia-smi". nvidia-smi start very slow (more than 1 second) and power usage stay at P0 when idle. | ||||
| Tags | No tags attached. | ||||