Tiny Core Base > Corepure64

Getting kernel files ready for nvidia proprietary drivers installer

<< < (3/4) > >>

Vaguiner:
I have some good news


--- Code: ---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: Yes
--- End code ---

The driver was loaded. I managed to install with the installer with this package, i just had to exit the x server to prompt.

glxgears

--- Code: ---tc@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 FPS
--- End code ---

Compared to no drivers

--- Code: ---tc@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

--- End code ---

And nouveau


--- Code: ---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

--- End code ---

Had to run the installer of the same version of package for the drivers to load. I dont know what im missing.

Can i get some help to get this  persistent.
I think the only difference is that I am now loading the graphics-KERNEL.tcz. It seems that the lack of this prevented the driver from being installed

Vaguiner:

--- Quote from: CardealRusso on May 04, 2023, 04:18:27 PM ---nvidia-525.116.03-6.1.2-tinycore64.zip

--- End quote ---

i got it
there are many missing files on /usr/lib. i just updated the kernel files

i`ll try to fix and maybe try to submit to tcz repo

everything is working nicely, i just need to pack it all

aus9:
hi CardealRusso

before you submit, some suggestions for you.

post 9 xorg log

--- Quote ---ACPI: failed to connect to the ACPI event daemon
--- End quote ---

try installing  acpid and start the daemon....exit to prompt then go back in and check if Xorg log has that message disappear?

post 11 screenshot of terminal....
it looks like you might need to add hicolor-icon-theme.tcz to your dep file.

XDG_RUNTIME_DIR...for sway I set this to a /run/user dir but /tmp can be used like this


--- Code: ---export XDG_RUNTIME_DIR=/tmp
env | grep tmp
# result...XDG_RUNTIME_DIR=/tmp
--- End code ---

Is nvidia-settings an elf file?
if so you can run a dependency check on it like this

--- Code: ---readelf -d /usr/local/bin/nvidia-settings | grep 'NEEDED'
--- End code ---

here is example of my research for dep entries
http://tinycorelinux.net/14.x/x86_64/tcz/src/feh/build-feh.sh
later builds I have remove the junk of 0x0000000000000001 (NEEDED) Shared library:
but you can see that I used searchtce against libX11 found it was a dep of  libXext and that was a dep of imlib2
which worked out well as libpng gave a similar result

then what I do...is search my local TCEs for each entry.
some are TCB....you won't get a hit.....I can see your terminal has libz* and  if you open Apps and use the "provides" search for libz.so.1
you won't get a hit....meaning its not coming from a TCE so its TCB

gnuser and others use search scripts that search the TC repos.
I lack that skill and thoroughness....instead I search for only locally installed TCEs...be they private or not yet submitted etc TCEs like this


--- Code: ---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
--- End code ---


make it executable too please
Good luck

curaga:
Acpid is not related to nvidia in any way. That with xorg is for stuff like blanking the display when you close the laptop screen etc.

Vaguiner:

--- Quote from: Juanito on May 02, 2023, 11:59:17 AM ---
--- End quote ---

--- Quote from: Rich on May 02, 2023, 10:20:32 AM ---
--- End quote ---

--- Quote from: aus9 on May 04, 2023, 09:48:20 PM ---
--- End quote ---

--- Quote from: curaga on May 05, 2023, 01:39:05 AM ---
--- End quote ---

Thank you for your attention.

Currently, as I mentioned earlier, I am able to successfully install and load the nvidia drivers. Everything works perfectly.

My 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.

I am currently including the file

--- Quote from: CardealRusso on May 04, 2023, 04:18:27 PM ---nvidia-525.116.03-6.1.2-tinycore64.zip

--- End quote ---
on boot. This file doesn't have much use other than blocking any other video drivers that tinycore tries to load.

After that I can exit to the prompt and very easily run the nvidia installer. I'll leave here the nvidia installer with the pre-compiled tinycore kernel (6.1.2-tinycore64 only)
NVIDIA-Linux-x86_64-470.182.03-no-compat32-custom.run

onboot:

--- Code: ---...
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

--- End code ---

I also preferred to use the 470 driver as it has a significant performance gain.

--- Code: ---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 FPS
--- End code ---

Compared to driver 525:

--- Code: ---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
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version