You are not logged in.

#1 2021-09-13 05:03:24

eliotctl
Member
Registered: 2021-09-13
Posts: 2

gdm error: gdm can't find libLLVM-11.so

Hi,

I was messing with my egpu and deleted accidentaly the folder /usr/lib/dri hmm
After a few installs I end up getting this error when starting gdm.service
(arch, gnome)
(Intel graphics, nvidia quattro, razer core[radeon 5700XT])

gdm does start and then print 'oops something went wrong'

journalct extract of line containning gdm and fail:

Sep 13 06:24:43 arch audit[4551]: CRED_ACQ pid=4551 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? acct="gdm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed' 
Sep 13 06:24:45 arch gdm[4539]: Gdm: GdmDisplay: Session never registered, failing 
Sep 13 06:24:45 arch /usr/lib/gdm-x-session[4601]: (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory) 
Sep 13 06:24:45 arch /usr/lib/gdm-x-session[4601]: MESA-LOADER: failed to open iris: libLLVM-11.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri) 
Sep 13 06:24:45 arch /usr/lib/gdm-x-session[4601]: failed to load driver: iris 
Sep 13 06:24:45 arch /usr/lib/gdm-x-session[4601]: MESA-LOADER: failed to open kms_swrast: libLLVM-11.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri) 
Sep 13 06:24:45 arch /usr/lib/gdm-x-session[4601]: failed to load driver: kms_swrast 
Sep 13 06:24:45 arch /usr/lib/gdm-x-session[4601]: MESA-LOADER: failed to open swrast: libLLVM-11.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri) 
Sep 13 06:24:45 arch /usr/lib/gdm-x-session[4601]: failed to load swrast driver 
Sep 13 06:24:45 arch /usr/lib/gdm-x-session[4601]: (EE) modeset(0): glamor initialization failed 
Sep 13 06:24:45 arch /usr/lib/gdm-x-session[4601]: (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (libLLVM-11.so: cannot open shared object file: No such file or directory)

I guessed that it was libLLVM-11.so which was missing but i got a few doubt and even then i can't find a way to download it

currently my /usr/lib/dri:

i915_dri.so i965_dri.so iris_dri.so kms_swrast_dri.so nouveau_dri.so nouveau_vieux_dri.so r200_dri.so r300_dri.so r600_dri.so radeon_dri.so radeonsi_dri.so swrast_dri.so virtio_gpu_dri.so vmwgfx_dri.so zink_dri.so

Thanks for your help

Last edited by eliotctl (2021-09-13 10:43:08)

Offline

#2 2021-09-13 07:36:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,302

Re: gdm error: gdm can't find libLLVM-11.so

Current should be libLLVM-12 and should be part of llvm-libs. That these are even looking for an llvm-11 sounds like very partial upgrade land. What exactly did you do? You didn't just delete that directory what else did you try exactly. Also use

[code]code tags[/code] 

for pasting output instead of markdown

Last edited by V1del (2021-09-13 07:37:46)

Offline

#3 2021-09-13 10:51:51

eliotctl
Member
Registered: 2021-09-13
Posts: 2

Re: gdm error: gdm can't find libLLVM-11.so

Was inside /usr/lib wanted to delete a specific driver and got push by my cat doint sudo rm -rf so ...

I used a lot of third party switcher before that (optimus, gswitcher, ...) that use to configure properly xorg (my guess)
after this I only rebooted and then got a gdm error "Oops something went wrong"

proceed to no freakout, booted from an arch key, chroot into the disk then installed xorg xorg-server nvidia and gnome to I hoped overwride the old config and reinstall drivers

Last edited by eliotctl (2021-09-13 10:55:25)

Offline

#4 2021-09-14 07:34:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,302

Re: gdm error: gdm can't find libLLVM-11.so

These packages are part of mesa you will want to reinstall that, make sure you are fully updated, these should not be looking for llvm 11 since may or so.

I'm not sure for what reason you manually tried to fumble in  a system directory, but for the future, if your intention was to delete a file then you could add a lot of safety to your operation by not using unnecessary flags out of being used to. There is close to never a reason for the -f and no reason for the -r if you want to delete files rather than directories.

If this doesn't fix it, do you have a weird environment

printenv
pacman -Qkk mesa  llvm

Last edited by V1del (2021-09-14 07:37:02)

Offline

Board footer

Powered by FluxBB