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
@lchandelier Yes, try to clone/download https://github.com/joanbm/nvidia-470xx-linux-mainline and run
./installand it should work.@mrBugmaker Regarding the liblgvnd warning, I never ran into it myself, but I believe it may be solved by installing libglvnd-dev (
sudo apt install libglvnd-dev) and re-installing the NVIDIA driver.However, I don't think that it's likely related to the problem that you're running into with Proton. Wine/Proton implement D3D11 by translating it to other APIs, like OpenGL or Vulkan. So even if your card supports D3D11 and the game runs over Windows 10, it doesn't mean it will immediately work on Linux.
I believe Proton uses DXVK to translate D3D11 to Vulkan 1.3, and this version likely supported by your graphics card (at least my GTX 660 caps out at Vulkan 1.2).
You may need to figure out how to get Proton to launch it using WineD3D to translate D3D11 to OpenGL instead, at least some sources claim this can be done by setting the environment variable
PROTON_USE_WINED3D=1 <your_steam_or_proton_command>- unfortunately, I haven't tried this myself though.