Bug 65016 - [radeonsi] X server segfaults at startup with mesa-9.1*
Summary: [radeonsi] X server segfaults at startup with mesa-9.1*
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: 9.1
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-26 20:36 UTC by Alexander Tsoy
Modified: 2013-05-27 17:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
backtrace [1] - both llvm and mesa with debugging support (62.26 KB, text/plain)
2013-05-26 20:38 UTC, Alexander Tsoy
Details
backtrace [2] - only mesa with debugging support (38.41 KB, text/plain)
2013-05-26 20:39 UTC, Alexander Tsoy
Details

Description Alexander Tsoy 2013-05-26 20:36:35 UTC
X server segfaults at startup whith mesa 9.1*. No problems with Git snapshots of mesa (these are the only versions of mesa which works on my system). I'll attach two backtraces below:

1. llvm and mesa was compiled with debugging support. Unfortunately this trace is incomplete =/
2. llvm was compiled without debugging support, mesa was compiled whith debugging support. This trace is complete, but lacks a lot of debugging info.


Hardware:

01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cape Verde PRO [Radeon HD 7750]
        Subsystem: Giga-byte Technology Device 2260
        Kernel driver in use: radeon
        Kernel modules: radeon


Software:
- mesa 9.1.3, also tried earlier minor versions
- llvm 3.3_rc2, llvm Git
- xorg-server-1.13.4
- xf86-video-ati-7.1.0
- glamor Git
- linux 3.8.12
Comment 1 Alexander Tsoy 2013-05-26 20:38:39 UTC
Created attachment 79818 [details]
backtrace [1] - both llvm and mesa with debugging support
Comment 2 Alexander Tsoy 2013-05-26 20:39:31 UTC
Created attachment 79819 [details]
backtrace [2] - only mesa with debugging support
Comment 3 Michel Dänzer 2013-05-27 15:15:47 UTC
(In reply to comment #3)
> - mesa 9.1.3, also tried earlier minor versions
> - llvm 3.3_rc2, llvm Git

The radeonsi driver in Mesa 9.1.y cannot work with LLVM 3.3 or later but requires a snapshot of the git://people.freedesktop.org/~tstellar/llvm master branch (based on LLVM 3.2).
Comment 4 Alexander Tsoy 2013-05-27 17:35:45 UTC
Thanks for the answer. I suspected something like this when saw this in backstrace:

#2  0x0000039278c97590 in llvm::llvm_unreachable_internal (msg=0x39278d885ea "Undefined function", file=0x39278d885d5 "AMDGPUISelLowering.h", line=56) at ErrorHandling.cpp:98


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.