You are not logged in.

#1 2019-01-21 10:18:01

gestalt
Member
Registered: 2017-06-30
Posts: 9

[SOLVED]mesa 18.3.1-1 crashes xorg on startup, downgrade steam crash

CPU and GPU Info

 
CPU: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx (8) @ 2.000GHz
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series

After my last system-upgrade my system actually froze right before showing sddm.
journalctl shows this error

Jan 21 10:18:59 marco sddm[1042]: Initializing...
Jan 21 10:18:59 marco sddm[1042]: Starting...
Jan 21 10:18:59 marco sddm[1042]: Logind interface found
Jan 21 10:18:59 marco sddm[1042]: Adding new display on vt 1 ...
Jan 21 10:18:59 marco sddm[1042]: Loading theme configuration from ""
Jan 21 10:18:59 marco sddm[1042]: Display server starting...
Jan 21 10:18:59 marco sddm[1042]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{6adf0f9c-1f36-40fa-bca0-7ebe0c9e639f} -background none -noreset -displayfd 17 -seat seat0 vt1
Jan 21 10:18:59 marco kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id:0 ring:158 vmid:1 pasid:32768, for process Xorg pid 1044 thread Xorg:cs0 pid 1045)
Jan 21 10:18:59 marco kernel: amdgpu 0000:05:00.0:   in page starting at address 0x0000800100020000 from 18
Jan 21 10:18:59 marco kernel: amdgpu 0000:05:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x0010013C
Jan 21 10:18:59 marco kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id:0 ring:158 vmid:1 pasid:32768, for process Xorg pid 1044 thread Xorg:cs0 pid 1045)
Jan 21 10:18:59 marco kernel: mce: [Hardware Error]: Machine check events logged
Jan 21 10:18:59 marco kernel: amdgpu 0000:05:00.0:   in page starting at address 0x0000800100020000 from 18
Jan 21 10:18:59 marco kernel: [Hardware Error]: Deferred error, no action required.
Jan 21 10:18:59 marco kernel: [Hardware Error]: CPU:0 (17:11:0) MC20_STATUS[-|-|MiscV|-|AddrV|Deferred|-|SyndV
Jan 21 10:18:59 marco kernel: amdgpu 0000:05:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x0010013C
Jan 21 10:18:59 marco kernel: |-|UECC]: 0x9c2030000001085b
Jan 21 10:18:59 marco kernel: [Hardware Error]: Error Addr: 0x00007ffcffffff00
Jan 21 10:18:59 marco kernel: [Hardware Error]: IPID: 0x0000002e00000000, Syndrome: 0x000000005b240205
Jan 21 10:18:59 marco systemd-journald[283]: Missed 47 kernel messages
Jan 21 10:18:59 marco kernel: amdgpu 0000:05:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x0010013C
Jan 21 10:18:59 marco systemd-journald[283]: Missed 586 kernel messages
Jan 21 10:18:59 marco kernel: [Hardware Error]: Coherent Slave Error: Address violation.
Jan 21 10:18:59 marco systemd-journald[283]: Missed 76 kernel messages
Jan 21 10:18:59 marco kernel: [Hardware Error]: Coherent Slave Error: Address violation.

So I downgraded via an boot usb to 18.2.5-1 and my system is booting normally.

After some time i tried to run steam and run in following error

OpenGL GLX extension not supported by display
OpenGL GLX extension not supported by displayMain.cpp (332) : Assertion Failed: Fatal Error: OpenGL GLX extension not supported by display
Main.cpp (332) : Assertion Failed: Fatal Error: OpenGL GLX extension not supported by display
Installing breakpad exception handler for appid(steam)/version(1546909276)
ERROR: ld.so: object '/usr/$LIB/libgpg-error.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

Steam was running before absolutely fine. So I wanted to check glxinfo.

name of display: :0
Error: couldn't find RGB GLX visual or fbconfig

Xorg has this error in its log

[    33.582] (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (libsensors.so.4: cannot open shared object file: No such file or directory)
[    33.582] (EE) AIGLX error: unable to load driver swrast
[    33.582] (EE) GLX: could not load software renderer

Now what I got from the internet is, that the error in journalctl is out of my hands, "bad luck". I dont quite understand why the GLX is broken with the downgrade.

Last edited by gestalt (2019-01-21 10:44:10)

Offline

#2 2019-01-21 10:24:30

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,427

Re: [SOLVED]mesa 18.3.1-1 crashes xorg on startup, downgrade steam crash

Did you actually downgrade all packages involved in the update? Post your entire /var/log/pacman.log you likely missed a few, or the freeze lead to data corruption you might want to post/check

pacman -Qkk

wait, on rereading, did you downgrade just mesa? That can easily lead to issues. FWIW I'd suggest you update everything again, but install/switch to linux-lts to get a working amdgpu, as I don't think mesa is at fault here.

Last edited by V1del (2019-01-21 10:27:27)

Offline

#3 2019-01-21 10:38:06

gestalt
Member
Registered: 2017-06-30
Posts: 9

Re: [SOLVED]mesa 18.3.1-1 crashes xorg on startup, downgrade steam crash

yes i just downgraded the mesa packages. Gonna try the lts kernel.

Works perfectly fine with the lts kernel and newest mesa driver. Thanks!

/e:
Ok some important information regarding the AMD Ryzen form this German Lenovo board. https://thinkpad-forum.de/threads/21755 … ost2176002



boot parameters: ivrs_ioapic[32]=00:14.0 ivrs_ioapic[33]=00:00.1 libata.force=1:nohrst iommu=pt

ivrs_ioapic: corrected IOMMU addresses in BIOS

libata.force: No hardware reset at the SATA controller. So you can get your system out of suspend

iommu=pt: pass through for iommu, without this option X doesn't work since kernel 4.20.0

I am on the current kernel again with newest mesa and X as well as steam are working properly.

Last edited by gestalt (2019-01-22 12:42:27)

Offline

Board footer

Powered by FluxBB