You are not logged in.
Pages: 1
hello arch community.
I was installing nvidia drivers for my laptop, because I had bad experience using gnome on xorg, the screen was like meh, the interaction with it felt like windows xp slow and kinda laggy, so smart me though it because I had no nvidia drivers.
So I just followed this tutorial https://dev.to/vitorvargas/how-to-insta … linux-5bgc
and it improved alot, it felt very smooth
after rebooting now I can't login into gnome on xorg, on the gnome option (I don't know but it's only showing gnome) I can login.
So how can I fix it and log back to gnome on xorg.
Last edited by GoldPotato (2024-12-12 23:52:07)
Offline
Why in the world are you following an old, incomplete, 3rd party guide instead of the wiki?
What's in your xorg log?
Offline
newbie mistake....
how do I show it?
Offline
What is the output of
nvidia-smiDoes the following file exist on your system:
/etc/X11/xorg.confDid you enable the modesetting parameter in the nvidia-drm module?
Offline
nvidia-smi : https://pastebin.com/XsVfJF5n
the /etc/X11/xorg.conf exist but I don't understand anything inside it.
about the modesetting parameter I'm not sure if I did or not because as I said I just copy paste what I saw on the website
Last edited by GoldPotato (2024-12-12 21:42:36)
Offline
the /etc/X11/xorg.conf exist but I don't understand anything inside it.
Share it here please.
about the modesetting parameter I'm not sure if I did or not because as I said I just copy paste what I saw on the website
Even if you were just blindly copy and pasting, you don't know if you did it or not? In general, this approach will land you in hot water and is a risky way to manage your system. Don't run commands that you don't understand.
Offline
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:2:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Offline
get rid of that. it's wrong in any case and definitely wrong if the nvidia card is not your primary renderer.
What actual system is this, which actual card do you have?
Offline
nvidia-smi : https://pastebin.com/XsVfJF5n
this is my GPU, it's not a fancy GPU so I couldn't find any driver for it on the wiki
Offline
ah it's that weird tutorial again, everything up to the nvdia-xconfig step makes logical sense and is what you want to do in order to use render offloading for the entire xorg session, the nvidia-xconfig step will break the correct setup brought up by the rest of the information however.
As for the card, it's Pascal, so the latest nvidia driver will work fine.
Last edited by V1del (2024-12-12 23:18:27)
Offline
So what should I do?
Should I follow instructions half way or what?
Offline
Does it work again removing the xorg.conf?
If not please post the link you get from
sudo journalctl -b | curl -F 'file=@-' 0x0.stafter reproducing a failed xorg start. ... If removing the /etc/X11/xorg.conf doesn't and this literally happens anyway then your perf improvements were likely placebo in which case I'd also suggest you remove the optimus service and see how things are working sticking to the defaults aside from installing the nvidia driver. And then invoking the nvidia GPU on demand as needed: https://wiki.archlinux.org/title/PRIME# … er_offload
Last edited by V1del (2024-12-12 23:45:11)
Offline
It worked after removing it
Offline
So in that case this is somewhat what's expected, as mentioned the rest of the tut makes logical sense to steer things to the nvidia card by default, so if you're fine with that then the issue is solved and you can mark it as such by editing the title in your first post and prepending [SOLVED] there.
Offline
For future reference: https://wiki.archlinux.org/title/Xorg#General
The log would have pointed us right to it instead of guessing around.
Offline
Pages: 1