You are not logged in.

#1 2021-05-24 20:54:56

Duck-tective
Member
Registered: 2014-12-29
Posts: 14

Mesa 21.1.1-1 causes Xorg to fail on start

Updated my system from mesa-21.0.3-2-x86_64 to mesa-21.1.1-1-x86_64 then Xorg started core dumping.

Unsure if this is an issue just on my system. But downgrading back to 21.0.3-2 fixed the issue.

Xorg Log

Thought i would post here and see if anyone else is getting this issue before i report it as a bug

Offline

#2 2021-05-25 09:40:01

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,919

Re: Mesa 21.1.1-1 causes Xorg to fail on start

[    25.920] Current Operating System: Linux melchior.chinzer.net 5.12.0-151-tkg-pds #1 TKG SMP PREEMPT Wed, 28 Apr 2021 12:39:24 +0000 x86_64

That kernel doesn't come from archlinux repos, where did you get it from ?
Does the problem also occur with latest archlinux kernel ?

please post the output of $ pacman-conf

    Using the first device section listed.
[    25.933] (**) |   |-->Device "AMD"

This indicates X is taking some settings from a configuration file that overrides auto detection .
please post the contents of that file.

Incase you're unsure which file it is, post output of

$ ls -l /etc/X11/xorg.conf.d /usr/share/X11/xorg.conf.d

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2021-05-25 11:33:03

Duck-tective
Member
Registered: 2014-12-29
Posts: 14

Re: Mesa 21.1.1-1 causes Xorg to fail on start

It the linux-tkg kernel but it happens on standard arch kernel as well tested both. Just happened the last logs i had was when i rebooted into linux-tkg.

Here is the output of pacman-conf
https://pastebin.com/sZfesCWG

These are my x settings

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

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

There are other files but they are related to input devices so assuming they aren't relevant.

Would you suggest deleting my xorg conf files? I set these up years ago.

Offline

#4 2021-05-26 13:23:59

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,919

Re: Mesa 21.1.1-1 causes Xorg to fail on start

The outputclass is set by xf86-video-amdgpu through /usr/share/X11/xorg.conf.d/10-amdgpu.conf , so no longer needed to set manually .

DRI 3 has been default now for several years, the only option that may be useful is tearfree .
Open source linux amdgpu drivers have progressed so much only a few people still need it .

I'd remove the file and check if you need tearfree .

I doubt that will solve the current issue though.

[    25.919] (--) Log file renamed from "/var/lib/gdm/.local/share/xorg/Xorg.pid-1243.log" to "/var/lib/gdm/.local/share/xorg/Xorg.0.log"

You appear to be booting to gdm / graphical target, correct ?

Try appending systemd.unit=multi-user.target to the bootloader .
This will bring you to a text console, login as root and start gdm.service manually .
Does this solve the issue ?

Last edited by Lone_Wolf (2021-05-26 13:24:13)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2021-05-26 13:57:47

seth
Member
Registered: 2012-09-03
Posts: 51,145

Re: Mesa 21.1.1-1 causes Xorg to fail on start

[    25.934] (II) xfree86: Adding drm device (/dev/dri/card0)

The chip is there,

[    26.024] (II) AIGLX: Screen 0 is not DRI2 capable
[    26.042] (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: undefined symbol: amdgpu_query_video_caps_info)

xf86-vide-amdgpu seems incompatible w/ a recent mesa update, https://bbs.archlinux.org/viewtopic.php … 2#p1973072

Online

#6 2021-05-26 14:12:51

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,919

Re: Mesa 21.1.1-1 causes Xorg to fail on start

Good catch, seth .

I've seen those topics and been hoping someone comes along who is willing to troubleshoot them further.

I have not encountered anything even remotely similar using mesa trunk with xf86-video-amdgpu and there are no comments on aur mesa-git / mesa-minimal-git pages from others about this.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB