<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 --- - radeonsi & glamor: No acceleration"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59703">59703</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>xorg-driver-ati@lists.x.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>radeonsi & glamor: No acceleration
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

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

        <tr>
          <th>Reporter</th>
          <td>RalfPeter.Rohbeck@quantum.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>Driver/Radeon
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=73435" name="attach_73435" title="xorg.conf">attachment 73435</a> <a href="attachment.cgi?id=73435&action=edit" title="xorg.conf">[details]</a></span>
xorg.conf

I tried to build the entire stack with radeonsi according to the instructions
on various wiki pages but It keeps telling me
[   593.260] (II) RADEON(0): Acceleration disabled

This what I do (PREFIX=/opt/xorg):

- Build and install latest (3.8rc1 earlier, now 3.8rc4) kernel from
git://people.freedesktop.org/~airlied/linux, origin/drm-next branch

- Download/build/install LLVM from git://people.freedesktop.org/~tstellar/llvm
with --prefix=/usr/local --enable-experimental-targets=R600 --enable-optimized
--cache-file=/dev/null --srcdir=.

- Download/build/install whole stack with
git://anongit.freedesktop.org/git/xorg/util/modular with --prefix=$PREFIX
--enable-gallium-radeon --with-state-trackers=dri,glx
--with-dri-driverdir=$PREFIX/lib/dri --with-egl-platforms=x11,drm
--with-gallium-drivers=swrast,radeonsi --enable-gbm --enable-shared-glapi
--enable-glx-tls --with-dri-drivers=radeon,swrast --enable-glamor

- Download/build/install xserver from
<a href="http://ftp.x.org/pub/individual/xserver/xorg-server-1.11.4.tar.bz2">http://ftp.x.org/pub/individual/xserver/xorg-server-1.11.4.tar.bz2</a> with
--prefix=$PREFIX --enable-glx-tls --enable-xorg --disable-dmx --disable-xvfb
--disable-xnest --disable-xwin

- Download/build/install drm from git://anongit.freedesktop.org/git/mesa/drm
with --prefix=$PREFIX

- Download/build/install mesa from git://anongit.freedesktop.org/mesa/mesa with
--prefix=$PREFIX --with-dri-driverdir=$PREFIX/lib/dri
--with-egl-platforms=x11,drm --with-gallium-drivers=swrast,r300,r600,radeonsi
--enable-gbm --enable-shared-glapi --enable-glx-tls
--with-dri-drivers=radeon,swrast

- Add symlinks to /usr/local/lib/dri/radeonsi_dri.so and
/usr/local/lib/libGL.so that seem to be needed (looks like bugs to me - should
be loaded from $PREFIX/lib)

- Download/build/install glamor from
git://anongit.freedesktop.org/git/xorg/driver/glamor with --prefix=$PREFIX
--enable-glx-tls

- Download/build/install xf86-video-ati from
git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati with
--prefix=$PREFIX --enable-gallium-radeon --with-egl-platforms=x11,drm
--enable-glamor

Finally I set up /etc/environment with LIBGL_DRIVERS_PATH=$PREFIX/lib/dri/ and
/etc/ld.so.conf.d/a-local-xorg.conf with $PREFIX/lib and run ldconfig.

xorg.conf, Xorg.0.log and my build script attached.

Help!

Thanks,
Ralf-Peter</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>