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


Groups > linux.debian.user > #265435 > unrolled thread

Re: Nvidia driver on Debian 10

Started byMarco Moock <mm@dorfdsl.de>
First post2024-01-03 11:50 +0100
Last post2024-01-04 16:00 +0100
Articles 6 — 5 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Nvidia driver on Debian 10 Marco Moock <mm@dorfdsl.de> - 2024-01-03 11:50 +0100
    Re: Nvidia driver on Debian 10 Marco Moock <mm@dorfdsl.de> - 2024-01-03 12:10 +0100
      Re: Nvidia driver on Debian 10 Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2024-01-03 13:00 +0100
        Re: Nvidia driver on Debian 10 Hans <hans.ullrich@loop.de> - 2024-01-03 17:20 +0100
      Re: Nvidia driver on Debian 10 Thomas Anderson <thomas.anderson@little-beak.com> - 2024-01-03 19:30 +0100
        Re: Nvidia driver on Debian 10 Franco Martelli <martellif67@gmail.com> - 2024-01-04 16:00 +0100

#265435 — Re: Nvidia driver on Debian 10

FromMarco Moock <mm@dorfdsl.de>
Date2024-01-03 11:50 +0100
SubjectRe: Nvidia driver on Debian 10
Message-ID<HS6YV-tIx-1@gated-at.bofh.it>
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.

[toc] | [next] | [standalone]


#265438

FromMarco Moock <mm@dorfdsl.de>
Date2024-01-03 12:10 +0100
Message-ID<HS7ih-u9n-3@gated-at.bofh.it>
In reply to#265435
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).

[toc] | [prev] | [next] | [standalone]


#265440

FromAnssi Saari <anssi.saari@debian-user.mail.kapsi.fi>
Date2024-01-03 13:00 +0100
Message-ID<HS84F-uvS-5@gated-at.bofh.it>
In reply to#265438
Marco Moock <mm@dorfdsl.de> 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.

[toc] | [prev] | [next] | [standalone]


#265443

FromHans <hans.ullrich@loop.de>
Date2024-01-03 17:20 +0100
Message-ID<HSc8h-xq7-5@gated-at.bofh.it>
In reply to#265440

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

> 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

[toc] | [prev] | [next] | [standalone]


#265448

FromThomas Anderson <thomas.anderson@little-beak.com>
Date2024-01-03 19:30 +0100
Message-ID<HSea5-yAy-1@gated-at.bofh.it>
In reply to#265438
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).
>

[toc] | [prev] | [next] | [standalone]


#265507

FromFranco Martelli <martellif67@gmail.com>
Date2024-01-04 16:00 +0100
Message-ID<HSxmq-KZ5-7@gated-at.bofh.it>
In reply to#265448
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web