Bug 72182 - X segault at start with APU A4-1450 and radeonsi
Summary: X segault at start with APU A4-1450 and radeonsi
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-30 18:12 UTC by Richard Van Den Boom
Modified: 2013-12-07 12:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log output (23.17 KB, text/plain)
2013-11-30 18:12 UTC, Richard Van Den Boom
no flags Details
EGL_LOG_LEVEL=debug X -pogo 2>stderr.txt output (3.52 KB, text/plain)
2013-12-02 16:51 UTC, Richard Van Den Boom
no flags Details
Mesa configure output (16.00 KB, text/plain)
2013-12-02 16:51 UTC, Richard Van Den Boom
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Van Den Boom 2013-11-30 18:12:36 UTC
Created attachment 90038 [details]
Xorg.0.log output

I'have a Samsung Ativ Book 9 Lite, with a AMD A4-1450 APU in it and have some trouble with the graphic stack.
I use a Slackware current system and compiles my own 3.12.2 kernel, as well as my libdrm, mesa, glamor, glamor-egl and xf86-video-ati drivers from today's git.
Compilation works fine but when I start X11, I get a beautiful sefgault.
The following messages appear in /var/log/Xorg.0.log :

[  8285.245] (II) Loading sub module "dri2"
[  8285.245] (II) LoadModule: "dri2"
[  8285.245] (II) Module "dri2" already built-in
[  8285.245] (II) Loading sub module "glamoregl"
[  8285.245] (II) LoadModule: "glamoregl"
[  8285.247] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[  8285.247] (II) Module glamoregl: vendor="X.Org Foundation"
[  8285.247] 	compiled for 1.14.3, module version = 0.5.1
[  8285.247] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  8285.247] (II) glamor: OpenGL accelerated X.org driver based.
[  8285.315] (EE) 
[  8285.315] (EE) Backtrace:
[  8285.315] (EE) 0: /usr/bin/X (xorg_backtrace+0x3d) [0x57b11d]
[  8285.315] (EE) 1: /usr/bin/X (0x400000+0x17eb29) [0x57eb29]
[  8285.316] (EE) 2: /lib64/libpthread.so.0 (0x7fa5cb074000+0xf670) [0x7fa5cb083670]
[  8285.316] (EE) 3: /usr/lib64/libX11-xcb.so.1 (XGetXCBConnection+0x7) [0x7fa5c76a96a7]
[  8285.316] (EE) 4: /usr/lib64/libEGL.so.1 (0x7fa5c8b94000+0x14b59) [0x7fa5c8ba8b59]
[  8285.316] (EE) 5: /usr/lib64/libEGL.so.1 (0x7fa5c8b94000+0xbb21) [0x7fa5c8b9fb21]
[  8285.316] (EE) 6: /usr/lib64/libEGL.so.1 (0x7fa5c8b94000+0xbeec) [0x7fa5c8b9feec]
[  8285.316] (EE) 7: /usr/lib64/libEGL.so.1 (eglInitialize+0x8a) [0x7fa5c8b9af9a]
[  8285.316] (EE) 8: /usr/lib64/xorg/modules/libglamoregl.so (glamor_egl_init+0xd2) [0x7fa5c8db3ef2]
[  8285.316] (EE) 9: /usr/lib64/xorg/modules/drivers/radeon_drv.so (0x7fa5c624c000+0x4f1fd) [0x7fa5c629b1fd]
[  8285.316] (EE) 10: /usr/lib64/xorg/modules/drivers/radeon_drv.so (0x7fa5c624c000+0x48073) [0x7fa5c6294073]
[  8285.316] (EE) 11: /usr/bin/X (InitOutput+0x9cf) [0x47635f]
[  8285.316] (EE) 12: /usr/bin/X (0x400000+0x251bb) [0x4251bb]
[  8285.316] (EE) 13: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7fa5c91ecd85]
[  8285.316] (EE) 14: /usr/bin/X (0x400000+0x256f1) [0x4256f1]
[  8285.317] (EE) 
[  8285.317] (EE) Segmentation fault at address 0x1002ae05
[  8285.317] (EE) 
Fatal server error:
[  8285.317] (EE) Caught signal 11 (Segmentation fault). Server aborting
[  8285.317] (EE) 
[  8285.317] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  8285.317] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  8285.317] (EE) 
[  8285.338] (EE) Server terminated with error (1). Closing log file.

I currently disable DRI3 as the rest of the slackware stack doesn't support it.
Comment 1 Michel Dänzer 2013-12-02 07:18:30 UTC
Please try starting Xorg manually like this:

 EGL_LOG_LEVEL=debug X -pogo 2>stderr.txt

and attach the resulting stderr.txt file.
Comment 2 Michel Dänzer 2013-12-02 07:19:51 UTC
It would also be interesting to see the summary information printed at the end of Mesa's configure run.
Comment 3 Richard Van Den Boom 2013-12-02 16:51:12 UTC
Created attachment 90111 [details]
EGL_LOG_LEVEL=debug X -pogo 2>stderr.txt output
Comment 4 Richard Van Den Boom 2013-12-02 16:51:37 UTC
Created attachment 90112 [details]
Mesa configure output
Comment 5 Richard Van Den Boom 2013-12-02 16:52:11 UTC
Hi,
I've attached the requested logs to the ticket.
Comment 6 Michel Dänzer 2013-12-03 04:52:40 UTC
(In reply to comment #4)
>         EGL platforms:   x11

You need to include 'drm' in the list of platforms passed to Mesa configure's --with-egl-platforms.
Comment 7 Richard Van Den Boom 2013-12-07 12:07:54 UTC
Hi, with drm added to the EGL supported platforms and the later fix from libdrm, this is indeed working as expected.
Thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.