The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: scaryfish on August 19, 2004, 02:26:01 pm



Title: OpenGL on a mac
Post by: scaryfish on August 19, 2004, 02:26:01 pm
Hi

I recently started playing uqm again after a bit of a break, but was disappointed to notice that it runs really slow and jerky.  I've got an iBook (900 MHz, 384 megs of ram, ATI Radeon 7500 mobility graphics card) and it should run better than that - in fact I remembered that I'd had it playing smoothly before.

I tried updating from 0.3 to the 0.32 CVS build, but no luck.  I tried removing the remix sound addons, and even the standard sounds but no luck.  It only ran slightly smoothly if I quit every other open program and launched in fullscreen at 320x240.

I then tried unchecking the "use OpenGL" box, and it works much better.  At 640x480, with high quality sound, it's perfectly smooth.  

Can anyone tell me why using OpenGL is actually slower?  And what difference does it make in terms of the game?  Thanks.


Title: Re: OpenGL on a mac
Post by: meep-eep on August 19, 2004, 05:46:39 pm
If your graphics card doesn't have its own OpenGL driver, you're probably using a software OpenGL. That would explain the speed.
What OS are you running? MacOS X?

The only advantage of using the OpenGL mode is that it can scale the game for you to various resolutions, while without OpenGL, you're stuck with just a few.



Title: Re: OpenGL on a mac
Post by: Zeep-Eeep on August 19, 2004, 05:49:28 pm
I find the same issue in many of my Linux programs. For some reason
the openGL library seems to really slow the graphics. I assume this is
a fault of either my video card or my driver for said card.


Title: Re: OpenGL on a mac
Post by: Nic on August 19, 2004, 09:15:31 pm
For the record, OpenGL on iBooks running OSX is always hardware-accelerated.  At least, it should be.

Your iBook is better than mine (600MHz G3 iBook, 256MB RAM) and OpenGL mode works just dandy for me; but the game in general takes alot of resources to run compared to what I can provide; I typically run in 640x480 without any scaling and with medium-quality audio, anything more and my machine gets grumpy.

But I'll assume that if it merits comment on a forum, it must be "really bad" otherwise you probably would not mention it in the first place.  Have you tried turning on "Show Frames Per Second" in the content tab and checking the results in /tmp/uqm.out?  I'm curious as to how badly it's bogging down on you.


Title: Re: OpenGL on a mac
Post by: scaryfish on August 20, 2004, 02:21:59 am
For the record, I'm running OS X 10.3.5
Using the default settings (640x480, 16 bit, medium sound quality, using OpenGL) with the remix sound packs, I get frames/sec: 242/131(msec)=184.732824

There is a line in the uqm.out saying OpenGL renderer: ATI Radeon 7500 OpenGL Engine version: 1.3 ATI-1.3.28
This kind of looks to me like it is using the right renderer..  

Anyway, thanks for the help.