Page 1 of 1

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

Posted: 09 Apr 2020, 17:49
by Rava
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

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

Posted: 11 Apr 2020, 09:25
by Rava
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.

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

Posted: 11 Apr 2020, 09:59
by Blaze
1st comment. Well done and Happy Easter :)

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

Posted: 11 Apr 2020, 15:02
by maia
Happy Easter and healthy for everyone. :)

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

Posted: 14 Apr 2020, 14:12
by Rava
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.

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

Posted: 29 Aug 2020, 16:56
by matpituser
Hi,may i know if this driver support gtx 1050 2gb?Thank you.

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

Posted: 29 Aug 2020, 20:24
by donald
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.

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

Posted: 16 Dec 2020, 01:18
by Rava
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.

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

Posted: 04 Feb 2021, 02:15
by dorian_newton
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

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

Posted: 04 Feb 2021, 06:29
by Rava
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)