The script was again not able to read the driver version and so the resulting seemingly only a tiny bit buggy driver module was named
08-nvidia--k.5.1.17-porteus-v5.0-x86_64.xzm
instead of
08-nvidia-340.107-k.5.1.17-porteus-v5.0-x86_64.xzm
Files found in the driver module that should not be there:
Code: Select all
etc/localtime (symlink)
etc/localtime-copied-from (symlink)
Aside from that
seems compiling all worked okay.
I removed the two above files (and manually re-created the /tmp/nvidia.tar.gz, and copied that tar.gz onto the hard drive, just to be on the safe side of things.) amd put 010-nvidia-340.107-k.5.1.17-porteus-v5.0-x86_64_rava.xzm in $PORTDIR/base/
Interestingly enough the size of the driver is much smaller than the one for kernel 4.20.5:
Code: Select all
-rwxrwxrwx 1 root 47222784 Jan 28 13:25 010-nvidia-340.107-kernel-4.20.5-porteus-v5.0-x86_64_rava.xzm
-rwxrwxrwx 1 root 42098688 Jul 25 04:22 010-nvidia-340.107-k.5.1.17-porteus-v5.0-x86_64_rava.xzm
45.04 MB vs 40.15 MB, for a xz compressed module that is quite the difference.
But sadly, X won't start:
/home/guest/.local/share/xorg/Xorg.0.log reports:
Code: Select all
[ 68.009] _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[ 68.011]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[ 68.012] Build Operating System: Slackware 15.0 Slackware Linux Project
[ 68.013] Current Operating System: Linux porteus.example.net 5.1.17-porteus #1 SMP PREEMPT Wed Jul 10 18:15:38 UTC 2019 x86_64
[ 68.013] Kernel command line: quiet from=/mnt/sda1/Porteus_5.0/rc1F/ ramsize=15% zram=28% timezone=Europe/Berlin volume=75% kmap=de load=030-leafpad 3 fsck
[ 68.014] Build Date: 30 May 2019 02:03:36PM
[ 68.015]
[ 68.015] Current version of pixman: 0.38.4
[ 68.016] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 68.016] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 68.019] (==) Log file: "/home/guest/.local/share/xorg/Xorg.0.log", Time: Thu Jul 25 04:36:41 2019
[ 68.020] (==) Using config file: "/etc/X11/xorg.conf"
[ 68.020] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 68.021] (==) ServerLayout "Layout0"
[ 68.021] (**) |-->Screen "Screen0" (0)
[ 68.021] (**) | |-->Monitor "Monitor0"
[ 68.021] (**) | |-->Device "Device0"
[ 68.021] (**) |-->Input Device "Keyboard0"
[ 68.021] (**) |-->Input Device "Mouse0"
[ 68.021] (==) Automatically adding devices
[ 68.021] (==) Automatically enabling devices
[ 68.021] (==) Automatically adding GPU devices
[ 68.021] (==) Automatically binding GPU devices
[ 68.021] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 68.021] (WW) The directory "/usr/share/fonts/local" does not exist.
[ 68.021] Entry deleted from font path.
[ 68.021] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 68.021] Entry deleted from font path.
[ 68.021] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 68.021] Entry deleted from font path.
[ 68.021] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 68.021] Entry deleted from font path.
[ 68.021] (WW) The directory "/usr/share/fonts/CID" does not exist.
[ 68.021] Entry deleted from font path.
[ 68.021] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[ 68.021] Entry deleted from font path.
[ 68.021] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[ 68.021] Entry deleted from font path.
[ 68.021] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 68.021] Entry deleted from font path.
[ 68.021] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 68.021] Entry deleted from font path.
[ 68.021] (WW) The directory "/usr/share/fonts/cyrillic" does not exist.
[ 68.021] Entry deleted from font path.
[ 68.021] (**) FontPath set to:
/usr/lib64/X11/fonts/TTF/,
/usr/share/fonts/TTF
[ 68.021] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 68.021] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 68.021] (WW) Disabling Keyboard0
[ 68.021] (WW) Disabling Mouse0
[ 68.021] (II) Loader magic: 0x615c60
[ 68.021] (II) Module ABI versions:
[ 68.021] X.Org ANSI C Emulation: 0.4
[ 68.021] X.Org Video Driver: 24.0
[ 68.021] X.Org XInput driver : 24.1
[ 68.021] X.Org Server Extension : 10.0
[ 68.022] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 68.028] (--) PCI:*(1@0:0:0) 10de:0a29:1179:fd30 rev 162, Mem @ 0xd2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00008000/128, BIOS @ 0x????????/131072
[ 68.028] (II) Open ACPI successful (/var/run/acpid.socket)
[ 68.028] (II) LoadModule: "glx"
[ 68.029] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 68.039] (II) Module glx: vendor="NVIDIA Corporation"
[ 68.039] compiled for 4.0.2, module version = 1.0.0
[ 68.039] Module class: X.Org Server Extension
[ 68.039] (II) NVIDIA GLX Module 340.107 Thu May 24 21:40:32 PDT 2018
[ 68.039] (II) LoadModule: "nvidia"
[ 68.040] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 68.040] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 68.040] compiled for 4.0.2, module version = 1.0.0
[ 68.040] Module class: X.Org Video Driver
[ 68.040] (II) NVIDIA dlloader X Driver 340.107 Thu May 24 21:18:05 PDT 2018
[ 68.040] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 68.040] (EE)
Fatal server error:
[ 68.041] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
[ 68.042] (EE)
[ 68.042] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 68.044] (EE) Please also check the log file at "/home/guest/.local/share/xorg/Xorg.0.log" for additional information.
[ 68.045] (EE)
[ 68.046] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[ 68.046] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[ 68.046] (EE) Server terminated with error (1). Closing log file.
Why does it try to open tty0?
The terminal usually used for X is tty7, not tty0…
(I tried both startx and startxfce4, both result in the same error)
Any ideas what might have gone wrong?
I wanted to compare the above quoted Xorg.0.log with the 5.0rc1 running still 4.20.5 - and also Nvidia 010-nvidia-340.107-kernel-4.20.5-porteus-v5.0-x86_64_rava.xzm module, but I do not find any such file.
Code: Select all
guest@porteus:~$ find .|grep Xorg
guest@porteus:~$
Is Xorg.0.log only created when errors occurred?