tce-load -wi graphics-KERNEL Xorg-3dopenssh.tcz
graphics-6.12.25-piCore-v8-16k.tcz
Xorg-3d.tcz
nano.tczcat /var/log/Xorg.0.log
[ 2.450]
X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
[ 2.450] Current Operating System: Linux box 6.12.25-piCore-v8-16k #28 SMP PREEMPT Sat Apr 26 13:49:43 EDT 2025 aarch64
[ 2.450] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave numa=fake=8 system_heap.max_order=0 smsc95xx.macaddr=88:A2:9E:30:AD:A1 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 dwc_otg.fiq_fsm_mask=0xF dwc_otg.lpm_enable=0 console=tty1 root=/dev/ram0 rootwait quiet nortc loglevel=3 noembed
[ 2.450]
[ 2.450] Current version of pixman: 0.43.4
[ 2.450] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 2.450] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 2.450] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 9 01:09:25 1970
[ 2.450] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 2.450] (==) No Layout section. Using the first Screen section.
[ 2.450] (==) No screen section available. Using defaults.
[ 2.450] (**) |-->Screen "Default Screen Section" (0)
[ 2.450] (**) | |-->Monitor "<default monitor>"
[ 2.451] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 2.451] (**) Allowing byte-swapped clients
[ 2.451] (==) Automatically adding devices
[ 2.451] (==) Automatically enabling devices
[ 2.451] (==) Automatically adding GPU devices
[ 2.451] (==) Automatically binding GPU devices
[ 2.452] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 2.452] (WW) The directory "/usr/local/lib/X11/fonts/OTF" does not exist.
[ 2.452] Entry deleted from font path.
[ 2.452] (WW) The directory "/usr/local/lib/X11/fonts/100pdi" does not exist.
[ 2.452] Entry deleted from font path.
[ 2.452] (==) FontPath set to:
/usr/local/lib/X11/fonts/misc,
/usr/local/lib/X11/fonts/TTF,
/usr/local/lib/X11/fonts/Type1,
/usr/local/lib/X11/fonts/75dpi
[ 2.452] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 2.452] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 2.452] (II) Module ABI versions:
[ 2.452] X.Org ANSI C Emulation: 0.4
[ 2.452] X.Org Video Driver: 25.2
[ 2.452] X.Org XInput driver : 24.4
[ 2.452] X.Org Server Extension : 10.0
[ 2.452] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 2.452] (II) Platform probe for /sys/devices/platform/axi/1002000000.v3d/drm/card0
[ 2.452] (II) no primary bus or device found
[ 2.452] falling back to /sys/devices/platform/axi/1002000000.v3d/drm/card0
[ 2.452] (II) LoadModule: "glx"
[ 2.453] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 2.464] (II) Module glx: vendor="X.Org Foundation"
[ 2.464] compiled for 1.21.1.13, module version = 1.0.0
[ 2.464] ABI class: X.Org Server Extension, version 10.0
[ 2.464] (==) Matched modesetting as autoconfigured driver 0
[ 2.464] (==) Matched fbdev as autoconfigured driver 1
[ 2.464] (==) Assigned the driver to the xf86ConfigLayout
[ 2.464] (II) LoadModule: "modesetting"
[ 2.464] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[ 2.465] (II) Module modesetting: vendor="X.Org Foundation"
[ 2.465] compiled for 1.21.1.13, module version = 1.21.1
[ 2.465] Module class: X.Org Video Driver
[ 2.465] ABI class: X.Org Video Driver, version 25.2
[ 2.465] (II) LoadModule: "fbdev"
[ 2.465] (II) Loading /usr/local/lib/xorg/modules/drivers/fbdev_drv.so
[ 2.465] (II) Module fbdev: vendor="X.Org Foundation"
[ 2.465] compiled for 1.21.1.3, module version = 0.5.0
[ 2.465] Module class: X.Org Video Driver
[ 2.465] ABI class: X.Org Video Driver, version 25.2
[ 2.465] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 2.465] (II) FBDEV: driver for framebuffer: fbdev
[ 2.465] (--) using VT number 2
[ 2.466] (WW) Falling back to old probe method for modesetting
[ 2.466] (WW) Falling back to old probe method for fbdev
[ 2.466] (II) Loading sub module "fbdevhw"
[ 2.466] (II) LoadModule: "fbdevhw"
[ 2.466] (II) Loading /usr/local/lib/xorg/modules/libfbdevhw.so
[ 2.466] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 2.466] compiled for 1.21.1.13, module version = 0.0.2
[ 2.466] ABI class: X.Org Video Driver, version 25.2
[ 2.466] (EE) open /dev/fb0: No such file or directory
[ 2.466] (WW) Falling back to old probe method for modesetting
[ 2.466] (WW) Falling back to old probe method for fbdev
[ 2.466] (II) Loading sub module "fbdevhw"
[ 2.466] (II) LoadModule: "fbdevhw"
[ 2.466] (II) Loading /usr/local/lib/xorg/modules/libfbdevhw.so
[ 2.466] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 2.466] compiled for 1.21.1.13, module version = 0.0.2
[ 2.466] ABI class: X.Org Video Driver, version 25.2
[ 2.466] (EE) open /dev/fb0: No such file or directory
[ 2.466] (EE) No devices detected.
[ 2.466] (EE)
Fatal server error:
[ 2.466] (EE) no screens found(EE)
[ 2.466] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 2.466] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 2.466] (EE)
[ 2.466] (EE) Server terminated with error (1). Closing log file.[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 ----- Snip -----
[ 2.452] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 2.452] (II) Platform probe for /sys/devices/platform/axi/1002000000.v3d/drm/card0
[ 2.452] (II) no primary bus or device found
[ 2.452] falling back to /sys/devices/platform/axi/1002000000.v3d/drm/card0
----- Snip ----- ----- Snip -----
[ 2.466] (EE) open /dev/fb0: No such file or directory
----- Snip ----- [PI5]
# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1
[all]
# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2
[ 2.886] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 2.886] (II) Platform probe for /sys/devices/platform/axi/1002000000.v3d/drm/card0
[ 2.886] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 2.886] (II) Platform probe for /sys/devices/platform/axi/axi:gpu/drm/card1
[ 2.891] (**) OutputClass "vc4" setting /dev/dri/card1 as PrimaryGPU
cat /mnt/mmcblk0p1/config.txt
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
# RPi PI0-1-2 are not supported on this image.
[PI02]
initramfs rootfs-piCore64-16.0.gz,modules-6.12.25-piCore-v8.gz followkernel
kernel kernel61225v8.img
[PI3]
initramfs rootfs-piCore64-16.0.gz,modules-6.12.25-piCore-v8.gz followkernel
kernel kernel61225v8.img
[PI4]
initramfs rootfs-piCore64-16.0.gz,modules-6.12.25-piCore-v8.gz followkernel
kernel kernel61225v8.img
[PI5]
initramfs rootfs-piCore64-16.0.gz,modules-6.12.25-piCore-v8-16k.gz followkernel
kernel kernel61225v8-16k.img
[CM4]
otg_mode=1
[cm5]
dtoverlay=dwc2,dr_mode=host
[ALL]
cmdline cmdline.txt
# Run in 64-bit mode
arm_64bit=1
# Run as fast as firmware / board allows
arm_boost=1
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
# Does not work with the vc4 driver.
#framebuffer_width=1280
#framebuffer_height=720
# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
# Additional overlays and parameters are documented /mnt/mmcblk0p1/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
[PI5]
# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1
[all]
# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2sudo nano /etc/X11/xorg.conf
Section "Device"
Identifier "Framebuffer"
Driver "fbdev"
Option "fbdev" "/dev/fb0"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Framebuffer"
EndSection
Section "Device"
Identifier "RPi5 VC4"
Driver "modesetting"
Option "kmsdev" "/dev/dri/card1"
EndSection
Section "Device"
Identifier "RPi5 VC4"
Driver "modesetting"
Option "kmsdev" "/dev/dri/card0"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "RPi5 VC4"
EndSection
total 0
drwxr-xr-x 3 root root 0 Jan 1 02:01 ./
drwxrwxr-x 16 root root 0 Jan 1 02:01 ../
drwxr-xr-x 2 root root 0 Jan 1 02:01 by-path/
crw-rw---- 1 root staff 226, 0 Jan 1 02:01 card0
crw-rw---- 1 root staff 226, 1 Jan 1 02:01 card1
crw-rw---- 1 root staff 226, 128 Jan 1 02:01 renderD128
total 0
drwxr-xr-x 2 root root 0 Jan 1 02:01 ./
drwxr-xr-x 3 root root 0 Jan 1 02:01 ../
lrwxrwxrwx 1 root root 8 Jan 1 02:01 platform-display-controller-card -> ../card1
[ 9.128]
X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
[ 9.128] Current Operating System: Linux PiPy-88A29E30ADA1 6.12.25-piCore-v8 #5 SMP PREEMPT Sat Apr 26 13:42:06 EDT 2025 aarch64
[ 9.128] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave numa=fake=8 system_heap.max_order=0 smsc95xx.macaddr=88:A2:9E:30:AD:A1 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 dwc_otg.fiq_fsm_mask=0xF dwc_otg.lpm_enable=0 console=/dev/null root=/dev/ram0 rootwait quiet nortc loglevel=3 noembed lang=de_DE.UTF-8 kmap=de tz=utc-2 waitusb=5 logo.nologo=1 vga=795
[ 9.128]
[ 9.128] Current version of pixman: 0.42.2
[ 9.128] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 9.128] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 9.128] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan 1 01:21:01 1970
[ 9.128] (==) Using config file: "/etc/X11/xorg.conf"
[ 9.128] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 9.128] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 9.129] (==) No Layout section. Using the first Screen section.
[ 9.129] (**) |-->Screen "Default Screen" (0)
[ 9.129] (**) | |-->Monitor "<default monitor>"
[ 9.129] (**) | |-->Device "RPi5 VC4"
[ 9.129] (**) | |-->GPUDevice "RPi5 VC4"
[ 9.129] (==) No monitor specified for screen "Default Screen".
Using a default monitor configuration.
[ 9.129] (**) Allowing byte-swapped clients
[ 9.129] (==) Automatically adding devices
[ 9.129] (==) Automatically enabling devices
[ 9.129] (==) Automatically adding GPU devices
[ 9.129] (==) Automatically binding GPU devices
[ 9.129] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 9.129] (WW) The directory "/usr/local/lib/X11/fonts/OTF" does not exist.
[ 9.129] Entry deleted from font path.
[ 9.129] (WW) The directory "/usr/local/lib/X11/fonts/100pdi" does not exist.
[ 9.129] Entry deleted from font path.
[ 9.129] (==) FontPath set to:
/usr/local/lib/X11/fonts/misc,
/usr/local/lib/X11/fonts/TTF,
/usr/local/lib/X11/fonts/Type1,
/usr/local/lib/X11/fonts/75dpi
[ 9.129] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 9.129] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 9.129] (II) Module ABI versions:
[ 9.129] X.Org ANSI C Emulation: 0.4
[ 9.129] X.Org Video Driver: 25.2
[ 9.129] X.Org XInput driver : 24.4
[ 9.129] X.Org Server Extension : 10.0
[ 9.129] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 9.129] (II) Platform probe for /sys/devices/platform/axi/1002000000.v3d/drm/card0
[ 9.129] (II) no primary bus or device found
[ 9.129] falling back to /sys/devices/platform/axi/1002000000.v3d/drm/card0
[ 9.129] (II) LoadModule: "glx"
[ 9.130] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 9.509] (II) Module glx: vendor="X.Org Foundation"
[ 9.509] compiled for 1.21.1.13, module version = 1.0.0
[ 9.509] ABI class: X.Org Server Extension, version 10.0
[ 9.509] (II) LoadModule: "modesetting"
[ 9.509] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[ 9.510] (II) Module modesetting: vendor="X.Org Foundation"
[ 9.510] compiled for 1.21.1.13, module version = 1.21.1
[ 9.510] Module class: X.Org Video Driver
[ 9.510] ABI class: X.Org Video Driver, version 25.2
[ 9.511] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 9.511] (--) using VT number 2
[ 9.511] (WW) Falling back to old probe method for modesetting
[ 9.511] (EE) open /dev/dri/card1: No such file or directory
[ 9.511] (WW) Falling back to old probe method for modesetting
[ 9.511] (EE) open /dev/dri/card1: No such file or directory
[ 9.511] (EE) No devices detected.
[ 9.511] (EE)
Fatal server error:
[ 9.511] (EE) no screens found(EE)
[ 9.511] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 9.511] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 9.511] (EE)
[ 9.511] (EE) Server terminated with error (1). Closing log file.Option "kmsdev" "platform-display-controller-card" it dosn't work also./sysconfig/Xserver ] ||
[ -f /etc/sysconfig/text ] ||
[ -e /tmp/.X11-unix/X0 ] ||
sleep 5
startx
)
)
As always with the PiCore, have you tried to do the same on RasberryPi OS ?
And get that working and then just "Pick the raisins out of the cake" from that OS, transfer that knowledge to picore.
By doing some investigation by some commands to see how it is setup/configured.
... Sometimes the Xorg server starts perfectly fine, and other times it fails with failed in waitforX and doesn't start, but if i started it manually then it starts.I have a machine that does the same thing. The issue was X was trying
How can I make sure X always starts reliably after booting? ...
Timeout=0
# Wait for the video card to be detected so that
# Xorg can find it.
echo -e "$(date +"%s")\tTimeout=$(calc .25*$Timeout) Secs" > XorgStatus.txt
while [ $Timeout -lt 40 ]
do
[ -e /dev/dri/card0 ] && break
Timeout=$(($Timeout + 1))
sleep 0.25
echo -e "$(date +"%s")\tTimeout=$(calc .25*$Timeout) Secs" >> XorgStatus.txt
doneIt loops testing for the video card 4 times per second with a 10 second... Thank you very much! ...You are welcome. By the way, if you are curious, the XorgStatus.txt file in
... now this topic is solved :)Topic marked as solved. ;D
cat XorgStatus.txt
30 Timeout=0 Secs... Sometimes the Xorg server starts perfectly fine, and other times it fails with failed in waitforX and doesn't start, ...So the timing was right on the edge. My fix solves that by waiting