You are not logged in.

#1 2024-12-12 18:40:46

GoldPotato
Member
Registered: 2024-12-09
Posts: 21

I my gnome on xorg is broken [SOLVED]

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

#2 2024-12-12 18:54:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,726

Re: I my gnome on xorg is broken [SOLVED]

Why in the world are you following an old, incomplete, 3rd party guide instead of the wiki?

What's in your xorg log?

Offline

#3 2024-12-12 18:56:43

GoldPotato
Member
Registered: 2024-12-09
Posts: 21

Re: I my gnome on xorg is broken [SOLVED]

newbie mistake....
how do I show it?

Offline

#4 2024-12-12 21:30:58

pvtvega
Member
Registered: 2024-11-25
Posts: 91

Re: I my gnome on xorg is broken [SOLVED]

What is the output of

nvidia-smi

Does the following file exist on your system:

/etc/X11/xorg.conf

Did you enable the modesetting parameter in the nvidia-drm module?

Offline

#5 2024-12-12 21:41:34

GoldPotato
Member
Registered: 2024-12-09
Posts: 21

Re: I my gnome on xorg is broken [SOLVED]

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

#6 2024-12-12 21:53:34

pvtvega
Member
Registered: 2024-11-25
Posts: 91

Re: I my gnome on xorg is broken [SOLVED]

GoldPotato wrote:

the /etc/X11/xorg.conf exist but I don't understand anything inside it.

Share it here please.

GoldPotato wrote:

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

#7 2024-12-12 22:07:23

GoldPotato
Member
Registered: 2024-12-09
Posts: 21

Re: I my gnome on xorg is broken [SOLVED]

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

#8 2024-12-12 23:10:19

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

Re: I my gnome on xorg is broken [SOLVED]

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

#9 2024-12-12 23:13:15

GoldPotato
Member
Registered: 2024-12-09
Posts: 21

Re: I my gnome on xorg is broken [SOLVED]

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

#10 2024-12-12 23:17:09

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

Re: I my gnome on xorg is broken [SOLVED]

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

#11 2024-12-12 23:19:38

GoldPotato
Member
Registered: 2024-12-09
Posts: 21

Re: I my gnome on xorg is broken [SOLVED]

So what should I do?
Should I follow instructions half way or what?

Offline

#12 2024-12-12 23:42:17

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

Re: I my gnome on xorg is broken [SOLVED]

Does it work again removing the xorg.conf?

If not please post the link you get from

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

after 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

#13 2024-12-12 23:43:13

GoldPotato
Member
Registered: 2024-12-09
Posts: 21

Re: I my gnome on xorg is broken [SOLVED]

It worked after removing it

Offline

#14 2024-12-12 23:46:23

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

Re: I my gnome on xorg is broken [SOLVED]

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

#15 2024-12-13 00:27:36

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,726

Re: I my gnome on xorg is broken [SOLVED]

For future reference: https://wiki.archlinux.org/title/Xorg#General

The log would have pointed us right to it instead of guessing around.

Offline

Board footer

Powered by FluxBB