On 11/23/23 3:25 PM, Samuel Sieb wrote:
On 11/23/23 12:52, home user wrote:
On 11/23/23 1:43 PM, Samuel Sieb wrote:
On 11/23/23 12:02, home user wrote:
(f38; home workstation; dual monitor; using nvidia 4xx kmod and akmod from rpmfusion)
A short while ago, I did my weekly patches. After rebooting, only one monitor is displaying anything, and then with a large, wide font. I saw no indication of trouble during the "dnf upgrade". The boot messages go by fast, but I think I saw something about a missing module, and nouveau being used.
I'm not a sys.admin., and the display is very limited. What's the cause of these problems, and how do I fix things?
Try running "sudo akmods" and see if there are any errors.
I've rebooted to the previous kernel. Does that matter? Running under that older kernel, I get this:
-bash.1[~]: akmods Checking kmods exist for 6.5.10-200.fc38.x86_64 [ OK ] Building and installing nvidia-470xx-kmod [FAILED] Building rpms failed; see /var/cache/akmods/nvidia-470xx/470.223.02-1-for-6.5.10-200.fc38.x86_64.failed.log for details
Hint: Some kmods were ignored or failed to build or install. You can try to rebuild and install them by by calling '/usr/sbin/akmods --force' as root.
Checking kmods exist for 6.5.12-200.fc38.x86_64 [ OK ] Building and installing nvidia-470xx-kmod [FAILED] Building rpms failed; see /var/cache/akmods/nvidia-470xx/470.223.02-1-for-6.5.12-200.fc38.x86_64.failed.log for details
Hint: Some kmods were ignored or failed to build or install. You can try to rebuild and install them by by calling '/usr/sbin/akmods --force' as root.
-bash.2[~]:
- Do I need to re-do this under the new kernel?
I think it will compile against any kernels that need it. Which kernel are you running and which one do you need?
I'm wanting to use the kernel installed by today's patches: "6.5.12-200.fc38.x86_64". The kernel before that was "6.5.10-200.fc38.x86_64". When I sent the 1:52 (mountain time) message, I was running the 6.10 kernel; I'm now back to the new (6.12) kernel.
- Should I do what the output above says?
Check the log to see why it's failing. It might be a kernel change that breaks the module. You could try forcing it and see what happens.
Here's the log that the akmods command referenced: ------ 2023/11/23 15:45:40 akmods: Building RPM using the command '/sbin/akmodsbuild --kernels 6.5.12-200.fc38.x86_64 /usr/src/akmods/nvidia-470xx-kmod.latest' warning: user mockbuild does not exist - using root warning: user mockbuild does not exist - using root Installing /usr/src/akmods/nvidia-470xx-kmod.latest Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1698796800 error: Failed build dependencies: kernel-devel-uname-r = 6.5.12-200.fc38.x86_64 is needed by nvidia-470xx-kmod-3:470.223.02-1.fc38.x86_64 xorg-x11-drv-nvidia-470xx-kmodsrc >= 3:470.223.02 is needed by nvidia-470xx-kmod-3:470.223.02-1.fc38.x86_64
RPM build warnings: user mockbuild does not exist - using root user mockbuild does not exist - using root 2023/11/23 15:45:41 akmodsbuild: * Rebuilding /usr/src/akmods/nvidia-470xx-kmod.latest for kernel(s) 6.5.12-200.fc38.x86_64: warning: user mockbuild does not exist - using root 2023/11/23 15:45:41 akmodsbuild: warning: user mockbuild does not exist - using root 2023/11/23 15:45:41 akmodsbuild: Installing /usr/src/akmods/nvidia-470xx-kmod.latest 2023/11/23 15:45:41 akmodsbuild: Building target platforms: x86_64 2023/11/23 15:45:41 akmodsbuild: Building for target x86_64 2023/11/23 15:45:41 akmodsbuild: setting SOURCE_DATE_EPOCH=1698796800 2023/11/23 15:45:41 akmodsbuild: error: Failed build dependencies: 2023/11/23 15:45:41 akmodsbuild: kernel-devel-uname-r = 6.5.12-200.fc38.x86_64 is needed by nvidia-470xx-kmod-3:470.223.02-1.fc38.x86_64 2023/11/23 15:45:41 akmodsbuild: xorg-x11-drv-nvidia-470xx-kmodsrc >= 3:470.223.02 is needed by nvidia-470xx-kmod-3:470.223.02-1.fc38.x86_64 2023/11/23 15:45:41 akmodsbuild: 2023/11/23 15:45:41 akmodsbuild: RPM build warnings: 2023/11/23 15:45:41 akmodsbuild: user mockbuild does not exist - using root 2023/11/23 15:45:41 akmodsbuild: user mockbuild does not exist - using root 2023/11/23 15:45:41 akmodsbuild: 2023/11/23 15:45:41 akmods: Building rpms failed; see /var/cache/akmods/nvidia-470xx/470.223.02-1-for-6.5.12-200.fc38.x86_64.failed.log for details ------ If I do the "/usr/sbin/akmods --force" suggested by "akmods", will that mess up future handling of kernel and nvidia-470xx by "dnf upgrade"?