Am Freitag, 23. August 2024, 15:55:40 CEST schrieb Richmond: > I tried something similar, but it didn't work, although... > > Hans <hans.ullr...@loop.de> writes: > > 1. Install module-assistant > > I didn't do this. > > > 2. 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 > > > > > > 3. apt update > > > > > > 4. apt install nvidia-legacy-340xx-driver firmware-misc-nonfree > > At this point many packages were installed, I didn't get a choice, I am > not sure why. > > Then system failed to boot X, so I scrapped it all. > > > 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 a Dell Inspiron 1720. I may have another go in April. You need module-assistant for making sure, you got the kernel headers and compilers you need.
Running module-assistant is the easiest way to make sure of it. I could write a new step-by-step procedure for bloddy noobs, but I am sure, I would annoying people with it. Most problem is, people are installing other packages as recommended, because they believe, there are dependencies. Apt does show them. So as I advices, just install only the packages from sid for nvidia, nothing else. If not sure, download them manually and install with dpkg. Just to explain: Enteringt sid into sources list and do an apt update will read the sourcs fropm list., then install only the two packages from sid (the needed dependencies from sid will be automatically installed). After this remove the entry of sid in sources.list and do an apt update again. This will remove all entries from the package list of sid in the cache of apt. Now you can eecute module-assistant and get the kernel headers and compilers for compiling of your runninjg debian/stable. As you have already downloaded the sources from sid, which has the higher version, these will be compiled. If it compiles correctly without any crashes, you are good. Compiling is the main point here. After compilation you must reboot, to unload nouveau driver an load kernel module 340x. To test, remove all login managers temporarly out of the way and in prompt do "startx". If X is now starting you are good, other wise you see, what fails. If you have two graphic cards (one in the CPU mostly Intel, and the other NVidia), you need to switch it using bumblebee and primusrun. If bumblebee and primusrun are installed, you need to reboot, to activate it. Then, when X is started, check it with "primusrun glxgears" in kconsole or xterm as normal user and see the output. Note: If X is NOT started, you may try with 390xx, even when nvidia-detect and also the NVidia website is telling, your chip is 340x. I have two graphic cards, which di NOT run with 340xx (as recommended) but perfectly with 390xx. Hope this helps. Last time I compiled the 390xx is about a month ago, so it maybe something has changed, I did not recheck in the last weeks! Best Hans