[HOWTO] make a xzm module driver for NVIDIA video card
- Blaze
- DEV Team
- Posts: 3998
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
[HOWTO] make a xzm module driver for NVIDIA video card
Post#136 by Blaze » 20 Dec 2022, 04:58
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
Blaze
- ncmprhnsbl
- DEV Team
- Posts: 4292
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
[HOWTO] make a xzm module driver for NVIDIA video card
Post#137 by ncmprhnsbl » 20 Dec 2022, 06:08
pretty sure the latest 470.161 release doesn't need to patched for 6.* kernels any more.. and the 5.25 series for newish cards is fine too..rych wrote: ↑19 Dec 2022, 13:20An interesting thread on compatibility of NVidia drivers with 6.0 kernels: https://forums.developer.nvidia.com/t/4 ... l/229735/4
Basically, I might have to apply a patch. But anyway, I'm not even getting to that stage, at the moment my porteus doesn't pass NVidia's "CC sanity check"
ncmprhnsbl
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
[HOWTO] make a xzm module driver for NVIDIA video card
Post#138 by Rava » 25 Dec 2022, 05:55
Since Blaze wrote
and that is the very same version as in the 05-devel module of Porteus 5.0:
Code: Select all
root@porteus:/mybin/linux/porteus/5.0/x86-64# md5sum 05-devel.xzm
4ad2c0217ec914cb02aab3b77fd55fe5 05-devel.xzm
root@porteus:/mybin/linux/porteus/5.0/x86-64# mloop 05-devel.xzm
using /dev/loop11
Please wait while I gather some info ....
Nothing is mounted in /mnt/loop.
#################################
Your module has been mounted at:
/mnt/loop
You can unmount it by typing uloop
Here is a list of the files:
etc lib lib64 usr var
root@porteus:/mybin/linux/porteus/5.0/x86-64# /mnt/loop/usr/bin/cc --version
cc (GCC) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Or am I still missing things?
Yours Rava
Rava
[HOWTO] make a xzm module driver for NVIDIA video card
Post#139 by beny » 25 Dec 2022, 17:45
beny
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
[HOWTO] make a xzm module driver for NVIDIA video card
Post#140 by Rava » 25 Dec 2022, 19:15
you are correct, aside from the needed modules as named above I think I will only load 000- 001- and 002- modules.
not even any 003- should be needed since you cannot and should not startx prior the compilation of the driver for NVIDIA GPU.
Yours Rava
Rava
-
- Contributor
- Posts: 129
- Joined: 03 Feb 2020, 18:51
- Distribution: Debian 12, Porteus 5.01
- Location: Poland
[HOWTO] make a xzm module driver for NVIDIA video card
Post#141 by i3slkiller » 26 Mar 2024, 20:43
I need to know from nvidia card owners if this module (not) works (no, I don't have nvidia card).
i3slkiller
- Blaze
- DEV Team
- Posts: 3998
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
[HOWTO] make a xzm module driver for NVIDIA video card
Post#142 by Blaze » 30 Mar 2024, 14:20
Thanks.
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
Blaze
- Ed_P
- Contributor
- Posts: 8960
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
[HOWTO] make a xzm module driver for NVIDIA video card
Post#143 by Ed_P » 30 Mar 2024, 15:14
I don't have a NVIDIA card either and when I went to your link nothing I clicked on downloaded it.i3slkiller wrote: ↑26 Mar 2024, 20:43I wrote the script which builds nvidia driver module unattendedly https://gitlab.com/i3slkiller/porteusbu ... type=heads

Ed_P
-
- Contributor
- Posts: 129
- Joined: 03 Feb 2020, 18:51
- Distribution: Debian 12, Porteus 5.01
- Location: Poland
[HOWTO] make a xzm module driver for NVIDIA video card
Post#144 by i3slkiller » 30 Mar 2024, 15:19
i3slkiller
- Ed_P
- Contributor
- Posts: 8960
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
[HOWTO] make a xzm module driver for NVIDIA video card
Post#145 by Ed_P » 31 Mar 2024, 05:27
For others that come this way it should be noted the image posted is what displays when the Code v button in the upper right hand corner is pressed.
Ed_P
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
[HOWTO] make a xzm module driver for NVIDIA video card
Post#146 by Rava » 25 Apr 2024, 20:41
For now I was to lazy to work my way through the wasteland that are such high level patches, therefore I still use the old 010-nvidia-340.108-k.5.4.30-porteus-v5.0-x86_64_rava.xzm
The NV driver version is 340.108 and the last kernel that was able to be compiled for without patches is 5.4.30-porteus.
I wish there was a way, I could try your script, but since I think I have to update Port first. This is my current system:
Code: Select all
001-core.xzm:20231229
002-xorg.xzm:20231229
002-xtra.xzm:20231229
003-xfce.xzm:20231229
06-man.xzm:20230915
initrd.xz:20220928
Yours Rava
Rava
-
- Contributor
- Posts: 129
- Joined: 03 Feb 2020, 18:51
- Distribution: Debian 12, Porteus 5.01
- Location: Poland
[HOWTO] make a xzm module driver for NVIDIA video card
Post#147 by i3slkiller » 26 Apr 2024, 11:26
Oops... I didn't think about it earlier, mainly because 550.67 builds on virtualbox vm without any patches. I modified this script that it builds both 340.108 and 550.67 driver, and included patches for older one.
And of course run this script on Always Fresh mode.
i3slkiller
- ncmprhnsbl
- DEV Team
- Posts: 4292
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
[HOWTO] make a xzm module driver for NVIDIA video card
Post#148 by ncmprhnsbl » 29 Apr 2024, 06:07

an option for the 470.* branch too will be no doubt appreciatedi3slkiller wrote: ↑26 Apr 2024, 11:26I modified this script that it builds both 340.108 and 550.67 driver

ncmprhnsbl
-
- Contributor
- Posts: 129
- Joined: 03 Feb 2020, 18:51
- Distribution: Debian 12, Porteus 5.01
- Location: Poland
[HOWTO] make a xzm module driver for NVIDIA video card
Post#149 by i3slkiller » 29 Apr 2024, 07:19
470.239.06 driver builds without issues for 6.6.20 kernel without patches, not sure if it will workncmprhnsbl wrote: ↑29 Apr 2024, 06:07an option for the 470.* branch too will be no doubt appreciated![]()
i3slkiller
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
[HOWTO] make a xzm module driver for NVIDIA video card
Post#150 by Rava » 30 Apr 2024, 00:13
Looks like it uses the newest NV driver version, unless $VERSION is specified.
How do I tell the .SlackBuild what version to use?
Yours Rava
Rava