vlang / ved

1 MB text editor written in V with hardware accelerated text rendering. Compiles in <1s.
GNU General Public License v3.0
1.39k stars 81 forks source link

Crash on start with "Failed to create GL context via glXCreateContextAttribsARB" #185

Open brett-mahar opened 6 months ago

brett-mahar commented 6 months ago

Hello!

I built Ved on ARM (RockPi4B+ with Manjaro Linux), but when I try to open a file it crashes.

I use SwayWM but get the same error whether using a Wayland-based terminal (Wayst) or X11 terminal (Sakura with ENV variable GTK_BACKEND=x11)

Error message:

$ ./ved /home/brett/TEST-FORMULA-LIST.txt
size=gg.Size{ width: 2560 height: 1440 } MAX=880 height=1440 loading syntax files... 0 syntax files loaded + the compile time builtin syntax for .v full screen=true PATH="/home/brett/TEST-FORMULA-LIST.txt" cur_dir="/home/brett/LANGUAGES/V/ved" add_workspace("/home/brett") open workspace(0) open file "/home/brett/TEST-FORMULA-LIST.txt" saving session... saving view #0 /home/brett/TEST-FORMULA-LIST.txt saving view #1 saving view #2 load session "/home/brett/.ved/session" ['/home/brett/TEST-FORMULA-LIST.txt:0', ':0', ':0'] open file "/home/brett/TEST-FORMULA-LIST.txt" saving session... saving view #0 /home/brett/TEST-FORMULA-LIST.txt saving view #1 saving view #2 open file "" open file "" first_launch=false sokol.memory.slog | user_data: (nil), const_tag: sapp, level: 2, item_id: 49, fname: /home/brett/.MYBUILDS/vlang/v/thirdparty/sokol/sokol_app.h, line: 9783, message: LINUX_X11_QUERY_SYSTEM_DPI_FAILED: failed to query system dpi value, assuming default 96.0 sokol.memory.slog | user_data: (nil), const_tag: sapp, level: 0, item_id: 35, fname: /home/brett/.MYBUILDS/vlang/v/thirdparty/sokol/sokol_app.h, line: 10015, message: LINUX_GLX_CREATE_CONTEXT_FAILED: Failed to create GL context via glXCreateContextAttribsARB X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 150 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 156 Current serial number in output stream: 156

Since it seems related to graphics driver/graphics chip or libraries, here's the dmesg:

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 6.7.9-1-MANJARO-ARM (builduser@gitlab-runner-ampere-cax41) (gcc (GCC) 12.1.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT Sat Mar 9 21:00:40 UTC 2024 [ 0.000000] Machine model: Radxa ROCK Pi 4B+ [ 0.000000] efi: UEFI not found. [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000200000-0x00000000f7ffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000200000-0x00000000f7ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff] [ 0.000000] On node 0, zone DMA: 512 pages in unavailable ranges [ 0.000000] cma: Reserved 256 MiB at 0x00000000e1000000 on node -1 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.2 [ 0.000000] percpu: Embedded 21 pages/cpu s47912 r8192 d29912 u86016 [ 0.000000] pcpu-alloc: s47912 r8192 d29912 u86016 alloc=21*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Kernel command line: initrd=/initramfs-linux.img root=PARTUUID=7616630d-1b53-4ee5-afc9-41fc3638723e rw rootwait audit=0 plymouth.ignore-serial-consoles [ 0.000000] audit: disabled (until reboot) [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 999432 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 3MB [ 0.000000] software IO TLB: area num 8. [ 0.000000] software IO TLB: mapped [mem 0x00000000f2e00000-0x00000000f3200000] (4MB) [ 0.000000] Memory: 3674216K/4061184K available (13376K kernel code, 2520K rwdata, 5956K rodata, 4608K init, 677K bss, 124824K reserved, 262144K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Tracing variant of 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=6 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 256 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] GICv3: GICv3 features: 16 PPIs [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000 [ 0.000000] ITS [mem 0xfee20000-0xfee3ffff] [ 0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @480000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000000450000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000000460000 [ 0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] } [ 0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] } [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.003315] Console: colour dummy device 80x25 [ 0.003334] printk: legacy console [tty0] enabled [ 0.003469] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.003490] pid_max: default: 32768 minimum: 301 [ 0.009112] LSM: initializing lsm=capability,yama,apparmor [ 0.011327] Yama: becoming mindful. [ 0.011511] AppArmor: AppArmor initialized [ 0.012933] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.012971] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.018870] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.020709] RCU Tasks: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1. [ 0.020857] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1. [ 0.021240] rcu: Hierarchical SRCU implementation. [ 0.021251] rcu: Max phase no-delay instances is 1000. [ 0.023158] Platform MSI: msi-controller@fee20000 domain created [ 0.023668] PCI/MSI: /interrupt-controller@fee00000/msi-controller@fee20000 domain created [ 0.027534] EFI services will not be available. [ 0.028284] smp: Bringing up secondary CPUs ... [ 0.029265] Detected VIPT I-cache on CPU1 [ 0.029354] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000 [ 0.029377] GICv3: CPU1: using allocated LPI pending table @0x0000000000470000 [ 0.029442] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.030613] Detected VIPT I-cache on CPU2 [ 0.030681] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000 [ 0.030703] GICv3: CPU2: using allocated LPI pending table @0x0000000000500000 [ 0.030748] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.031789] Detected VIPT I-cache on CPU3 [ 0.031852] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000 [ 0.031871] GICv3: CPU3: using allocated LPI pending table @0x0000000000510000 [ 0.031913] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.032972] CPU features: detected: Spectre-v2 [ 0.032989] CPU features: detected: Spectre-BHB [ 0.033000] CPU features: detected: ARM erratum 1742098 [ 0.033008] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 0.033014] Detected PIPT I-cache on CPU4 [ 0.033088] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000 [ 0.033106] GICv3: CPU4: using allocated LPI pending table @0x0000000000520000 [ 0.033153] CPU4: Booted secondary processor 0x0000000100 [0x410fd082] [ 0.034178] Detected PIPT I-cache on CPU5 [ 0.034241] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000 [ 0.034258] GICv3: CPU5: using allocated LPI pending table @0x0000000000530000 [ 0.034295] CPU5: Booted secondary processor 0x0000000101 [0x410fd082] [ 0.034454] smp: Brought up 1 node, 6 CPUs [ 0.034502] SMP: Total of 6 processors activated. [ 0.034512] CPU features: detected: 32-bit EL0 Support [ 0.034519] CPU features: detected: 32-bit EL1 Support [ 0.034530] CPU features: detected: CRC32 instructions [ 0.034627] CPU: All CPU(s) started at EL2 [ 0.034647] alternatives: applying system-wide alternatives [ 0.039083] devtmpfs: initialized [ 0.054712] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.054741] futex hash table entries: 2048 (order: 5, 131072 bytes, linear) [ 0.062487] pinctrl core: initialized pinctrl subsystem [ 0.063072] DMI not present or invalid. [ 0.065134] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.067286] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations [ 0.068215] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.069077] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.070922] thermal_sys: Registered thermal governor 'fair_share' [ 0.070933] thermal_sys: Registered thermal governor 'bang_bang' [ 0.070940] thermal_sys: Registered thermal governor 'step_wise' [ 0.070947] thermal_sys: Registered thermal governor 'user_space' [ 0.071008] cpuidle: using governor ladder [ 0.071043] cpuidle: using governor menu [ 0.071244] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.071470] ASID allocator initialised with 65536 entries [ 0.072937] Serial: AMBA PL011 UART driver [ 0.096015] platform fe330000.mmc: Fixed dependency cycle(s) with /syscon@ff770000/phy@f780 [ 0.096097] platform ff770000.syscon:phy@f780: Fixed dependency cycle(s) with /mmc@fe330000 [ 0.097837] platform ff880000.i2s: Fixed dependency cycle(s) with /i2c@ff110000/codec@11 [ 0.100937] platform ff900000.vop: Fixed dependency cycle(s) with /hdmi@ff940000 [ 0.101023] platform ff8f0000.vop: Fixed dependency cycle(s) with /hdmi@ff940000 [ 0.101090] platform ff940000.hdmi: Fixed dependency cycle(s) with /vop@ff8f0000 [ 0.101173] platform ff940000.hdmi: Fixed dependency cycle(s) with /vop@ff900000 [ 0.108095] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.108806] rockchip-gpio ff720000.gpio: probed /pinctrl/gpio@ff720000 [ 0.109354] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.109645] rockchip-gpio ff730000.gpio: probed /pinctrl/gpio@ff730000 [ 0.110075] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.110350] rockchip-gpio ff780000.gpio: probed /pinctrl/gpio@ff780000 [ 0.110769] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.111042] rockchip-gpio ff788000.gpio: probed /pinctrl/gpio@ff788000 [ 0.111466] gpio gpiochip4: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.111748] rockchip-gpio ff790000.gpio: probed /pinctrl/gpio@ff790000 [ 0.118085] Modules: 25936 pages in range for non-PLT usage [ 0.118098] Modules: 517456 pages in range for PLT usage [ 0.120041] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.120053] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.120063] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.120070] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.120079] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.120085] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.120094] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.120100] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.121438] cryptd: max_cpu_qlen set to 1000 [ 0.123505] ACPI: Interpreter disabled. [ 0.123995] iommu: Default domain type: Translated [ 0.124005] iommu: DMA domain TLB invalidation policy: strict mode [ 0.124954] SCSI subsystem initialized [ 0.125195] libata version 3.00 loaded. [ 0.125498] usbcore: registered new interface driver usbfs [ 0.125535] usbcore: registered new interface driver hub [ 0.125578] usbcore: registered new device driver usb [ 0.126139] pps_core: LinuxPPS API ver. 1 registered [ 0.126147] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.126549] scmi_core: SCMI protocol bus registered [ 0.126947] Advanced Linux Sound Architecture Driver Initialized. [ 0.127810] NetLabel: Initializing [ 0.127818] NetLabel: domain hash size = 128 [ 0.127826] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.127916] NetLabel: unlabeled traffic allowed by default [ 0.128104] vgaarb: loaded [ 0.128341] clocksource: Switched to clocksource arch_sys_counter [ 0.131002] VFS: Disk quotas dquot_6.6.0 [ 0.131188] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.132179] AppArmor: AppArmor Filesystem Enabled [ 0.132261] pnp: PnP ACPI: disabled [ 0.144737] NET: Registered PF_INET protocol family [ 0.145032] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.151436] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear) [ 0.151560] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.151587] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.151958] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear) [ 0.153237] TCP: Hash tables configured (established 32768 bind 32768) [ 0.153405] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.153553] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.154341] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.154409] PCI: CLS 0 bytes, default 64 [ 0.154748] Trying to unpack rootfs image as initramfs... [ 0.158877] kvm [1]: IPA Size Limit: 40 bits

[ 0.160611] kvm [1]: GIC system register CPU interface enabled [ 0.160645] kvm [1]: vgic interrupt IRQ18 [ 0.160700] kvm [1]: Hyp mode initialized successfully [ 0.161995] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present! [ 0.162010] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present! [ 0.162020] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present! [ 0.162028] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present! [ 0.162037] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present! [ 0.162045] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present! [ 0.162054] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present! [ 0.162062] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present! [ 0.162071] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present! [ 0.162079] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present! [ 0.162088] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present! [ 0.162097] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present! [ 0.162105] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present! [ 0.162114] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present! [ 0.162122] debugfs: File ':interrupt-controller@fee00000' in directory 'domains' already present! [ 0.163534] Initialise system trusted keyrings [ 0.163841] workingset: timestamp_bits=46 max_order=20 bucket_order=0 [ 0.163931] zbud: loaded [ 0.247868] NET: Registered PF_ALG protocol family [ 0.247895] Key type asymmetric registered [ 0.247903] Asymmetric key parser 'x509' registered [ 0.248012] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 0.248308] io scheduler mq-deadline registered [ 0.248319] io scheduler kyber registered [ 0.248606] io scheduler bfq registered [ 0.284674] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 0.284697] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12 [ 0.286358] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 0.286374] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16 [ 0.292801] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.296059] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 35, base_baud = 1500000) is a 16550A [ 0.296525] serial serial0: tty port ttyS0 registered [ 0.297918] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 36, base_baud = 1500000) is a 16550A [ 0.298111] printk: legacy console [ttyS2] enabled [ 0.299672] Serial: AMBA driver [ 0.316769] usbcore: registered new interface driver uas [ 0.316835] usbcore: registered new interface driver usb-storage [ 0.316935] usbcore: registered new interface driver usbserial_generic [ 0.316970] usbserial: USB Serial support registered for generic [ 0.319326] mousedev: PS/2 mouse device common for all mice [ 0.319770] i2c_dev: i2c /dev entries driver [ 0.320935] platform ff880000.i2s: Fixed dependency cycle(s) with /i2c@ff110000/codec@11 [ 0.321113] i2c 1-0011: Fixed dependency cycle(s) with /i2s@ff880000 [ 0.323574] i2c 0-001b: Fixed dependency cycle(s) with /i2c@ff3c0000/pmic@1b/regulators/DCDC_REG4 [ 0.327022] usbcore: registered new interface driver pcwd_usb [ 0.327180] device-mapper: uevent: version 1.0.3 [ 0.327532] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com [ 0.330710] sdhci: Secure Digital Host Controller Interface driver [ 0.330725] sdhci: Copyright(c) Pierre Ossman [ 0.330911] Synopsys Designware Multimedia Card Interface Driver [ 0.332425] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.332599] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode. [ 0.332654] dwmmc_rockchip fe310000.mmc: Using internal DMA controller. [ 0.332675] dwmmc_rockchip fe310000.mmc: Version ID is 270a [ 0.332777] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 47,32 bit host data width,256 deep fifo [ 0.332852] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode. [ 0.332886] dwmmc_rockchip fe320000.mmc: Using internal DMA controller. [ 0.332904] dwmmc_rockchip fe320000.mmc: Version ID is 270a [ 0.332980] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 48,32 bit host data width,256 deep fifo [ 0.333416] dwmmc_rockchip fe320000.mmc: Got CD GPIO [ 0.335635] mmc0: CQHCI version 5.10 [ 0.336139] ledtrig-cpu: registered to indicate activity on CPUs [ 0.336995] No iBFT detected. [ 0.338262] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 0.338986] hid: raw HID events driver (C) Jiri Kosina [ 0.339122] usbcore: registered new interface driver usbhid [ 0.339132] usbhid: USB HID core driver [ 0.344193] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 0.345782] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available [ 0.346479] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 0.348452] watchdog: Delayed init of the lockup detector failed: -19 [ 0.348475] watchdog: Hard watchdog permanently disabled [ 0.349005] Initializing XFRM netlink socket [ 0.350322] NET: Registered PF_INET6 protocol family [ 0.361213] mmc0: SDHCI controller on fe330000.mmc [fe330000.mmc] using ADMA [ 0.487126] mmc0: Command Queue Engine enabled [ 0.487173] mmc0: new HS200 MMC card at address 0001 [ 0.489263] mmcblk0: mmc0:0001 SLD128 115 GiB [ 0.523437] mmcblk0: p1 p2 [ 0.524903] mmcblk0boot0: mmc0:0001 SLD128 4.00 MiB [ 0.527128] mmcblk0boot1: mmc0:0001 SLD128 4.00 MiB [ 0.529414] mmcblk0rpmb: mmc0:0001 SLD128 4.00 MiB, chardev (246:0) [ 1.112589] Freeing initrd memory: 14692K [ 1.180050] Segment Routing with IPv6 [ 1.180133] In-situ OAM (IOAM) with IPv6 [ 1.180232] mip6: Mobile IPv6 [ 1.180255] NET: Registered PF_PACKET protocol family [ 1.191771] registered taskstats version 1 [ 1.192049] Loading compiled-in X.509 certificates [ 1.204204] debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers [ 1.204865] Key type .fscrypt registered [ 1.204876] Key type fscrypt-provisioning registered [ 1.207038] Key type encrypted registered [ 1.421193] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected! [ 1.421622] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected! [ 1.422659] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode. [ 1.422722] dwmmc_rockchip fe310000.mmc: Using internal DMA controller. [ 1.422743] dwmmc_rockchip fe310000.mmc: Version ID is 270a [ 1.422798] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 47,32 bit host data width,256 deep fifo [ 1.439202] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 1.439634] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 1.439820] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000008002000010 [ 1.439924] xhci-hcd xhci-hcd.0.auto: irq 55, io mem 0xfe800000 [ 1.440210] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 1.440541] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [ 1.440569] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed [ 1.441430] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07 [ 1.441454] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.441470] usb usb1: Product: xHCI Host Controller [ 1.441484] usb usb1: Manufacturer: Linux 6.7.9-1-MANJARO-ARM xhci-hcd [ 1.441497] usb usb1: SerialNumber: xhci-hcd.0.auto [ 1.442548] hub 1-0:1.0: USB hub found [ 1.442691] hub 1-0:1.0: 1 port detected [ 1.443600] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 1.443934] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.07 [ 1.443957] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.443973] usb usb2: Product: xHCI Host Controller [ 1.443986] usb usb2: Manufacturer: Linux 6.7.9-1-MANJARO-ARM xhci-hcd [ 1.444000] usb usb2: SerialNumber: xhci-hcd.0.auto [ 1.444756] hub 2-0:1.0: USB hub found [ 1.444830] hub 2-0:1.0: 1 port detected [ 1.452313] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 1.452767] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3 [ 1.452971] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000008002000010 [ 1.453074] xhci-hcd xhci-hcd.1.auto: irq 56, io mem 0xfe900000 [ 1.453340] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 1.453646] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4 [ 1.453672] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed [ 1.454123] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07 [ 1.454146] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.454163] usb usb3: Product: xHCI Host Controller [ 1.454176] usb usb3: Manufacturer: Linux 6.7.9-1-MANJARO-ARM xhci-hcd [ 1.454190] usb usb3: SerialNumber: xhci-hcd.1.auto [ 1.454988] hub 3-0:1.0: USB hub found [ 1.455068] hub 3-0:1.0: 1 port detected [ 1.455806] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 1.456138] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.07 [ 1.456160] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.456176] usb usb4: Product: xHCI Host Controller [ 1.456189] usb usb4: Manufacturer: Linux 6.7.9-1-MANJARO-ARM xhci-hcd [ 1.456202] usb usb4: SerialNumber: xhci-hcd.1.auto [ 1.456992] hub 4-0:1.0: USB hub found [ 1.457066] hub 4-0:1.0: 1 port detected [ 1.462497] ehci-platform fe380000.usb: EHCI Host Controller [ 1.462529] ohci-platform fe3a0000.usb: Generic Platform OHCI controller [ 1.462868] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 6 [ 1.463057] ohci-platform fe3a0000.usb: irq 60, io mem 0xfe3a0000 [ 1.463119] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 5 [ 1.463198] ehci-platform fe3c0000.usb: EHCI Host Controller [ 1.463273] ehci-platform fe380000.usb: irq 57, io mem 0xfe380000 [ 1.463620] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 7 [ 1.463856] ehci-platform fe3c0000.usb: irq 58, io mem 0xfe3c0000 [ 1.467308] rk808-regulator rk808-regulator.3.auto: there is no dvs0 gpio [ 1.467355] rk808-regulator rk808-regulator.3.auto: there is no dvs1 gpio [ 1.483498] ohci-platform fe3e0000.usb: Generic Platform OHCI controller [ 1.484128] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 8 [ 1.484306] ohci-platform fe3e0000.usb: irq 70, io mem 0xfe3e0000 [ 1.486716] cpu cpu0: EM: created perf domain [ 1.487801] cpu cpu4: EM: created perf domain [ 1.488545] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00 [ 1.488896] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07 [ 1.488915] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.488928] usb usb5: Product: EHCI Host Controller [ 1.488939] usb usb5: Manufacturer: Linux 6.7.9-1-MANJARO-ARM ehci_hcd [ 1.488949] usb usb5: SerialNumber: fe380000.usb [ 1.489803] hub 5-0:1.0: USB hub found [ 1.489851] hub 5-0:1.0: 1 port detected [ 1.490683] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges: [ 1.490729] rockchip-pcie f8000000.pcie: MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000 [ 1.490768] rockchip-pcie f8000000.pcie: IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000 [ 1.491208] rockchip-pcie f8000000.pcie: no vpcie12v regulator found [ 1.491342] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode. [ 1.491388] dwmmc_rockchip fe310000.mmc: Using internal DMA controller. [ 1.491407] dwmmc_rockchip fe310000.mmc: Version ID is 270a [ 1.491448] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 47,32 bit host data width,256 deep fifo [ 1.491756] dwmmc_rockchip fe310000.mmc: allocated mmc-pwrseq [ 1.491770] mmc_host mmc2: card is non-removable. [ 1.504684] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 1.528447] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00 [ 1.528817] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07 [ 1.528832] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.528842] usb usb7: Product: EHCI Host Controller [ 1.528851] usb usb7: Manufacturer: Linux 6.7.9-1-MANJARO-ARM ehci_hcd [ 1.528859] usb usb7: SerialNumber: fe3c0000.usb [ 1.530084] hub 7-0:1.0: USB hub found [ 1.530136] hub 7-0:1.0: 1 port detected [ 1.543018] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.07 [ 1.543050] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.543062] usb usb6: Product: Generic Platform OHCI controller [ 1.543072] usb usb6: Manufacturer: Linux 6.7.9-1-MANJARO-ARM ohci_hcd [ 1.543083] usb usb6: SerialNumber: fe3a0000.usb [ 1.543927] hub 6-0:1.0: USB hub found [ 1.543990] hub 6-0:1.0: 1 port detected [ 1.562869] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.07 [ 1.562898] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.562915] usb usb8: Product: Generic Platform OHCI controller [ 1.562929] usb usb8: Manufacturer: Linux 6.7.9-1-MANJARO-ARM ohci_hcd [ 1.562942] usb usb8: SerialNumber: fe3e0000.usb [ 1.563998] hub 8-0:1.0: USB hub found [ 1.564079] hub 8-0:1.0: 1 port detected [ 1.624581] mmc_host mmc2: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0) [ 1.748502] usb 3-1: new high-speed USB device number 2 using xhci-hcd [ 1.778573] usb 5-1: new high-speed USB device number 2 using ehci-platform [ 1.778694] dwmmc_rockchip fe310000.mmc: Successfully tuned phase to 223 [ 1.785700] mmc2: new ultra high speed SDR104 SDIO card at address 0001 [ 1.828521] usb 7-1: new high-speed USB device number 2 using ehci-platform [ 1.931930] usb 3-1: New USB device found, idVendor=2109, idProduct=2812, bcdDevice=90.90 [ 1.931973] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1.931997] usb 3-1: Product: USB2.0 Hub
[ 1.932017] usb 3-1: Manufacturer: VIA Labs, Inc.
[ 1.966613] hub 3-1:1.0: USB hub found [ 1.967003] hub 3-1:1.0: 4 ports detected [ 1.983273] usb 5-1: New USB device found, idVendor=22e1, idProduct=e202, bcdDevice= 0.01 [ 1.983310] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6 [ 1.983334] usb 5-1: Product: SONATA HD Audio [ 1.983353] usb 5-1: Manufacturer: Tempotec [ 1.983371] usb 5-1: SerialNumber: 5000000001 [ 1.988962] input: Tempotec SONATA HD Audio as /devices/platform/fe380000.usb/usb5/5-1/5-1:1.0/0003:22E1:E202.0001/input/input0 [ 2.042776] usb 7-1: New USB device found, idVendor=1058, idProduct=25e2, bcdDevice=40.05 [ 2.042813] usb 7-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1 [ 2.042837] usb 7-1: Product: My Passport 25E2 [ 2.042856] usb 7-1: Manufacturer: Western Digital [ 2.042875] usb 7-1: SerialNumber: 5758343144333946584C3834 [ 2.044455] usb-storage 7-1:1.0: USB Mass Storage device detected [ 2.045716] scsi host0: usb-storage 7-1:1.0 [ 2.059077] hid-generic 0003:22E1:E202.0001: input,hidraw0: USB HID v1.00 Device [Tempotec SONATA HD Audio] on usb-fe380000.usb-1/input0 [ 2.068661] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout! [ 2.068717] rockchip-pcie: probe of f8000000.pcie failed with error -110 [ 2.073069] clk: Disabling unused clocks [ 2.074126] ALSA device list: [ 2.074150] No soundcards found. [ 2.074303] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console [ 2.076048] Freeing unused kernel memory: 4608K [ 2.078677] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd [ 2.108992] Run /init as init process [ 2.109017] with arguments: [ 2.109031] /init [ 2.109044] with environment: [ 2.109055] HOME=/ [ 2.109066] TERM=linux [ 2.349805] usb 4-1: New USB device found, idVendor=2109, idProduct=0812, bcdDevice=90.91 [ 2.349853] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.349877] usb 4-1: Product: USB3.0 Hub
[ 2.349897] usb 4-1: Manufacturer: VIA Labs, Inc.
[ 2.382634] hub 4-1:1.0: USB hub found [ 2.382858] hub 4-1:1.0: 4 ports detected [ 2.518394] usb 3-1.1: new low-speed USB device number 3 using xhci-hcd [ 2.555706] rk808-rtc rk808-rtc.4.auto: registered as rtc0 [ 2.556233] rk808-rtc rk808-rtc.4.auto: setting system clock to 2013-01-18T08:50:12 UTC (1358499012) [ 2.583818] rockchip-vop ff8f0000.vop: Adding to iommu group 0 [ 2.584484] rockchip-vop ff900000.vop: Adding to iommu group 1 [ 2.589633] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops [rockchipdrm]) [ 2.590718] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops [rockchipdrm]) [ 2.591207] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY) [ 2.592032] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi_rockchip_ops [rockchipdrm]) [ 2.594003] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0 [ 2.677493] Console: switching to colour frame buffer device 240x67 [ 2.701890] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device [ 2.707282] usb 3-1.1: New USB device found, idVendor=258a, idProduct=0f08, bcdDevice= 1.04 [ 2.707333] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.707357] usb 3-1.1: Product: USB Laser Mouse [ 2.707376] usb 3-1.1: Manufacturer: SINO WEALTH [ 2.803841] input: SINO WEALTH USB Laser Mouse as /devices/platform/usb@fe900000/fe900000.usb/xhci-hcd.1.auto/usb3/3-1/3-1.1/3-1.1:1.0/0003:258A:0F08.0002/input/input1 [ 2.806496] hid-generic 0003:258A:0F08.0002: input,hidraw1: USB HID v1.10 Mouse [SINO WEALTH USB Laser Mouse] on usb-xhci-hcd.1.auto-1.1/input0 [ 2.812896] input: SINO WEALTH USB Laser Mouse Keyboard as /devices/platform/usb@fe900000/fe900000.usb/xhci-hcd.1.auto/usb3/3-1/3-1.1/3-1.1:1.1/0003:258A:0F08.0003/input/input2 [ 2.882229] hid-generic 0003:258A:0F08.0003: input,hiddev96,hidraw2: USB HID v1.10 Keyboard [SINO WEALTH USB Laser Mouse] on usb-xhci-hcd.1.auto-1.1/input1 [ 3.038495] usb 3-1.4: new low-speed USB device number 4 using xhci-hcd [ 3.121188] scsi 0:0:0:0: Direct-Access WD My Passport 25E2 4005 PQ: 0 ANSI: 6 [ 3.122805] scsi 0:0:0:1: Enclosure WD SES Device 4005 PQ: 0 ANSI: 6 [ 3.137887] sd 0:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16). [ 3.225246] usb 3-1.4: New USB device found, idVendor=413c, idProduct=2113, bcdDevice= 1.08 [ 3.225295] usb 3-1.4: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [ 3.225320] usb 3-1.4: Product: Dell KB216 Wired Keyboard [ 3.288950] sd 0:0:0:0: [sda] 7813969920 512-byte logical blocks: (4.00 TB/3.64 TiB) [ 3.288993] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 3.290460] sd 0:0:0:0: [sda] Write Protect is off [ 3.290492] sd 0:0:0:0: [sda] Mode Sense: 47 00 10 08 [ 3.291823] sd 0:0:0:0: [sda] No Caching mode page found [ 3.291852] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 3.316267] input: Dell KB216 Wired Keyboard as /devices/platform/usb@fe900000/fe900000.usb/xhci-hcd.1.auto/usb3/3-1/3-1.4/3-1.4:1.0/0003:413C:2113.0004/input/input3 [ 3.321261] sda: sda1 [ 3.322386] sd 0:0:0:0: [sda] Attached SCSI disk [ 3.332817] scsi 0:0:0:1: Wrong diagnostic page; asked for 1 got 8 [ 3.332839] scsi 0:0:0:1: Failed to get diagnostic page 0x1 [ 3.332847] scsi 0:0:0:1: Failed to bind enclosure -19 [ 3.332998] ses 0:0:0:1: Attached Enclosure device [ 3.379221] hid-generic 0003:413C:2113.0004: input,hidraw3: USB HID v1.11 Keyboard [Dell KB216 Wired Keyboard] on usb-xhci-hcd.1.auto-1.4/input0 [ 3.387882] input: Dell KB216 Wired Keyboard System Control as /devices/platform/usb@fe900000/fe900000.usb/xhci-hcd.1.auto/usb3/3-1/3-1.4/3-1.4:1.1/0003:413C:2113.0005/input/input4 [ 3.450597] input: Dell KB216 Wired Keyboard Consumer Control as /devices/platform/usb@fe900000/fe900000.usb/xhci-hcd.1.auto/usb3/3-1/3-1.4/3-1.4:1.1/0003:413C:2113.0005/input/input5 [ 3.450984] hid-generic 0003:413C:2113.0005: input,hidraw4: USB HID v1.11 Device [Dell KB216 Wired Keyboard] on usb-xhci-hcd.1.auto-1.4/input1 [ 4.055632] EXT4-fs (mmcblk0p2): mounted filesystem a4d3db54-e415-455c-ab1e-f75277cb9ef6 r/w with ordered data mode. Quota mode: none. [ 4.514196] systemd[1]: System time before build time, advancing clock. [ 4.602388] systemd[1]: systemd 255.3-1-arch running in system mode (+PAM +AUDIT -SELINUX -APPARMOR -IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +XKBCOMMON +UTMP -SYSVINIT default-hierarchy=unified) [ 4.602497] systemd[1]: Detected architecture arm64. [ 4.612853] systemd[1]: Hostname set to . [ 4.949645] systemd[1]: bpf-lsm: BPF LSM hook not enabled in the kernel, BPF LSM not supported [ 5.057071] systemd-fstab-generator[303]: Failed to create unit file '/run/systemd/generator/boot.mount', as it already exists. Duplicate entry in '/etc/fstab'? [ 5.058887] (sd-exec-[299]: /usr/lib/systemd/system-generators/systemd-fstab-generator failed with exit status 1. [ 5.659158] systemd[1]: Queued start job for default target Graphical Interface. [ 5.739563] systemd[1]: Created slice Slice /system/getty. [ 5.742138] systemd[1]: Created slice Slice /system/modprobe. [ 5.744331] systemd[1]: Created slice Slice /system/serial-getty. [ 5.746109] systemd[1]: Created slice User and Session Slice. [ 5.746777] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 5.748140] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 5.748539] systemd[1]: Expecting device /dev/disk/by-partuuid/73731329-e4e2-483b-a900-45fce977f09d... [ 5.749485] systemd[1]: Expecting device /dev/ttyS2... [ 5.749820] systemd[1]: Reached target Local Integrity Protected Volumes. [ 5.751306] systemd[1]: Reached target Remote File Systems. [ 5.752017] systemd[1]: Reached target Slice Units. [ 5.752679] systemd[1]: Reached target Swaps. [ 5.753312] systemd[1]: Reached target System Time Set. [ 5.754140] systemd[1]: Reached target Local Verity Protected Volumes. [ 5.755810] systemd[1]: Listening on Device-mapper event daemon FIFOs. [ 5.758574] systemd[1]: Listening on LVM2 poll daemon socket. [ 5.765306] systemd[1]: Listening on Process Core Dump Socket. [ 5.766681] systemd[1]: Listening on Journal Socket (/dev/log). [ 5.767933] systemd[1]: Listening on Journal Socket. [ 5.769658] systemd[1]: Listening on Network Service Netlink Socket. [ 5.771171] systemd[1]: Listening on Userspace Out-Of-Memory (OOM) Killer Socket. [ 5.771626] systemd[1]: TPM2 PCR Extension (Varlink) was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 5.773291] systemd[1]: Listening on udev Control Socket. [ 5.774473] systemd[1]: Listening on udev Kernel Socket. [ 5.782191] systemd[1]: Mounting Huge Pages File System... [ 5.788863] systemd[1]: Mounting POSIX Message Queue File System... [ 5.795599] systemd[1]: Mounting Kernel Debug File System... [ 5.796332] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing). [ 5.803292] systemd[1]: Mounting Temporary Directory /tmp... [ 5.811361] systemd[1]: Starting Create List of Static Device Nodes... [ 5.818672] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling... [ 5.825288] systemd[1]: Starting Load Kernel Module configfs... [ 5.829617] systemd[1]: Starting Load Kernel Module dm_mod... [ 5.835666] systemd[1]: Starting Load Kernel Module drm... [ 5.843120] systemd[1]: Starting Load Kernel Module fuse... [ 5.854030] systemd[1]: Starting Load Kernel Module loop... [ 5.855398] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/). [ 5.863052] systemd[1]: Starting Journal Service... [ 5.868936] systemd[1]: Starting Load Kernel Modules... [ 5.872907] systemd[1]: Starting Generate network units from Kernel command line... [ 5.874009] systemd[1]: TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 5.880478] systemd[1]: Starting Remount Root and Kernel File Systems... [ 5.881927] systemd[1]: TPM2 SRK Setup (Early) was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 5.890030] systemd[1]: Starting Coldplug All udev Devices... [ 5.892090] fuse: init (API version 7.39) [ 5.897815] systemd[1]: Starting Virtual Console Setup... [ 5.906103] systemd[1]: Mounted Huge Pages File System. [ 5.907532] systemd[1]: Mounted POSIX Message Queue File System. [ 5.909024] systemd[1]: Mounted Kernel Debug File System. [ 5.910795] systemd[1]: Mounted Temporary Directory /tmp. [ 5.913011] systemd[1]: Finished Create List of Static Device Nodes. [ 5.916241] loop: module loaded [ 5.926758] systemd[1]: modprobe@configfs.service: Deactivated successfully. [ 5.928690] systemd[1]: Finished Load Kernel Module configfs. [ 5.930535] systemd[1]: modprobe@dm_mod.service: Deactivated successfully. [ 5.931396] systemd[1]: Finished Load Kernel Module dm_mod. [ 5.932701] systemd[1]: modprobe@drm.service: Deactivated successfully. [ 5.933100] systemd[1]: Finished Load Kernel Module drm. [ 5.934039] systemd[1]: modprobe@fuse.service: Deactivated successfully. [ 5.934399] systemd[1]: Finished Load Kernel Module fuse. [ 5.935236] systemd[1]: modprobe@loop.service: Deactivated successfully. [ 5.935611] systemd[1]: Finished Load Kernel Module loop. [ 5.936489] systemd[1]: Finished Generate network units from Kernel command line. [ 5.939567] systemd[1]: Mounting FUSE Control File System... [ 5.942160] systemd[1]: Mounting Kernel Configuration File System... [ 5.943716] systemd[1]: Repartition Root Disk was skipped because no trigger condition checks were met. [ 5.947470] systemd[1]: Starting Create Static Device Nodes in /dev gracefully... [ 5.961437] Asymmetric key parser 'pkcs8' registered [ 5.970033] systemd[1]: Finished Load Kernel Modules. [ 5.976244] systemd[1]: Mounted FUSE Control File System. [ 5.977382] systemd[1]: Mounted Kernel Configuration File System. [ 5.982463] systemd-journald[324]: Collecting audit messages is disabled. [ 5.986222] systemd[1]: Starting Apply Kernel Variables... [ 5.992140] EXT4-fs (mmcblk0p2): re-mounted a4d3db54-e415-455c-ab1e-f75277cb9ef6 r/w. Quota mode: none. [ 5.996349] systemd[1]: Finished Remount Root and Kernel File Systems. [ 6.004898] systemd[1]: Rebuild Hardware Database was skipped because of an unmet condition check (ConditionNeedsUpdate=/etc). [ 6.009629] systemd[1]: Starting Load/Save OS Random Seed... [ 6.009758] systemd[1]: TPM2 SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki). [ 6.041214] random: lvm: uninitialized urandom read (4 bytes read) [ 6.051816] systemd[1]: Finished Apply Kernel Variables. [ 6.067019] systemd[1]: Started Journal Service. [ 6.195159] systemd-journald[324]: Received client request to flush runtime journal. [ 6.253592] systemd-journald[324]: /var/log/journal/fcaefc6516cf4b8cad1a3de7f85e576d/system.journal: Realtime clock jumped backwards relative to last journal entry, rotating. [ 6.253607] systemd-journald[324]: Rotating system journal. [ 6.717471] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 6.747938] PTP clock support registered [ 6.815285] mc: Linux media interface: v0.10 [ 6.855641] videodev: Linux video capture interface: v2.00 [ 6.860792] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found [ 6.860818] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found [ 6.860937] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock [ 6.885339] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input). [ 6.885353] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28). [ 6.885358] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11). [ 6.885373] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no). [ 6.885423] rk_gmac-dwmac fe300000.ethernet: clock input from PHY [ 6.890445] rk_gmac-dwmac fe300000.ethernet: init for RGMII [ 6.890729] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35 [ 6.890765] rk_gmac-dwmac fe300000.ethernet: DWMAC1000 [ 6.890771] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported [ 6.890774] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported [ 6.890777] rk_gmac-dwmac fe300000.ethernet: COE Type 2 [ 6.890781] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported [ 6.890785] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported [ 6.897022] rk_gmac-dwmac fe300000.ethernet: Normal descriptors [ 6.897034] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled [ 6.897037] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 6.922059] Bluetooth: Core ver 2.22 [ 6.930740] NET: Registered PF_BLUETOOTH protocol family [ 6.930751] Bluetooth: HCI device and connection manager initialized [ 6.930764] Bluetooth: HCI socket layer initialized [ 6.930770] Bluetooth: L2CAP socket layer initialized [ 6.930791] Bluetooth: SCO socket layer initialized [ 6.951561] rockchip-rga ff680000.rga: HW Version: 0x03.02 [ 6.961739] rockchip_vdec: module is from the staging directory, the quality is unknown, you have been warned. [ 6.963263] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9 [ 6.964572] rockchip-rga ff680000.rga: Registered rockchip-rga as /dev/video0 [ 6.967120] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.radxa,rockpi4b-plus.bin failed with error -2 [ 6.968838] usbcore: registered new interface driver snd-usb-audio [ 6.968956] usbcore: registered new interface driver brcmfmac [ 6.983235] rkvdec ff660000.video-codec: Adding to iommu group 2 [ 7.010096] Bluetooth: HCI UART driver ver 2.3 [ 7.010125] Bluetooth: HCI UART protocol H4 registered [ 7.010131] Bluetooth: HCI UART protocol BCSP registered [ 7.010232] Bluetooth: HCI UART protocol LL registered [ 7.010239] Bluetooth: HCI UART protocol ATH3K registered [ 7.010280] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 7.010647] Bluetooth: HCI UART protocol Intel registered [ 7.011003] Bluetooth: HCI UART protocol Broadcom registered [ 7.011052] Bluetooth: HCI UART protocol QCA registered [ 7.011175] Bluetooth: HCI UART protocol Marvell registered [ 7.011959] hantro-vpu ff650000.video-codec: Adding to iommu group 3 [ 7.016462] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video2 [ 7.018013] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video3 [ 7.093724] Registered IR keymap rc-cec [ 7.093816] rc rc0: dw_hdmi as /devices/platform/ff940000.hdmi/rc/rc0 [ 7.093885] input: dw_hdmi as /devices/platform/ff940000.hdmi/rc/rc0/input6 [ 7.108650] asoc-audio-graph-card sound: ASoC: DAPM unknown pin Headphones [ 7.132590] dw-apb-uart ff180000.serial: failed to request DMA [ 7.246747] input: Analog Headphones as /devices/platform/sound/sound/card1/input7 [ 7.264186] rk3288-crypto ff8b0000.crypto: will run requests pump with realtime priority [ 7.264235] rk3288-crypto ff8b0000.crypto: Register ecb(aes) as ecb-aes-rk [ 7.268715] asoc-audio-graph-card sound: ASoC: DAPM unknown pin Headphones [ 7.268727] rk3288-crypto ff8b0000.crypto: Register cbc(aes) as cbc-aes-rk [ 7.271429] rk3288-crypto ff8b0000.crypto: Register ecb(des) as ecb-des-rk [ 7.273928] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2) [ 7.274306] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Feb 11 2020 11:54:51 version 7.45.96.61 (be7af2d@shgit) (r745790) FWID 01-a41d86bd es7.c5.n4.a3 [ 7.275062] dw_wdt ff848000.watchdog: No valid TOPs array specified [ 7.321515] rk3288-crypto ff8b0000.crypto: Register cbc(des) as cbc-des-rk [ 7.336611] panfrost ff9a0000.gpu: clock rate = 500000000 [ 7.356035] rk3288-crypto ff8b0000.crypto: Register ecb(des3_ede) as ecb-des3-ede-rk [ 7.356514] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0 [ 7.356542] panfrost ff9a0000.gpu: features: 00000000,00000407, issues: 00000000,24040400 [ 7.356550] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7 [ 7.356559] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1 [ 7.369500] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 7.369532] RTL8211F Gigabit Ethernet stmmac-0:01: attached PHY driver (mii_bus:phy_addr=stmmac-0:01, irq=POLL) [ 7.379312] Bluetooth: hci0: BCM: chip id 130 [ 7.379748] Bluetooth: hci0: BCM: features 0x0f [ 7.381992] Bluetooth: hci0: BCM4345C5 [ 7.382030] Bluetooth: hci0: BCM4345C5 (003.006.006) build 0000 [ 7.383906] Bluetooth: hci0: BCM4345C5 'brcm/BCM4345C5.hcd' Patch [ 7.391189] rk3288-crypto ff8b0000.crypto: Register cbc(des3_ede) as cbc-des3-ede-rk [ 7.410980] [drm] Initialized panfrost 1.2.0 20180908 for ff9a0000.gpu on minor 1 [ 7.418156] rk3288-crypto ff8b0000.crypto: Register sha1 as rk-sha1 [ 7.467560] rk3288-crypto ff8b0000.crypto: Register sha256 as rk-sha256 [ 7.501145] rk3288-crypto ff8b0000.crypto: Register md5 as rk-md5 [ 7.508077] rk_gmac-dwmac fe300000.ethernet end0: renamed from eth0 [ 7.527640] rk3288-crypto ff8b8000.crypto: will run requests pump with realtime priority [ 7.868383] random: crng init done [ 8.301820] Bluetooth: hci0: BCM: features 0x0f [ 8.304238] Bluetooth: hci0: BCM4345C5 Ampak_CL1.5 UART 37.4 MHz BT 5.0 [Version: Version: 0033.0080] [ 8.304263] Bluetooth: hci0: BCM4345C5 (003.006.006) build 0080 [ 8.340328] 8021q: 802.1Q VLAN Support v1.8 [ 8.370204] zram: Added device: zram0 [ 8.388085] zram0: detected capacity change from 0 to 11866984 [ 8.423411] Adding 5933488k swap on /dev/zram0. Priority:100 extents:1 across:5933488k SS [ 8.592413] rk_gmac-dwmac fe300000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 8.708725] rk_gmac-dwmac fe300000.ethernet end0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=POLL) [ 8.718664] rk_gmac-dwmac fe300000.ethernet end0: No Safety Features support found [ 8.718708] rk_gmac-dwmac fe300000.ethernet end0: PTP not supported by HW [ 8.719491] rk_gmac-dwmac fe300000.ethernet end0: configuring for phy/rgmii link mode [ 8.726479] alg: No test for hmac(md4) (hmac(md4-generic)) [ 17.763591] platform sound-dit: deferred probe pending [ 189.368763] hdmi-audio-codec hdmi-audio-codec.8.auto: Only one simultaneous stream supported! [ 189.368776] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -22 [ 189.372492] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.372505] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.372576] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.372580] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.372636] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.372640] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.372692] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.372696] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.372750] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.372754] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.373277] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.373290] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.373356] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.373360] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.373415] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.373419] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.373471] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.373475] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.373527] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.373531] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.374214] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.374224] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.374366] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.374370] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.374501] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.374504] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.374631] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.374635] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.374763] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.374767] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.375512] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.375521] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.375686] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.375690] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.375845] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.375849] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.376000] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.376004] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 189.376160] hdmi-audio-codec hdmi-audio-codec.8.auto: Not able to map channels to speakers (-22) [ 189.376164] hdmi-audio-codec hdmi-audio-codec.8.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 271.582600] SGI XFS with ACLs, security attributes, quota, no debug enabled [ 271.598693] XFS (sda1): Mounting V5 Filesystem 73cd8cef-25ea-4907-9ab1-603702a835c5 [ 273.809188] XFS (sda1): Ending clean mount

mike-ward commented 4 months ago

I'm seeing something similar:

mike@fedora:~/Documents/github/ved$ ./ved ved.v
size=gg.Size{
    width: 2560
    height: 1440
}
screen_width=2560
MAX=880
height=1440
loading syntax files...
V panic: the builtin syntax file can not be decoded
v hash: 66ea826
/tmp/v_1000/ved.01J2C2BB6BE3Y42NWC9W3TH1DH.tmp.c:16773: at _v_panic: Backtrace
/tmp/v_1000/ved.01J2C2BB6BE3Y42NWC9W3TH1DH.tmp.c:48082: by main__Ved_load_syntaxes
/tmp/v_1000/ved.01J2C2BB6BE3Y42NWC9W3TH1DH.tmp.c:48457: by main__main
/tmp/v_1000/ved.01J2C2BB6BE3Y42NWC9W3TH1DH.tmp.c:52100: by main

mike@fedora:~/Documents/github/ved$ v doctor V full version: V 0.4.6 add1621.66ea826 OS: linux, Linux version 6.8.11-300.fc40.x86_64 (mockbuild@f09cc32e12c24ed6a1a66c2a2e9f1728) (gcc (GCC) 14.1.1 20240522 (Red Hat 14.1.1-4), GNU ld version 2.41-37.fc40) #1 SMP PREEMPT_DYNAMIC Mon May 27 14:53:33 UTC 2024 Processor: 4 cpus, 64bit, little endian, Intel(R) Core(TM) i3-8145U CPU @ 2.10GHz

getwd: /home/mike/Documents/github/ved vexe: /home/mike/Documents/github/v/v vexe mtime: 2024-07-09 13:15:02

vroot: OK, value: /home/mike/Documents/github/v VMODULES: OK, value: /home/mike/.vmodules VTMP: OK, value: /tmp/v_1000

Git version: git version 2.45.2 Git vroot status: weekly.2024.25-79-g66ea8260 .git/config present: true

CC version: cc (GCC) 14.1.1 20240607 (Red Hat 14.1.1-5) thirdparty/tcc status: thirdparty-linux-amd64 40e5cbb5

luong2047 commented 3 months ago

I also got the same execution error on Debian 12:

size=gg.Size{ width: 2560 height: 1440 } screen_width=2560 MAX=880 height=1440 loading syntax files... 0 syntax files loaded + the compile time builtin syntax for .v full screen=true add_workspace(".") open workspace(0) load session "/home/horus/.ved/session" first_launch=true open file "/home/horus/apps/ved/welcome.txt" getting words saving session... saving view #0 /home/horus/apps/ved/welcome.txt saving view #1 saving view #2 sokol.memory.slog | user_data: (nil), const_tag: sapp, level: 2, item_id: 49, fname: /home/horus/apps/v/thirdparty/sokol/sokol_app.h, line: 10180, message: LINUX_X11_QUERY_SYSTEM_DPI_FAILED: failed to query system dpi value, assuming default 96.0 sokol.memory.slog | user_data: (nil), const_tag: sapp, level: 0, item_id: 35, fname: /home/horus/apps/v/thirdparty/sokol/sokol_app.h, line: 10412, message: LINUX_GLX_CREATE_CONTEXT_FAILED: Failed to create GL context via glXCreateContextAttribsARB X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 152 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) Serial number of failed request: 162 Current serial number in output stream: 162

medvednikov commented 3 months ago

Can you run

glxinfo | grep "OpenGL version"

Do you have GPU drivers installed?