Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #270793

Re: nouveau on old NV GPUs (was: NVidia 340 video driver in Bookworm?)

From Hans <hans.ullrich@loop.de>
Newsgroups linux.debian.user
Subject Re: nouveau on old NV GPUs (was: NVidia 340 video driver in Bookworm?)
Date 2024-07-04 09:10 +0200
Message-ID <IWoLo-7zJb-7@gated-at.bofh.it> (permalink)
References <IWoLo-7zJb-9@gated-at.bofh.it> <IMOxr-1kCT-3@gated-at.bofh.it> <IWesF-7sHx-3@gated-at.bofh.it> <IWgb7-7tBC-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Tried again, somehow there was no subject sent with my last mail.



So, well, I believe I got a solution. However, not everyone might be happy with it, but maybe it 
will work.


I am running the kernel 6.7.12+bpo-amd64 on my system. This is a backport kernel, but 
it might also work with other kernels, too.


You also need to install the build environment, the easiest way is to use module-assistant.


If you got this set and installed linux-headers and so on, then do the following:


First, enter the line for sid into your /etc/apt/sources.list


deb http://deb.debian.org/debian/[1] sid main contrib non-free non-free-firmware


then do 


apt update


apt install nvidia-legacy-340xx-driver firmware-misc-nonfree


This should install all necessary files and build the kernel module. Here it did work. However, I 
had to use 390xx instead of 340xx, but both built here fine.


After it, reboot and try again if it is working.


Sometimes, nvidia-detect says, use 340xx-legacy, but I had some cases, where I in real had to 
use 390xx. So, if 340xx is not working, try 390xx.


Note: Do NOT upgrade any other files! I suggest, after installing both packages as above, 
remove the sid entry from sources.list and do again an 
apt update. Thus you are not going into the danger, to install any more packages from sid.


If you need bumblebee or primusrun, because you have two GPUs (one in the CPU and one 
extern), then use the packages from stable. This will work!


My notebook is a Lenovo T520 with Intel CPU (and internal Intel GPU) and also NVidia GPU as 
external GPU (soldered on mainboard). I have to use optimus, to get my external GPU.
 
I got my information from this site.
 
https://wiki.debian.org/NvidiaGraphicsDrivers[2][1]


Hope, this helps. 


Ah, and last but not least: Big thanks to the lads and guys, who made 340xx and 390xx 
buildable again, great work! Big big thank you!!! 


Here on my system, 390xx is working like a charm.


Good luck!


Hans 


--------
[1] https://wiki.debian.org/NvidiaGraphicsDrivers

--------
[1] http://deb.debian.org/debian/
[2] https://wiki.debian.org/NvidiaGraphicsDrivers

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: nouveau on old NV GPUs (was: NVidia 340 video driver in  Bookworm?) Felix Miata <mrmazda@earthlink.net> - 2024-07-03 08:20 +0200
  Re: nouveau on old NV GPUs (was: NVidia 340 video driver in  Bookworm?) "Andrew M.A. Cater" <amacater@einval.com> - 2024-07-03 10:10 +0200
    Re: nouveau on old NV GPUs Bret Busby <bret@busby.net> - 2024-07-03 22:10 +0200
    Re: nouveau on old NV GPUs (was: NVidia 340 video driver in  Bookworm?) "Andrew M.A. Cater" <amacater@einval.com> - 2024-07-04 00:00 +0200
        Re: nouveau on old NV GPUs (was: NVidia 340 video driver in Bookworm?) Hans <hans.ullrich@loop.de> - 2024-07-04 09:10 +0200

csiph-web