[SOLVED] Raspberry Pi 3 - weston not starting ?

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

[SOLVED] Raspberry Pi 3 - weston not starting ?

Postby WebReflection » Wed Jan 15, 2020 9:18 am

I used to type `weston-launch` or even just `weston` without issues, but even if my user is on video and weston-launch group, the drm_backend fails every single time.

The only way I can start weston on a Raspberry Pi 3 ('cause 4 works just fine) is basically by using xorg, which is ... well, not ideal.

Has anyone else managed to get weston work on the Pi3 as it used to do not so long time ago?

Thanks.
Last edited by WebReflection on Sat Apr 04, 2020 2:52 pm, edited 1 time in total.
WebReflection
 
Posts: 99
Joined: Tue Apr 02, 2013 6:49 pm

Re: Raspberry Pi 3 - weston not starting ?

Postby WebReflection » Thu Jan 30, 2020 10:55 am

So, it looks like there is no /dev/dri/card0 anymore, or in general no DRM usable for Weston.

I can start it using --backend=fbdev-backend.so but no HW acceleration ever happens even with glesv2 built software ... does anyone know why current ArchLinux aarch64 on Raspberry Pi 3 doesn't have DRM anymore?
WebReflection
 
Posts: 99
Joined: Tue Apr 02, 2013 6:49 pm

Re: Raspberry Pi 3 - weston not starting ?

Postby lategoodbye » Thu Jan 30, 2020 5:25 pm

Please provide a dmesg and we can have a look at it.
lategoodbye
 
Posts: 116
Joined: Sat Dec 29, 2018 1:24 am

Re: Raspberry Pi 3 - weston not starting ?

Postby greps » Sun Feb 02, 2020 11:44 pm

DRM is malware. Dont use it. Anything that needs it is a scam and is theft.
greps
 
Posts: 7
Joined: Mon Jan 27, 2020 9:12 pm

Re: Raspberry Pi 3 - weston not starting ?

Postby WebReflection » Thu Apr 02, 2020 11:42 am

Sorry for the late reply, somehow I wasn't notified about your answer.
$this->bbcode_second_pass_code('', '
[alarm@alarm ~]$ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.5.11-1-ARCH (builduser@leming) (gcc version 9.2.0 (GCC)) #1 SMP Sun Mar 22 07:43:38 MDT 2020
[ 0.000000] Machine model: Raspberry Pi 3 Model B+
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 384 MiB at 0x0000000010000000
[ 0.000000] On node 0 totalpages: 163840
[ 0.000000] DMA zone: 2560 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 163840 pages, LIFO batch:31
[ 0.000000] percpu: Embedded 30 pages/cpu s85912 r8192 d28776 u122880
[ 0.000000] pcpu-alloc: s85912 r8192 d28776 u122880 alloc=30*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 843419
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 161280
[ 0.000000] Kernel command line: console=ttyS1,115200 console=tty0 root=PARTUUID=68f28f33-02 rw rootwait quiet loglevel=0 cma=384MB@128MB smsc95xx.macaddr=b8:27:eb:d4:95:2c
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 206768K/655360K available (14844K kernel code, 2800K rwdata, 7404K rodata, 1984K init, 836K bss, 55376K reserved, 393216K cma-reserved)
[ 0.000000] random: get_random_u64 called from cache_random_seq_create+0x80/0x150 with crng_init=0
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 52421 entries in 205 pages
[ 0.000000] ftrace: allocated 205 pages with 5 groups
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000008] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000303] Console: colour dummy device 80x25
[ 0.000317] printk: console [tty0] enabled
[ 0.000367] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.000380] pid_max: default: 32768 minimum: 301
[ 0.000624] LSM: Security Framework initializing
[ 0.000648] Yama: becoming mindful.
[ 0.000766] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.000791] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.000885] *** VALIDATE tmpfs ***
[ 0.001638] *** VALIDATE proc ***
[ 0.001994] *** VALIDATE cgroup1 ***
[ 0.002002] *** VALIDATE cgroup2 ***
[ 0.003178] ASID allocator initialised with 32768 entries
[ 0.003320] rcu: Hierarchical SRCU implementation.
[ 0.007281] EFI services will not be available.
[ 0.007897] smp: Bringing up secondary CPUs ...
[ 0.008581] Detected VIPT I-cache on CPU1
[ 0.008657] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.009484] Detected VIPT I-cache on CPU2
[ 0.009529] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.010357] Detected VIPT I-cache on CPU3
[ 0.010397] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.010530] smp: Brought up 1 node, 4 CPUs
[ 0.010535] SMP: Total of 4 processors activated.
[ 0.010543] CPU features: detected: 32-bit EL0 Support
[ 0.010549] CPU features: detected: CRC32 instructions
[ 0.011150] CPU: All CPU(s) started at EL2
[ 0.011179] alternatives: patching kernel code
[ 0.013335] devtmpfs: initialized
[ 0.021617] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.021643] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.039929] pinctrl core: initialized pinctrl subsystem
[ 0.041287] thermal_sys: Registered thermal governor 'fair_share'
[ 0.041292] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.041299] thermal_sys: Registered thermal governor 'step_wise'
[ 0.041304] thermal_sys: Registered thermal governor 'user_space'
[ 0.041308] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.041615] DMI not present or invalid.
[ 0.042239] NET: Registered protocol family 16
[ 0.046803] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.046863] audit: initializing netlink subsys (disabled)
[ 0.047054] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[ 0.048416] cpuidle: using governor ladder
[ 0.048442] cpuidle: using governor menu
[ 0.049026] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.050241] Serial: AMBA PL011 UART driver
[ 0.074934] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.074948] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.074955] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.074962] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 2.208142] cryptd: max_cpu_qlen set to 1000
[ 2.249237] ACPI: Interpreter disabled.
[ 2.250221] iommu: Default domain type: Translated
[ 2.250637] vgaarb: loaded
[ 2.251803] SCSI subsystem initialized
[ 2.252044] libata version 3.00 loaded.
[ 2.252369] usbcore: registered new interface driver usbfs
[ 2.252429] usbcore: registered new interface driver hub
[ 2.252522] usbcore: registered new device driver usb
[ 2.252790] usb_phy_generic phy: phy supply vcc not found, using dummy regulator
[ 2.253501] pps_core: LinuxPPS API ver. 1 registered
[ 2.253506] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 2.253529] PTP clock support registered
[ 2.253779] EDAC MC: Ver: 3.0.0
[ 2.254943] Advanced Linux Sound Architecture Driver Initialized.
[ 2.255618] NetLabel: Initializing
[ 2.255625] NetLabel: domain hash size = 128
[ 2.255628] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 2.255716] NetLabel: unlabeled traffic allowed by default
[ 2.256348] clocksource: Switched to clocksource arch_sys_counter
[ 3.849721] *** VALIDATE bpf ***
[ 3.850159] VFS: Disk quotas dquot_6.6.0
[ 3.850250] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 3.850366] *** VALIDATE ramfs ***
[ 3.850394] *** VALIDATE hugetlbfs ***
[ 3.851017] simple-framebuffer 3e402000.framebuffer: framebuffer at 0x3e402000, 0x7e9000 bytes, mapped to 0x(____ptrval____)
[ 3.851029] simple-framebuffer 3e402000.framebuffer: format=a8r8g8b8, mode=1920x1080x32, linelength=7680
[ 3.851684] Console: switching to colour frame buffer device 240x67
[ 3.900246] simple-framebuffer 3e402000.framebuffer: fb0: simplefb registered!
[ 3.900515] pnp: PnP ACPI: disabled
[ 3.909707] NET: Registered protocol family 2
[ 3.910485] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 3.910522] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 3.910639] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 3.910855] TCP: Hash tables configured (established 8192 bind 8192)
[ 3.911103] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 3.911148] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 3.911558] NET: Registered protocol family 1
[ 3.912347] RPC: Registered named UNIX socket transport module.
[ 3.912352] RPC: Registered udp transport module.
[ 3.912355] RPC: Registered tcp transport module.
[ 3.912359] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 3.912373] PCI: CLS 0 bytes, default 64
[ 3.912594] Trying to unpack rootfs image as initramfs...
[ 4.520489] Freeing initrd memory: 7652K
[ 4.521885] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 4.522033] kvm [1]: IPA Size Limit: 40bits
[ 4.523623] kvm [1]: Hyp mode initialized successfully
[ 4.924330] Initialise system trusted keyrings
[ 4.924603] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 4.933913] zbud: loaded
[ 4.937151] NFS: Registering the id_resolver key type
[ 4.937182] Key type id_resolver registered
[ 4.937186] Key type id_legacy registered
[ 4.937202] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 4.937476] SGI XFS with ACLs, security attributes, quota, no debug enabled
[ 4.939658] *** VALIDATE xfs ***
[ 4.975052] NET: Registered protocol family 38
[ 4.975076] Key type asymmetric registered
[ 4.975082] Asymmetric key parser 'x509' registered
[ 4.975186] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 242)
[ 4.975439] io scheduler mq-deadline registered
[ 4.975447] io scheduler kyber registered
[ 4.975737] io scheduler bfq registered
[ 4.985343] IPMI message handler: version 39.2
[ 4.998785] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 5.001258] printk: console [ttyS1] disabled
[ 5.001352] 3f215040.serial: ttyS1 at MMIO 0x0 (irq = 61, base_baud = 31250000) is a 16550
[ 5.001410] printk: console [ttyS1] enabled
[ 5.002760] msm_serial: driver initialized
[ 5.004654] bcm2835-rng 3f104000.rng: hwrng registered
[ 5.005840] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 5.007040] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 5.011430] libphy: Fixed MDIO Bus: probed
[ 5.013951] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.013968] ehci-pci: EHCI PCI platform driver
[ 5.014024] ehci-platform: EHCI generic platform driver
[ 5.014182] ehci-orion: EHCI orion driver
[ 5.014300] tegra-ehci: Tegra EHCI driver
[ 5.014421] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.014436] ohci-pci: OHCI PCI platform driver
[ 5.014504] ohci-platform: OHCI generic platform driver
[ 5.014636] uhci_hcd: USB Universal Host Controller Interface driver
[ 5.015359] usbcore: registered new interface driver uas
[ 5.015425] usbcore: registered new interface driver usb-storage
[ 5.015465] usbcore: registered new interface driver ums-alauda
[ 5.015506] usbcore: registered new interface driver ums-cypress
[ 5.015545] usbcore: registered new interface driver ums-datafab
[ 5.015583] usbcore: registered new interface driver ums_eneub6250
[ 5.015622] usbcore: registered new interface driver ums-freecom
[ 5.015662] usbcore: registered new interface driver ums-isd200
[ 5.015714] usbcore: registered new interface driver ums-jumpshot
[ 5.015753] usbcore: registered new interface driver ums-karma
[ 5.015790] usbcore: registered new interface driver ums-onetouch
[ 5.015844] usbcore: registered new interface driver ums-realtek
[ 5.015884] usbcore: registered new interface driver ums-sddr09
[ 5.015923] usbcore: registered new interface driver ums-sddr55
[ 5.015963] usbcore: registered new interface driver ums-usbat
[ 5.016087] usbcore: registered new interface driver usbserial_generic
[ 5.016117] usbserial: USB Serial support registered for generic
[ 5.017872] mousedev: PS/2 mouse device common for all mice
[ 5.022017] device-mapper: uevent: version 1.0.3
[ 5.022371] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
[ 5.023832] sdhci: Secure Digital Host Controller Interface driver
[ 5.023835] sdhci: Copyright(c) Pierre Ossman
[ 5.024603] Synopsys Designware Multimedia Card Interface Driver
[ 5.121808] sdhost-bcm2835 3f202000.mmc: loaded - DMA enabled (>1)
[ 5.121961] sdhci-pltfm: SDHCI platform and OF driver helper
[ 5.124487] ledtrig-cpu: registered to indicate activity on CPUs
[ 5.125451] hid: raw HID events driver (C) Jiri Kosina
[ 5.125633] usbcore: registered new interface driver usbhid
[ 5.125638] usbhid: USB HID core driver
[ 5.126990] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 5.131395] drop_monitor: Initializing network drop monitor service
[ 5.131693] Initializing XFRM netlink socket
[ 5.132633] NET: Registered protocol family 10
[ 5.184090] Segment Routing with IPv6
[ 5.184221] mip6: Mobile IPv6
[ 5.184234] NET: Registered protocol family 17
[ 5.184583] Key type dns_resolver registered
[ 5.185382] registered taskstats version 1
[ 5.185392] Loading compiled-in X.509 certificates
[ 5.185548] zswap: loaded using pool lzo/zbud
[ 5.185809] Key type ._fscrypt registered
[ 5.185814] Key type .fscrypt registered
[ 5.215391] Key type big_key registered
[ 5.239898] Key type encrypted registered
[ 5.246258] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 66, base_baud = 0) is a PL011 rev2
[ 5.246606] serial serial0: tty port ttyAMA0 registered
[ 5.256191] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-03-10 15:59
[ 5.258162] raspberrypi-clk raspberrypi-clk: CPU frequency range: min 600000000, max 1400000000
[ 5.263775] mmc0: host does not support reading read-only switch, assuming write-enable
[ 5.267492] mmc0: new high speed SDHC card at address e624
[ 5.268287] mmcblk0: mmc0:e624 SU08G 7.40 GiB
[ 5.270338] mmcblk0: p1 p2
[ 5.274148] dwc2 3f980000.usb: 3f980000.usb supply vusb_d not found, using dummy regulator
[ 5.274223] dwc2 3f980000.usb: 3f980000.usb supply vusb_a not found, using dummy regulator
[ 5.326474] dwc2 3f980000.usb: DWC OTG Controller
[ 5.326687] dwc2 3f980000.usb: new USB bus registered, assigned bus number 1
[ 5.326719] dwc2 3f980000.usb: irq 41, io mem 0x3f980000
[ 5.326853] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.05
[ 5.326858] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.326861] usb usb1: Product: DWC OTG Controller
[ 5.326865] usb usb1: Manufacturer: Linux 5.5.11-1-ARCH dwc2_hsotg
[ 5.326869] usb usb1: SerialNumber: 3f980000.usb
[ 5.327199] hub 1-0:1.0: USB hub found
[ 5.327223] hub 1-0:1.0: 1 port detected
[ 5.330196] sdhci-iproc 3f300000.sdhci: allocated mmc-pwrseq
[ 5.361954] mmc1: SDHCI controller on 3f300000.sdhci [3f300000.sdhci] using PIO
[ 5.365136] hctosys: unable to open rtc device (rtc0)
[ 5.365442] ALSA device list:
[ 5.365448] No soundcards found.
[ 5.370418] Freeing unused kernel memory: 1984K
[ 5.378580] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 5.380218] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 5.381855] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 5.384798] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 5.406374] Run /init as init process
[ 5.440180] random: fast init done
[ 5.445940] mmc1: new high speed SDIO card at address 0001
[ 5.766440] usb 1-1: new high-speed USB device number 2 using dwc2
[ 5.796576] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[ 5.796585] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 5.797132] hub 1-1:1.0: USB hub found
[ 5.797203] hub 1-1:1.0: 4 ports detected
[ 6.116379] usb 1-1.1: new high-speed USB device number 3 using dwc2
[ 6.146880] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[ 6.146888] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 6.147551] hub 1-1.1:1.0: USB hub found
[ 6.147631] hub 1-1.1:1.0: 3 ports detected
[ 6.806371] usb 1-1.1.1: new high-speed USB device number 4 using dwc2
[ 6.837122] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800, bcdDevice= 3.00
[ 6.837126] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 7.526489] random: crng init done
[ 9.530519] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 10.199181] systemd[1]: System time before build time, advancing clock.
[ 10.230204] systemd[1]: systemd 245.4-1-arch running in system mode. (+PAM +AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[ 10.230532] systemd[1]: Detected architecture arm64.
[ 10.278979] systemd[1]: Set hostname to <alarm>.
[ 10.890235] systemd[1]: Created slice system-getty.slice.
[ 10.891174] systemd[1]: Created slice system-modprobe.slice.
[ 10.891927] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 10.892941] systemd[1]: Created slice User and Session Slice.
[ 10.893177] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 10.893307] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 10.893958] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 10.894071] systemd[1]: Reached target Local Encrypted Volumes.
[ 10.894171] systemd[1]: Reached target Paths.
[ 10.894214] systemd[1]: Reached target Remote File Systems.
[ 10.894249] systemd[1]: Reached target Slices.
[ 10.894298] systemd[1]: Reached target Swap.
[ 10.894614] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 10.901108] systemd[1]: Listening on Process Core Dump Socket.
[ 10.901340] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 10.901848] systemd[1]: Listening on Journal Audit Socket.
[ 10.902119] systemd[1]: Listening on Journal Socket (/dev/log).
[ 10.902402] systemd[1]: Listening on Journal Socket.
[ 10.902816] systemd[1]: Listening on Network Service Netlink Socket.
[ 10.903103] systemd[1]: Listening on udev Control Socket.
[ 10.903297] systemd[1]: Listening on udev Kernel Socket.
[ 10.903534] systemd[1]: Listening on User Database Manager Socket.
[ 10.907277] systemd[1]: Mounting Huge Pages File System...
[ 10.911618] systemd[1]: Mounting POSIX Message Queue File System...
[ 10.916937] systemd[1]: Mounting Kernel Debug File System...
[ 10.922795] systemd[1]: Mounting Kernel Trace File System...
[ 10.928784] systemd[1]: Mounting Temporary Directory (/tmp)...
[ 10.949481] systemd[1]: Starting Create list of static device nodes for the current kernel...
[ 10.953920] systemd[1]: Starting Load Kernel Module drm...
[ 10.961083] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 10.967670] systemd[1]: Condition check resulted in Load Kernel Modules being skipped.
[ 10.968099] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[ 10.972154] systemd[1]: Mounting Kernel Configuration File System...
[ 10.977179] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 10.982181] systemd[1]: Starting Repartition Root Disk...
[ 10.986982] systemd[1]: Starting Apply Kernel Variables...
[ 10.991848] systemd[1]: Starting udev Coldplug all Devices...
[ 10.997894] systemd[1]: Mounted Huge Pages File System.
[ 10.998741] systemd[1]: Mounted POSIX Message Queue File System.
[ 10.999760] systemd[1]: Mounted Kernel Debug File System.
[ 11.000815] systemd[1]: Mounted Kernel Trace File System.
[ 11.001613] systemd[1]: Mounted Temporary Directory (/tmp).
[ 11.004442] systemd[1]: Finished Create list of static device nodes for the current kernel.
[ 11.006300] systemd[1]: Mounted Kernel Configuration File System.
[ 11.029216] systemd[1]: Finished Remount Root and Kernel File Systems.
[ 11.029961] systemd[1]: Condition check resulted in First Boot Wizard being skipped.
[ 11.071572] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[ 11.075609] systemd[1]: Starting Load/Save Random Seed...
[ 11.081041] systemd[1]: Starting Create System Users...
[ 11.084313] systemd[1]: Finished Repartition Root Disk.
[ 11.089690] systemd[1]: Finished Apply Kernel Variables.
[ 11.122410] systemd[1]: modprobe@drm.service: Succeeded.
[ 11.123914] systemd[1]: Finished Load Kernel Module drm.
[ 11.292770] systemd[1]: Finished udev Coldplug all Devices.
[ 11.380729] systemd[1]: Finished Load/Save Random Seed.
[ 11.405791] systemd[1]: Finished Create System Users.
[ 11.409899] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 11.463795] systemd[1]: Finished Create Static Device Nodes in /dev.
[ 11.464456] systemd[1]: Reached target Local File Systems (Pre).
[ 11.464587] systemd[1]: Condition check resulted in Virtual Machine and Container Storage (Compatibility) being skipped.
[ 11.469001] systemd[1]: Started Entropy Daemon based on the HAVEGE algorithm.
[ 11.475313] systemd[1]: Starting Journal Service...
[ 11.480828] systemd[1]: Starting udev Kernel Device Manager...
[ 12.106040] systemd[1]: Started Journal Service.
[ 12.106578] audit: type=1130 audit(1585806816.899:2): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 12.155122] systemd-journald[385]: Received client request to flush runtime journal.
[ 12.196406] systemd-journald[385]: File /var/log/journal/57c7b25fd61f4e8dbbff8d73b526c83e/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 12.206401] usb 1-1.2: new low-speed USB device number 5 using dwc2
[ 12.243079] audit: type=1130 audit(1585806817.029:3): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udevd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 12.348413] usb 1-1.2: New USB device found, idVendor=258a, idProduct=0001, bcdDevice= 1.00
[ 12.348426] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 12.348431] usb 1-1.2: Product: USB KEYBOARD
[ 12.348434] usb 1-1.2: Manufacturer: SINO WEALTH
[ 12.358305] input: SINO WEALTH USB KEYBOARD as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:258A:0001.0001/input/input0
[ 12.427921] hid-generic 0003:258A:0001.0001: input,hidraw0: USB HID v1.10 Keyboard [SINO WEALTH USB KEYBOARD] on usb-3f980000.usb-1.2/input0
[ 12.439981] input: SINO WEALTH USB KEYBOARD System Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:258A:0001.0002/input/input1
[ 12.507391] input: SINO WEALTH USB KEYBOARD Consumer Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:258A:0001.0002/input/input2
[ 12.507979] hid-generic 0003:258A:0001.0002: input,hiddev96,hidraw1: USB HID v1.10 Device [SINO WEALTH USB KEYBOARD] on usb-3f980000.usb-1.2/input1
[ 12.792663] audit: type=1130 audit(1585806817.579:4): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journal-flush comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 12.835430] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 12.858071] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 12.867940] bcm2835_audio bcm2835_audio: card created with 8 channels
[ 12.875214] mc: Linux media interface: v0.10
[ 12.884212] i2c-bcm2835 3f805000.i2c: Could not read clock-frequency property
[ 12.935395] videodev: Linux video capture interface: v2.00
[ 13.115049] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 13.321510] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 13.329638] audit: type=1130 audit(1585806818.119:5): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-networkd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 13.375504] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): No External EEPROM. Setting MAC Speed
[ 13.391087] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 13.398758] Bluetooth: Core ver 2.22
[ 13.398903] NET: Registered protocol family 31
[ 13.398907] Bluetooth: HCI device and connection manager initialized
[ 13.398945] Bluetooth: HCI socket layer initialized
[ 13.398976] Bluetooth: L2CAP socket layer initialized
[ 13.398994] Bluetooth: SCO socket layer initialized
[ 13.400653] libphy: lan78xx-mdiobus: probed
[ 13.459135] bcm2835-power bcm2835-power: Timeout waiting for grafx power OK
[ 13.461255] bcm2835-power bcm2835-power: Timeout waiting for grafx power OK
[ 13.486472] Bluetooth: HCI UART driver ver 2.3
[ 13.486486] Bluetooth: HCI UART protocol H4 registered
[ 13.486489] Bluetooth: HCI UART protocol BCSP registered
[ 13.486592] Bluetooth: HCI UART protocol LL registered
[ 13.486595] Bluetooth: HCI UART protocol ATH3K registered
[ 13.486635] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 13.487040] Bluetooth: HCI UART protocol Intel registered
[ 13.487314] Bluetooth: HCI UART protocol Broadcom registered
[ 13.487363] Bluetooth: HCI UART protocol QCA registered
[ 13.487397] Bluetooth: HCI UART protocol Marvell registered
[ 13.488491] hci_uart_bcm serial0-0: serial0-0 supply vbat not found, using dummy regulator
[ 13.488610] hci_uart_bcm serial0-0: serial0-0 supply vddio not found, using dummy regulator
[ 13.535817] bcm2835-power bcm2835-power: Timeout waiting for grafx power OK
[ 13.536173] usbcore: registered new interface driver lan78xx
[ 13.552621] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 13.601518] audit: type=1130 audit(1585806818.389:6): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 13.607002] uart-pl011 3f201000.serial: no DMA platform data
[ 13.635796] bcm2835-power bcm2835-power: Timeout waiting for grafx power OK
[ 13.657982] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 13.660414] bcm2835-power bcm2835-power: Timeout waiting for grafx power OK
[ 13.661063] usbcore: registered new interface driver brcmfmac
[ 13.729623] bcm2835-power bcm2835-power: Timeout waiting for grafx power OK
[ 13.832150] audit: type=1127 audit(1585806818.619:7): pid=428 uid=0 auid=4294967295 ses=4294967295 msg=' comm="systemd-update-utmp" exe="/usr/lib/systemd/systemd-update-utmp" hostname=? addr=? terminal=? res=success'
[ 13.863373] audit: type=1130 audit(1585806818.649:8): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-update-utmp comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 13.867392] Bluetooth: hci0: BCM: chip id 107
[ 13.867786] Bluetooth: hci0: BCM: features 0x2f
[ 13.869537] Bluetooth: hci0: BCM4345C0
[ 13.869556] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[ 13.892476] audit: type=1130 audit(1585806818.679:9): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 13.904238] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 13.908755] audit: type=1130 audit(1585806818.699:10): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journal-catalog-update comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 13.934336] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 14.199199] audit: type=1130 audit(1585806818.989:11): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=ldconfig comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 14.667209] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0139
[ 16.821402] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 16.893492] systemd-journald[385]: File /var/log/journal/57c7b25fd61f4e8dbbff8d73b526c83e/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.
[ 18.970196] kauditd_printk_skb: 22 callbacks suppressed
[ 18.970206] audit: type=1131 audit(1585814917.518:34): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 19.265418] audit: type=1130 audit(1585814917.808:35): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=polkit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 87.728307] audit: type=1100 audit(1585827420.845:36): pid=491 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_tally2,pam_shells,pam_unix,pam_permit acct="alarm" exe="/usr/bin/sshd" hostname=192.168.1.3 addr=192.168.1.3 terminal=ssh res=success'
[ 87.753211] audit: type=1101 audit(1585827420.865:37): pid=491 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_tally2,pam_access,pam_unix,pam_permit,pam_time acct="alarm" exe="/usr/bin/sshd" hostname=192.168.1.3 addr=192.168.1.3 terminal=ssh res=success'
[ 87.763759] audit: type=1103 audit(1585827420.875:38): pid=491 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_tally2,pam_shells,pam_unix,pam_permit acct="alarm" exe="/usr/bin/sshd" hostname=192.168.1.3 addr=192.168.1.3 terminal=ssh res=success'
[ 87.764082] audit: type=1006 audit(1585827420.875:39): pid=491 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=3 res=1
[ 87.796041] audit: type=1105 audit(1585827420.905:40): pid=491 uid=0 auid=1000 ses=3 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="alarm" exe="/usr/bin/sshd" hostname=192.168.1.3 addr=192.168.1.3 terminal=ssh res=success'
[ 87.802428] audit: type=1103 audit(1585827420.915:41): pid=493 uid=0 auid=1000 ses=3 msg='op=PAM:setcred grantors=pam_tally2,pam_shells,pam_unix,pam_permit acct="alarm" exe="/usr/bin/sshd" hostname=192.168.1.3 addr=192.168.1.3 terminal=ssh res=success'
')
WebReflection
 
Posts: 99
Joined: Tue Apr 02, 2013 6:49 pm

Re: Raspberry Pi 3 - weston not starting ?

Postby lategoodbye » Fri Apr 03, 2020 6:34 am

bcm2835-power bcm2835-power: Timeout waiting for grafx power OK

This is a known issue, which has been workarounded recently in upstream:
https://git.kernel.org/pub/scm/linux/ke ... 50ee7032bb
lategoodbye
 
Posts: 116
Joined: Sat Dec 29, 2018 1:24 am

Re: Raspberry Pi 3 - weston not starting ?

Postby WebReflection » Sat Apr 04, 2020 2:52 pm

Right, looking forward to see if the next kernel update would solve. Meanwhile, thanks, I'll close this as it's a known issue.
WebReflection
 
Posts: 99
Joined: Tue Apr 02, 2013 6:49 pm

Re: [SOLVED] Raspberry Pi 3 - weston not starting ?

Postby moniker117 » Mon Apr 27, 2020 2:29 am

I have a Raspberry PI 3B+ running the aarch64 mainline kernel from ArchLinuxARM. I can confirm that this issue is resolved in the linux-next branch. I took the linux-next-git AUR from ArchLinux and merged in the PKGBUILD to the linux-aarch64 from ArchLinuxARM, installed it, and verified that DRI is present. I also confirmed that weston-launch works correctly from the command line.

$this->bbcode_second_pass_code('', '
$ uname -a
Linux tiny 5.7.0-rc2-1-next-20200424-ARCH+ #2 SMP Sun Apr 26 18:48:01 PDT 2020 aarch64 GNU/Linux

$ dmesg | grep vc
[ 2.266791] usb_phy_generic phy: supply vcc not found, using dummy regulator
[ 206.522299] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0
[ 206.522461] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input4
[ 206.524191] debugfs: Directory '3f902000.hdmi' with parent 'vc4-hdmi' already present!
[ 206.553128] vc4_hdmi 3f902000.hdmi: vc4-hdmi-hifi <-> 3f902000.hdmi mapping ok
[ 206.553158] vc4_hdmi 3f902000.hdmi: ASoC: no DMI vendor name!
[ 206.557087] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[ 206.557320] vc4-drm soc:gpu: bound 3f806000.vec (ops vc4_vec_ops [vc4])
[ 206.557471] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4])
[ 206.557593] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[ 206.557917] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 206.558177] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 206.558618] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
[ 206.558825] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[ 206.558847] fb0: switching to vc4drmfb from simple
[ 206.576647] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[ 206.651426] vc4-drm soc:gpu: fb0: vc4drmfb frame buffer device

$ ls -l /dev/dri/
total 0
drwxr-xr-x 2 root root 80 Apr 24 16:53 by-path
crw-rw----+ 1 root video 226, 0 Apr 26 18:54 card0
crw-rw-rw- 1 root render 226, 128 Apr 24 16:53 renderD128

$ glxinfo | grep OpenGL
OpenGL vendor string: Broadcom
OpenGL renderer string: VC4 V3D 2.1
OpenGL version string: 2.1 Mesa 20.0.5
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 20.0.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:

')

I did some testing and verified that DRI seemed to break sometime after kernel 5.2, so downgrading the kernel may be an option as well.
moniker117
 
Posts: 9
Joined: Sun Feb 09, 2014 2:03 am

Re: [SOLVED] Raspberry Pi 3 - weston not starting ?

Postby WebReflection » Wed Jun 10, 2020 6:40 am

apologies for bumping this up, but after updating to latest 5.7 kernel, I can confirm the Raspberry Pi 3 is incapable of running anything via DRM.

Has anyone else found the solution to this problem? I've previously closed it as solved, but I think there's something very odd/weird going on with the drm/GPU setup.

Thanks in advance for any kind of help.
WebReflection
 
Posts: 99
Joined: Tue Apr 02, 2013 6:49 pm

Re: [SOLVED] Raspberry Pi 3 - weston not starting ?

Postby lategoodbye » Thu Jun 11, 2020 6:41 pm

In case you refer to this issue:
bcm2835-power bcm2835-power: Timeout waiting for grafx power OK

The fix will be in Linux 5.8. Since this fix introduce a new file, this isn't easy to get this backported.
lategoodbye
 
Posts: 116
Joined: Sat Dec 29, 2018 1:24 am

Next

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 24 guests