Page 1 of 1

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

Posted: Sat Mar 23, 2024 5:23 am
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 27 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


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

Posted: Mon Apr 08, 2024 2:58 pm
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 1009 times

.

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

.
.


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

Posted: Wed Jul 17, 2024 5:53 am
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 ??


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

Posted: Wed Jul 17, 2024 6:10 am
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).


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

Posted: Wed Jul 17, 2024 7:06 am
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


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

Posted: Sun Jul 28, 2024 5:55 pm
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


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

Posted: Sun Jul 28, 2024 7:16 pm
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. ;)