

Code: Select all
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 smsc95xx.macaddr=D8:3A:DD:BA:45:A0 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty root=/dev/mmcblk0p4 rootfstype=ext4 rootwait cma=256M@256M net.ifnames=0
Thanks for your suggestion regarding the Pi Foundation kernel. The page you pointed to is very helpful but it hasn't solved the problem. Here is the information you asked for:NeddySeagoon wrote:HuskyDog.
Share the /boot/config.txt and the Pi 5 command line at the top of dmesg, when the Pi5 has booted please.
[/code]
Code: Select all
dtparam=audio=on
display_auto_detect=1
arm_64bit=1
dtoverlay=vc4-kms-v3d
max_framebuffers=2
[pi4]
gpu_mem=128
kernel=kernel8-p4.img
over_voltage=7
arm_freq=2000
gpu_freq=750
[all]
os_check=0Code: Select all
Kernel command line: coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=D8:3A:DD:C3:28:6F vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 usb-storage.quirks=152d:0578:u dwc_otg.lpm_enable=0 root=/dev/sda2 rootfstype=ext4 fsck.repair=yes usbhid.mousepoll=0 rootwait cma=256M@256M net.ifnames=0Code: Select all
Linux percy_pi 6.1.64-v8-16k+ #1702 SMP PREEMPT Wed Nov 29 14:26:42 GMT 2023 aarch64 GNU/LinuxCode: Select all
[ 5.606948] [drm] Initialized v3d 1.0.0 20180419 for 1002000000.v3d on minor 0Code: Select all
[ 6.058590] vc4-drm axi:gpu: bcm2712_iommu_of_xlate: MMU 1000005200.iommu
[ 6.062983] vc4-drm axi:gpu: bound 107c580000.hvs (ops vc4_hvs_ops [vc4])
[ 6.065474] rc rc0: vc4-hdmi-0 as /devices/platform/soc/107c701400.hdmi/rc/rc0
[ 6.065589] input: vc4-hdmi-0 as /devices/platform/soc/107c701400.hdmi/rc/rc0/input4
[ 6.067490] vc4-drm axi:gpu: bound 107c701400.hdmi (ops vc4_hdmi_ops [vc4])
[ 6.071286] rc rc1: vc4-hdmi-1 as /devices/platform/soc/107c706400.hdmi/rc/rc1
[ 6.071336] input: vc4-hdmi-1 as /devices/platform/soc/107c706400.hdmi/rc/rc1/input5
[ 6.076957] vc4-drm axi:gpu: bound 107c706400.hdmi (ops vc4_hdmi_ops [vc4])
[ 6.077254] vc4-drm axi:gpu: bound 107c500000.mop (ops vc4_txp_ops [vc4])
[ 6.077406] vc4-drm axi:gpu: bound 107c501000.moplet (ops vc4_txp_ops [vc4])
[ 6.077526] vc4-drm axi:gpu: bound 107c410000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 6.077622] vc4-drm axi:gpu: bound 107c411000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 6.134607] [drm] Initialized vc4 0.0.0 20140616 for axi:gpu on minor 1
[ 6.209803] vc4-drm axi:gpu: [drm] fb0: vc4drmfb frame buffer device
[ 7.864120] elogind-daemon[1347]: Watching system buttons on /dev/input/event4 (vc4-hdmi-0)
[ 7.864222] elogind-daemon[1347]: Watching system buttons on /dev/input/event5 (vc4-hdmi-1)Code: Select all
[ 62.079] (--) Log file renamed from "/var/log/Xorg.pid-2366.log" to "/var/log/Xorg.0.log"
[ 62.081]
X.Org X Server 1.21.1.9
X Protocol Version 11, Revision 0
[ 62.081] Current Operating System: Linux percy_pi 6.1.64-v8-16k+ #1702 SMP PREEMPT Wed Nov 29 14:26:42 GMT 2023 aarch64
[ 62.081] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=D8:3A:DD:C3:28:6F vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 usb-storage.quirks=152d:0578:u dwc_otg.lpm_enable=0 root=/dev/sda2 rootfstype=ext4 fsck.repair=yes usbhid.mousepoll=0 rootwait cma=256M@256M net.ifnames=0
[ 62.081]
[ 62.081] Current version of pixman: 0.42.2
[ 62.081] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 62.081] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 62.081] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 1 23:35:36 2023
[ 62.085] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 62.086] (==) No Layout section. Using the first Screen section.
[ 62.086] (==) No screen section available. Using defaults.
[ 62.086] (**) |-->Screen "Default Screen Section" (0)
[ 62.086] (**) | |-->Monitor "<default monitor>"
[ 62.086] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 62.086] (==) Automatically adding devices
[ 62.086] (==) Automatically enabling devices
[ 62.086] (==) Automatically adding GPU devices
[ 62.086] (==) Automatically binding GPU devices
[ 62.086] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 62.088] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 62.088] Entry deleted from font path.
[ 62.088] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 62.088] Entry deleted from font path.
[ 62.088] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 62.088] Entry deleted from font path.
[ 62.088] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 62.088] Entry deleted from font path.
[ 62.088] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 62.088] Entry deleted from font path.
[ 62.088] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 62.088] Entry deleted from font path.
[ 62.088] (==) FontPath set to:
[ 62.088] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 62.088] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 62.088] (II) Module ABI versions:
[ 62.088] X.Org ANSI C Emulation: 0.4
[ 62.088] X.Org Video Driver: 25.2
[ 62.088] X.Org XInput driver : 24.4
[ 62.088] X.Org Server Extension : 10.0
[ 62.089] (++) using VT number 7
[ 62.089] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 62.091] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 62.091] (II) Platform probe for /sys/devices/platform/axi/1002000000.v3d/drm/card0
[ 62.091] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 62.091] (II) Platform probe for /sys/devices/platform/axi/axi:gpu/drm/card1
[ 62.108] (II) no primary bus or device found
[ 62.108] falling back to /sys/devices/platform/axi/1002000000.v3d/drm/card0
[ 62.108] (II) LoadModule: "glx"
[ 62.117] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 62.130] (II) Module glx: vendor="X.Org Foundation"
[ 62.130] compiled for 1.21.1.9, module version = 1.0.0
[ 62.130] ABI class: X.Org Server Extension, version 10.0
[ 62.130] (==) Matched modesetting as autoconfigured driver 0
[ 62.130] (==) Matched fbdev as autoconfigured driver 1
[ 62.130] (==) Assigned the driver to the xf86ConfigLayout
[ 62.130] (II) LoadModule: "modesetting"
[ 62.130] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 62.135] (II) Module modesetting: vendor="X.Org Foundation"
[ 62.135] compiled for 1.21.1.9, module version = 1.21.1
[ 62.135] Module class: X.Org Video Driver
[ 62.135] ABI class: X.Org Video Driver, version 25.2
[ 62.135] (II) LoadModule: "fbdev"
[ 62.135] (WW) Warning, couldn't open module fbdev
[ 62.135] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 62.135] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 62.142] (WW) Falling back to old probe method for modesetting
[ 62.142] (WW) Falling back to old probe method for modesetting
[ 62.157] (II) modeset(G0): using drv /dev/dri/card1
[ 62.157] (EE) No devices detected.
[ 62.157] (EE)
Fatal server error:
[ 62.157] (EE) no screens found(EE)
[ 62.157] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 62.157] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 62.157] (EE)
[ 62.226] (EE) Server terminated with error (1). Closing log file.
Code: Select all
[ 62.108] falling back to /sys/devices/platform/axi/1002000000.v3d/drm/card0
...
[ 62.157] (II) modeset(G0): using drv /dev/dri/card1
Code: Select all
[ 40.528] falling back to /sys/devices/platform/gpu/drm/card1
...
[ 40.607] (II) modeset(0): using drv /dev/dri/card1
Code: Select all
Section "Device"
Identifier "Pi5"
# Driver "modesetting"
Driver "fbdev"
EndSection
Code: Select all
rs@percypi ~ $ equery l mesa
* Searching for mesa ...
[IP-] [ ] media-libs/mesa-23.3.0:0
Code: Select all
$ eix fbdev
[I] x11-drivers/xf86-video-fbdevCode: Select all
emerge -1av xf86-video-fbdevCode: Select all
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CPU_FLAGS_ARM="edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 crc32 v4 v5 v6 v7 v8 thumb2"
COMMON_FLAGS="-mcpu=cortex-a76+crc+crypto -O2 -pipe -mtune=cortex-a76"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult https://wiki.gentoo.org/wiki/Changing_the_CHOST_variable before changing.
CHOST="aarch64-unknown-linux-gnu"
# NOTE: This stage was built with the bindist Use flag enabled
ACCEPT_KEYWORDS="~arm64"
ACCEPT_LICENSE="linux-fw-redistributable"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/distfiles.gentoo.org/
http://ftp.free.fr/mirrors/ftp.gentoo.org/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://mirrors.soeasyto.com/distfiles.gentoo.org/
http://gentoo.mirror.root.lu/
http://mirror.bytemark.co.uk/gentoo/
http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/
http://mirror.netcologne.de/gentoo/"
FEATURES="buildpkg"
MAKEOPTS="-j5"
USE="cddb gtk3 lvm thin
gles2 wayland"
L10N="en en-GB en-US"
VIDEO_CARDS="fbdev v3d vc4"
INPUT_DEVICES="evdev libinput"Code: Select all
# equery l xf86-video-fbdev
* Searching for xf86-video-fbdev ...
[IP-] [ ] x11-drivers/xf86-video-fbdev-0.5.0-r1:0Code: Select all
# qlist -I wayland
dev-libs/plasma-wayland-protocols
dev-libs/wayland
dev-libs/wayland-protocols
dev-qt/qtwayland
dev-qt/qtwaylandscanner
dev-util/wayland-scanner
kde-plasma/kwayland
kde-plasma/kwayland-integration
x11-base/xwayland

Code: Select all
sway 7024 7028 sway:disk roy mem REG 179,4 13517416 23608957 /usr/lib64/dri/vc4_dri.soCode: Select all
sway 7024 7027 sway:disk roy 10u CHR 226,1 0t0 529 /dev/dri/card1Code: Select all
Pi5 ~ # equery b /usr/lib64/dri/vc4_dri.so
* Searching for /usr/lib64/dri/vc4_dri.so ...
media-libs/mesa-23.3.0 (/usr/lib64/dri/vc4_dri.so)
This suggests to me that all of the patches required to get X to run at least reasonably well on the Pi5 are out there somewhere. Perhaps we just have to be a bit more patient for them to come through....the Advanced Settings menu in raspi-config includes options to re-enable the old X11/Openbox display system...



Code: Select all
# Shamelessly copied from PiOS
Section "OutputClass"
Identifier "vc4"
MatchDriver "vc4"
Driver "modesetting"
Option "PrimaryGPU" "true"
EndSection