You are not logged in.

#1 2023-10-21 14:10:56

zhurik
Member
Registered: 2020-08-07
Posts: 10

Broken Arch after trying to install Nvidia drivers

Hi, everyone,

At some point I decided to enable hardware GPU acceleration on my xiaomi laptop. I tried to install it from nvidia website (later I found out that it was not desirable - RTFM learned the hard way). At some point all GUI applications refused to start with some errors regarding some .so files. I tried to install nvidia drivers as it was described in arch wiki (from pacman), but errors persisted. Later I tried to remove all signs of those drivers but now when trying to enter firefox, chromium or just anything else GUI related I got

*** stack smashing detected ***: terminated

Error.

Even though everything seems broken I still can access my old bspwm or plasma DE. How can I fix it without reinstalling it from ground up? I still have some important files left in my /home directory that I cannot properly transfer anywhere else.

Thanks in advance

P.S. I probably would need to show some logs and if you can help me with how to do it from console to send it here would be awesome because thisd post was written from tablet

Last edited by zhurik (2023-10-21 14:11:15)

Offline

#2 2023-10-21 14:32:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,074

Re: Broken Arch after trying to install Nvidia drivers

I probably would need to show some logs

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Edit: probably also your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Last edited by seth (2023-10-21 14:33:00)

Online

#3 2023-10-21 14:49:42

zhurik
Member
Registered: 2020-08-07
Posts: 10

Re: Broken Arch after trying to install Nvidia drivers

seth wrote:

I probably would need to show some logs

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Edit: probably also your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Here it is: https://0x0.st/HJ4I.txt

Offline

#4 2023-10-21 14:54:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,074

Re: Broken Arch after trying to install Nvidia drivers

Oct 21 16:41:13 archlinux kernel: nouveau 0000:01:00.0: NVIDIA GP108 (138000a1)

You're running on nouveau.
https://wiki.archlinux.org/title/NVIDIA#Installation - follow that, pay close attention to all steps.

Module libnvidia-glcore.so.340.108 without build-id.

You've a Pascal chip, why're you installing the 340xx drivers?
Pascal is one generation newer than Maxwell.

Online

#5 2023-10-21 15:06:45

zhurik
Member
Registered: 2020-08-07
Posts: 10

Re: Broken Arch after trying to install Nvidia drivers

seth wrote:

You've a Pascal chip, why're you installing the 340xx drivers?

I probably chose wrong drivers when tried to install from nvidia site by mistake

Offline

#6 2023-10-21 23:22:10

zhurik
Member
Registered: 2020-08-07
Posts: 10

Re: Broken Arch after trying to install Nvidia drivers

Thanks, right now my nvidia drivers are seem to be working. But at the same time I cannot access any of my DE because X just hangs after startx. I found this ling Xorg logs:

 failed to connect to the ACPI event daemon

Is it even related? Or should I look for something entirely different?

Offline

#7 2023-10-22 00:10:28

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

Re: Broken Arch after trying to install Nvidia drivers

You're looking for something different, repost a journal and the xorg log of the current situation. Did you follow all of the steps, including removal of the kms hook from mkinitcpio.conf? To get rid of another thing that might be problematic currently, you'll also want to set up: https://wiki.archlinux.org/title/NVIDIA … de_setting

Offline

#8 2023-10-22 08:46:12

zhurik
Member
Registered: 2020-08-07
Posts: 10

Re: Broken Arch after trying to install Nvidia drivers

V1del wrote:

Did you follow all of the steps, including removal of the kms hook from mkinitcpio.conf?

Yes, I removed it and rebuilt as stated in wiki.

V1del wrote:

To get rid of another thing that might be problematic currently, you'll also want to set up: https://wiki.archlinux.org/title/NVIDIA … de_setting

And this time I messed up my GRUB config when setting kernel parameters so at boot there are no bootable devices.

Looks like it full arch reinstall time.

Offline

#9 2023-10-22 09:24:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,074

Re: Broken Arch after trying to install Nvidia drivers

You could also just fix your grub config.

Online

Board footer

Powered by FluxBB