-
-
Save joanbm/d0cb8790ca610fbd2c2e43f30707ce18 to your computer and use it in GitHub Desktop.
| From bee3ff1153f7b42491d2a0552d6f9a66a307ec1a Mon Sep 17 00:00:00 2001 | |
| From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= <[email protected]> | |
| Date: Sun, 15 Dec 2024 17:56:03 +0000 | |
| Subject: [PATCH] Tentative fix for NVIDIA 470.256.02 driver for Linux 6.14-rc1 | |
| --- | |
| nvidia-drm/nvidia-drm-drv.c | 3 +++ | |
| 1 file changed, 3 insertions(+) | |
| diff --git a/nvidia-drm/nvidia-drm-drv.c b/nvidia-drm/nvidia-drm-drv.c | |
| index 0b1181d..b50b17a 100644 | |
| --- a/nvidia-drm/nvidia-drm-drv.c | |
| +++ b/nvidia-drm/nvidia-drm-drv.c | |
| @@ -882,7 +882,10 @@ static struct drm_driver nv_drm_driver = { | |
| .name = "nvidia-drm", | |
| .desc = "NVIDIA DRM driver", | |
| +#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 14, 0) | |
| + // Rel. commit. "drm: remove driver date from struct drm_driver and all drivers" (Jani Nikula, 4 Dec 2024) | |
| .date = "20160202", | |
| +#endif | |
| #if defined(NV_DRM_DRIVER_HAS_DEVICE_LIST) | |
| .device_list = LIST_HEAD_INIT(nv_drm_driver.device_list), | |
| -- | |
| 2.48.1 | |
fedora 43 + GP106-90 card
executing: '/usr/sbin/ldconfig'...
executing: '/usr/sbin/systemctl daemon-reload'...
-> done.
-> Driver file installation is complete.
-> Installing DKMS kernel module:
-> done.
ERROR: Unable to load the 'nvidia-drm' kernel module.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
dmesg output
[ 5.086256] nvidia: module license 'NVIDIA' taints kernel.
[ 5.086577] Disabling lock debugging due to kernel taint
[ 5.086981] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 5.087512] nvidia: module license taints kernel.
[ 5.367824] nvidia-nvlink: Nvlink Core is being initialized, major device number 237
[ 5.368269] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 470.256.02 Thu May 2 14:37:44 UTC 2024
[ 5.648982] nvidia_modeset: Unknown symbol __acpi_video_get_backlight_type (err -2)
[ 25.830569] NVRM: GPU 0000:00:10.0: RmInitAdapter failed! (0x22:0x56:667)
[ 25.831979] NVRM: GPU 0000:00:10.0: rm_init_adapter failed, device minor number 0
lspci output
00:10.0 3D controller: NVIDIA Corporation GP106 [P106-100] (rev a1)
@naughtyGitCat Are you possibly passing the GPU through to a VM? If that's the case you have to hide the hypervisor or the NVIDIA driver will refuse to work. See PCI_passthrough_via_OVMF#Video_card_driver_virtualisation_detection
On the other hand, I am not very familiar with this card but may it work with the newest, officially supported drivers (e.g. 580xx)? The list on the NVIDIA driver README appears to suggest it should. You may have more luck getting it to work with it if that's the case.
yes, card is passing to vm on the pve virt platform, i will try the pci passthrough config, thank u
ps:
gp106-90 is gtx1060-3gb mining version, nvidia linux driver support end to 470 version, 490 and 580xx is not supported
Yeah, this was my experience with Wine + NVIDIA + WineD3D, games tend to have noticeably less FPS than on Windows. Sometimes there are tweaks to get more out of it, but unfortunately, in many cases the only realistic solution is dual booting Windows or getting newer hardware.