It should be the same version on Intel as on PPC. The Intel installed copy is just universal, while the PPC installed copy is PPC only. I don't want to have to mess with OpenGL - Apple's X11 build of OpenGL taps into the system OpenGL framework (at least it's in the lib dependencies from otool -L), so it could be tricky.
(Note: I haven't had a chance to test the universal build on PPC yet. I'll try to remember Monday.)
I'll look into finding some OpenGL test programs to try. Try to be more sure if it's and OpenGL or Apple problem, or PPC vs Intel, or something I'm doing wrong. Also, I'll look at the Togl demos, since this is a new version of Togl.
On Jul 2, 2006, at 2:46 PM, Michael Barton via RT wrote:
Should people using Intel Macs install a different version of OpenGL?
Michael
-----
William Kyngesburye <kyngchaos@kyngchaos.com>
http://www.kyngchaos.com/
"This is a question about the past, is it? ... How can I tell that the past isn't a fiction designed to account for the discrepancy between my immediate physical sensations and my state of mind?"
- The Ruler of the Universe
Also, I'll look at the Togl demos, since this is a new version of Togl.
Togl built separately for OSX X11 - demos work, within limits.
double, gears and texture demos work. stereo, index and overlay demos do not. According to the Togl docs, stereo and overlay features of Togl require hardware support for them, on higher-end graphics cards (and not even 'gaming' cards). I'm running this on a MacBook, with the Intel GMA 950 integrated graphics. Maybe not up-to-snuff. Does NVIZ use any of these features of Togl?
The Togl docs don't say anything about the index demo, but it fails with the same BadWindow/invalid window parameter error of the stereo demo, so it might be a similar hardware feature.
Note: I haven't had a chance to test the universal build on PPC yet. I'll try to remember Monday.
I have the same errors starting NVIZ on a PPC Mac (Tiger).
-----
William Kyngesburye <kyngchaos@kyngchaos.com>
http://www.kyngchaos.com/
All generalizations are dangerous, even this one.
I've tried a couple things, and I can think of 2 possibilities:
- since togl demos work, possibly there is something wrong with the window NVIZ is trying to setup. I tried removing the togl glXQueryExtension test to force it to assume that glX is OK - it got further, but failed later when X11 wanted to test that on its own:
0 libX11.6.dylib 0x9b4bdfa1 XQueryExtension + 24
1 libX11.6.dylib 0x9b4b4fb1 XInitExtension + 47
2 libXext.6.dylib 0x9b49aec9 XextAddDisplay + 64
3 libGL.1.dylib 0x9b5b9c2a __glXFindDisplay + 116
4 libGL.1.dylib 0x9b5ba304 __glXInitialize + 25
5 libGL.1.dylib 0x9b5b6b23 GetGLXPrivScreenConfig + 27
6 libGL.1.dylib 0x9b5b78a9 glXChooseVisual + 38
7 nviz 0x00011a31 Togl_CreateWindow + 1070
I also tried linking in my test installed togl, instead of using the included togl in the nviz source - same errors.
- There is something wrong with glX in Apple's X11 that only shows up (so far) with NVIZ. I need to find some OpenGL demos that use glX, next.
-----
William Kyngesburye <kyngchaos@kyngchaos.com>
http://www.kyngchaos.com/
"History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history."
- Hitchhiker's Guide to the Galaxy
William Kyngesburye wrote:
> Also, I'll look at the Togl demos, since this is a new version of
> Togl.
Togl built separately for OSX X11 - demos work, within limits.
double, gears and texture demos work. stereo, index and overlay
demos do not. According to the Togl docs, stereo and overlay
features of Togl require hardware support for them, on higher-end
graphics cards (and not even 'gaming' cards). I'm running this on a
MacBook, with the Intel GMA 950 integrated graphics. Maybe not up-to-
snuff. Does NVIZ use any of these features of Togl?
No.
The Togl docs don't say anything about the index demo, but it fails
with the same BadWindow/invalid window parameter error of the stereo
demo, so it might be a similar hardware feature.
In this context, "index" refers to indexed-colour modes, i.e. those
where pixel values are indices into a palette, as opposed to
"true-colour" modes where pixels are split into red/green/blue fields.
The index demo will only work if your display is in an indexed-colour
mode. AFAIK, NVIZ won't work in such modes; it requires true-colour.
--
Glynn Clements <glynn@gclements.plus.com>
William Kyngesburye wrote:
- There is something wrong with glX in Apple's X11 that only shows up
(so far) with NVIZ. I need to find some OpenGL demos that use glX,
next.
NVIZ typically links against a /lot/ of libraries; far more than a
typical OpenGL demonstration. The more libraries which a program uses,
the more chance that one of them will cause a problem.
If you have multiple libraries with the same name, it's possible that
the choice of which one is linked in will depend upon which other
libraries a program uses.
One thing to try: build NVIZ, copy the link command from the "make"
output, then use a similar command (with the same set of -L/-l/etc
switches) to build your test program. That will determine whether the
libraries which are being used are having an effect.
--
Glynn Clements <glynn@gclements.plus.com>