Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Nvidia drivers install Debian 10

Need help with peripherals or devices?
Message
Author
neodeb
Posts: 120
Joined: 2007-08-09 02:49

Re: Nvidia drivers install Debian 10

#21 Post by neodeb »

The wiki does not even include Debian 10. [To this date Sept 7, 2019]

AND IT SAYS NOTHING ABOUT NVIDIA 304 CAN'T WORK WITH DEBIAN 10.

And stuttering Nouveau (this date) isn't even working either.

DO NOT release tier upgrade to Debian 10 buster on your main systems where Nvidia 304 is desired.
Open is freedom.

neodeb
Posts: 120
Joined: 2007-08-09 02:49

Re: Nvidia drivers install Debian 10

#22 Post by neodeb »

Let me be clear:

Debian (10) just allowed numerous computers with legacy nvidia GPU's to fail BEFORE their time.

Because Nvidia stopped support and refuses to go open.

However; so what? Why HELP Nvidia obsolete them? Why should we also stop supporting GPU's that are working?

Either work with the last proprietary driver or fix open Nouveau. Either way you can't cut stuff off just because Nvidia does.

AND ALSO FAIL TO WARN PEOPLE.


If it's all important that xorg move away (not held back) from nvidia "legacy" cards then they also need a fork that doesn't.

And the new Wayland tests, ideas, and future is great; but so far limits what apps you can use with it. So we are still xorg or die until then.

Are we putting the cart before the horse (and blaming the BS in the road)?
Open is freedom.

bryanmc
Posts: 122
Joined: 2016-11-18 12:21
Has thanked: 2 times

Re: Nvidia drivers install Debian 10

#23 Post by bryanmc »

neodeb wrote:The wiki does not even include Debian 10. [To this date Sept 7, 2019]

AND IT SAYS NOTHING ABOUT NVIDIA 304 CAN'T WORK WITH DEBIAN 10.

DO NOT release tier upgrade to Debian 10 buster on your main systems where Nvidia 304 is desired.
I remember reading somewhere (not in this forum) that 3.04 was not going to be supported in buster (might have been in the installer since although I was running 390 I sill had 304 installed). I had an old Nvidia card that ran on legacy-304.xx in Jessie. It also ran on legacy 340.xx on stretch and legacy-390.xx in buster. Have you tried the legacy-390.xx or one of the other legacy drivers with your card in buster?

Sorry for the side track OP...

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Nvidia drivers install Debian 10

#24 Post by stevepusser »

For a desktop, how much will it cost to get a video card that will work with the drivers in Buster and is much better than that ancient one? It can't be that much...
MX Linux packager and developer

neodeb
Posts: 120
Joined: 2007-08-09 02:49

Re: Nvidia drivers install Debian 10

#25 Post by neodeb »

http://forums.debian.net/viewtopic.php?p=707573#p707573

I got Nouveau working link above. But then nouveau was far to unstable. More at link above.

If Nouveau works well over time then great. It just hasn't been even as good; historically. Tested as poor.
Open is freedom.

Data007
Posts: 60
Joined: 2017-12-01 19:59

Re: Nvidia drivers install Debian 10

#26 Post by Data007 »

Hi
Several Installs of Debian 10, latter I still get errors, Ive also been lapses in not replying to posts sorry.

In dmesg I get the following.

Code: Select all

    1.039310] ata14: SATA max UDMA/133 abar m2048@0xf7210000 port 0xf7210480 irq 136
[    1.130315] nouveau 0000:01:00.0: bios: version 86.04.50.00.63
[    1.130502] nouveau 0000:01:00.0: firmware: failed to load nvidia/gp104/gr/sw_nonctx.bin (-2)
[    1.130599] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[    1.130696] nouveau 0000:01:00.0: Direct firmware load for nvidia/gp104/gr/sw_nonctx.bin failed with error -2
[    1.130697] nouveau 0000:01:00.0: gr: failed to load gr/sw_nonctx
[    1.131141] nouveau 0000:01:00.0: fb: 8192 MiB GDDR5
[    1.170914] [TTM] Zone  kernel: Available graphics memory: 8184110 kiB
[    1.170914] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB

Code: Select all

    1.464292] nouveau 0000:01:00.0: DRM: failed to create kernel channel, -22
This is a desktop machine specifically a gaming tower, with a Nvida GTX 1070 Graphics card as previously stated.

As I write this post IT IS displaying the graphics on screen correctly, I have plaid windows games (previously installations)ago.
I would like to nail this red errors in

Code: Select all

sudo demesg
Contained with in the code block to the Debian wiki https://wiki.debian.org/Firmware I have scanned this only I would need further guidance,
on exactly what to stick where so that the installer(Debian 10) finds the missing firmware.

Furthur options is downloading from Nvida the driver(linux) direct and installing that.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1388
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 65 times

Re: Nvidia drivers install Debian 10

#27 Post by None1975 »

Nvidia Gtx 1070
Hello. Your card is pretty new. Released 3 years ago. So it will work great with new driver (418.74-1) as well. How do I install these drivers? It is very simple. Add contrib and non-free to your

Code: Select all

/etc/apt/sources.list
(more info here https://wiki.debian.org/SourcesList).
Then install the this script:

Code: Select all

nvidia-detect


Run it (as normal user).
Here example output:

Code: Select all

$ nvidia-detect
Detected NVIDIA GPUs:
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 430] [10de:0de1] (rev a1)
Your card is supported by the default drivers.
It is recommended to install the
    nvidia-driver
package.
Now, install Linux headers for the kernel you are using. If you are using the 4.19 Linux kernel in Debian Buster:

Code: Select all

# apt-get install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//')
Then you can install the package:

Code: Select all

nvidia-driver
.

Code: Select all

# apt-get update
# apt-get install nvidia-driver 
Restart your system to enable the nouveau blacklist.
This method i used on all my machines.
Here is screenshot:
Image
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

Data007
Posts: 60
Joined: 2017-12-01 19:59

Re: Nvidia drivers install Debian 10 :Solved

#28 Post by Data007 »

None1975 wrote:
Nvidia Gtx 1070
Hello. Your card is pretty new. Released 3 years ago. So it will work great with new driver (418.74-1) as well. How do I install these drivers? It is very simple. Add contrib and non-free to your

Code: Select all

/etc/apt/sources.list
(more info here https://wiki.debian.org/SourcesList).
Then install the this script:

Code: Select all

nvidia-detect


Run it (as normal user).
Here example output:

Code: Select all

$ nvidia-detect
Detected NVIDIA GPUs:
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 430] [10de:0de1] (rev a1)
Your card is supported by the default drivers.
It is recommended to install the
    nvidia-driver
package.
Now, install Linux headers for the kernel you are using. If you are using the 4.19 Linux kernel in Debian Buster:

Code: Select all

# apt-get install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//')
Then you can install the package:

Code: Select all

nvidia-driver
.

Code: Select all

# apt-get update
# apt-get install nvidia-driver 
Restart your system to enable the nouveau blacklist.
This method i used on all my machines.
Here is screenshot:
Image
Well thats that it works good not done a demsg but I can now play windows games, a most comprehensible set of instructions.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Nvidia drivers install Debian 10

#29 Post by stevepusser »

Aren't those pretty much the same instructions as in the Debian wiki?
MX Linux packager and developer

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1388
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 65 times

Re: Nvidia drivers install Debian 10

#30 Post by None1975 »

stevepusser wrote:Aren't those pretty much the same instructions as in the Debian wiki?
There is nothing written about the installation of Nvidia drivers in Debian 10. I mean on the official Debian wiki. Therefore, I decided to share my experience. I understand that this method is no different from the one used in Debian 9, but I think it will make life easier for a newbie ...
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1388
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 65 times

Re: Nvidia drivers install Debian 10 :Solved

#31 Post by None1975 »

Data007 wrote:Well thats that it works good not done a demsg
Hello again. Sorry for my bad English. These lines appear because you are missing the firmware for nvidia.
From the user’s point of view, a firmware is just some data that is needed by some piece of hardware in order to function properly. The driver for that hardware typically loads the firmware on the device as part of its initialization.
In the Linux kernel, the drivers are all using a standardized interface (request_firmware) to retrieve the firmware before sending it to the device. Thanks to this standardization, it’s possible to either embed the firmware in the kernel or to have it request the firmware from user-space when needed.
So, using a quick search I found this:

Code: Select all

apt search nvidia/gp104/gr/sw_nonctx.bin
Sorting... Done
Full Text Search... Done
firmware-misc-nonfree/stable,now 20190114-2 
  Binary firmware for various drivers in the Linux kernel
So you need to install this package:

Code: Select all

firmware-misc-nonfree
And to put it simply, install the package

Code: Select all

firmware-linux-nonfree
because package

Code: Select all

firmware-misc-nonfree
depends on

Code: Select all

firmware-linux-nonfree
And reboot.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

darkness44
Posts: 6
Joined: 2019-11-26 05:20

Re: Nvidia drivers install Debian 10

#32 Post by darkness44 »

phenest wrote:
Data007 wrote:Attempting to fix the sources, having trouble Identifying which lines to # out.
If you're running Buster, the only line you need is:

Code: Select all

deb http://http.us.debian.org/debian/ buster main contrib non-free
Comment out the rest.
i agree it should solve the issue

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Nvidia drivers install Debian 10

#33 Post by sunrat »

darkness44 wrote:
phenest wrote:
Data007 wrote:Attempting to fix the sources, having trouble Identifying which lines to # out.
If you're running Buster, the only line you need is:

Code: Select all

deb http://http.us.debian.org/debian/ buster main contrib non-free
Comment out the rest.
i agree it should solve the issue
Don't spread this rubbish. You at least need security repos as well, unless you never connect to any networks.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply