Hooray, it finally works!
I focused on /usr/lib/libLLVM-13.so
different MD5 checksums. So I just did pacman --overwrite=libLLVM-13.so -S llvm-libs
(from chroot). Then, I checked again the checksum with md5sum /usr/lib/libLLVM-13.so
and it changed to 89d0da2617cce83c0bcd7b1e5cc83ae1
, matching the one shared by @winnie.
exit
, then systemctl reboot
and it works like a charm!
I can’t thank you enough for your help, time, ideas, hints, tries, etc. I’m using Linux based distros since more than a decade, but I learnt a LOT from your expertise since yesterday. I’m really glad we find a solution thanks to this amazing team work. I’m so grateful!
I’m marking this message as a solution, but the whole thread should be read.
Here is my full post-mortem, I hope it can help others: in my very own case, libLLVM-13.so
was faulty but much probably only because a disk writing issue or because something happened during an update. It could have been any other file actually.
libLLVM-13.so
have been identified because it was mentioned in journalctl --boot=-1 --priority=3 --no-pager
.
Another way to identified it was by switching to tty2 (Ctrl+Alt+F2), then trying to launch startx
with no success. A mentioned log file were /home/username/.local/share/xorg/Xorg.0.log
, where we can find:
[ 5584.703] (EE) Backtrace:
[ 5584.703] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x89) [0x5621290c70d9]
[ 5584.703] (EE) 1: /usr/lib/Xorg (0x562128f77000+0x15aef9) [0x5621290d1ef9]
[ 5584.704] (EE) 2: /usr/lib/libc.so.6 (0x7f1d84311000+0x3e8e0) [0x7f1d8434f8e0]
[ 5584.704] (EE) 3: /usr/lib/libLLVM-13.so (0x7f1d7b22f000+0x411a56c) [0x7f1d7f34956c]
[ 5584.704] (EE)
[ 5584.704] (EE) Segmentation fault at address 0x7f1d7f34956c
[ 5584.704] (EE)
Fatal server error:
[ 5584.704] (EE) Caught signal 11 (Segmentation fault). Server aborting
As a result, it appeared libLLVM-13.so
was corrupted. MD5 checksum confirmed it. Replacing the file fixed the issue.
I’ve to say other things have been fixed during investigations such as removing an EOL kernel, cleaning some remaining packages, fixing bad looking disk issues, upgrading to 5.17 kernel, cleaning odd files, etc. Nothing was enough to fix the black screen issue by its own, but a combination with the identified solution cannot be excluded (especially disk errors fix).
Also, acpi_backlight=vendor
is still removed from /etc/default/grub
. Since I didn’t applied changes with sudo update-grub
I’m not sure if it’s live or not. Since it works, I won’t touch anything for now, but I might if needed later.
I didn’t move forward about checking NVMe disk. It might be a good idea but since everything works I’m reluctant to tempt fate…
For the record, this is current booting logs:
journalctl --boot=0 --priority=3 --no-pager
mai 31 20:12:38 matebook kernel: sd 0:0:0:0: [sda] No Caching mode page found
mai 31 20:12:38 matebook kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
mai 31 20:12:56 matebook kded5[1222]: org.kde.plasma.dataengine.geolocation: error: "Unknown host location.services.mozilla.com: Host not found"
mai 31 20:12:56 matebook kded5[1222]: org.kde.plasma.dataengine.geolocation: error: "Unknown host location.services.mozilla.com: Host not found"
mai 31 20:12:56 matebook akonadiserver[1508]: org.kde.pim.akonadiserver: "\nSql error: Table 'akonadi.schemaversiontable' doesn't exist in engine QMYSQL: Unable to execute query\nQuery: ALTER TABLE SchemaVersionTable ADD COLUMN version INTEGER NOT NULL DEFAULT 0"
mai 31 20:12:56 matebook akonadiserver[1508]: org.kde.pim.akonadiserver: Unable to initialize database.
Much shorter! There are still a few errors I should probably work on, but I’ll do later and in another thread.
One final question: Is it normal to have a lib32 llvm-libs installed?
pacman -Qqn | grep llvm-libs
lib32-llvm-libs
llvm-libs
Alright, that’s it! Once again, thank you so so much everyone!