Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

debug: capture all ac-native output + list SDL/GBM libs on USB

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+6 -2
+6 -2
fedac/native/initramfs/init
··· 147 147 # Main loop — restart on crash, poweroff on exit 0, reboot on exit 2 148 148 CRASH_COUNT=0 149 149 while true; do 150 - # Log shared lib deps before launch (no ldd in busybox, use ld-linux directly) 150 + # Debug: log lib deps + capture ALL output including linker errors 151 151 LD_LIBRARY_PATH="/lib64" /lib64/ld-linux-x86-64.so.2 --list /ac-native > /tmp/ldd.log 2>&1 || true 152 + ls /lib64/libgbm* /lib64/libSDL* /lib64/libEGL* /lib64/dri/ >> /tmp/ldd.log 2>&1 || true 152 153 [ "$USB_MOUNTED" = "1" ] && cp /tmp/ldd.log /mnt/ldd.log 2>/dev/null && sync 153 - LD_LIBRARY_PATH="/lib64" LIBGL_DRIVERS_PATH="/lib64/dri" GBM_DRIVERS_PATH="/lib64/dri" MESA_LOADER_DRIVER_OVERRIDE=iris /ac-native /piece.mjs 2>/tmp/ac-native-stderr.log 154 + # Run via ld-linux to capture linker errors to file 155 + LD_LIBRARY_PATH="/lib64" LIBGL_DRIVERS_PATH="/lib64/dri" GBM_DRIVERS_PATH="/lib64/dri" MESA_LOADER_DRIVER_OVERRIDE=iris /ac-native /piece.mjs > /tmp/ac-native-stdout.log 2>/tmp/ac-native-stderr.log 156 + # Save immediately after crash 157 + [ "$USB_MOUNTED" = "1" ] && cp /tmp/ac-native-stderr.log /mnt/ac-native-stderr.log 2>/dev/null && cp /tmp/ac-native-stdout.log /mnt/ac-native-stdout.log 2>/dev/null && sync 154 158 EXIT_CODE=$? 155 159 echo "[init] ac-native exited: code=$EXIT_CODE crash=$CRASH_COUNT" > /dev/tty0 2>/dev/null 156 160 echo "[init] stderr: $(tail -5 /tmp/ac-native-stderr.log 2>/dev/null)" > /dev/tty0 2>/dev/null