Page 4 of 4

kernel source SFS won't load

Posted: Thu Oct 19, 2023 6:19 pm
by don570

EasyOS Kirkstone-series version 5.5.5
I don't have internet at home.
I downloaded (from a local library)kernel source SFS and specs
https://distro.ibiblio.org/easyos/amd64 ... 12_src.sfs

I switched off my network to set up my boot. Everything seemed OK.
However at boot time.....
kernel source SFS won't load. There was error message --> something about a user folder not connected
Other SFS files would load at boot time including devx SFS

I assume that there is a problem because I didn't download the file at home over internet.

I want to install nvidia video driver. I was able to compile it for fatdog64 900 so it's not hard to do if I can get the kernel sources SFS to load at boot time.
https://us.download.nvidia.com/XFree86/ ... 113.01.run
_____________________________________________________________________


Re: kernel source SFS won't load

Posted: Fri Oct 20, 2023 6:47 am
by Caramel
don570 wrote: Thu Oct 19, 2023 6:19 pm

EasyOS Kirkstone-series version 5.5.5
I don't have internet at home.
I downloaded (from a local library)kernel source SFS and specs
https://distro.ibiblio.org/easyos/amd64 ... 12_src.sfs

I switched off my network to set up my boot. Everything seemed OK.
However at boot time.....
kernel source SFS won't load. There was error message --> something about a user folder not connected
Other SFS files would load at boot time including devx SFS

I assume that there is a problem because I didn't download the file at home over internet.

I want to install nvidia video driver. I was able to compile it for fatdog64 900 so it's not hard to do if I can get the kernel sources SFS to load at boot time.
https://us.download.nvidia.com/XFree86/ ... 113.01.run
_____________________________________________________________________

I have tested the installation of kernel_5.15.135-20231012_src.sfs.
Did not work because the sfs is not compatible with usr-merge (https://bkhome.org/news/202309/oe-and-w ... merge.html)

So i have edited the sfs with edit-sfs (https://oldforum.puppylinux.com/viewtopic.php?t=47469) : folder /usr/sbin renamed in /usr/bin and folder /lib moved in /usr

The edited sfs could be installed.


Re: EasyOS Kirkstone-series version 5.5.5

Posted: Fri Oct 20, 2023 7:58 am
by Caramel
Tessel wrote: Thu Oct 19, 2023 10:47 am

Clipchamp web editor does not work on chromium on easyos. Cannot export video.

By export video you mean save the clip on the computer?

Chromium can only save in the folder /files (and subfolders) (or /home/chromium). If the default folder used by clipchamp is different, you can use the button "Save on your computer" on the web page to change the destination folder.

If the problem does not come from that, it is probably not related to EasyOS.


Realtek USB WLAN Family drivers

Posted: Sun Oct 22, 2023 8:22 pm
by don570

Note for BarryK
I noticed that one driver will drive many Realtek WLAN devices
https://www.realtek.com/en/component/zo ... u-software

Realtek site wrote:

For Realtek USB WLAN Family Controller. The driver released on the website only supports the following products: RTL8812AU/RTL8811AU/RTL8192EU/RTL8812BU/RTL8811CU/RTL8814AU: WLAN-only solutions, install WLAN driver

The size is 178k when I compiled it.
EDIT: Stripped it's about 90k

rtl8812au-driver.png
rtl8812au-driver.png (22.42 KiB) Viewed 1393 times

_________________________________________________


nvidia accelerated driver

Posted: Sun Oct 22, 2023 8:50 pm
by don570

nvidia accelerated driver

When I tried to compile nvidia accelerated driver
NVIDIA-Linux-x86_64-535.113.01.run
https://us.download.nvidia.com/XFree86/ ... 113.01.run

I saw strange error message that it was already installed (which couldn't be true.)
Any ideas??

Code: Select all


nvidia-installer command line:
    ./nvidia-installer
    -a
    -ui=none
    --no-nouveau-check
    --no-x-check

Using built-in stream user interface
-> Detected 4 CPUs online; setting concurrency level to 4.
-> The file '/tmp/.X0-lock' exists and appears to contain the process ID '9188' of a running X server.
-> Continuing per the '--no-x-check' option.
-> Installing NVIDIA driver version 535.113.01.
-> There appears to already be a driver installed on your system (version: 535.113.01).  As part of installing this driver (version: 535.113.01), the existing driver will be uninstalled.  Are you sure you want to continue? (Answer: Continue installation)
ERROR: Unable to open 'kernel/dkms.conf' for copying (No such file or directory)'
 Cleaning kernel module build directory.
   executing: 'cd ./kernel; /bin/make -k -j4  NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.15.135/source" SYSOUT="/lib/modules/5.15.135/build" clean'...
    warning: the compiler differs from the one used to build the kernel
     The kernel was built by: gcc (GCC) 11.3.0
     You are using:           cc (GCC) 11.3.0
     /tmp/NVIDIA-Linux-x86_64-535.113.01/kernel/common/inc/nv-linux.h:45:10: fatal error: linux/autoconf.h: No such file or directory
   45 | #include <linux/autoconf.h>
      |          ^~~~~~~~~~~~~~~~~~

Re: EasyOS Kirkstone-series version 5.5.5

Posted: Mon Oct 23, 2023 10:31 am
by BarryK

@don570
I found that you have to copy autoconf.h:

Code: Select all

cp -a /usr/src/linux/include/generated/autoconf.h  /usr/src/linux/include/linux/

Also requires prefix "CC=gcc"

I got compile errors, which seem to be warnings getting treated as errors. However, downloaded 525.125.06 and that compiled and installed ok. Got it from here:

http://download.nvidia.com/XFree86/Linux-x86_64/

I played around, to see if can install into /opt, here are my notes:

Code: Select all

cp -a /usr/src/linux/include/generated/autoconf.h  /usr/src/linux/include/linux/

CC=gcc ./NVIDIA-Linux-x86_64-525.125.06.run --force-selinux=no --run-nvidia-xconfig --expert --opengl-prefix=/opt --utility-prefix=/opt --documentation-prefix=/opt --no-nvidia-modprobe --kernel-name=5.15.135 --no-rpms --no-x-check --no-nouveau-check --no-dkms --no-unified-memory --no-peermem --concurrency-level=1 --skip-depmod --no-systemd --no-questions --ui=none --no-check-for-alternate-installs --no-install-libglvnd --no-kernel-module-source --compat32-libdir=lib32 --compat32-prefix=/opt --no-distro-scripts --glvnd-egl-config-path=/opt/share/glvnd/egl_vendor.d --x-sysconfig-path=/opt/share/X11/xorg.conf.d

#hmmm...
#rm -f /mnt/.easy_rw/mainrw/usr/lib/libGL.so.1
#aufs not configured to change in a layer, so do it like this...
cp -a -f --remove-destination /mnt/.easy_ro/easy_sfs/usr/lib/libGL.so.1 /usr/lib/

ln -s /opt/share/glvnd/egl_vendor.d  /usr/share/glvnd/egl_vendor.d
ln -s /opt/share/X11/xorg.conf.d /usr/share/X11/xorg.conf.d
ln -s /opt/lib/libOpenGL.so.0 /opt/lib/libGL.so.1

export PATH="/opt/bin:${PATH}"
export LD_LIBRARY_PATH="/opt/lib"

depmod

You can see exactly what is installed by looking in /mnt/.easy_rw/mainrw, and shutdown without saving to get rid of it.


Re: EasyOS Kirkstone-series version 5.5.5

Posted: Tue Oct 24, 2023 9:12 pm
by don570

@ BarryK

I re-tried compiling latest nvidia driver Version: 535.113.01
using your suggestions...
And there was less errors but no kernel driver :roll:

There is a newer beta version available 545.23.06
and some old ones
https://www.nvidia.com/en-us/drivers/un ... y-archive/
I'll try to compile some and see what results.
Thanks for help.
________________________________________

Edit: By the way it is possible to make a nvidia driver package without the need to own a
nvidia board. The fatdog64 people made the following without owning a board I believe
https://distro.ibiblio.org/fatdog/sfs/9 ... 6.1.46.sfs
Warning: Fatdog64 starts up XORG differently than Easy OS
_______________________________________


Re: EasyOS Kirkstone-series version 5.5.5

Posted: Tue Oct 24, 2023 11:33 pm
by BarryK
don570 wrote: Tue Oct 24, 2023 9:12 pm

I re-tried compiling latest nvidia driver Version: 535.113.01
using your suggestions...
And there was less errors but no kernel driver :roll:

There is a newer beta version available 545.23.06

I already tried the 545.*, got same errors as 535.*

Yes, I compiled on a PC with Intel GPU.

I could create an nvidia SFS, every time do a kernel compile.
But currently stuck on only 525.* will compile.


Re: EasyOS Kirkstone-series version 5.5.5

Posted: Thu Oct 26, 2023 10:21 pm
by don570
BarryK wrote:

Yes, I compiled on a PC with Intel GPU.

I was referring to Fatdog64 people compiling without an nvidia video card inserted in their PCIe slot
but they still made a successful SFS package for me.
__________________________________________________________________


Re: EasyOS Kirkstone-series version 5.5.5

Posted: Thu Oct 26, 2023 11:45 pm
by BarryK
don570 wrote: Thu Oct 26, 2023 10:21 pm
BarryK wrote:

Yes, I compiled on a PC with Intel GPU.

I was referring to Fatdog64 people compiling without an nvidia video card inserted in their PCIe slot
but they still made a successful SFS package for me.
__________________________________________________________________

Does the 535.113.01 compile in Fatdog64?
Or any 535.*?


Re: EasyOS Kirkstone-series version 5.5.5

Posted: Fri Oct 27, 2023 4:49 am
by jamesbond
BarryK wrote: Thu Oct 26, 2023 11:45 pm

Does the 535.113.01 compile in Fatdog64?
Or any 535.*?

Both 545.23.06, 535.113.01 and the earlier 535.104.05 compile okay.
Kernel is 6.1.46. And as @don570 said, I don't have nvidia.


Blender app image

Posted: Mon Nov 06, 2023 11:28 pm
by don570

I found that latest Blender version works a lot better when I
use Nvidia X driver 525.147.05.
Before I was using 'nouveau' driver which loaded as default.
http://download.nvidia.com/XFree86/Linu ... 25.147.05/
https://www.blender.org/download/

It's a lot stabler. I can use cycles and EEVEE rendering.
The app now allows subsurface division modifier to work [SEE IMAGE]

screenshot-blender.png
screenshot-blender.png (59.1 KiB) Viewed 776 times

Re: EasyOS Kirkstone-series version 5.5.5

Posted: Tue Nov 07, 2023 1:19 am
by BarryK

There is action happening for nvidia, see blog post:

https://bkhome.org/news/202311/kernel-5 ... piled.html

EDIT:
More progress:

https://bkhome.org/news/202311/automati ... ating.html


32bit SFS

Posted: Wed Nov 08, 2023 9:37 pm
by don570
BarryK wrote:

The 'easy-update' script will detect if you are currently usiing an NVIDIA SFS, and if there is going to be a kernel version change will offer to download the new NVIDIA SFS. It is big, about 480MB -- hmmm, could greatly reduce that size by taking out the 'lib32' library -- do you need that? I haven't implemented a delta-difference file download mechanism for it.

I've been running fatdog64 without the 32bit SFS recently
https://distro.ibiblio.org/fatdog/sfs/9 ... 64_901.sfs

and I haven't noticed any problem. WINE still runs
windows 32 bit programs.
_____________________________________________________________


VULKAN rather than the common OpenGL

Posted: Wed Nov 08, 2023 10:03 pm
by don570

Blender is experimenting with VULKAN rather than the commonly-used OpenGL
Probably the vulkan folder can be removed out of nvidia driver package if it's just an experiment???

Screenshot 2023-11-08 17.00.19.png
Screenshot 2023-11-08 17.00.19.png (48.09 KiB) Viewed 659 times