Porteus 5.0rc1 and rc2 NVidia 340.108 driver for older hardware for kernel 5.4.30

Post links to your 64bit module repos here. Repo maintainers are responsible for resolving any issues caused by their xzm's.
Post Reply
User avatar
Rava
Contributor
Contributor
Posts: 2949
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 + 4.0 i586 XFCe
Location: Forests of Germany

Porteus 5.0rc1 and rc2 NVidia 340.108 driver for older hardware for kernel 5.4.30

Post#1 by Rava » 09 Apr 2020, 17:49

Finally managed to create it: the NVidia 340.108 driver for older hardware for kernel 5.4.30, compiled under Porteus 5.0rc1.

Update
When you use the needed kernel 5.4.30 - aka the vmlinux and the corresponding 000-kernel.xzm - the module also works for 5.0rc2 and will most probably also work in the upcoming 5.0 finale.


Image

010-nvidia-340.108-k.5.4.30-porteus-v5.0-x86_64_rava.xzm
The md5sum is like filehorst reports it:

Code: Select all

06497daf9b5d9ff241c4ab289a9618fe  010-nvidia-340.108-k.5.4.30-porteus-v5.0-x86_64_rava.xzm
Wait till the seconds counter below reaches zero.

Then click "Jetzt zur Download-Seite" (Now to the download page)

Then you will see this:
Dein Download steht nun bereit.
Klicke hier, um ihn zu starten.
(Now your download is ready.
Click here to start downloading)

Enjoy! :D
Cheers!
Yours Rava

User avatar
Rava
Contributor
Contributor
Posts: 2949
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 + 4.0 i586 XFCe
Location: Forests of Germany

Porteus 5.0rc1 NVidia 340.108 driver for older hardware for kernel 5.4.30

Post#2 by Rava » 11 Apr 2020, 09:25

Since from the time of posting the above and now there have been 3 downloads, but no comment in this thread.
Therefore I presume all who downloaded it ran into no issue and it works for them as it works for me.

Happy Easter, late Lailat Al-Bara'ah and/or late Passah to everyone who celebrates these, happy free days to everyone else and stay healthy and sane.
Cheers!
Yours Rava

User avatar
Blaze
DEV Team
DEV Team
Posts: 3256
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus 5.0rc1 NVidia 340.108 driver for older hardware for kernel 5.4.30

Post#3 by Blaze » 11 Apr 2020, 09:59

1st comment. Well done and Happy Easter :)
Linux 5.10.11-porteus #1 SMP Thu Jan 28 11:33:44 UTC 2021 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
maia
Black ninja
Black ninja
Posts: 82
Joined: 08 Aug 2019, 16:56
Distribution: Porteus 5 rc2 < 64b Openbox
Location: Brasil

Porteus 5.0rc1 NVidia 340.108 driver for older hardware for kernel 5.4.30

Post#4 by maia » 11 Apr 2020, 15:02

Happy Easter and healthy for everyone. :)
Sorry my english is really, g##gle-tr4nsl4t0r

User avatar
Rava
Contributor
Contributor
Posts: 2949
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 + 4.0 i586 XFCe
Location: Forests of Germany

Porteus 5.0rc1 NVidia 340.108 driver for older hardware for kernel 5.4.30

Post#5 by Rava » 14 Apr 2020, 14:12

I really like the statistic filehort provides when you use a free (as in beer) account… and upload files when logged in.

As of now, 010-nvidia-340.108-k.5.4.30-porteus-v5.0-x86_64_rava.xzm has 8 downloads, while the version for older 5.4.19 kernel uploaded 03.03.2020 only has 7.
Seems it was a good approach to make a driver for the newest available kernel.
And no, newer kernels than 5.4.* are not supported by the 340.* driver. :cry:

Maybe one who is able to code really well will be able to provide a hack (especially in such weird Corona-Chan times one needs to have nice dreams, right?)… but I presume such hack might go against the NVidia copyright rules. Anyhow I cannot code C nearly good enough to even think about attempting such.
Cheers!
Yours Rava

matpituser
White ninja
White ninja
Posts: 4
Joined: 29 Aug 2020, 16:51
Distribution: xfce 4.0

Porteus 5.0rc1 NVidia 340.108 driver for older hardware for kernel 5.4.30

Post#6 by matpituser » 29 Aug 2020, 16:56

Hi,may i know if this driver support gtx 1050 2gb?Thank you.

donald
Full of knowledge
Full of knowledge
Posts: 1813
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Porteus 5.0rc1 NVidia 340.108 driver for older hardware for kernel 5.4.30

Post#7 by donald » 29 Aug 2020, 20:24

No, apparently you need at least 390.138.

Check it out yourself > go here:
https://www.nvidia.com/en-us/drivers/unix/
click on number of driver > click "supported products" > look for your card.

User avatar
Rava
Contributor
Contributor
Posts: 2949
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 + 4.0 i586 XFCe
Location: Forests of Germany

Porteus 5.0rc1 and rc2 NVidia 340.108 driver for older hardware for kernel 5.4.30

Post#8 by Rava » 16 Dec 2020, 01:18

Update
I renamed the thread to include rc2 as well - since it runs fine on rc2 - and added the bold red text at the top of the initial article.
Cheers!
Yours Rava

dorian_newton
White ninja
White ninja
Posts: 4
Joined: 04 Feb 2021, 02:10
Distribution: porteus

Porteus 5.0rc1 and rc2 NVidia 340.108 driver for older hardware for kernel 5.4.30

Post#9 by dorian_newton » 04 Feb 2021, 02:15

Rava wrote:
09 Apr 2020, 17:49
kernel 5.4.30 - aka the vmlinux and the corresponding 000-kernel.xzm
where can i get this for nvidia.xzm:

kernel 5.4.30 - aka the vmlinux and the corresponding 000-kernel.xzm

sorry i'm newbie

User avatar
Rava
Contributor
Contributor
Posts: 2949
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc2 + 4.0 i586 XFCe
Location: Forests of Germany

Porteus 5.0rc1 and rc2 NVidia 340.108 driver for older hardware for kernel 5.4.30

Post#10 by Rava » 04 Feb 2021, 06:29

dorian_newton wrote:
04 Feb 2021, 02:15
sorry i'm newbie
No need to be sorry, we are happy to have you. Image
dorian_newton wrote:
04 Feb 2021, 02:15
where can i get this for nvidia.xzm:
kernel 5.4.30 - aka the vmlinux and the corresponding 000-kernel.xzm
Here you go:

Code: Select all

9b59729ead8017b8a5490f54e0c6e647  Porteus-kernel5.4.30+000-kernel.xzm
CAVE! Even though I put it in a module, it would not work just adding the module to your base folder!
You have to extract the module
by doing as root a

Code: Select all

xzm2dir Porteus-kernel5.4.30+000-kernel.xzm /existing-folder/
and copy the vmlinuz into your boot/ folder and the 000-kernel module into your porteus/base folder. (If there already is a 000-kernel module, deleting a possible existing 000-kernel, there can always only be one kernel (vmlinuz) and one 000-kernel module for any Porteus system.) And if you not rename vmlinuz_Porteus_5.4.30_x86_64 back to the generic vmlinuz you also have to edit your porteus.cfg to reflect the kernel name. (Since I have several kernels in my boot/ I choose to rename them according to their Linux OS and kernel version due to convenience)

Download link:
https://filehorst.de/d/dprqkozl

Containing files:

Code: Select all

f5df3c96f73367689085585bd438b6e7  boot/vmlinuz_Porteus_5.4.30_x86_64
d33c33ba339f0a94844dd73e6749daee  porteus/base/000-kernel5.4.30.xzm
Since filehorst speaks German, a short HOWTO download and translation:

To get it, first wait 15 seconds "Dein Download wird jetzt vorbereitet." (Your download is being prepared)
Then click "Jetzt zur Download-Seite" (now to the download page)
Then click "Dein Download steht nun bereit. Klicke hier, um ihn zu starten." (Your download is ready. Click here to start downloading it)
Cheers!
Yours Rava

Post Reply