Archive for the 'ATI' Category

Xubuntu Edgy, XGL and Beryl (ATI)

Just mucking about at work again.

So I’ve ruled out AIGLX/Beryl on my work PC, because the proprietary drivers don’t have a particular extension to use AIGLX. However I can still try XGL/Beryl now that I have the fglrx drivers working.

Setting up XGL and Beryl follows almost the same steps I used on my home PC, which uses an NVIDIA card.

The installation of the XGL X server package and Beryl is the same, the only difference between using ATI and NVIDIA, is the XGL options used in the startxgl.sh script. This is the modified script I use for XGL and Beryl (ATI)

#!/bin/sh
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer &
sleep 4
export DISPLAY=:1
beryl-manager
exec xfce4-session

The first time I started the XGL session, Beryl was acting all weird, the window decorations were flashing on and off. I just killed the process, and started the beryl-manager again, then things were fine.

I’m actually surprised how well it runs on my PC, I didn’t think the video card (ATI R300) would be up to it.

Nice, so now I have eye candy both at home and at work.




Installing ATI Drivers on Edgy

Just mucking about at work again.So I’ve ruled out AIGLX/Beryl on my work PC, because the proprietary drivers don’t have a particular extension to use AIGLX. However I can still try XGL/Beryl, if I can get the fglrx drivers to work.

Trying these instructions again, first install the fglrx driver with this command

sudo aptitude install xorg-driver-fglrx

Next we need to reconfigure the Xorg configuration file. Rather than manually like for enabling AIGLX, we can do it by reconfiguring the xserver-xorg package

sudo dpkg-reconfigure xserver-xorg

If you have ever seen the inside of the Xorg configuration file /etc/X11/xorg.conf, you will probably notice the questions that accompany lines you often edit without knowing why.

The first part of the reconfiguration deals with which driver to use for the X server. This is important and fglrx must be selected.

Selecting the fglrx driver

Other options will include the the PCI bus it is located on, keyboard and mouse settings, monitor resolution and similar options. If the X Server has been working correctly before this reconfiguration, you can just leave these values alone, and accept them as they appear.

Selecting Xorg modulesSelecing X Server resolutions

The process will exit and copy the old configuration file to a unique filename, based on the date and time, in case you need to go back.

Finally you need to restart the PC, to make sure that the fglrx module is loaded (restarting the X Server doesn’t cut it here), and then observe the changes.

liam@liam-desktop:~$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON X300/X550 Series Generic
OpenGL version string: 2.0.6011 (8.28. 8)

liam@liam-desktop:~$ fgl_glxgears
Using GLX_SGIX_pbuffer
867 frames in 5.0 seconds = 173.400 FPS
1120 frames in 5.0 seconds = 224.000 FPS
1114 frames in 5.0 seconds = 222.800 FPS
1130 frames in 5.0 seconds = 226.000 FPS
1098 frames in 5.0 seconds = 219.600 FPS
liam@liam-desktop:~$

For some reason all my GTK fonts have become very small, but otherwise there doesn’t seem to be any real issues. So now onto XGL and Beryl again.




No 3D acceleration for AIGLX with ATI

It turns out I was attempting this all the wrong way, because of some careless research on my part.

For the last part of an hour two hours I’ve been struggling to get AIGLX and 3D acceleration working on the ATI video card in my work PC. I kept hitting a brick wall over this error

liam@liam-desktop:~$ fglrxinfo
Xlib: extension “XFree86-DRI” missing on display “:0.0″.
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)

It turns out that the fglrx drivers can’t be used with AIGLX. It was all there, but perhaps not as clearly as I needed.

I think my problem was following this wiki page. I kept ending up trying to install the fglrx drivers with no favourable result.

So for the moment AIGLX is out. Cheers ATI!





My Photos

James getting dragged up the hill

Another insane run

img_0104

Insane run

More Photos

How many times has this site been visited?

  • 135,007 apparently

Site Stats