You are not logged in.

#1 2021-04-02 21:06:31

Archiando
Member
Registered: 2021-04-02
Posts: 8

lightdm does not start with 20-amdgpu.conf file [SOLVED]

I am having screen-tearing problems and to fix it I created the file: /etc/X11/xorg.conf.d/20-amdgpu.conf as it says in the archi wiki. But when I restart the computer, lightdm doesn't start. I can use the terminal with ctrl + alt + f2
https://wiki.archlinux.org/index.php/AM … _rendering

Section "Device"
     Identifier "AMD"
     Driver "amdgpu"
     Option "TearFree" "true"
EndSection

if I delete it works, but I still have the problem of tearing.

I have amdgpu driver. lspci -nnk

02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c2)
	Subsystem: ASUS
	Kernel driver in use: amdgpu
  	Kernel modules: amdgpu

systemctl status lightdm shows this error

● lightdm.service - Light Display Manager
     Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Fri 2021-04-02 17:24:51 CEST; 38s ago
     Docs: man:lightdm(1)
     Process: 439 ExecStart=/usr/bin/lightdm (code=exited, status=1/FAILURE)
     Main PID: 439 (code=exited, status=1/FAILURE)

    ArchLinux systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
    ArchLinux systemd[1]: Stopped Light Display Manager.
    ArchLinux systemd[1]: lightdm.service: Start request repeated too quickly.
    ArchLinux systemd[1]: lightdm.service: Failed with result 'exit-code'.
    ArchLinux systemd[1]: Failed to start Light Display Manager.

And systemctl start lightdm doesn't work neither.

I have a laptop with AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx

Last edited by Archiando (2021-04-03 10:38:01)

Offline

#2 2021-04-02 21:29:18

loqs
Member
Registered: 2014-03-06
Posts: 19,016

Re: lightdm does not start with 20-amdgpu.conf file [SOLVED]

Please post the contents of /var/log/Xorg.0.log after lightdm fails to start.  See the tip box from pastebin to post the file from the console.

Offline

#3 2021-04-02 22:00:26

Archiando
Member
Registered: 2021-04-02
Posts: 8

Re: lightdm does not start with 20-amdgpu.conf file [SOLVED]

https://pastebin.com/LzRBAkVY
It says "Failed to load module "amdgpu" (module does not exist, 0) (EE) No drivers available. But you can see in my first post that the Kernel driver in use is amdgpu

Offline

#4 2021-04-02 22:10:33

loqs
Member
Registered: 2014-03-06
Posts: 19,016

Re: lightdm does not start with 20-amdgpu.conf file [SOLVED]

lspci is referring to the kernel module amdgpu,  https://archlinux.org/packages/extra/x8 … eo-amdgpu/ provides the amdgpu X video driver.
Without that package installed you will be using the modesetting X driver and the amdgpu kernel module.

Offline

#5 2021-04-02 22:49:02

Archiando
Member
Registered: 2021-04-02
Posts: 8

Re: lightdm does not start with 20-amdgpu.conf file [SOLVED]

Thanks! It worked and no more tearing smile

Offline

#6 2021-04-03 07:59:53

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

Re: lightdm does not start with 20-amdgpu.conf file [SOLVED]

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