NVidia 535 Driver Installation Dependency Problems [SOLVED]

Moderator: Forum moderators

Post Reply
User avatar
jp734
Posts: 207
Joined: Fri Jul 17, 2020 10:23 pm
Has thanked: 96 times
Been thanked: 97 times

NVidia 535 Driver Installation Dependency Problems [SOLVED]

Post by jp734 »

Fresh bookwormpup install on a laptop with hybrid intel/nvidia graphics that is set using the discrete (nvidia) in bios....for now.

First updated with apt-get update. Then followed the steps here viewtopic.php?t=11038 and received an error (see screenshot.png)

Rebooted the laptop and during the boot process, I was given this error message

Code: Select all

loading kernel modules... Error! Bad return status for module build on kernel: 6.1.76 (x86_64)
Consult /var/lib/dkms/nvidia-current/535.183.01/build/make.log for more information
Error! One or more modules failed to install during auto install
Refer to previous errors for more information

Laptop booted successfully but wasn't sure if I'm really using NVidia driver. PupSysInfo says otherwise but NVidia Setting doesn't show any info (see screenshot(2).png.

I wanted to make sure I'm really using NVidia so I edited xorg.conf and specified

Code: Select all

Section Device
   Identifier "Card0"
   Driver "nvidia"
   BudID "1:0:0"
EndSection

and X Failed to start

Installing "nvidia-setting" gave me an error (see screenshot(1).png)

Attachments
Screenshot.png
Screenshot.png (195.65 KiB) Viewed 739 times
Screenshot(1).png
Screenshot(1).png (14.6 KiB) Viewed 739 times
Screenshot(2).png
Screenshot(2).png (305.04 KiB) Viewed 739 times
Last edited by jp734 on Wed Jul 17, 2024 5:39 pm, edited 2 times in total.

The Art of Magic and The Magic of Art

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

Re: NVidia 535 Driver Installation Dependency Problems

Post by bigpup »

May need to also have these SFS loaded.
devx sfs https://www.smokey01.com/radky/puppy-bo ... 10.0.6.sfs
kernel sources sfs https://www.smokey01.com/radky/puppy-bo ... upbw64.sfs

First getting the devx loaded.
It will not load using the SFS load GUI program.
In the program it is listed with all the other BookwormPup64 SFS's, which are all grayed out and cannot be selected.
To get the devx sfs loaded you have to navigate to the file click on it and select install.

The kernel sources SFS does load by using the SFS load GUI.

Because of your errors I have edited the process to include doing this.

These provide what is needed to do any compiling.

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

I would just do it all over again the complete process of installing the Nvidia driver stuff.

Code: Select all

apt install nvidia-driver libnvidia-cfg1 nvidia-xconfig && nvidia-xconfig

It may require apt uninstall of what did get installed to get apt to do a new install.

If you did the other stuff correctly. They should still be good.

Nothing in the steps in that topic says to use apt-get update.
Use just apt update to update the repository info.

I assume you are booting using a save file or folder that has enough free space in it for what is needed.
Make sure.

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
jp734
Posts: 207
Joined: Fri Jul 17, 2020 10:23 pm
Has thanked: 96 times
Been thanked: 97 times

Re: NVidia 535 Driver Installation Dependency Problems

Post by jp734 »

@bigpup - Unfortunately, it's the same result

Steps I took:
1. To be sure, I deleted the save file and created new one. Start from scratch
2. Edit xwin, save and reboot
3. Ran "apt update"
4. Load SFS files devx and kernel
5. Tried installing nvidia driver from NVidia website. FAILED (If anybody is interested, I can upload a copy of the log file)
6. Tried installing driver using synaptics. Pretty much the same dependency error on first post.

By the way, nvidia driver never worked. the PupSysInfo screenshot I uploaded says kernel: nvidia but driver: vesa. That's why it makes sense X failed to start when I edited xorg.conf and specify nvidia as the driver to use

I know the gpu works coz driver 440 in bionicpup PPM works. Driver 450 in fossa PPM works. Driver 525 SFS in EasyOS works. NVidia website says I can use 550 and it's what I tried installing, so bookwormpup nvidia driver 535 should work. GPU is a Quadro M1200

Do you think I can try the EasyOS 525 sfs driver? Guess I can try.

The Art of Magic and The Magic of Art

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

Re: NVidia 535 Driver Installation Dependency Problems

Post by bigpup »

5. Tried installing nvidia driver from NVidia website. FAILED (If anybody is interested, I can upload a copy of the log file)
6. Tried installing driver using synaptics. Pretty much the same dependency error on first post.

Now you most likely have a mix up of Nvidia files. From two bad attempts.

Nvidia driver packages seem to constantly move the requirements of what they need to get complied.
I never got one to compile for me in BookwormPup64.

Start over again with a new save.

DO NOT TRY TO INSTALL ANYTHING BUT WHAT APT PROVIDES.

No you cannot use a driver SFS package that was compiled for a different version of Puppy or Easy OS.
Drivers are kernel specific and have to be compiled for the Linux kernel that is being used.

I did the driver install with apt in March 2024 and it installed the NVIDIA 525.147.05 driver.

Apt is getting the stuff from a Debian repository.

You seem to be getting a different driver from them. Nvidia 535.183.01, so they have changed the driver being offered.

I am going to go try doing it with a fresh save on my BookwormPup64 install and see what it does for me.

Be back to let you know what I found.

Welcome to Linux Software! :roll:

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: 2481
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1252 times

Re: NVidia 535 Driver Installation Dependency Problems

Post by dimkr »

jp734 wrote: Fri Jul 05, 2024 2:10 am

Rebooted the laptop and during the boot process, I was given this error message

Code: Select all

loading kernel modules... Error! Bad return status for module build on kernel: 6.1.76 (x86_64)
Consult /var/lib/dkms/nvidia-current/535.183.01/build/make.log for more information
Error! One or more modules failed to install during auto install
Refer to previous errors for more information

What does /var/lib/dkms/nvidia-current/535.183.01/build/make.log say?

(And using the driver from the Nvidia website is a bad idea, it's not guaranteed to be compatible with the Debian kernel like the driver you install using apt. You're basically mixing a new driver with an old kernel.)

User avatar
jp734
Posts: 207
Joined: Fri Jul 17, 2020 10:23 pm
Has thanked: 96 times
Been thanked: 97 times

Re: NVidia 535 Driver Installation Dependency Problems

Post by jp734 »

@bigpup - Deleted my save file again and started all over as suggested. Installation failed [screenshot(1)]. After running the apt update, there were 88 packages that were upgradable. I ran apt upgrade but it did not upgrade any package at all [screenshot] and I tried upgrading first before installing the nvidia driver.

Correct me if I'm wrong, as far as the driver from NVidia website, doesn't it create a temporary folder where it unpacks the package(s) to check. If all is okay then it installs but if something fails, nothing is written permanently? So, it has no effect if you install the apt driver after it failed?

I also was able to install the 525 driver using synaptic on my desktop a few months ago. This last attempt makes me believe there is something wrong with the synaptic packages for 535 driver.

@dimkr make.log uploaded as fake .zip file. A bunch or errors towards the end but I could not make sense of it.

Attachments
make.log.fake.zip
(72.2 KiB) Downloaded 14 times
Screenshot.jpg
Screenshot.jpg (106.91 KiB) Viewed 637 times
Screenshot(1).jpg
Screenshot(1).jpg (87.44 KiB) Viewed 637 times

The Art of Magic and The Magic of Art

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

Re: NVidia 535 Driver Installation Dependency Problems

Post by dimkr »

@jp734 Try apt install nvidia-driver=525.147.05-7~deb12u1, 10.0.6 is too old to install the latest nvidia driver

radky
Posts: 363
Joined: Fri May 28, 2021 2:14 am
Has thanked: 42 times
Been thanked: 331 times

Re: NVidia 535 Driver Installation Dependency Problems

Post by radky »

@jp734

If I understand correctly, Nvidia released the v535.183.0 linux drivers on Jun 4, 2024 and upstream Debian
added the nvidia-graphics-drivers 535.183.01-1~deb12u1 (source) to proposed updates on Jun 20, 2024.

The upcoming BW64 10.0.7 will update to kernel 6.1.94 and Apt/Synaptic will provide access to the nvidia 535.183.01-1~deb12u1 package.

User avatar
jp734
Posts: 207
Joined: Fri Jul 17, 2020 10:23 pm
Has thanked: 96 times
Been thanked: 97 times

Re: NVidia 535 Driver Installation Dependency Problems

Post by jp734 »

@dimkr 525 driver is no longer available and cant be found

@radky Yeah, I think 535 will only work once 10.0.7 is released

But, I was able to get 525 driver working on my laptop though with a little bit of work. I made a SFS file of the driver from the files in my desktop. And as you can see from the screenshot, nvidia driver 525 is being used for my Quadro M1200 gpu. :thumbup:

Thank you all for the help! Marking this topic as resolved but not solved.

Attachments
Screenshot.jpg
Screenshot.jpg (114.35 KiB) Viewed 591 times

The Art of Magic and The Magic of Art

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

Re: NVidia 535 Driver Installation Dependency Problems [RESOLVED]

Post by bigpup »

After trying everything I could think of.

Reading multiple post on the Debian Wiki, about Bookworm trying to use the 535 driver.
Basically they are having the same issues reported here.

Thanks for dimkr and Radky, looking at this issue again, and coming up with a solution. :thumbup:

I am happy to see that using the 525 driver is the fix.

I too was thinking to try using it.

It seems that because Debian is going to keep updating the kernel being used.
Any kernel specific software, is going to also be for the newest kernel, they are using.

If BookwormPup64 is going to keep using Debian repositories, for software to add.
Seems newest version of BookwormPup64 is going to have to be using their latest kernel, to get kernel specific software to work.

Still would be very good if we could get the Nvidia driver run packages to compile and work.

Nvidia 535 drivers have had issues and it did need to have a patch, to get working.
That is what the -1 at the end of it's name is suppose to be about.
It has the patch.

There are some places to get Deb packages of software, based on the Debian version.

I will see if I can find one for the Nvidia 525 driver.
.
.

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: 2481
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1252 times

Re: NVidia 535 Driver Installation Dependency Problems

Post by dimkr »

jp734 wrote: Sat Jul 06, 2024 7:14 pm

@dimkr 525 driver is no longer available and cant be found

Have you tried apt install nvidia-driver=525.147.05-7~deb12u1?

User avatar
jp734
Posts: 207
Joined: Fri Jul 17, 2020 10:23 pm
Has thanked: 96 times
Been thanked: 97 times

Re: NVidia 535 Driver Installation Dependency Problems

Post by jp734 »

dimkr wrote: Mon Jul 08, 2024 4:45 am
jp734 wrote: Sat Jul 06, 2024 7:14 pm

@dimkr 525 driver is no longer available and cant be found

Have you tried apt install nvidia-driver=525.147.05-7~deb12u1?

Yes, and driver was no longer available.

The Art of Magic and The Magic of Art

User avatar
jp734
Posts: 207
Joined: Fri Jul 17, 2020 10:23 pm
Has thanked: 96 times
Been thanked: 97 times

Re: NVidia 535 Driver Installation Dependency Problems [SOLVED]

Post by jp734 »

Dependencies for 535 driver fixed. Marking as solved.

Follow this guide from @bigpup and from the fantastic dev team
viewtopic.php?t=12134

The Art of Magic and The Magic of Art

Post Reply

Return to “BookwormPup”