(Yesterday, 02:07 AM)dragonhospital Wrote: Ask devs in #mobian matrix room. Share their fix.
Quote:Starting kernel ...
MESA-LOADER: failed to open dri: /usr/lib/aarch64-linux-gnu/gbm/dri_gbm.so: cannot open shared object file: No such file or directory (search paths /usr/lib/aarch64-linux-gnu/gbm, suffix _gbm)
ERROR: Could not create window/display: EGL not initialized
Hi, I have the same issue -- the core problem is in the absence of the library "dri_gbm.so", which is not copied during initramfs generation, I see the error below:
Code:
ln: failed to create symbolic link '/var/tmp/mkinitramfs_87Ugk3//usr/lib/aarch64-linux-gnu/dri/libdril_dri.so': File exists
I did a check of the initramfs contents, by copying it to the host and added `/usr/lib/aarch64-linux-gnu/gbm/dri_gbm.so` manually -- that requires unpack and pack of existing initramfs. After that, Pinephone booted well.
Looks like the issue is in initramfs generation scripts, so with `osk-sdl` the initramfs would be regenerated in wrong way.
In Matrix channel, there were a suggestion to switch to more recent OSK `unl0kr` and that helped in my case.
Safe steps:
- change `/etc/crypttab` file, to point to proper keyscript `keyscript=/usr/share/initramfs-tools/scripts/unl0kr-keyscript`
- install `unl0kr`, automatically regenerated initramfs will contain both OSKs
- remove `osk-sdl` and initramfs will be regenerated again, but will contain only `unl0kr`
Good thing what initramfs is 3 times (!!!) less than with osk-sdl with all deps:
Code:
$ ls -lh /boot/initrd.img-6.12-sunxi64*
-rw-r--r-- 1 root root 29M Feb 14 18:53 /boot/initrd.img-6.12-sunxi64
-rw-r--r-- 1 root root 99M Feb 14 16:45 /boot/initrd.img-6.12-sunxi64.bak
Bad news -- the `unl0kr` doesn't support the Pinephone keyboard.