<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Segfault when starting Xorg with radeonsi"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=67690">67690</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Segfault when starting Xorg with radeonsi
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mthowe@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/radeonsi
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=83559" name="attach_83559" title="Xorg log">attachment 83559</a> <a href="attachment.cgi?id=83559&action=edit" title="Xorg log">[details]</a></span>
Xorg log

Hit this problem with the latest version of radeonsi in Mesa with Fedora 19.
Pulled the latest from git and built myself, and still hit the same issue.
Removing radeonsi_dri.so and using radeon_dri.so allows me to work around the
problem.

Relevant lspci:
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Device 9900 (prog-if 00 [VGA controller])
    Subsystem: ASUSTeK Computer Inc. Device 1527
    Flags: bus master, fast devsel, latency 0, IRQ 52
    Memory at b0000000 (32-bit, prefetchable) [size=256M]
    I/O ports at f000 [size=256]
    Memory at feb00000 (32-bit, non-prefetchable) [size=256K]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Root Complex Integrated Endpoint, MSI 00
    Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Chelsea LP [Radeon HD 7730M] (prog-if 00 [VGA controller])
    Subsystem: ASUSTeK Computer Inc. Device 1527
    Physical Slot: 0
    Flags: bus master, fast devsel, latency 0, IRQ 53
    Memory at c0000000 (64-bit, prefetchable) [size=256M]
    Memory at fea00000 (64-bit, non-prefetchable) [size=256K]
    I/O ports at e000 [size=256]
    Expansion ROM at fea40000 [disabled] [size=128K]
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Legacy Endpoint, MSI 00
    Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+


The stack trace:

[ 72427.843] (EE) Backtrace:
[ 72427.843] (EE) 0: /usr/bin/Xorg (OsLookupColor+0x129) [0x46edb9]
[ 72427.844] (EE) 1: /lib64/libpthread.so.0 (__restore_rt+0x0) [0x34e180ef9f]
[ 72427.844] (EE) 2: /usr/lib64/dri/radeonsi_dri.so
(radeon_drm_winsys_create+0xb9) [0x7fbab6804019]
[ 72427.845] (EE) 3: /usr/lib64/dri/radeonsi_dri.so (create_screen+0x9)
[0x7fbab652b3d9]
[ 72427.846] (EE) 4: /usr/lib64/dri/radeonsi_dri.so (dri2_init_screen+0x45)
[0x7fbab67fff75]
[ 72427.846] (EE) 5: /usr/lib64/dri/swrast_dri.so (driIndexConfigAttrib+0x57d)
[0x7fbab3f9a7cd]
[ 72427.847] (EE) 6: /usr/lib64/xorg/modules/extensions/libglx.so
(_glthread_GetID+0x71d1) [0x7fbab8162cb1]
[ 72427.848] (EE) 7: /usr/lib64/xorg/modules/extensions/libglx.so
(_glthread_GetID+0x679a) [0x7fbab816180a]
[ 72427.848] (EE) 8: /usr/bin/Xorg (InitExtensions+0x41) [0x4ba101]
[ 72427.848] (EE) 9: /usr/bin/Xorg (_init+0x38e0) [0x429980]
[ 72427.848] (EE) 10: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x34e1021b75]
[ 72427.849] (EE) 11: /usr/bin/Xorg (_start+0x29) [0x4267b1]
[ 72427.849] (EE) 12: ? (?+0x29) [0x29]
[ 72427.849] (EE) 
[ 72427.849] (EE) Segmentation fault at address 0x0

Full Xorg log including the stack trace attached.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>