Install Nvidia driver in BookwormPup64 10.0.6 using apt (a how-to) update

Moderator: Forum moderators

Post Reply
User avatar
bigpup
Moderator
Posts: 6999
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 913 times
Been thanked: 1528 times

Install Nvidia driver in BookwormPup64 10.0.6 using apt (a how-to) update

Post by bigpup »

This is an update after the driver has changed in the repositories.
If you are already using the Nvidia 525 driver. this will update it to the 535 driver.
This is procedure for BookwormPup64 10.0.6
Version 10.0.7 has it's own topic for this.

Credit for getting a procedure that works, to use apt to download and install a driver, goes to people posting on this topic:
viewtopic.php?t=10975
The big help by dimkr for finding the bug in xwin.
radky's work getting version 10.0.7 working.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

There is a Nvidia hardware driver available from the Debian repository that can be installed and used to operate Nvidia hardware.

If you have very, very new Nvidia hardware it may not support it, but it should support most Nvidia hardware.

Have bookwormPup64 booted using a save file/folder.

Save free space needed is 600MB (?) or more to hold the installed Nvidia package and files.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

First thing needed is a small edit to the xwin file. (driver will not get correctly used without this change to xwin

/usr/bin/xwin.

Open the file in a text editor and make this change.
Save the change.
Reboot and make sure to update the save so this is now the xwin that gets used.

This line (252):

Code: Select all

			if ! [ "`find $DRVRSPATH -type f -name "*${CURRENT_DRIVER}*"`" ] ; then

Should have been:

Code: Select all

			if ! [ "`find -L $DRVRSPATH -type f -name "*${CURRENT_DRIVER}*"`" ] ; then

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

There is a small tr file that needs replaced located in /usr/bin/

Here is a pet package to use to install the replacement tr file.

coreutils_9.1-1_tr_binary.pet
(20.29 KiB) Downloaded 28 times

Download and install this pet to get the tr file replaced.
.
.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is how to download, install, and use Nvidia driver:

In a terminal use these apt commands:

Update apt repository info:

Code: Select all

apt update

Download and install driver:

Code: Select all

apt update && apt install libgtk3-perl
apt install nvidia-driver

Download and install the Nvidia driver settings program:

Code: Select all

apt install nvidia-settings

Now reboot making sure to update the save so everything is there to use when it boots again.

It will boot to a point where you will have to run xorgwizard to get the driver used changed to nvidia.

Run xorgwizard making settings to use.
Select driver to use by specifying nvidia (manually type in nvidia)
Select resolution you want to use.
Select color depth you want (24)
Close xorgwizard.

Enter xwin

Should now continue booting to the desktop.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

All Settings used by the driver, NEED To Be Made Using The Nvida X server Settings Program
Only use this program to change driver settings.

Simply make setting changes and close the program.
Changes are made to a setting file as you make them.
This file controls the nvidia driver operation.

Note: WARNING!
When using the Nvidia X server settings program

On the X Server Display Configuration Window is an option:
Save to X Configuration File
DO NOT USE THIS OPTION
It will make an xorg.conf file that does not work and replaces the working xorg.conf

Last edited by bigpup on Mon Jul 08, 2024 12:01 am, edited 1 time in total.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
bigpup
Moderator
Posts: 6999
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 913 times
Been thanked: 1528 times

Re: Install Nvidia driver in BookwormPup64 10.0.6 using apt (a how-to)

Post by bigpup »

ETP wrote: Mon Apr 08, 2024 9:16 am

Hi bigpup,

Just for information the optional (nvdec) video decoder may be brought into operation
by installing the following package using synaptic or apt. Most deps are satisfied but a few
will be pulled in by the install.

libnvcuvid1

The increase in picture quality is minimal but the load of decoding is handled by the Cuda Nvidia engine
rather than the CPU. That frees off the CPU to handle other background tasks and makes use of an ability
of the graphics card which would otherwise go to waste.
Steve

.

Screenshot(1).jpg
Screenshot(1).jpg (31.59 KiB) Viewed 1048 times

.

Screenshot(2).jpg
Screenshot(2).jpg (34.39 KiB) Viewed 1048 times

.
.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
peebee
Posts: 1636
Joined: Mon Jul 13, 2020 10:54 am
Location: Worcestershire, UK
Has thanked: 157 times
Been thanked: 714 times
Contact:

Re: Install Nvidia driver in BookwormPup64 10.0.6 using apt (a how-to) update

Post by peebee »

bigpup wrote: Sat Mar 23, 2024 5:23 am

First thing needed is a small edit to the xwin file. (driver will not get correctly used without this change to xwin

/usr/bin/xwin.

Open the file in a text editor and make this change.
Save the change.
Reboot and make sure to update the save so this is now the xwin that gets used.

This line (252):

Code: Select all

			if ! [ "`find $DRVRSPATH -type f -name "*${CURRENT_DRIVER}*"`" ] ; then

Should have been:

Code: Select all

			if ! [ "`find -L $DRVRSPATH -type f -name "*${CURRENT_DRIVER}*"`" ] ; then

@dimkr @bigpup

Should this change be applied to Woof-CE ??

Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels

User avatar
bigpup
Moderator
Posts: 6999
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 913 times
Been thanked: 1528 times

Re: Install Nvidia driver in BookwormPup64 10.0.6 using apt (a how-to) update

Post by bigpup »

The xwin edit is changed in BookwormPup64 10.0.7

Not sure it was a Woof-CE change also.

If not it probably should be.

Here is original post on it:
viewtopic.php?p=114695#p114695

dimkr wrote:

Regarding the xwin bug - my fix is merged (https://github.com/puppylinux-woof-CE/woof-CE/pull/4258).

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

dimkr
Posts: 2425
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1202 times

Re: Install Nvidia driver in BookwormPup64 10.0.6 using apt (a how-to) update

Post by dimkr »

peebee wrote: Wed Jul 17, 2024 5:53 am

Should this change be applied to Woof-CE ??

What do you mean? You merged it https://github.com/puppylinux-woof-CE/woof-CE/pull/4258

buggingmjjjn
Posts: 1
Joined: Sun Jul 28, 2024 5:45 pm

Re: Install Nvidia driver in BookwormPup64 10.0.6 using apt (a how-to) update

Post by buggingmjjjn »

Hi
is there a way to compile and use .run drivers that's provided by Nvidia?
I have GeForce GT 730 and latest bookworm Nvidia pre compiled driver isn't compatible with my GPU architecture and I have to use this driver:
Latest Legacy GPU version (390.xx series): 390.157

User avatar
mikewalsh
Moderator
Posts: 6163
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 795 times
Been thanked: 1983 times

Re: Install Nvidia driver in BookwormPup64 10.0.6 using apt (a how-to) update

Post by mikewalsh »

@buggingmjjjn :- Hallo.....and :welcome: to the "kennels"!

Mm: well.....

TBH, you should be okay with the 470-series driver....specifically, 470.256.02:-

https://www.nvidia.com/Download/driverR ... 760/en-us/

I have a 'silent', passive-cooler GT710.....the 'poor man's' relation to yours. You have all 384 CUDA cores enabled on the GT 730, whereas I 'only' have 192 enabled here on the GT 710.....but both GPUs use the exact same GK208B chip. Go to the above link, and scroll down on the 'Supported Products' tab.

This is for the 64-bit, of course. As you say, the 390-series is also right.....IF you're running 32-bit.

For Bookwormpup64, you can use the 470-series...

Mike. ;)

Post Reply

Return to “BookwormPup”