You are not logged in.

#1 2023-12-03 02:08:00

louist103
Member
Registered: 2023-12-02
Posts: 5

[SOLVED] Can not boot into gnome with Xorg

I am having this weird issue where I can't boot into gnome with Xorg. It works fine on wayland but on X it boots to a black screen with a cursor. I checked the journalctl for that boot and noticed two things. It was trying to load the i965 drivers even though I have a i915 chip, the Intel I7-1280P, and nouveau had some warnings even though its not installed at all on this laptop. I do have an Nvidia card though but I don't have the driver installed because its power draw is too high. I have attached the journalctl log. I know wayland is the new way of thing things but I still need X for things like sharing my whole screen and I also want to try i3 but i3 only really works with X from my experience.
The machine is a Thinkpad P14S Gen 3 with i7-1280P and Nvidia T550. is this something anyone else has experienced?
http://0x0.st/Hx4w.txt

Last edited by louist103 (2023-12-04 23:20:01)

Offline

#2 2023-12-03 07:53:59

seth
Member
Registered: 2012-09-03
Posts: 63,365

Re: [SOLVED] Can not boot into gnome with Xorg

It was trying to load the i965 drivers even though I have a i915 chip

Get rid of xf86-video-intel

and nouveau had some warnings even though its not installed at all on this laptop

And probably the rest of the xf86-video-* packages…

I don't have the driver installed because its power draw is too high

Dec 02 17:15:27 louis-arch kernel: nouveau 0000:03:00.0: NVIDIA TU117 (167000a1)

And there's also a shit-ton of nouveau related errors from gnome-shell (might be wayland)
=> https://wiki.archlinux.org/title/NVIDIA#Installation - pay close attention, don't skip any steps.
Then see https://wiki.archlinux.org/title/PRIME#NVIDIA

Offline

#3 2023-12-03 19:28:38

louist103
Member
Registered: 2023-12-02
Posts: 5

Re: [SOLVED] Can not boot into gnome with Xorg

The whole point was to avoid using any Nvidia drivers since I don't want to use the card for anything other than pass through for KVM. The card uses too much power to be worth using for anything else. Even with popOS's Nvidia fork the card never shut down.
I did try the instructions attached but even after following it all and running

lspci -k | grep -A 2 -E "(VGA|3D)"

it shows

Kernel modules: nouveau

under the Nvidia card. Is it possible to make this work without the NVIDIA card? I would imagine it is but am not sure how.

Offline

#4 2023-12-03 19:42:16

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,842
Website

Re: [SOLVED] Can not boot into gnome with Xorg

If you want to use the NVIDIA card for KVM isolate it: https://wiki.archlinux.org/title/PCI_pa … ng_the_GPU

And to be clear: xf86-video-intel won't work with your hardware, you should be using X's builtin modesetting DDX driver instead.

EDIT: and I think screen sharing should work just fine under sway (an i3 clone for Wayland): https://soyuka.me/make-screen-sharing-w … sway-work/

Last edited by Head_on_a_Stick (2023-12-03 19:43:33)


Jin, Jîyan, Azadî

Offline

#5 2023-12-03 20:01:34

louist103
Member
Registered: 2023-12-02
Posts: 5

Re: [SOLVED] Can not boot into gnome with Xorg

I did remove the xf86-video-intel driver and did install intel-media-driver but I still can't boot into gnome with X. Though now when I select Gnome with Xorg it tries to log in and then goes back to the login page. I also know that my screen sharing issue is Discord specific but until they fix it I need to use X to make full screen sharing work.

Offline

#6 2023-12-03 20:24:59

seth
Member
Registered: 2012-09-03
Posts: 63,365

Re: [SOLVED] Can not boot into gnome with Xorg

Please post an updated Xorg log and system journal

Offline

#7 2023-12-03 23:53:13

louist103
Member
Registered: 2023-12-02
Posts: 5

Re: [SOLVED] Can not boot into gnome with Xorg

Here they are. I got this by rebooting, selecting GNOME on XORG, and after it crashed switched to TTY3 to get these logs. I do not have xf64-video-intel, don't have nouveau (its black listed), and have intel-media-driver installed. I also have the nvidia GPU fully blocked per 1.1.2 here https://wiki.archlinux.org/title/Hybrid … crete_GPU.
Xorg Log
Journal

Offline

#8 2023-12-03 23:55:57

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,643

Re: [SOLVED] Can not boot into gnome with Xorg

You've got an xorg.conf or something in xorg.conf.d that's telling it to load the intel ddx. Get rid of that.

Offline

#9 2023-12-04 06:22:24

louist103
Member
Registered: 2023-12-02
Posts: 5

Re: [SOLVED] Can not boot into gnome with Xorg

Yep. That was it. I had something in there from a while ago. Commenting the whole thing out fixed it.
Thanks all for the help!
For anyone who finds this thread later this is what the problem file contained:

Section "Device"
    Identifier "Intel Graphics"
    Driver "intel"
EndSection

Offline

#10 2023-12-04 07:18:01

seth
Member
Registered: 2012-09-03
Posts: 63,365

Re: [SOLVED] Can not boot into gnome with Xorg

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB