ATI specific OpenGL 2.0+ driver on XFree86 4.6.0

Hi
I am running Ubuntu Feisty Fawn and installed (I think) the ATI proprietary driver according to this:

http://wiki.cchtml.com/index.php/Ubuntu_Feisty_Installation_Guide

Wanting to code, I then installed XFree86 4.6.0
ok but after that I get the following in shell with 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.2.1)

It used to read something like ATI, 9800Pro, 2.0+ , which I want it to do once again, like before I
installed XFree86 4.6.0.

I have tried repeating the instructions in the top link
in getting back opengl 2.0+:

sudo apt-get install xorg-driver-fglrx

leads to:

Reading package lists… Done
Building dependency tree
Reading state information… Done
xorg-driver-fglrx is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

sudo aticonfig --initial

leads to:

Found fglrx primary device section
Nothing to do, terminating.

sudo aticonfig --overlay-type=Xv

leads to:

Warning: Option ‘VideoOverlay’ doesn’t affect running session.
Warning: Option ‘OpenGLOverlay’ doesn’t affect running session.
Using /etc/X11/xorg.conf
Saved back-up to /etc/X11/xorg.conf.fglrx-6

But the after rebooting with
sudo shutdown -r now
, fglrxinfo still gives

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.2.1)

I would appreciate if someone could tell how to get opengl 2.0 back
and still being able to compile etc. with XFree86 4.6.0. Thanks.

For those kind of problems it is always a good idea to join the #ubuntu irc channel on freenode. Just install xchat in ubuntu. The channel is usually well frequented and somebody should be able to help you fix your problem.

Why did you switch to XFree86? That’s another branch of the X server, right? Ubuntu uses the Xorg X server as far as I know. Probably the drivers do not work with the xfree86 version.

Don’t install XFree86. Xorg is what comes with Ubuntu, Xorg is what you should be using, Xorg is what Ubuntu’s driver packages are set up to work with.

Hi, I thought it necessary to install XFree86 in
order to compile (sample) C++ code containing for example:

#include <X11/X.h>
#include <X11/Xutil.h>

#include <X11/keysym.h>

#include <math.h>

#include <sys/timeb.h>

#include <iostream>

using namespace std;

#include <GL/glx.h>

#include <GL/gl.h>

#include <GL/glu.h>

,because as I recall, the libs X.h, Xutil.h, gl.h etc. were not present at all on my system after the fresh F. Fawn install…so are you saying I
can get and compile those libs by downloading Xorg
something instead?

Yes, there is a development package for the Xorg X11 that contains the headers. I don’t remember offhand what it’s called, but it’s fairly obvious.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.