Re: Nvidia driver on Debian 10

2024-01-04 Thread Franco Martelli

On 03/01/24 at 19:28, Thomas Anderson wrote:

Thanks a lot, Macro!

it worked. Sorry for delay, I got side tracked with "my day" =)

On 03/01/2024 12:03, Marco Moock wrote:

Am 03.01.2024 um 11:52:59 Uhr schrieb Thomas Anderson:


Here is the output. Wow, a lot.

All those lines with ii at the beginning mean the package is installed.

apt remove *nvidia* -s

Check if the result is ok and then run it without -s (-s only
simulates).





Give it a try to nouveau driver, here it works very well with kernel 
6.1.55 the only drawback I have is to restart the windows compositor 
when I suspend to RAM, good luck


Cheers
--
Franco Martelli



Re: Nvidia driver on Debian 10

2024-01-03 Thread jeremy ardley



On 3/1/24 18:36, Thomas Anderson wrote:
I will upgrade Debian to 12 within the next month or so...but before I 
do, want to clean up my current system.



I am running Debian 12 with the nvidia driver. It's mostly OK but I 
recently had to reboot as the Xorg process had taken around 70% of my 
32G Ram. This may be a driver problem?


I have other issues with applications including firefox-esr and chrome 
taking lots of memory - though this is unlikely to be related to the 
video driver.




Re: Nvidia driver on Debian 10

2024-01-03 Thread Thomas Anderson

Thanks a lot, Macro!

it worked. Sorry for delay, I got side tracked with "my day" =)

On 03/01/2024 12:03, Marco Moock wrote:

Am 03.01.2024 um 11:52:59 Uhr schrieb Thomas Anderson:


Here is the output. Wow, a lot.

All those lines with ii at the beginning mean the package is installed.

apt remove *nvidia* -s

Check if the result is ok and then run it without -s (-s only
simulates).





Re: Nvidia driver on Debian 10

2024-01-03 Thread Hans
> dpkg-reconfigure nvidia-kernel-dkms
> 

Hi all,

I am using a NVidia card, which is using the Tesla-driver version (525.147.XX) 
and used the 
470.XXX version before.

Both could not be installed by using the above package.

But it got installed using package module-assistant.

Suggestion, how to fix:

First of, move any /usr/bin/gdm|kdm|xdm somewhere else, so the graphical login 
manager will 
not start.

Secondly, install package "module-assistant".

Third: Run it, command is "m-a", its starts an ncurses surface. 

Fourth: go through all the processes: "update" , then "prepare" (which will 
download all needed 
apps and files like compiler, kernel-headers and so on), then go to "select". 

Chose your needed driver version.  

Then again, chose "get", which is downloading the NVidia-packages.

Then chose "build" and it will automatiucally create a debian package, which 
then will be 
installed with the option "install".

After it exit it.

Now: First aof all reboot!

If rebooted, check now with the command "startx" as root, if X is starting. If 
yes, mode /usr/bin/
xdm|kdm|sddm|gdm back.

Reboot now again, Voila!



Hints: If it is NOT starting, check if the nouveau driver is still loaded. If 
yes, try to reboot, if it will 
be loaded again, try to blacklist it.

If blacklisting is NOT workin, do the hard way , an delete or remove the 
nouveau.ko from the 
kernel tree.



If X is still NOT starting, check xorg.logs to look for reasons.



Second hint: IIn the past, I got problems with wrong versions. Nvidia said, I 
should use i.e. 
390xx, but in real, I had to use 340xx. So try also one version prior.




Hope this helps!

Godd luck and

best regards

Hans


Re: Nvidia driver on Debian 10

2024-01-03 Thread Anssi Saari
Marco Moock  writes:

> Am 03.01.2024 um 11:52:59 Uhr schrieb Thomas Anderson:
>
>> Here is the output. Wow, a lot.
>
> All those lines with ii at the beginning mean the package is installed.
>
> apt remove *nvidia* -s
>
> Check if the result is ok and then run it without -s (-s only
> simulates).

nvidia-driver is the actual top level metapackage so removing that is
likely the thing. Although I'm not sure that makes much sense if Thomas
gets just a blank screen when booting the kernel without the nvidia
drivers.

Also I think fixing the drivers for both installed kernels might be as
simple as running

dpkg-reconfigure nvidia-kernel-dkms

The version of nvidia-driver and related packages seem to be the same as
what nvidia-smi reports, 418.226.00, so it doesn't look like there's
anything super weird in the system.



Re: Nvidia driver on Debian 10

2024-01-03 Thread Marco Moock
Am 03.01.2024 um 11:52:59 Uhr schrieb Thomas Anderson:

> Here is the output. Wow, a lot.

All those lines with ii at the beginning mean the package is installed.

apt remove *nvidia* -s

Check if the result is ok and then run it without -s (-s only
simulates).



Re: Nvidia driver on Debian 10

2024-01-03 Thread Thomas Anderson

Here is the output. Wow, a lot.

Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend 


|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==--- 


un bumblebee-nvidia (no description available)
ii glx-alternative-nvidia 1.0.0 amd64 allows the selection of NVIDIA as 
GLX provider

un libegl-nvidia-legacy-390xx0 (no description available)
un libegl-nvidia-tesla-418-0 (no description available)
ii libegl-nvidia0:amd64 418.226.00-3 amd64 NVIDIA binary EGL library
ii libegl-nvidia0:i386 418.226.00-3 i386 NVIDIA binary EGL library
un libegl1-glvnd-nvidia (no description available)
un libegl1-nvidia (no description available)
un libgl1-glvnd-nvidia-glx (no description available)
ii libgl1-nvidia-glvnd-glx:amd64 418.226.00-3 amd64 NVIDIA binary 
OpenGL/GLX library (GLVND variant)
ii libgl1-nvidia-glvnd-glx:i386 418.226.00-3 i386 NVIDIA binary 
OpenGL/GLX library (GLVND variant)

un libgl1-nvidia-glx (no description available)
un libgl1-nvidia-glx-418.226.00 (no description available)
un libgl1-nvidia-glx-any (no description available)
un libgl1-nvidia-glx-i386 (no description available)
un libgl1-nvidia-legacy-390xx-glx (no description available)
un libgl1-nvidia-tesla-418-glx (no description available)
un libgldispatch0-nvidia (no description available)
ii libgles-nvidia1:amd64 418.226.00-3 amd64 NVIDIA binary OpenGL|ES 1.x 
library
ii libgles-nvidia1:i386 418.226.00-3 i386 NVIDIA binary OpenGL|ES 1.x 
library
ii libgles-nvidia2:amd64 418.226.00-3 amd64 NVIDIA binary OpenGL|ES 2.x 
library
ii libgles-nvidia2:i386 418.226.00-3 i386 NVIDIA binary OpenGL|ES 2.x 
library

un libgles1-glvnd-nvidia (no description available)
un libgles2-glvnd-nvidia (no description available)
un libglvnd0-nvidia (no description available)
ii libglx-nvidia0:amd64 418.226.00-3 amd64 NVIDIA binary GLX library
ii libglx-nvidia0:i386 418.226.00-3 i386 NVIDIA binary GLX library
un libglx0-glvnd-nvidia (no description available)
ii libnvidia-cbl:amd64 418.226.00-3 amd64 NVIDIA binary Vulkan ray 
tracing (cbl) library

un libnvidia-cbl-418.226.00 (no description available)
un libnvidia-cfg.so.1 (no description available)
ii libnvidia-cfg1:amd64 418.226.00-3 amd64 NVIDIA binary OpenGL/GLX 
configuration library

un libnvidia-cfg1-any (no description available)
ii libnvidia-eglcore:amd64 418.226.00-3 amd64 NVIDIA binary EGL core 
libraries
ii libnvidia-eglcore:i386 418.226.00-3 i386 NVIDIA binary EGL core 
libraries

un libnvidia-eglcore-418.226.00 (no description available)
ii libnvidia-encode1:amd64 418.226.00-3 amd64 NVENC Video Encoding 
runtime library
ii libnvidia-encode1:i386 418.226.00-3 i386 NVENC Video Encoding runtime 
library
ii libnvidia-fatbinaryloader:amd64 418.226.00-3 amd64 NVIDIA FAT binary 
loader
ii libnvidia-fatbinaryloader:i386 418.226.00-3 i386 NVIDIA FAT binary 
loader

un libnvidia-fatbinaryloader-418.226.00 (no description available)
ii libnvidia-glcore:amd64 418.226.00-3 amd64 NVIDIA binary OpenGL/GLX 
core libraries
ii libnvidia-glcore:i386 418.226.00-3 i386 NVIDIA binary OpenGL/GLX core 
libraries

un libnvidia-glcore-418.226.00 (no description available)
ii libnvidia-glvkspirv:amd64 418.226.00-3 amd64 NVIDIA binary Vulkan 
Spir-V compiler library
ii libnvidia-glvkspirv:i386 418.226.00-3 i386 NVIDIA binary Vulkan 
Spir-V compiler library

un libnvidia-glvkspirv-418.226.00 (no description available)
un libnvidia-legacy-340xx-cfg1 (no description available)
un libnvidia-legacy-390xx-cfg1 (no description available)
un libnvidia-ml.so.1 (no description available)
ii libnvidia-ml1:amd64 418.226.00-3 amd64 NVIDIA Management Library 
(NVML) runtime library
ii libnvidia-ptxjitcompiler1:amd64 418.226.00-3 amd64 NVIDIA PTX JIT 
Compiler library
ii libnvidia-ptxjitcompiler1:i386 418.226.00-3 i386 NVIDIA PTX JIT 
Compiler library
ii libnvidia-rtcore:amd64 418.226.00-3 amd64 NVIDIA binary Vulkan ray 
tracing (rtcore) library

un libnvidia-rtcore-418.226.00 (no description available)
un libopengl0-glvnd-nvidia (no description available)
ii nvidia-alternative 418.226.00-3 amd64 allows the selection of NVIDIA 
as GLX provider

un nvidia-alternative--kmod-alias (no description available)
un nvidia-alternative-legacy-173xx (no description available)
un nvidia-alternative-legacy-71xx (no description available)
un nvidia-alternative-legacy-96xx (no description available)
un nvidia-cuda-mps (no description available)
un nvidia-current (no description available)
un nvidia-current-updates (no description available)
ii nvidia-detect 418.226.00-3 amd64 NVIDIA GPU detection utility
ii nvidia-driver 418.226.00-3 amd64 NVIDIA metapackage
un nvidia-driver-any (no description available)
ii nvidia-driver-bin 418.226.00-3 amd64 NVIDIA driver support binaries
un nvidia-driver-bin-418.226.00 (no 

Re: Nvidia driver on Debian 10

2024-01-03 Thread Marco Moock
Am 03.01.2024 um 11:36:03 Uhr schrieb Thomas Anderson:

> Key information:
> I am aware that there are two different installation paths for the 
> nvidia driver, either through the repos or from nvidia downloads.
> I think I did the later, but I have misplaced, lost, and cannot
> download the driver listed above to uninstall it. Apparently, you
> need the nvidia installer to uninstall the driver.

> I tried from CLI:
> apt nvidia purge
> but that did not work.

Because that only applies to DEB packages installed (most of them come
from a repository).
If you installed it by the shell script, it is unrelated to the
apt/dpkg stuff.

Run dpkg -l *nvidia*

and show the output.