Hello forum,
I have installed nvidia drivers and dpkg shows the version but nvidia-smi show no devices found. Is there any problem? How to resolve this?
any suggesion? nvidia-bug-report.log (2.0 MB)
Palit NE6406T019T1-1061J (GeForce RTX 4060 Ti JetStream 16GB)
I attach the resultingnvidia-bug-report.log file to this thread.
Thank for your help.
I want to provide an update and seek further assistance. Previously, I was only able to boot my computer in recovery mode. However, after updating the kernel, I can now boot normally without using the recovery mode.
Despite this progress, I encountered a new issue. After removing the existing package, I reinstalled the driver, but I received an error message.
I am trying to use a Palit NE6406T019T1-1061J (GeForce RTX 4060 Ti JetStream 16GB) graphics card. Considering it’s a less common model, could this be causing the issue?Additionally, I am concerned because the output of ‘ubuntu-drivers devices’ does not include a model field.
I appreciate any help you can offer in resolving this matter."
nvidia-bug-report.log (2.2 MB)
Thank you very much for your prompt response. I am attaching the nvidia-bug-report.log file. Best regards, and I appreciate your time and assistance.
I apologize, but I was unable to attach the zipped log file. Instead, I am attaching the unzipped file for your review
-> The target kernel has CONFIG_MODULE_SIG set, which means that it supports cryptographic signatures on kernel modules. On some systems, the kernel may refuse to load modules without a valid signature from a trusted key. This system also has UEFI Secure Boot enabled; many distributions enforce module signature verification on UEFI systems when Secure Boot is enabled. Would you like to sign the NVIDIA kernel module? (Answer: Install without signing)
ERROR: The kernel module failed to load. Secure boot is enabled on this system, so this is likely because it was not signed by a key that is trusted by the kernel. Please try installing the driver again, and sign the kernel module when prompted to do so.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if another driver, such as nouveau, is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA device(s), or no NVIDIA device installed in this system is supported by this NVIDIA Linux graphics driver release.
Especially those two details:
many distributions enforce module signature verification on UEFI systems when Secure Boot is enabled.
Would you like to sign the NVIDIA kernel module? (Answer: Install without signing)
→ (Answer: Install without signing)
Wrong answer.
As I mentioned in my earlier comment, either disable secure boot or follow installation instructions to the letter, including MOK authorization of the kernel module.
Also there is this:
-> An alternate method of installing the NVIDIA driver was detected. (This is usually a package provided by your distributor.) A driver installed via that method may integrate better with your system than a driver installed by nvidia-installer.
Please review the message provided by the maintainer of this alternate installation method and decide how to proceed:
The NVIDIA driver provided by Ubuntu can be installed by launching the "Software & Updates" application, and by selecting the NVIDIA driver from the "Additional Drivers" tab.
I highly recommend reading some installation instructions for GPU drivers on an Ubuntu system before installing the driver and choosing one single approach. Everything else is asking for trouble.
I followed your instructions and attempted to reinstall the driver. However, I encountered an error during the kernel module build, preventing the installation from completing. After checking /var/log/nvidia-installer.log, I discovered the following error message: cc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’.
sudo apt-get install gcc-12
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 12
I deeply appreciate your precise and helpful advice in resolving this problem.