> I should read my own posts. I have now installed Ubuntu 22 with Kernel
> 5.4 and it is working with the above Nvidia card. But I have only kicked
> the can down the road to April. I wonder if it will be possible to run
> Debian 12 or 11 with a 5.4 kernel and nvidia-legacy-340xx-driver?

Should work.

I am running 6.9.7+bpo-amd64 with 340xx. I made a description, how I did, this 
should also 
work on 6.1. kernel. Although I aready sent it here, I repeat it (with some 
minor additions).


--------------------
Attention: 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.

Do it exactly in this order desribed below and you may read this site before.

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



1. Install module-assistant

2. Enter the line for sid into your /etc/apt/sources.list 
deb http://deb.debian.org/debian/[2][1] sid main contrib non-free non-free- 
firmware

3. apt update 

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

This should install all necessary files and build the kernel module. Here it 
did work.

5. Do NOT upgrade any other files! Do NOT aot upgrade or aptitude upgrade now 
although it 
will install many other packages. Ignore that! It will break your system!!   

7. Remove the sid entry from sources.list! (Very important!!!) 

8. Do again an  apt update. 

Thus you are not going into the danger, to install any more packages from sid.
 
9. 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 (NVidis) running.
 

--------------------

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.

Please feel free to ask for more.

Good luck!

Hans



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

Reply via email to