I deleted a config related to xorg :(

can you help me with downgrading the package?
I saw the article on archwiki , so just put older version in the command that is available in the cache?

There are more than one way to downgrade a package. But it is important to remember that downgrading is only a temporary workaround until the real problem is fixed.

The easiest way is to use command

downgrade mesa

It gives you a selection of older versions.

But if you have the previous version in the cache, you can use that as well.
Command is

sudo pacman -U /var/cache/pacman/pkg/mesa-22.3.6-1-x86_64.pkg.tar.zst

no change in the problems

Sorry, ideas are starting to run out.
Some more logs may help troubleshooting:

cat /var/log/Xorg.0.log | eos-sendlog

and post the returned address here.

Here’s a verstile article about Nvidia: https://wiki.archlinux.org/title/NVIDIA

https://0x0.st/HoAT.txt

You have kernel parameter ibt=off.
The log shows Intel GPU is in use.

Can you try removing ibt=off, then updating the system, and then reboot?

ok

Edit- Well it removed the error: failed to load kernel module but no display manager came up and let me in the system without logging in. The plasma panel and other display stuff still not good in X11

Maybe missed a question? :point_up_2:

Have you ever reviewed journal or Xorg logs?

Yeah, like @petsam also implies, logs from the faulty system are essential for the troubleshooting. Otherwise we are only guessing what might be wrong.

Edit: https://discovery.endeavouros.com/forum-log-tool-options/how-to-include-systemlogs-in-your-post/2021/03/

1 Like
systemctl status sddm

:question:

systemctl status sddm
● sddm.service - Simple Desktop Display Manager
     Loaded: loaded (/usr/lib/systemd/system/sddm.service; enabled; preset: disabled)
     Active: active (running) since Fri 2023-03-24 20:09:08 IST; 58min ago
       Docs: man:sddm(1)
             man:sddm.conf(5)
   Main PID: 893 (sddm)
      Tasks: 13 (limit: 18652)
     Memory: 217.9M
        CPU: 4min 32.949s
     CGroup: /system.slice/sddm.service
             ├─893 /usr/bin/sddm
             └─921 /usr/lib/Xorg -dpi 0 -background none -seat seat0 vt1 -auth /var/run/sddm/{97b40287-f8a9-44f1-aa6c-921be74e3090} -noreset -displayfd 17

Mar 24 20:09:10 kd-arch sddm-helper[961]: [PAM] Preparing to converse...
Mar 24 20:09:10 kd-arch sddm-helper[961]: [PAM] Conversation with 1 messages
Mar 24 20:09:10 kd-arch sddm-helper[961]: [PAM] returning.
Mar 24 20:09:10 kd-arch sddm-helper[961]: pam_systemd_home(sddm-autologin:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service>
Mar 24 20:09:10 kd-arch sddm[893]: Authenticated successfully
Mar 24 20:09:10 kd-arch sddm-helper[961]: pam_kwallet5(sddm-autologin:setcred): pam_kwallet5: pam_sm_setcred
Mar 24 20:09:10 kd-arch sddm-helper[961]: pam_unix(sddm-autologin:session): session opened for user kd(uid=1000) by (uid=0)
Mar 24 20:09:10 kd-arch sddm-helper[961]: pam_kwallet5(sddm-autologin:session): pam_kwallet5: pam_sm_open_session
Mar 24 20:09:10 kd-arch sddm-helper[961]: Starting: "/usr/share/sddm/scripts/Xsession \"/usr/bin/startplasma-x11\""
Mar 24 20:09:10 kd-arch sddm[893]: Session started

Please explain exactly what the problem is? You boot the computer and it loads to the login screen? If so then you log in and what happens?

no login, no display manager boots up,

Edit- system opens into crappy plasmashell panels that glitches, doesn’t responses with clicks well same with settings, no desktop wallpaper but firefox, file manager and terminal work well. This is only in X11 and not in wayland

no tty, just boots up in the system without password

What’s on the screen?

Edit: It stops and you have to log into a tty?

Edit: Didn’t you have this all working before?

yes, had this working but I am sorry my dumbhead circled to pretty much the same problem.

This is the minimal file you need for xorg (something like this)

/etc/X11/xorg.conf.d/20-nvidia.conf
Section "Device"
        Identifier "NVIDIA Card"
        Driver "nvidia"
        VendorName "NVIDIA Corporation"
        BoardName "GeForce GTX 3050 Ti"
EndSection

Edit: You need to check what is also in /usr/share/X11/xorg.conf.d

yes it has it, I did it manually, did it with nvidia-inst --conf but no change.

is this wrong, I believe so the command generated should i change it. The backup file is also this

Section "Device"
    Identifier "Nvidia Card"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Option "NoLogo" "true"
EndSection

in /usr/share/X11/xorg.conf.d , it has 10-quirks.conf 30-touchpad.conf 40-libinput.conf

If you have Nvidia 530 series driver installed, can you boot to the TTY?
Meaning, press Ctrl-Alt-F3 after booting seems to stop. Do you get a full screen terminal for giving commands?
If so, then run

sudo journalctl -b -0 | eos-sendlog

and show the returned address here.

most probably i have the drivers, yeah the tty comes. Lemme do it

Edit- https://0x0.st/Homi.txt

I see optimus-manager errors. Was optimus-manager uninstalled?