Lightdm wont load drm

i recently switched from an NVIDIA gpu to an AMD RX6600. i removed video-nvidia, installed video-linux. i recreated my xorg.conf file. however, lightdm fails to start. when i turn on my computer i get [failed] light display manager. here’s where it gets weird though. if i switch to tty2 and run sudo systemctl start lightDM everything works perfectly and i can log in, i3 starts and everything works as expected. i got xorg logs from both the autostart that failed and the manual start that succeeded. i made a diff of the two logs and noted some diffrences.

the good log file includes the line:

[0] (II) xfree86: Adding drm device (/dev/dri/card0)
[0] (II) Platform probe for /sys/devices/pci0000:00/0000:00:03.1/0000:2a:00.0/0000:2b:00.0/0000:2c:00.0/drm/card0

the bad log does not contain this log, and it continues to complane about no drm device.

[0] Kernel modesetting enabled.
[0] Failed to open DRM device for pci:0000:2a:00.0: No such file or directory
[0] Kernel modesetting enabled.
[0] Failed to open DRM device for pci:0000:2b:00.0: No such file or directory
[0] Kernel modesetting enabled.
[0] Failed to open DRM device for pci:0000:2c:00.0: No such file or directory
[0] Kernel modesetting enabled.
[0] Failed to open DRM device for pci:0000:2c:00.1: No such file or directory
[0] (EE) Screen 0 deleted because of no matching config section.
[0] (II) UnloadModule: "amdgpu"
[0] (EE) Screen 0 deleted because of no matching config section.
[0] (II) UnloadModule: "amdgpu"
[0] (EE) Screen 0 deleted because of no matching config section.
[0] (II) UnloadModule: "amdgpu"
[0] (EE) Screen 0 deleted because of no matching config section.
[0] (II) UnloadModule: "amdgpu"
[0] (EE) Device(s) detected, but none match those in the config file.
[0] (EE) 
Fatal server error:
[0] (EE) no screens found(EE) 
[0] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[0] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[0] (EE) 
[0] (EE) Server terminated with error (1). Closing log file.

any idea why it might be doing this? ive tried every other forum out there and none seem to address this.

also works with su

nevermind, i diddent look hard enough. was solved by this:

https://forum.manjaro.org/t/fresh-install-failed-to-start-light-display-manager/115538/9

sorry it wont let me link normaly :frowning:

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.