WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: 11.x/x86_64 Xorg ATI/radeon is broken  (Read 4678 times)

Offline y_satou70

  • Jr. Member
  • **
  • Posts: 52
11.x/x86_64 Xorg ATI/radeon is broken
« on: December 14, 2020, 09:38:18 PM »
Since the recent Xorg-7.7-3d.tcz and other mesa related packages upgrade to version from 19.2.3 to 20.3.0, Xorg with ATI/Radeon driver is now crashed and failed to launch X:

Code: [Select]
[    25.408] (EE) Backtrace:
[    25.426] (EE) 0: /usr/local/lib/xorg/Xorg (xorg_backtrace+0x3c) [0x43d10c]
[    25.426] (EE) 1: /usr/local/lib/xorg/Xorg (0x400000+0x3d233) [0x43d233]
[    25.426] (EE) 2: /lib/libpthread.so.0 (0x7f5343657000+0x10fe0) [0x7f5343667fe0]
[    25.426] (EE) 3: /usr/local/lib/dri/radeonsi_dri.so (0x7f53412c8000+0x480b03) [0x7f5341748b03]
[    25.426] (EE) 4: /usr/local/lib/dri/radeonsi_dri.so (0x7f53412c8000+0x47156a) [0x7f534173956a]
[    25.426] (EE) 5: /usr/local/lib/dri/radeonsi_dri.so (0x7f53412c8000+0x47c766) [0x7f5341744766]
[    25.426] (EE) 6: /usr/local/lib/dri/radeonsi_dri.so (0x7f53412c8000+0x47d7fa) [0x7f53417457fa]
[    25.426] (EE) 7: /usr/local/lib/dri/radeonsi_dri.so (0x7f53412c8000+0x485872) [0x7f534174d872]
[    25.426] (EE) 8: /usr/local/lib/dri/radeonsi_dri.so (0x7f53412c8000+0x344f00) [0x7f534160cf00]
[    25.426] (EE) 9: /usr/local/lib/dri/radeonsi_dri.so (0x7f53412c8000+0x9446a4) [0x7f5341c0c6a4]
[    25.426] (EE) 10: /usr/local/lib/dri/radeonsi_dri.so (0x7f53412c8000+0x9459b2) [0x7f5341c0d9b2]
[    25.426] (EE) 11: /usr/local/lib/dri/radeonsi_dri.so (0x7f53412c8000+0x833095) [0x7f5341afb095]
[    25.426] (EE) 12: /usr/local/lib/dri/radeonsi_dri.so (0x7f53412c8000+0x83322d) [0x7f5341afb22d]
[    25.426] (EE) 13: /usr/local/lib/xorg/modules/libglamoregl.so (0x7f533c1f6000+0x1a61f) [0x7f533c21061f]
[    25.426] (EE) 14: /usr/local/lib/xorg/modules/libglamoregl.so (0x7f533c1f6000+0xe3ab) [0x7f533c2043ab]
[    25.426] (EE) 15: /usr/local/lib/xorg/modules/libglamoregl.so (0x7f533c1f6000+0xe49a) [0x7f533c20449a]
[    25.426] (EE) 16: /usr/local/lib/xorg/Xorg (0x400000+0x98328) [0x498328]
[    25.426] (EE) 17: /usr/local/lib/xorg/Xorg (ServerBitsFromGlyph+0x15c) [0x51ad3c]
[    25.426] (EE) 18: /usr/local/lib/xorg/Xorg (AllocGlyphCursor+0x13a) [0x5387dc]
[    25.426] (EE) 19: /usr/local/lib/xorg/Xorg (CreateRootCursor+0x90) [0x538b5c]
[    25.426] (EE) 20: /usr/local/lib/xorg/Xorg (0x400000+0x2ea47) [0x42ea47]
[    25.426] (EE) 21: /lib/libc.so.6 (__libc_start_main+0x154) [0x7f5342f8cce4]
[    25.426] (EE) 22: /usr/local/lib/xorg/Xorg (_start+0x2a) [0x42f09a]
[    25.426] (EE)
[    25.427] (EE) Floating point exception at address 0x7f5341748b03
[    25.427] (EE)
Fatal server error:
[    25.427] (EE) Caught signal 8 (Floating point exception). Server aborting

This crash was recorded with new fresh install from repo.tinycorelinux.net (not upgrade), also I have a copy of previous tcz file sets of 11.x/x86_64 (e.g. mesa 19.2.3), and confirmed it can launch X properly without crash, so this was regression at this upgrade.

Offline xor

  • Hero Member
  • *****
  • Posts: 1262
Re: 11.x/x86_64 Xorg ATI/radeon is broken
« Reply #1 on: December 15, 2020, 12:49:33 AM »
May be related to the following update news!

http://forum.tinycorelinux.net/index.php/topic,24551.0.html

Offline y_satou70

  • Jr. Member
  • **
  • Posts: 52
Re: 11.x/x86_64 Xorg ATI/radeon is broken
« Reply #2 on: December 15, 2020, 01:42:53 AM »
May be related to the following update news!

http://forum.tinycorelinux.net/index.php/topic,24551.0.html

I doubt this issue is related with above topic, as that is just article related with for kernel 5.10 - TCL 11.x is kernel 5.4.3.

Offline xor

  • Hero Member
  • *****
  • Posts: 1262
Re: 11.x/x86_64 Xorg ATI/radeon is broken
« Reply #3 on: December 15, 2020, 02:45:07 AM »
The current kernel and current driver timing seem to be close together
« Last Edit: December 15, 2020, 06:50:09 AM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: 11.x/x86_64 Xorg ATI/radeon is broken
« Reply #4 on: December 15, 2020, 03:36:15 AM »
Does Xorg.0.log give any clues as to the problem?

Offline y_satou70

  • Jr. Member
  • **
  • Posts: 52
Re: 11.x/x86_64 Xorg ATI/radeon is broken
« Reply #5 on: December 15, 2020, 03:54:04 PM »
Does Xorg.0.log give any clues as to the problem?

above output is actually from Xorg.0.log.

Offline y_satou70

  • Jr. Member
  • **
  • Posts: 52
Re: 11.x/x86_64 Xorg ATI/radeon is broken
« Reply #6 on: December 17, 2020, 10:36:39 PM »
attached full output of /var/log/Xorg.0.log, as well as /var/log/messages, and tce-status -i output for listing up installed tcz packages for your reference.
the device is Dell/Wyse Z00Q Cloud PC (and re-branded as 7020 Thin Client), using AMD Radeon HD 8400E graphics card.

I also had tested with HP ThinClient t620 which uses AMD Radeon HD 8330E graphics card, it also failed with ATI/Radeon driver.

Offline y_satou70

  • Jr. Member
  • **
  • Posts: 52
Re: 11.x/x86_64 Xorg ATI/radeon is broken
« Reply #7 on: December 17, 2020, 11:17:59 PM »
and here is the log files of successful example - same hardware, with using previous version of TCZ packages(*) of 11.x x86_64.
(*) libdrm.tcz libGL.tcz libGLESv2.tcz libEGL.tcz Xorg-7.7-3d.tcz

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: 11.x/x86_64 Xorg ATI/radeon is broken
« Reply #8 on: December 18, 2020, 05:36:58 AM »
I'd suggest you report it to the mesa developers.

Offline y_satou70

  • Jr. Member
  • **
  • Posts: 52
Re: 11.x/x86_64 Xorg ATI/radeon is broken
« Reply #9 on: December 20, 2020, 11:09:06 PM »
I'd suggest you report it to the mesa developers.

this is not an problem of mesa source itself.
this is due to xf86-video-amdgpu.tcz has mismatch with updated mesa driver: as mesa (Xorg-7.7-3d.tcz) is upgraded, this package (and other xf86-video-*) needs to be re-compiled with updated Xorg-7.7-3d-dev.tcz

ref: http://repo.tinycorelinux.net/11.x/x86_64/tcz/src/xf86-video-amdgpu/compile_xf86-video-amdgpu

I rebuilt xf86-video-amdgpu.tcz with following above steps and confirmed it properly works without crash.
Please rebuild xf86-video-*.tcz packages with updated mesa.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: 11.x/x86_64 Xorg ATI/radeon is broken
« Reply #10 on: December 21, 2020, 01:23:27 AM »
I rebuilt xf86-video-amdgpu.tcz with following above steps and confirmed it properly works without crash.

Please go ahead and submit the recompiled driver - I do not have the hardware to test and the xf86-video-intel driver works fine without needing to be recompiled.

Offline y_satou70

  • Jr. Member
  • **
  • Posts: 52
Re: 11.x/x86_64 Xorg ATI/radeon is broken
« Reply #11 on: December 22, 2020, 02:40:27 AM »
looks updating mesa to 20.3.1 is the right path... I will test with rebuild Xorg-7.7-3d

from https://docs.mesa3d.org/relnotes/20.3.1.html

Mesa 20.3.1 Release Notes / 2020-12-16
Bug fixes:
  • Mesa 20.3.0 and older ATi/Radeon cards fails
[/i]

Offline vinceASPECT

  • Hero Member
  • *****
  • Posts: 749
Re: 11.x/x86_64 Xorg ATI/radeon is broken
« Reply #12 on: December 22, 2020, 05:12:39 AM »
Hello forum,
 
That   is some drivers issue.

thx

v....
.....

Offline y_satou70

  • Jr. Member
  • **
  • Posts: 52
Re: 11.x/x86_64 Xorg ATI/radeon is broken
« Reply #13 on: December 23, 2020, 12:18:08 AM »
confirmed mesa 20.3.1 fixed the crash issue no ATI/Radeon video card with building from source code on 11.1 x86_64, will submit update contribution of TCZ files.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: 11.x/x86_64 Xorg ATI/radeon is broken
« Reply #14 on: December 23, 2020, 12:25:59 AM »
There's no need, thanks - I'll update Xorg-7.7-3d in a few days time.