Created
February 3, 2025 00:16
-
-
Save joanbm/d0cb8790ca610fbd2c2e43f30707ce18 to your computer and use it in GitHub Desktop.
Tentative fix for NVIDIA 470.256.02 driver for Linux 6.14-rc1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I'm trying to make it work under Linux Mint 22.2 too (kernel 6.14.0-33-generic).
I've used the
./install
script from https://github.com/joanbm/nvidia-470xx-linux-mainlineLooks like it mostly worked: there are no issues with browsing / video; I can even run some games fine, even ones without native Linux support (via Steam)
Although, there is one (The Entropy Centre) that gives me the following error on startup:
A D3D11-compatible GPU (Feature Level 11.0, Shader Model 5.0) is required to run the engine.
I know the game can run on that PC: it did under Win10.
I could have suggested that it's just some Proton issue, but I also had a warning during install and also Steam Overlay performance monitor always displays GPU load as 0%.
I could have gone to Linux Mint forums, Reddit, etc., but with Win 10 EOL just around the corner, I guess many people are going to come across your patches and it would be really nice to find some info on how to solve issues with these patches just here, where the patches themselves are.
The warning during installation was:
Unable to determine the path to install the liblgvnd EGL vendor library config files. Check that you have pkg-config and the libglvnd development libraries installed, or specify a path with --glvnd-egl-config-path.
apt list --installed | grep "pkg-config"
gives me the following line:pkg-config/noble,now 1.8.1-2build1 amd64 [installed]
I have no idea how to check whether I have "
libglvnd development libraries installed
"Here is most of
sudo inxi -Fxxxmprz
output (I don't think the list of active apt repos is of any use here):And here is
nvidia-installer.log
:When I just launched the
./install
script, it gave me an error about my XServer session running. I then proceeded with the following:/etc/modprobe.d/disable_nouveau.conf
with following contents:and run
sudo update-initramfs -u
2. Set non-graphic run level:
sudo systemctl set-default multi-user.target
3. Rebooted and run
./install
script from https://github.com/joanbm/nvidia-470xx-linux-mainline again.4. Set graphic level back:
sudo systemctl set-default graphical.target
. Rebooted, tried running games, experienced aforementioned issue.5. As suggested in patch's
readme
, created a file/etc/modprobe.d/disable_nouveau.conf
with following contents:Then run
sudo update-initramfs -u
and reboot.So, could i have issues because of that libglvnd warning? If so, how do I fix that?