You are not logged in.

#1 2020-12-19 12:00:03

Candroidgenie
Member
Registered: 2020-03-23
Posts: 11

Xorg does not start automatically but does manually

When I start my computer the boot process stops after network manager finds a network, according to the verbose boot output. However, if I boot into multi-user.target and then run systemctl start gdm, everything works fine.
The only thing I have done out of the ordinary was I recently (today) installed a new hard drive and copied the data off my old hard drive and updated fstab accordingly. When doing so I accidentally copied thing to the OS drive rather than the new drive maxing out the OS drive, however, I fixed that. A few reboots later Xorg would not start as described above.

I hope I've attached the relevant system logs.
Xorg: https://pastebin.com/r40BkUF8
dmesg: https://pastebin.com/tTdcuZhR

Any help would be greatly appreciated.

Edit: I'm running a 5700xt with I believe, the AMDGPU drivers, not AMDGPU-PRO

Last edited by Candroidgenie (2020-12-19 12:01:20)

Offline

#2 2020-12-19 12:47:38

tucuxi
Member
From: Switzerland
Registered: 2020-03-08
Posts: 291

Re: Xorg does not start automatically but does manually

Your Xorg is not healthy. There is no indication that Xorg attempts to load AMDGPU. In fact, Xorg cannot load any driver and bails out.

(EE) Device(s) detected, but none match those in the config file.

What does your config look like?

Offline

#3 2020-12-19 12:54:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,657

Re: Xorg does not start automatically but does manually

From the symptom description, try https://wiki.archlinux.org/index.php/Ke … _KMS_start

@tucuxi, this isn't a config issue:

[     4.027] (EE) open /dev/dri/card0: No such file or directory

Offline

#4 2020-12-19 13:07:24

Candroidgenie
Member
Registered: 2020-03-23
Posts: 11

Re: Xorg does not start automatically but does manually

I only found the following. Every other place listed in the wiki here empty. In addition when I ran Xorg :0 -configure I got the following: https://pastebin.com/pRKZWvwQ

The only thing I can think of is that I cleared the Pacman and yay old package cache which I thought shouldn't affect current packages. I know for sure I haven't personally changed anything to do with drivers for about half a year.

With in /usr/share/X11/xorg.conf.d there are the following three files:
- 10-amdgpu.conf
- 10-quirks.conf
- 40-libinput.conf

10-amdgpu.conf:

Section "OutputClass"
	Identifier "AMDgpu"
	MatchDriver "amdgpu"
	Driver "amdgpu"
EndSection

10-quirks.conf:

# Collection of quirks and blacklist/whitelists for specific devices.


# Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable
# http://bugs.freedesktop.org/show_bug.cgi?id=22442 
Section "InputClass"
        Identifier "ThinkPad HDAPS accelerometer blacklist"
        MatchProduct "ThinkPad HDAPS accelerometer data"
        Option "Ignore" "on"
EndSection

# https://bugzilla.redhat.com/show_bug.cgi?id=523914
# Mouse does not move in PV Xen guest
# Explicitly tell evdev to not ignore the absolute axes.
Section "InputClass"
        Identifier "Xen Virtual Pointer axis blacklist"
        MatchProduct "Xen Virtual Pointer"
        Option "IgnoreAbsoluteAxes" "off"
        Option "IgnoreRelativeAxes" "off"
EndSection

# https://bugs.freedesktop.org/show_bug.cgi?id=55867
# Bug 55867 - Doesn't know how to tag XI_TRACKBALL
Section "InputClass"
        Identifier "Tag trackballs as XI_TRACKBALL"
        MatchProduct "trackball"
        MatchDriver "evdev"
        Option "TypeName" "TRACKBALL"
EndSection

# https://bugs.freedesktop.org/show_bug.cgi?id=62831
# Bug 62831 - Mionix Naos 5000 mouse detected incorrectly
Section "InputClass"
        Identifier "Tag Mionix Naos 5000 mouse XI_MOUSE"
        MatchProduct "La-VIEW Technology Naos 5000 Mouse"
        MatchDriver "evdev"
        Option "TypeName" "MOUSE"
EndSection

40-libinput.conf:

# Match on all types of devices but joysticks
#
# If you want to configure your devices, do not copy this file.
# Instead, use a config snippet that contains something like this:
#
# Section "InputClass"
#   Identifier "something or other"
#   MatchDriver "libinput"
#
#   MatchIsTouchpad "on"
#   ... other Match directives ...
#   Option "someoption" "value"
# EndSection
#
# This applies the option any libinput device also matched by the other
# directives. See the xorg.conf(5) man page for more info on
# matching devices.

Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Offline

#5 2020-12-19 13:19:13

Candroidgenie
Member
Registered: 2020-03-23
Posts: 11

Re: Xorg does not start automatically but does manually

seth wrote:

From the symptom description, try https://wiki.archlinux.org/index.php/Ke … _KMS_start

@tucuxi, this isn't a config issue:

[     4.027] (EE) open /dev/dri/card0: No such file or directory

Um, that's kinda out of my depth. Are you suggesting I recreate initramfs or put the GPU in early KMS start?
As to the link you had:
1. Did I use Pastebin wrong?
2. I know how to boot into single user or multi user mode.
3. I know for sure windows fast boot is disabled, along with every other fast boot feature and every other windows feature.
4. ~/.xinitrc and /etc/X11/xinit/xinitrc are both missing.

Offline

#6 2020-12-19 13:21:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,657

Re: Xorg does not start automatically but does manually

The links are my signature ;-)

Yes, you'll have to edit mkinitcpio.conf and then regenerate the initramfs to include amdgpu.

Offline

Board footer

Powered by FluxBB