Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-02 Thread Erik de Castro Lopo
Dave Airlie wrote:

 can you send me the full Xorg.0.log, if the Xorg log says you have direct 
 rendering you have a client side problem, which LIBGL_DEBUG=all may help..

I won't send you the Xorg.0.log output just yet because
LIBGL_DEBUG=all glxinfo spits out the following:

libGL error: dlopen /usr/X11R6/lib/modules/dri/fglrx_dri.so failed 
(/usr/X11R6/lib/modules/dri/fglrx_dri.so: cannot open shared object 
file: 
No such file or directory)
libGL error: unable to find driver: fglrx_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/fglrx_dri.so failed 
(/usr/X11R6/lib/modules/dri/fglrx_dri.so: cannot open shared object 
file: 
No such file or directory)
libGL error: unable to find driver: fglrx_dri.so

It wasn't doing this before I installed the linux-restricted-modules
for my kernel.

Anyone know what package provides fglrx_dri.so?

Erik
-- 
+---+
  Erik de Castro Lopo
+---+
C++ is like jamming a helicopter inside a Miata and expecting 
some sort of improvement. -- Drew Olbrich
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-02 Thread Peter Hardy

Erik de Castro Lopo wrote:

Anyone know what package provides fglrx_dri.so?


Er, do you have xorg-driver-fglrx installed?

--
Pete
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-02 Thread Dave Airlie




I won't send you the Xorg.0.log output just yet because
LIBGL_DEBUG=all glxinfo spits out the following:

   libGL error: dlopen /usr/X11R6/lib/modules/dri/fglrx_dri.so failed
   (/usr/X11R6/lib/modules/dri/fglrx_dri.so: cannot open shared object file:
   No such file or directory)
   libGL error: unable to find driver: fglrx_dri.so
   libGL error: dlopen /usr/X11R6/lib/modules/dri/fglrx_dri.so failed
   (/usr/X11R6/lib/modules/dri/fglrx_dri.so: cannot open shared object file:
   No such file or directory)
   libGL error: unable to find driver: fglrx_dri.so

It wasn't doing this before I installed the linux-restricted-modules
for my kernel.

Anyone know what package provides fglrx_dri.so?


It should be in the fglrx package it may be installing it into 
/usr/lib/dri or some other directory.. and you also may be picking up the 
wrong libGL...


Dave.

--
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-02 Thread Penedo

On 03/01/07, Erik de Castro Lopo [EMAIL PROTECTED] wrote:


Anyone know what package provides fglrx_dri.so?



apt-file search fglrx_dri.so should get you the answer (I'm on Debian so
can't give a direct answer).

Be aware that apt-file doesn't know how to read the multiple files under
/etc/apt/sources.list.d so if you have files there then you'll have to do
something like:

$ cat /etc/apt/sources.list /etc/apt/sources.list.d/*  /tmp/sources.list
$ apt-file -s /tmp/sources.list search ...

--P
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-02 Thread Erik de Castro Lopo
Dave Airlie wrote:

 It should be in the fglrx package it may be installing it into 
 /usr/lib/dri or some other directory.

Bingo! Creating directory /usr/X11R6/lib/modules/dri/ and then

   ln -s /usr/lib/dri/fglrx_dri.so /usr/X11R6/lib/modules/dri/

fixed it.

Thanks Dave (and Jdub). Very helpful. Dave I'm looking forward
to your Nouveau talk at LCA.

Cheers,
Erik
-- 
+---+
  Erik de Castro Lopo
+---+
C++ has its place in the history of programming languages. Just
as Caligula has his place in the history of the Roman Empire.
-- Robert Firth
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-02 Thread Erik de Castro Lopo
Penedo wrote:

 apt-file search fglrx_dri.so should get you the answer (I'm on Debian so
 can't give a direct answer).

Holy shit! I've been using Debian for over 5 years and I didn't 
even know that the apt-file program existed.

Thanks Pendo.

Erik
-- 
+---+
  Erik de Castro Lopo
+---+
C++ is an atrocity, the bletcherous scab of the computing world,
responsible for more buffer overflows, more security breaches, 
more blue screens of death, more mysterious failures than any 
other computer language in the history of the planet Earth.
-- Eric Lee Green
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-02 Thread Robert Collins
On Wed, 2007-01-03 at 10:49 +1100, Erik de Castro Lopo wrote:
 Penedo wrote:
 
  apt-file search fglrx_dri.so should get you the answer (I'm on Debian so
  can't give a direct answer).
 
 Holy shit! I've been using Debian for over 5 years and I didn't 
 even know that the apt-file program existed.
 
 Thanks Pendo.

You can also use 'dpkg -S fglrx_dri.so'

-Rob
-- 
GPG key available at: http://www.robertcollins.net/keys.txt.


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

apt-file (was Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper))

2007-01-02 Thread Steve Lindsay

On 1/3/07, Robert Collins [EMAIL PROTECTED] wrote:


You can also use 'dpkg -S fglrx_dri.so'



'apt-file' lets you search through packages you haven't installed yet
(but are in the relevant apt repositories). I think dpkg -S is only
for installed packages?

Cheers.Steve
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-02 Thread Erik de Castro Lopo
Robert Collins wrote:

 You can also use 'dpkg -S fglrx_dri.so'

That I did know of and have been using for many years.

One problem with both dpkg -S and apt-file search is that
they only work on packages that have actually been installed.

When Pendo first mentioned apt-file I thought it was actually
able to find files in packages which weren't installed. 
Unfortunately this is not the case.

Erik
-- 
+---+
  Erik de Castro Lopo
+---+
Religion is a magic device for turning unanswerable questions into
unquestionable answers. -Art Gecko, Wombat Discord-1, 128649
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-02 Thread jam
On Wednesday 03 January 2007 09:18, [EMAIL PROTECTED] wrote:
  apt-file search fglrx_dri.so should get you the answer (I'm on Debian
  so can't give a direct answer).

 Holy shit! I've been using Debian for over 5 years and I didn't
 even know that the apt-file program existed.

That is the same class of answer as RFM. Most of us can wry-smile but it's 
unkind (and offensive) if the answer was well intentioned, totally 
appropriate if it was dripping in sarcasm. So unless you know Pendo ...
James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-02 Thread Steve Lindsay

On 1/3/07, Erik de Castro Lopo [EMAIL PROTECTED] wrote:


One problem with both dpkg -S and apt-file search is that
they only work on packages that have actually been installed.

When Pendo first mentioned apt-file I thought it was actually
able to find files in packages which weren't installed.
Unfortunately this is not the case.



Did you run 'apt-file update' ?

Steve
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: apt-file (was Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper))

2007-01-02 Thread Penedo

On 03/01/07, Steve Lindsay [EMAIL PROTECTED] wrote:


On 1/3/07, Robert Collins [EMAIL PROTECTED] wrote:

 You can also use 'dpkg -S fglrx_dri.so'


'apt-file' lets you search through packages you haven't installed yet
(but are in the relevant apt repositories). I think dpkg -S is only
for installed packages?



Correct. dpkg -S only searches the local database of installed packages.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-02 Thread Penedo

On 03/01/07, Erik de Castro Lopo [EMAIL PROTECTED] wrote:


When Pendo first mentioned apt-file I thought it was actually
able to find files in packages which weren't installed.
Unfortunately this is not the case.




From the apt-files package description:


 Unlike apt-cache, you can search in which package a file is included
or list the contents of a package without installing or fetching it.

So no, it has a completely different function from that of dpkg -S and is
actually much more useful, from my experience.

--P
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-02 Thread Erik de Castro Lopo
[EMAIL PROTECTED] wrote:

 On Wednesday 03 January 2007 09:18, [EMAIL PROTECTED] wrote:
   apt-file search fglrx_dri.so should get you the answer (I'm on Debian
   so can't give a direct answer).
 
  Holy shit! I've been using Debian for over 5 years and I didn't
  even know that the apt-file program existed.
 
 That is the same class of answer as RFM. Most of us can wry-smile but it's 
 unkind (and offensive) if the answer was well intentioned, totally 
 appropriate if it was dripping in sarcasm. So unless you know Pendo ...

Sorry, I *really* think that you got the wrong end of the stick
here.

I have been using Debian for over 5 years but had never come across
the apt-file command before and was genuinely greatful for Pendos
response.

Erik
-- 
+---+
  Erik de Castro Lopo
+---+
Fundamentalist : Someone who is colour blind and yet wants everyone
else to see the world with the same lack of colour.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-02 Thread Penedo

On 03/01/07, Erik de Castro Lopo [EMAIL PROTECTED] wrote:


Sorry, I *really* think that you got the wrong end of the stick
here.

I have been using Debian for over 5 years but had never come across
the apt-file command before and was genuinely greatful for Pendos
response.



No worries. Maybe I'm naive but that's the way I saw your reply too.

I too felt caught out of guard when someone taught me about seemingly
trivial things like fgrep -r which I wasn't aware about until a couple of
years ago, or was pointed to the manual page of iptables to discover
things like the owner and geoip modules which do just the sort of stuff
I was planning to do for ages.

Cheers,

--P
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-02 Thread Erik de Castro Lopo
Penedo wrote:

 On 03/01/07, Erik de Castro Lopo [EMAIL PROTECTED] wrote:
 
  Sorry, I *really* think that you got the wrong end of the stick
  here.
 
  I have been using Debian for over 5 years but had never come across
  the apt-file command before and was genuinely greatful for Pendos
  response.
 
 
 No worries. Maybe I'm naive but that's the way I saw your reply too.

Geez, this mailing list is amazing. You play one little joke on 
someone :

http://lists.slug.org.au/archives/slug/2005/09/msg00346.html

and no one ever trusts you again :-).

Cheers,
Erik

PS : Please note the smilie above :-)
-- 
+---+
  Erik de Castro Lopo
+---+
Neither noise nor information is predictable.
  -- Ray Kurzweil
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: apt-file (was Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper))

2007-01-02 Thread Robert Collins
On Wed, 2007-01-03 at 11:26 +1100, Steve Lindsay wrote:
 On 1/3/07, Robert Collins [EMAIL PROTECTED] wrote:
 
  You can also use 'dpkg -S fglrx_dri.so'
 
 
 'apt-file' lets you search through packages you haven't installed yet
 (but are in the relevant apt repositories). I think dpkg -S is only
 for installed packages?

Yah, apt-file pulls the index from the apt repository, which is usually
fairly accurate [it cannot be fully accurate as its unversioned and
files do move around] - I was thinking more for the immediate question
being answered though ;).

Rob
-- 
GPG key available at: http://www.robertcollins.net/keys.txt.


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-01 Thread Erik de Castro Lopo
Hi all,

I have a ATI Radeon X300 SE (RV370) on an x86 Dapper system.
According to the xrog.conf file I'm running the fglrx driver
from the linux-restrited-modules and I have the following X modules
selected:

Section Module
LoadGLcore
Loadbitmap
Loadddc
Loaddri
Loadextmod
Loadfreetype
Loadglx
Loadint10
Loadtype1
Loadvbe
Loaddbe
EndSection

The fglrxinfo says:

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

but glrxinfo says:

direct rendering: No

Anybody able to clue me in on what else I might need to do to get
direct rendering working?

Cheers,
Erik
-- 
+---+
  Erik de Castro Lopo
+---+
Or here's an even simpler indicator of how much C++ sucks: Print out
the C++ Public Review Document. Have someone hold it about three feet
above your head and then drop it. Thus you will be enlightened.
 -- Thant Tessman
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-01 Thread Dave Airlie


I have a ATI Radeon X300 SE (RV370) on an x86 Dapper system.
According to the xrog.conf file I'm running the fglrx driver
from the linux-restrited-modules and I have the following X modules
selected:


Apart from the stock answer of use the open source drivers :-)

You have a client side problem... either you don't have the ATI libGL 
installed, or you are picking up the wrong one.. LIBGL_DEBUG=all glxinfo 
might help..


Dave.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-01 Thread Erik de Castro Lopo
Dave Airlie wrote:

 Apart from the stock answer of use the open source drivers :-)

If the open source drivers (including OpenGL) work with that
card (Radeon X300 SE (RV370)) I'd be more than happy to use them.

When I first installed this machine over a year ago (Ubuntu Breezy),
the ATI drivers didn't even recognise this card.

 You have a client side problem... either you don't have the ATI libGL 
 installed, or you are picking up the wrong one.. LIBGL_DEBUG=all glxinfo 
 might help..

Actually, I found some more info. From Xorg.0.log :

drmOpenByBusid: drmGetBusid reports pci::01:00.0
(II) fglrx(0): [drm] DRM interface version 1.2
(II) fglrx(0): [drm] created fglrx driver at busid PCI:1:0:0
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xf8d5d000
(II) fglrx(0): [drm] mapped SAREA 0xf8d5d000 to 0xb6f92000
(II) fglrx(0): [drm] framebuffer handle = 0xec00
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(EE) fglrx(0): Hardware already been locked. 
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xf8d5d000 at 0xb6f92000
(WW) fglrx(0): ***
(WW) fglrx(0): * DRI initialization failed!  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available*
(WW) fglrx(0): * *

I'm running a stock Ubuntu Dapper kernel linux-image-2.6.15-27-686 but there 
doesn't seem to be a corresponding  linux-restricted-modules-2.6.15-27-686.
Instead I have a 2.6.15-22-686 and 2.6.15-23-686.

Erik
-- 
+---+
  Erik de Castro Lopo
+---+
That being done, all you have to do next is call free() slightly 
less often than malloc(). You may want to examine the Solaris 
system libraries for a particularly ambitious implementation of 
this technique.
-- Eric O'Dell (comp.lang.dylan)
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-01 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

 Dave Airlie wrote:
 
  Apart from the stock answer of use the open source drivers :-)
 
 If the open source drivers (including OpenGL) work with that
 card (Radeon X300 SE (RV370)) I'd be more than happy to use them.

Unfortunately I'm out of luck. Dapper runs Xorg 7.0 which according
to this:

   http://xorg.freedesktop.org/releases/X11R7.0/doc/html/radeon.4.html

for my card:

RV370
Radeon X300, M22 (2d only)

Seems to suggest that only 2D is working. At least in theory, the
crappy binary only drivers are supposed to do 3D on this card.

Erik
-- 
+---+
  Erik de Castro Lopo
+---+
C++ is a siren song. It *looks* like a HLL in which you ought 
to be able to write an application, but it really isn't.
-- Alain Picard (comp.lang.lisp)
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-01 Thread Jeff Waugh
quote who=Erik de Castro Lopo

 (WW) fglrx(0): ***
 (WW) fglrx(0): * DRI initialization failed!  *
 (WW) fglrx(0): * (maybe driver kernel module missing or bad) *
 (WW) fglrx(0): * 2D acceleraton available (MMIO) *
 (WW) fglrx(0): * no 3D acceleration available*
 (WW) fglrx(0): * *

This suggests to me that you have the Free kernel driver (radeon) loaded
already, which the non-Free X driver can't talk to. Perhaps pop 'fglrx' in
/etc/modules to make sure it's loaded.

- Jeff

-- 
Open CeBIT 2007: Sydney, Australia  http://www.opencebit.com.au/
 
Ever had a morning where you were not kissed and told 'I love you,'
   when the night before you SCREWED so wildly that you could not
remember? GOOD MORNING - Andre Hedrick, Linux ATA Dude
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-01 Thread Erik de Castro Lopo
Jeff Waugh wrote:

 This suggests to me that you have the Free kernel driver (radeon) loaded
 already, which the non-Free X driver can't talk to. Perhaps pop 'fglrx' in
 /etc/modules to make sure it's loaded.

Ok, that might have been caused by me modprobing the radeon module.

So, I just stopped X, unloaded the radeon module, and then restarted X
and direct rendering is still not working.

However, while there is an fglrx entry in /etc/modules, 
lsmod | grep fgl tells me its not installed. There is also now fglrx 
module in /lib/modules/2.6.17-27-686/ but there is a file named 
/lib/modules/fglrx/fglrx.ko, but modprobe doesn't seen to find it and
attempting to insmod it results in:

insmod /lib/modules/fglrx/fglrx.ko 
insmod: error inserting '/lib/modules/fglrx/fglrx.ko': 
  -1 Invalid module format

So, the questions I have are:

   0) Should there be a fglrx module in /lib/modules/2.6.17-27-686/ ?
   1) Should modprobe and/or /etc/modules be looking in /lib/modules/ ?
   2) Should I have a package named linux-restricted-modules-2.6.15-27-686?

Erik
-- 
+---+
  Erik de Castro Lopo
+---+
life is too long to know C++ well -- Erik Naggum
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-01 Thread Jeff Waugh
quote who=Erik de Castro Lopo

 0) Should there be a fglrx module in /lib/modules/2.6.17-27-686/ ?

More like: /lib/modules/2.6.20-2-generic/volatile/fglrx.ko (modulo version)

 1) Should modprobe and/or /etc/modules be looking in /lib/modules/ ?

You shouldn't need to do it manually, and really shouldn't strictly need it
in /etc/modules. X will prompt the module loading mechanisms for it when it
needs it. (The complication earlier was due to your manual load of the Free
radeon driver.)

 2) Should I have a package named linux-restricted-modules-2.6.15-27-686?

Yes, that contains the bits necessary to link fglrx.ko. You should also have
the xorg-driver-fglrx package (seems like you probably already do).

- Jeff

-- 
Open CeBIT 2007: Sydney, Australia  http://www.opencebit.com.au/
 
  No pants is good pants.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-01 Thread Erik de Castro Lopo
Jeff Waugh wrote:


Thanks Jeff for your patience (and damn ATI to the deepest pits of hell
for their stupid fscking binary drivers).

 quote who=Erik de Castro Lopo
 
  0) Should there be a fglrx module in /lib/modules/2.6.17-27-686/ ?
 
 More like: /lib/modules/2.6.20-2-generic/volatile/fglrx.ko (modulo version)

Yep, nothing named flg* under /lib/modules/`uname -r`

  2) Should I have a package named linux-restricted-modules-2.6.15-27-686?
 
 Yes, that contains the bits necessary to link fglrx.ko. You should also have
 the xorg-driver-fglrx package (seems like you probably already do).

For some reason, my local Ubuntu mirror doesn't have this package. I 
managed to track one down and install it. Now on reboot I do have an
flgrx module that gets loaded automatically, but still no direct 
rendering :-(. lsmod says:

  lsmod | grep fgl
 fglrx 391756  8 
 agpgart36784  2 fglrx,intel_agp

In Xorg.0.log I find:

(II) LoadModule: GLcore
(II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
dlopen: /usr/lib/xorg/modules/extensions/libGLcore.so: undefined symbol: 
__glXLastContext
(EE) Failed to load /usr/lib/xorg/modules/extensions/libGLcore.so
(II) UnloadModule: GLcore

which according this this :

https://bugs.launchpad.net/distros/ubuntu/+bug/3

is benign (although I should remove GLcore from the Modules section of
/etc/X11/xorg.conf).

I also have this which may or may not mean anything:

(WW) fglrx(0): Specified desktop setup not supported: 8

I searched the Ubuntu forums (damn I hate web based forums) but everything
there seemed to be at least a year old and highly unlikely to be relevant
to Dapper.

Erik
-- 
+---+
  Erik de Castro Lopo
+---+
XML is not a language in the sense of a programming language any
more than sketches on a napkin are a language. -- Charles Simonyi
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-01 Thread Peter Hardy

Erik de Castro Lopo wrote:

In Xorg.0.log I find:

(II) LoadModule: GLcore
(II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
dlopen: /usr/lib/xorg/modules/extensions/libGLcore.so: undefined symbol: 
__glXLastContext
(EE) Failed to load /usr/lib/xorg/modules/extensions/libGLcore.so
(II) UnloadModule: GLcore

which according this this :

https://bugs.launchpad.net/distros/ubuntu/+bug/3

is benign (although I should remove GLcore from the Modules section of
/etc/X11/xorg.conf).

I also have this which may or may not mean anything:

(WW) fglrx(0): Specified desktop setup not supported: 8

I searched the Ubuntu forums (damn I hate web based forums) but everything
there seemed to be at least a year old and highly unlikely to be relevant
to Dapper.


I've been keeping out of this one so far, because my ubuntu machine with 
an ATI card in it is nowhere near an internet connection. But it's worth 
checking your default colour depth, as well as the fglrx docs to see 
what it supports. I'm fairly sure 16 bit doesn't work, and 32 might have 
problems as well. I generally use 24 bit colour.


--
Pete
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OpenGL on ATI Radeon (Ubuntu Dapper)

2007-01-01 Thread Dave Airlie

 lsmod | grep fgl
fglrx 391756  8
agpgart36784  2 fglrx,intel_agp

In Xorg.0.log I find:

   (II) LoadModule: GLcore
   (II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
   dlopen: /usr/lib/xorg/modules/extensions/libGLcore.so: undefined symbol: 
__glXLastContext
   (EE) Failed to load /usr/lib/xorg/modules/extensions/libGLcore.so
   (II) UnloadModule: GLcore


can you send me the full Xorg.0.log, if the Xorg log says you have direct 
rendering you have a client side problem, which LIBGL_DEBUG=all may help..


Dave.

--
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html