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-legacy-304xx driver for Debian 10 (Buster)

Linux Kernel, Network, and Services configuration.
Message
Author
User avatar
burrezo
Posts: 1
Joined: 2020-11-15 12:00

Re: nvidia-legacy-304xx driver for Debian 10 (Buster)

#21 Post by burrezo »

Hi all, my two cents...

This is the way i've managed to resurrect an upgraded dinosaur: Asus P5N73-AM (chipset NForce 610i, integrated nvidia 7050) + Xeon x5450 [775 mod] + 4Gb Ram + SSD

https://www.asus.com/us/Motherboards/P5N73AM/

[1] Fresh install debian-10.6.0-amd64-netinst.iso , base install, no apps, no extra packages, no desktop environment.... nothing. Once finished, update/upgrade as root:

Code: Select all

apt-get update && apt-get upgrade
[2] As root:

Code: Select all

apt install sudo neovim wget patch git binutils gcc make linux-headers-$(uname -r) libgtk2.0-0
[3] As root:

Code: Select all

usermod add -aG sudo YourUserName
[4] As root, edit your repository list (/etc/apt/sources.list), comment everything, and at the end, add: deb http://deb.debian.org/debian stretch main contrib non-free

[5] As root:

Code: Select all

apt-get update
[6] As root:

Code: Select all

apt install xserver-xorg-core xinit dwm suckelss-tools stterm
This will install Xorg v1.19 from stretch repositories (the packages dwm, suckless-tools and stterm only needed for a dwm tiling window manager installation)

[7] Edit your repository list (/etc/apt/sources.list), un-comment everything previously commented, and comment the last line you added before: #deb http://deb.debian.org/debian stretch main contrib non-free , and then, again, as root:

Code: Select all

apt-get update
[8] Reboot, and login as YourUserName

[9] Download de Nvidia official proprietary driver for your old nvidia GPU, in this case is a 7050, but I suppose this method will work with A LOT of old chipsets/cards ( https://www.nvidia.es/Download/driverRe ... px/123847/ <- 'SUPPORTED PRODUCTS' tab )

Code: Select all

wget https://us.download.nvidia.com/XFree86/Linux-x86_64/304.137/NVIDIA-Linux-x86_64-304.137.run
[10] Make the file executable:

Code: Select all

chmod +x NVIDIA-Linux-x86_64-304.137.run
[11] Extract, NOT execute, the file (note the '-x' at the end):

Code: Select all

./NVIDIA-Linux-x86_64-304.137.run -x
Directory 'NVIDIA-Linux-x86_64-304.137' is created.

[11] Get some patches from Jorge Maidana ( https://github.com/jorgem-seq ) FOLLOW & LIKE/STAR HIS WORK PLEASE!

Code: Select all

git clone https://github.com/jorgem-seq/NVIDIA-Linux-304.137-patches.git
[12] Navigate into the 'NVIDIA-Linux-x86_64-304.137' directory, and apply the patches, IN ORDER, up to the patch needed, depending on the kernel installed, so, in this case, with a clean install, the kernel is 4.19.0, so, only patches 0001, 0002, 0003, 0004 and 0005 are needed (adjust your path when patching, depending on where the files were downloaded, extracted, cloned, etc...)

Code: Select all

patch -p1 <../NVIDIA-Linux-x86_64-304.137-patches/patches/0001-disable-mtrr-4.3.patch
patch -p1 <../NVIDIA-Linux-x86_64-304.137-patches/patches/0002-pud-offset-4.12.patch
patch -p1 <../NVIDIA-Linux-x86_64-304.137-patches/patches/0003-nvidia-drm-pci-init-4.14.patch
patch -p1 <../NVIDIA-Linux-x86_64-304.137-patches/patches/0004-timer-4.15.patch
patch -p1 <../NVIDIA-Linux-x86_64-304.137-patches/patches/0005-usercopy-4.16.patch 
[13] we need to execute the nvidia installer twice:

Code: Select all

sudo ./nvidia-installer
, the first time, will disable the nouveau drivers, and need to reboot:

Code: Select all

sudo reboot
, the second time, the installer return a fake warning about modprobe location, but will install nvidia drivers and modules ok, we need a final reboot.

[14] Check for nvidia modules:

Code: Select all

lsmod | grep nvidia
[15] Mark xorg and xinit as NOT upgradeable:

Code: Select all

sudo apt-mark hold xserver-xorg-core xinit
For listing packages status:

Code: Select all

dpkg –get-selections
[16] Edit/create your .xinitrc depending on your desktop environment and start the X server:

Code: Select all

startx
https://i.ibb.co/F5csHMm/xorg-nvidia-info3.png

https://i.ibb.co/h7mGCHY/capt-gears.png

[P:S.] If you want more resolution at tty when booting the pc, first, you need to know the available resolutions for your gpu:

Code: Select all

sudo apt install hwinfo
sudo hwinfo --framebuffer
Choose one supported by your monitor, and edit /etc/default/grub , un-comment / add:

GRUB_GFXMODE=1400X1050
GRUB_GFXPAYLOAD_LINUX=keep


Save/quit and:

Code: Select all

sudo update-grub
sudo reboot
Its recommended to increase font size:

Code: Select all

sudo dpkg-reconfigure console-setup
Choose font Terminus, size 14x28, for example.

~~~~~~~~

Mod Note: oversized images replaced with plain links, please consider forum users with limited bandwidth — HoaS
Last edited by burrezo on 2020-11-18 09:22, edited 1 time in total.

JaredPuffin
Posts: 1
Joined: 2020-11-17 12:13

Re: nvidia-legacy-304xx driver for Debian 10 (Buster)

#22 Post by JaredPuffin »

Len E. wrote:To stevenpusser:

I came across your comments on xorg upgrades or downgrades in a post
from the MXlinux forum: specifically in
https://forum.mxlinux.org/viewtopic.php?t=worktime.com45522.

Given your expertise in xorg upgrades and downgrades,
is it practical to downgrade the Buster xorg version to
the Stretch xorg version, such that the buster
xserver-xorg-core version 2.1.20-4-1 is in fact
repaced by the stretch xserver-xorg-core version
2.1.19.2-1, thereby solving my problem ??

If this approach is feasible, could you specify the
steps required to make it happen ??

Please advise.
Len E.
Even if nvidia-support and nvidia-kernel-common installed without
incident does not mean it was no incedent. Basicly instalation path could be broken

Post Reply