No, you don't need linux-kernel-sources-env to compile kernel modules - it was a way of making things easier, but no longer works due to changes in linux-5.x
This will prepare the kernel source:Code: [Select]$ cd linux-5.10.3
$ make mrproper
$ cp ../config-5.10.3-tinycore64 .config
$ make oldconfig
$ make prepare
$ make modules_prepare
tce-load -i compiletc perl5 elfutils-dev ncursesw-dev bc
wget http://tinycorelinux.net/14.x/x86_64/release/src/kernel/linux-6.1.2-patched.txz
tar xf linux-6.1.2-patched.txz
wget http://tinycorelinux.net/14.x/x86_64/release/src/kernel/config-6.1.2-tinycore64
cd linux-6.1.2
make mrproper
cp ../config-6.1.2-tinycore64 .config
make oldconfig
make prepare
make modules_prepare
You can use the compiletc meta extension to download/load all that is commonly required to compile on tinycore.
sudo /mnt/sdc1/downloads/NVIDIA-Linux-x86_64-525.116.03.run --no-x-check --no-cc-version-check --kernel-source-path /home/tc/Downloads/linux-6.1.2/ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if another driver, such as nouveau, is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA device(s), or no NVIDIA device installed in this system is supported by this NVIDIA Linux graphics driver release.... logThat part of the message makes it sound like nvidia.ko got built.Code: [Select]ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when
That seems unlikely. Juanito gave you instructions for TC14.x x86_64.Code: [Select]this kernel module was built against the wrong or improperly configured kernel sources
I don't think that's it.Code: [Select]with a version of gcc that differs from the one used to build the target kernel
This sounds like a possibility. Was Xorg running when you ran this?Code: [Select]or if another driver, such as nouveau, is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA device(s)
According to the nVidia website, your board is supported by this driver.Code: [Select]or no NVIDIA device installed in this system is supported by this NVIDIA Linux graphics driver release.
This sounds like a possibility. Was Xorg running when you ran this?
Were any of the following drivers loaded:
nv_drv.so, nouveau_drv.so, nouveau.ko.gz
make -C kernel-open modules_install
make[1]: Entering directory '/home/tc/open-gpu-kernel-modules/kernel-open'
make[2]: Entering directory '/home/tc/open-gpu-kernel-modules/kernel-open'
make[2]: *** /lib/modules/6.1.2-tinycore64/build: No such file or directory. Stop.
make[2]: Leaving directory '/home/tc/open-gpu-kernel-modules/kernel-open'
make[1]: *** [Makefile:82: modules_install] Error 2
make[1]: Leaving directory '/home/tc/open-gpu-kernel-modules/kernel-open'
make: *** [Makefile:67: modules_install] Error 2
You need to create a symlink in /lib/modules/KERNEL named build that points to your prepared kernel source
Hi CardealRusso
Maybe you need to install linux-6.1_api_headers.tcz ?
nvidia-525.116.03-6.1.2-tinycore64.zip (https://drive.google.com/file/d/1veeBh3peuUn_lU1GLZV_fybBYno20eap/view)
Graphics:
Device-1: NVIDIA vendor: ASUSTeK driver: nvidia v: 525.116.03 arch: Turing
pcie: speed: 2.5 GT/s lanes: 4 bus-ID: 03:00.0 chip-ID: 10de:1f82
class-ID: 0300
Display: server: X.Org v: 1.21.1.6 driver: X: loaded: N/A failed: nvidia
dri: swrast gpu: nvidia note: X driver n/a display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1440x900 s-dpi: 75 s-size: 488x305mm (19.21x12.01")
s-diag: 575mm (22.66")
Monitor-1: HDMI-0 res: 1440x900 hz: 60 dpi: 64
size: 575x323mm (22.64x12.72") diag: 660mm (25.96") modes: N/A
API: OpenGL v: 4.5 Mesa 22.3.7 renderer: llvmpipe (LLVM 15.0.7 256 bits)
direct-render: Yes
[ 21.408] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 21.408] compiled for 1.6.99.901, module version = 1.0.0
[ 21.408] Module class: X.Org Video Driver
Graphics:
Device-1: NVIDIA vendor: ASUSTeK driver: nvidia v: 525.116.03 arch: Turing
pcie: speed: 2.5 GT/s lanes: 4 bus-ID: 03:00.0 chip-ID: 10de:1f82
class-ID: 0300
Display: server: X.Org v: 1.21.1.6 driver: X: loaded: nvidia gpu: nvidia
display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1440x900 s-dpi: 75 s-size: 488x305mm (19.21x12.01")
s-diag: 575mm (22.66")
Monitor-1: HDMI-0 res: 1440x900 hz: 60 dpi: 64
size: 575x323mm (22.64x12.72") diag: 660mm (25.96") modes: N/A
API: OpenGL v: 4.6.0 NVIDIA 525.116.03 renderer: NVIDIA GeForce GTX
1650/PCIe/SSE2 direct-render: Yestc@box:~$ env vblank_mode=0 __GL_SYNC_TO_VBLANK=0 glxgears
'76236 frames in 5.0 seconds = 15247.050 FPS
76302 frames in 5.0 seconds = 15260.339 FPS
76522 frames in 5.0 seconds = 15304.348 FPS
77164 frames in 5.0 seconds = 15432.640 FPS
76728 frames in 5.0 seconds = 15345.563 FPS
76911 frames in 5.0 seconds = 15382.092 FPS
76850 frames in 5.0 seconds = 15369.840 FPS
76995 frames in 5.0 seconds = 15398.824 FPS
77072 frames in 5.0 seconds = 15414.350 FPStc@box:~$ glxgears
1895 frames in 5.0 seconds = 378.986 FPS
1878 frames in 5.0 seconds = 375.515 FPS
2035 frames in 5.0 seconds = 406.945 FPS
tc@box:~$ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
9274 frames in 5.0 seconds = 1854.556 FPS
9430 frames in 5.0 seconds = 1885.883 FPS
9569 frames in 5.0 seconds = 1913.663 FPS
nvidia-525.116.03-6.1.2-tinycore64.zip (https://drive.google.com/file/d/1veeBh3peuUn_lU1GLZV_fybBYno20eap/view)
ACPI: failed to connect to the ACPI event daemon
export XDG_RUNTIME_DIR=/tmp
env | grep tmp
# result...XDG_RUNTIME_DIR=/tmpreadelf -d /usr/local/bin/nvidia-settings | grep 'NEEDED'cat $HOME/.local/bin/searchtce # gap added by me
#!/bin/sh
read -p "input TCE without dot tcz please
" INPUT
grep -l $INPUT.tcz /etc/sysconfig/tcedir/optional/*.dep | cut -d/ -f6 nvidia-525.116.03-6.1.2-tinycore64.zip (https://drive.google.com/file/d/1veeBh3peuUn_lU1GLZV_fybBYno20eap/view)on boot. This file doesn't have much use other than blocking any other video drivers that tinycore tries to load.
...
firmware-nvidia.tcz (this is from 13.x repo)
graphics-6.1.2-tinycore64.tcz
nvidia-525.116.03-6.1.2-tinycore64.tcz
zip.tcz
compiletc.tcz
elfutils-dev.tcz
ncursesw-dev.tcz
bc.tcz
110632 frames in 5.0 seconds = 22126.268 FPS
111820 frames in 5.0 seconds = 22363.906 FPS
111232 frames in 5.0 seconds = 22246.252 FPS76236 frames in 5.0 seconds = 15247.050 FPS
76302 frames in 5.0 seconds = 15260.339 FPS
76522 frames in 5.0 seconds = 15304.348 FPSMy current difficulty is creating the nvidia tcz. I'm currently trying to keep track of all files created/moved by the installer but it's been an almost impossible task.
touch mymarker
sudo make install
sudo find / -not -type 'd' -cnewer mymarker | grep -v "\/proc\/" | grep -v "^\/sys\/" | tee files.txt
vi files.txt..there will be a few files in files.txt that are obviously not needed and can de removed from the list.
...
graphics-6.1.2-tinycore64.tcz
nvidia-525.116.04-6.1.2-tinycore64.tcz
vulkan-tools.tcz...Try putting this in your ~/.profile (or ~/.xsession or the like), backing up your files, and rebooting:Code: [Select]export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir...
Again, I'd like to thank you for your help, juanito. Not only yours but also everyone present in this topic, ashello , thank you working on this 470 driver , mine is gt730 ddr5 1gb zotac , 3 days now i reading and working on tinycore in a virtual drive oracle . stuck with graphics driver now, i downloaded the run file of 470 driver from here and i run it.. nothing happens , still confused on it what should i have .. the kernel is 6.12 in present tinycore ,please kindly guide me what the dependencies or requirements i have to first install extensions in tinycore before i run this 470 driver, thank you
The efforts were not in vain. I confess that I had already given up, but when I finally managed to shoot, I dedicated myself.
Today I skipped going to the beach with my friends and dedicated my whole day to doing everything right. I thoroughly analyzed the coreplayer2 nvidia tcz. It took me hours with a headache until I finally discovered that the driver would not load simply because the info file was not in tce.installed. Also many problems regarding file permissions, directories (there are more than 4 directory options for the same file) and so on. tcl x11 tries to load the settings in a totally inappropriate location.
After all, I was successful.
Here it is, the proprietary nvidia driver properly working perfectly. It is possible to upgrade and add to the TCL 14.x repository. Everything is perfect!
nvidia-470.182.03-6.1.2-tinycore64.tcz (https://drive.google.com/file/d/1kKLC6M2cb2UpHups9VklT6Koip6IIEgg/view?usp=share_link)
(https://i.imgur.com/xWQ05QZ.png)
About the 5xx driver version. I found it very disrespectful of nvidia. The 525 driver, in addition to being almost twice the size, has a loss of almost half in performance. I think you should use the 525 driver only if it's really necessary.
The 470 driver received its last update in March of this year and will probably not receive any more updates regarding support for new cards, it should only receive security updates.
The only advantage over the 525 driver would be that it is compatible with RTX 40 and onwards video cards.
It took me several days to do something that today I am able to do from scratch in just a few minutes. It is very easy to install and make the tcz, but it still takes a lot of manual work.
so now how to use this info ...Maybe try installing Xorg-7.7-3d and see if the error goes away?
Hi cudainoh i already have this installed.. mm should i uninstall it and reinstall ?? i will try it and see tho..so now how to use this info ...Maybe try installing Xorg-7.7-3d and see if the error goes away?
... it says .. xorg 7.7 3d cant be deleted.. ...One of the other extensions you have installed probably depends on
beignet.tcz
cogl.tcz
godot.tcz
libvulkan.tcz
mesa-demos.tcz
open-vm-tools-desktop.tcz
simple-screensaver.tcz
weston.tcz
xf86-video-vmware.tcz
Xorg-7.7-3d-dev.tcz
Hi cudain... it says .. xorg 7.7 3d cant be deleted.. ...One of the other extensions you have installed probably depends on
xorg 7.7-3d, that's why it won't let you delete it. If any of the following
are installed, that's the reason:Code: [Select]beignet.tcz
cogl.tcz
godot.tcz
libvulkan.tcz
mesa-demos.tcz
open-vm-tools-desktop.tcz
simple-screensaver.tcz
weston.tcz
xf86-video-vmware.tcz
Xorg-7.7-3d-dev.tcz
... I was able to resolve 90% of the driver issues by moving the /usr/lib folder to /usr/local/lib as many Xorg 3d dependencies overlap these nvidia files. ...You might want to try repackaging your nvidia extension with /usr/lib changed to /usr/local/lib.
... The order of packages is very important, the driver must be placed before Xorg 3D.Check your onboot.lst file to see if it conforms to this. Maybe post a copy
Here is the onboot.lst needed for everything to work correctly:Code: [Select]......
graphics-6.1.2-tinycore64.tcz
nvidia-525.116.04-6.1.2-tinycore64.tcz
vulkan-tools.tcz
You might want to try repackaging your nvidia extension with /usr/lib changed to /usr/local/lib.
aterm.tcz
bzip2-lib.tcz
fltk-1.3.tcz
freetype.tcz
glib2.tcz
graphite.tcz
harfbuzz.tcz
imlib2-bin.tcz
imlib2.tcz
libffi.tcz
libfontenc.tcz
libICE.tcz
libjpeg-turbo.tcz
libpng.tcz
libSM.tcz
libX11.tcz
libXau.tcz
libxcb.tcz
libXcursor.tcz
libXdmcp.tcz
libXext.tcz
libXfixes.tcz
libXfont.tcz
libXmu.tcz
libXrender.tcz
libXt.tcz
pcre.tcz
wbar.tcz
Xfbdev.tcz
Xlibs.tcz
Xprogs.tcz
graphics-6.1.2-tinycore64.tcz
nvidia-470.182.03-6.1.2-tinycore64.tcz
spacefm.tcz
original-modules-6.1.2-tinycore64.tcz
linux-6.1_api_headers.tcz
firmware-nvidia.tcz
fluff.tcz
ffmpeg4.tcz
Xorg-jwm-desktop.tcz
jwm-full.tcz
jwm.tcz
e2fsprogs.tcz
ntfs-3g.tcz
ffmpeg5.tcz
Xorg-7.7.tcz
Xorg-7.7-3d.tczplease do tell me if there is some code to rearrange the files .. btw my linux is in sde drive - sde1firmware-nvidia.tcz
nvidia-470.182.03-6.1.2-tinycore64.tcz
graphics-6.1.2-tinycore64.tcz
fltk-1.3.tcz
Xfbdev.tcz
fluff.tcz
Xorg-jwm-desktop.tcz
Xorg-7.7-3d.tcz
ffmpeg4.tcz
spacefm.tcz
ntfs-3g.tcz
linux-6.1_api_headers.tcz
ffmpeg5.tcz
jwm-full.tcz
e2fsprogs.tcz
original-modules-6.1.2-tinycore64.tczHi cudain. TCL recursively resolves dependencies of the extensions in onboot.lst. Therefore, you can get away with a simpler onboot.lst that only contains top-level extensions (i.e., extensions that you want to use but that are not required by any other extensions).
I think something like this would have the same effect as the more lengthy onboot.lst that you posted, while being easier for you to understand and maintain:Code: [Select]firmware-nvidia.tcz
nvidia-470.182.03-6.1.2-tinycore64.tcz
graphics-6.1.2-tinycore64.tcz
fltk-1.3.tcz
Xfbdev.tcz
fluff.tcz
Xorg-jwm-desktop.tcz
Xorg-7.7-3d.tcz
ffmpeg4.tcz
spacefm.tcz
ntfs-3g.tcz
linux-6.1_api_headers.tcz
ffmpeg5.tcz
jwm-full.tcz
e2fsprogs.tcz
original-modules-6.1.2-tinycore64.tcz
EDIT: Are you sure you want both Xfbdev and Xorg-7.7-3d? I thought the idea was to use one or the other, not both.
so now i should keep xorg7.7 3d or xfbdev ?It depends on your goals. Xfbdev is barebones, which you may prefer if you are going for minimalism and none of your applications need fullblown Xorg. Xorg-7.7-3d has all the bells and whistles, which may be more convenient if you are setting up a general-purpose daily driver.
firefox or brave .. either i use to watch youtube vidsThat's highly dependent on user preference. I personally prefer brave because a) it comes with nice privacy settings out of the box, b) it comes with an adequate array of audio and video codecs out of the box, and c) sound works in an alsa-only environment (i.e., no need for pulseaudio or apulse). Brave can handle youtube videos out-of-the-box.
they always goin to 50-60-70% cpu usage.. please kindly guide for that tooWhen I play youtube videos I routinely hit 20% cpu usage. Maybe your machine is a bit older than mine? I'm on an X230 thinkpad with Core i7-3520M 2.90 GHz cpu and integrated intel graphics. I'm pretty sure youtube video decoding on my machine is happening in the cpu only because I have not setup graphics acceleration.
firmware-nvidia.tcz
graphics-6.1.2-tinycore64.tcz
nvidia-470.182.03-6.1.2-tinycore64.tcz
Xorg-jwm-desktop.tcz
Xorg-7.7-3d.tcz
spacefm.tcz
fluff.tcz
original-modules-6.1.2-tinycore64.tcz
linux-6.1_api_headers.tcz
e2fsprogs.tcz
ntfs-3g.tcz
ffmpeg4.tcz
ffmpeg5.tczaterm.tcz
bzip2-lib.tcz
fltk-1.3.tcz
freetype.tcz
glib2.tcz
graphite.tcz
harfbuzz.tcz
imlib2-bin.tcz
imlib2.tcz
libffi.tcz
libfontenc.tcz
libICE.tcz
libjpeg-turbo.tcz
libpng.tcz
libSM.tcz
libX11.tcz
libXau.tcz
libxcb.tcz
libXcursor.tcz
libXdmcp.tcz
libXext.tcz
libXfixes.tcz
libXmu.tcz
libXrender.tcz
libXt.tcz
wbar.tcz
Xlibs.tcz
Xprogs.tcz
jwm.tcz
Xorg-7.7.tczSince it pulls in jwm.tcz, don't load the older jwm-full.tcz.libXfont.tcz
pcre.tcz... and thanks @rich for bootsl guidance., will change them accordingly. ...Pay attention to the order:
firmware-nvidia.tcz
graphics-6.1.2-tinycore64.tcz
nvidia-470.182.03-6.1.2-tinycore64.tcz
Xorg-jwm-desktop.tcz
Xorg-7.7-3d.tcz
spacefm.tcz
fluff.tcz
original-modules-6.1.2-tinycore64.tcz
linux-6.1_api_headers.tcz
e2fsprogs.tcz
ntfs-3g.tcz
ffmpeg4.tcz
ffmpeg5.tczThe first 5 should be at the beginning of the list in the order shown.DEFAULT corepure64
LABEL corepure64
KERNEL /tce/boot/vmlinuz64
INITRD /tce/boot/corepure64.gz
APPEND quiet tce=sdc1 waitusb=5:UUID="0cb9dee6-8802-4612-9428-eab8d5fe9b50" tce=UUID="0cb9dee6-8802-4612-9428-eab8d5fe9b50" Hi,cudainwhere should i add it , please type the whole thing , i am noob in this .
add " showapps pause " get more info may helpful
APPEND quiet showapps pause tce=sdc1 waitusb=5:UUID="0cb9dee6-8802-4612-9428-eab8d5fe9b50" tce=UUID="0cb9dee6-8802-4612-9428-eab8d5fe9b50"
[code][ 36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.176536] pcm512x 1-004d: Failed to get supplies: -517
[ 36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]
[ 36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.176536] pcm512x 1-004d: Failed to get supplies: -517
[ 36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517