Gray screen when I boot into gnome on xorg

Hello!
So I have a Nvidia graphics card and I decided to get the proprietary drivers and the terminal said that Nvidia and nvidia-dkms are in conflict and so I deleted nvidia-dkms and now gnome xorg won’t start after logning in. Wayland works fine through.
Does anyone now how I can fix this?

What kernels do you have installed and which nvidia packages do you have installed currently?

This is the kernel I have installed - 6.4.4-arch1-1
I have installed nvidia-dkms, nvidia-utils, nvidia-settings, xorg-server-devel and opencl-nvidia

That should be all you need. Try running sudo dracut-rebuild, then reboot and try logging in to xorg to see what happens?

I just tried but it still doesn’t work. The login works but at soon as I log in it’s just a gray screen with my cursor that can’t move

Try reinstalling the “linux” package and then reboot, the other day someone had an issue with switching from systemd-boot to grub and reinstalling the kernel fixed their problem. We came to the conclusion that reinstalling the kernel triggers something more, try it and see what happens for you? And if not try reinstalling the nvidia-dkms package and then reboot as well. Then you have ruled out those and it might be helpful to share which Nvidia gpu you have? Also do you see anything about Nvidia in your journal or dmesg output for when you login to an Xorg session?

My graphics card is GeForce GTX 1650 Ti Mobile
I tried both of these but it didnt work. When I updated the linux package now when I try to login it just sends me back to the user selection.

I don’t know if this will help but here is the output to reinstalling nvidia-dkms

Looking at that output it seems you are missing the package “linux-headers”. Can you try installing “linux-headers”, then reinstall “nvidia-dkms”, then reboot and login to the xorg session to see if you are able to login.

It didn’t work. The errors from reinstall nvidia-dkms are gone but I still get a gray screen when I try to login to xorg

Can check your journal and dmesg output for any errors after having logged into your xorg session?

This is my dmesg output https://pastebin.com/FKshZ9XD
And I think this should be the journal output https://pastebin.com/tpC7r8K7

Can you show the output of

pacman -Ss nvidia

of your installed system?

By looking through this fast, running nvidia-inst might help.

This is the output from the command https://pastebin.com/sScJCNYK

I’ll try running nvidia-inst as well

Sorry, I meant command

pacman -Qs nvidia

One letter change…

This is the output https://pastebin.com/FzYcMtnj

That output looks OK.

But I noticed the kernel is a bit outdated, current linux is 6.4.6.arch1-1.
So you need to update all:

sudo pacman -Syu

Yea I noticed and I updated it earlier but it still didn’t work. I am not sure if xorg can’t run or gnome on xorg cant run. If its just gnome then it’s not a big problem

Can you try running gnome on wayland?

Edit: I’m not running gnome so hopefully someone with gnome can chime in.

Gnome on wayland works with no problem

1 Like

So it could be a temporary issue with xorg or e.g. mesa?

1 Like