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

Moderator: Forum moderators

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

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

Post by bigpup »

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.

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

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

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
.

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 install nvidia-driver libnvidia-cfg1 nvidia-xconfig && nvidia-xconfig

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

Forum Global Moderator
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: 6268
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 732 times
Been thanked: 1292 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 97 times

.

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

.
.

Forum Global Moderator
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

Post Reply

Return to “BookwormPup”