If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Running radeonsi on Ubuntu 13.04

03-06-2013, 05:57 PM

There does not seem to be that much information about how to run radeonsi.
So I tried with my HD 7750 on (K)Ubuntu Raring, and documented what I did.

Since glamor is required, and it does not support the X version in Ubuntu, xorg-server has to be downgraded.
While running this process, I had to use a bit of force (dpkg --force-depends -P) to remove conflicting packages.
But in the end, apt is in a OK state.

4. Fetch glamor (git://anongit.freedesktop.org/git/xorg/driver/glamor). Configure and pay attention to missing dependencies manually, since there is no packaging (./configure --enable-glx-tls --prefix=/usr).
make install.

5. Fetch xf86-video-ati (git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-video-ati branch ubuntu).
In debian/control remove the version dependency for xserver-xorg-dev. Also remove the dependencies on xserver-xorg-video-r128 and xserver-xorg-video-mach64 completely.
Build and install.

6. To get mouse/keyboard, I also had to rebuild xserver-xorg-input-evdev. If you use other drivers, those would also have to be recompiled.
Fetch xf86-input-evdev (git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-input-evdev branch ubuntu). In debian/control remove the version dependency for xserver-xorg-dev.
Build and install.

Those where the minimal changes I was able to get it running with.
LLVM 3.2 in raring already has the r600g driver backported, and kernel 3.8 works.

I also tried latest LLVM git, Mesa git, and kernel 3.9-rc1+, but no significant differences.

KDE Desktop effects works.
Nexuiz runs at 22 fps at 1920x1200.
I thought I have Rochard running, but trying again just gives a black screen.
Torchlight immediately locks up the GPU, but the machine still responds over ssh.
Lightsmark 2008 completely freezes the machine after a few tests.

I could not test Trine, since it crashes the X server both with nouveau and radeonsi.

Comment

Since the recent refresh of xorg-edgers repositories, it has become much easier to compile the necessary
mesa support without the need fro llvm3.3. Here is a recipe for easy enabling radeonsi,
tested working on both Ubuntu 12.10 & 13.04. This can be easily made into install script,
feel free to do it at your own convenience.

First, we need to temporarily enable xorg-edgers repo, just to retrieve the sources & some dev tools and libs