The officially official Devuan Forum!

You are not logged in.

#1 2022-12-01 02:16:17

deepforest
Member
Registered: 2020-03-24
Posts: 354  

[SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5

For new kernels i successfully use this script
https://www.if-not-true-then-false.com/ … a-patcher/
All was work good.
But after Devuan Ceres update kernel to 6.0.0.5, DKMS compilation driver have failed.
Why?
https://imgur.com/a/WFW84UC
https://pastebin.com/JqQBYX6V
https://pastebin.com/MuzLMj3w

ps On Arch and kernel 6.0.0.8 all working good

Last edited by deepforest (2022-12-01 02:21:42)


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#2 2022-12-01 06:41:41

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5

I don't use NVIDIA but shellcheck.net says that script is a pile of buggy shite. Don't use it. Have you tried nouveau? tongue


Brianna Ghey — Rest In Power

Offline

#3 2022-12-01 12:37:49

Ogis1975
Member
Registered: 2017-04-21
Posts: 307  
Website

Re: [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5

Did you tried official way to install driver for Nvidia? Did you read Debian wiki https://wiki.debian.org/NvidiaGraphicsDrivers?


What economists call over-production is but a production that is above the purchasing power of the worker, who is reduced to poverty by capital and state.
            ----+- Peter Kropotkin -+----

Offline

#4 2022-12-01 13:23:15

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5

Head_on_a_Stick wrote:

I don't use NVIDIA but shellcheck.net says that script is a pile of buggy shite. Don't use it. Have you tried nouveau? tongue

nouveau is very slow


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#5 2022-12-01 13:26:28

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5

Ogis1975 wrote:

Did you tried official way to install driver for Nvidia? Did you read Debian wiki https://wiki.debian.org/NvidiaGraphicsDrivers?

official way not working with new kernels, and also have issues


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#6 2022-12-01 20:34:11

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5

Everything is clear here, except for one thing - what is the purpose of this whole undertaking?

Get speed, it will not work. Two distributions on my computer, exegnu64_chimaera-20220306 and community-pclinuxos64 with 6.0xx kernel, DE Trinity one version. There is no particular difference.

Minimalism? It turns into the need to keep a bunch of bash commands in your head.

Safety? In more than 20 years of using Linux, the worst thing that has happened is a hung browser.

There are no miracles, the kernel is "sharpened" for the latest processors, and developers are interested in them.

And the second, of course, depends on the purpose of the computer.
For uninterrupted access to Privat24 or to my wife's computer, I will never install a release other than "stable".

But, in any case, it's your computer and your decision.

Regards.

Offline

#7 2022-12-01 21:14:33

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5

@aluma
Hi! All good but i do not understand what you whant to say?

ps Privat24? Ukraine? Where are you from? I am from Kharkiv smile


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#8 2022-12-02 01:49:11

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 644  

Re: [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5

I just upgraded today, and re-installed the nVidia proprietary module.

Kernel 6.0.0-5

Different hardware ... GeForce GTX 1060, NVIDIA-Linux-x86_64-520.56.06.run

All's working fine.

Last edited by GlennW (2022-12-02 01:49:51)


pic from 1993, new guitar day.

Offline

#9 2022-12-02 10:03:21

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5

@deepforest
Hi!
By using an unstable release, you risk your computer.
The last recent case is the kernel 5.18.2 and the backlight in laptops with Intel processors, if I'm not mistaken.
Earlier there was a case with lubunti and bios of laptops.
What's wrong with the stable release?
Practically, from my point of view of the user, there is not much difference from replacing the kernel.

Regards.

Offline

#10 2022-12-02 13:03:02

Ogis1975
Member
Registered: 2017-04-21
Posts: 307  
Website

Re: [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5

deepforest wrote:

official way not working with new kernels, and also have issues

If you use "testing" or "sid" you must understand that you are using an unstable distribution. One of the main reasons why many people choose Debian over other Linux distributions is that it requires very little administration. People want a system that just works. In general one can say that stable requires very little maintenance, while testing and unstable require constant maintenance from the administrator. If you are running stable, all you need to worry about is keeping track of security updates. If you are running either testing or unstable it is a good idea to be aware of the new bugs discovered in the installed packages, new bugfixes/features introduced etc. Before updating your system, you should read the notices provided to you by apt-listchanges.


What economists call over-production is but a production that is above the purchasing power of the worker, who is reduced to poverty by capital and state.
            ----+- Peter Kropotkin -+----

Offline

#11 2022-12-02 13:35:27

steve_v
Member
Registered: 2018-01-11
Posts: 381  

Re: [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5

Debian/Devuan unstable is not a rolling release like Arch, it it a playground for new packages before they move to testing. Unstable and testing are not subject to the same quality control as stable, they can and do break at any time, and they are categorically not recommended for inexperienced users.

Do you actually need a 6.x kernel? Unless you have a very good reason for running 6.x, you're only setting yourself up for problems - particularly when coupled with third-party trash like nvidia's proprietary driver, and even more so with a bunch of patches nobody else here would touch with a long stick piled on top as well.

Even my non-mission-critical-canary gentoo desktop is still running 5.15. Why you ask? Because unless you have bleeding-edge hardware, there's nothing whatsoever to be gained from a shiny-new-shit kernel except aggravation.

Ogis1975 wrote:

western media...

This again? Seriously? Please keep your political trolling out of support threads.

Last edited by steve_v (2022-12-02 13:43:59)


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Offline

#12 2022-12-02 14:22:28

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5

@steve_v
"...Because unless you have bleeding-edge hardware, there's nothing whatsoever to be gained from a shiny-new-shit kernel except aggravation..."

I fully support!
As one of the Linux gurus said long ago, "If everything works as it should, why upgrade?"

Regards.

Offline

#13 2022-12-02 20:33:20

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5

GlennW wrote:

I just upgraded today, and re-installed the nVidia proprietary module.

Kernel 6.0.0-5

Different hardware ... GeForce GTX 1060, NVIDIA-Linux-x86_64-520.56.06.run

All's working fine.

Different hardware, Different driver


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#14 2022-12-03 14:46:27

Evenson
Member
Registered: 2022-09-08
Posts: 58  

Re: [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5

steve_v wrote:
Ogis1975 wrote:

who are you going to report

You, I expect. As am I. I'm also going to add you to my ignore list, and I invite anyone else interested in keeping this board on-topic to do the same.

If you can't keep your political drivel to yourself, piss off. This is not the place for it.

Maybe we could get this all split off into another off topic thread and debate some more? After all peaceful dialogue is better than no dialogue is it not?


"A stop job is running..." - SystemD

Offline

#15 2022-12-03 16:57:41

golinux
Administrator
Registered: 2016-11-25
Posts: 3,316  

Re: [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5

Evenson wrote:

Maybe we could get this all split off into another off topic thread and debate some more? After all peaceful dialogue is better than no dialogue is it not?

Human stupidity knows no bounds and I guarantee there is little solution in talking these days.

golinux goes to ponder a solution to the detritus . . .

a few minutes later . . ;.

There all cleaned up!

Offline

#16 2022-12-04 00:46:32

deepforest
Member
Registered: 2020-03-24
Posts: 354  

Re: [SOLVED] 340.108 nvidia driver, DKMS compilation failed on kernel 6.0.0.5

SOLVED!
previously i am install runit init
now i am move back to sysv init
and now driver installation complete without errors


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

Board footer