OpenGL render gives me one frame per second

  • Thread starter Thread starter Unregistered
  • Start date Start date
U

Unregistered

Guest
I'm trying to play Standoff through Wine, and as with Prophecy I'm getting amazingly bad performance from the OpenGL renderer - about one frame per second. This isn't just during the missions and movies, it's also on the ship between missions... I got rid of the increased viewing distances and set anisotropic and FSAA to 0 (and the lack of antialiasing is visible), and there's no improvement in performance whatsoever. It's as if everything is being done through software; which, I get the impression, is exactly what is going on.

Does anyone know how to fix this? Is this a Wine config problem, where I have to put in a new registry key or something?
 
Would help if you could give us some info on your system, specifically, video card. On some nVidia cards and driver versions changing the "quality vs performance" setting on the drivers will fix that. IIRC, putting it on the fastest setting is what will break Standoff.
 
Video hardware is Intel 945GM. Nothing fabulous, but it should be quite enough for Prophecy and Secret Ops, and presumably Standoff.
 
It's not necessarily a matter of being "powerful enough," although running in an emulated environment can increase requirements by a factor of ten or more. Something like an Intel motherboard video adapater is more likely to present compatibility issues. I would see if it's possible to continue to tweak any graphics settings like FSAA as well as any DirectX video hardware options.
 
Linux + opengl + wine.

In this case it is quite likely to be the Intel GMA hardware. if you type glxinfo | grep direct what does it display? you need to have direct rendering = yes to even think about loading up and playing it. If direct rendering = no then you need to setup dri and hardware accelerated opengl on your system.
 
I have direct rendering, it looks like this is a compatibility issue.

I do know that Intel GMA rubbish is extremely bad at antialiasing (even worse than Unichrome), but seeing as AA is turned completely off, it is hard to imagine what causes this performance loss...
 
I should mention - the Windows version of Flight Commander gives similarly pathetic performance in Wine, so this may be a Wine bug with OpenGL applications.
 
Can't speak for flight commander but standoff runs really fast on my system in opengl mode. I'm running an nvidia 8800gts 320mb. As I was saying it's probably the intel GMA. Wine runs the game fine. I know for a fact (from discussions with the wine developers) that wine struggles to do things on ati cards that it does on nvidia cards because the ati cards lack the opengl features in their drivers. Intel gma cards are probably the same. We had Intel GMA cards at tafe. They struggled to run stuff like quake 3. QUAKE 3! a game that ran on a p2 333 with an nvidia tnt2 way back in 1999. This is on reasonably modern p4 cpus well above the specs for wing commander secret ops. I'd look to blame the opengl implementation on your video card first. might be good to ask in #opengl on freenode about your graphics card. Give them a dump of your glxinfo too they can probably figure out why opengl is so slow.
 
Thanks...

What's weird about this is that OpenGL is only slow in Wine though. GL stuff compiled for Linux, e.g. Sauerbraten and Vega Strike, runs plenty fast. The more I think about it the more I think the problem is with Wine.
 
Okay, I'm trying a different tack... Based on advice for increasing performance in WoW - which also uses OpenGL - I created HKEY_CURRENT_USER\Software\Wine\OpenGL, and put in GL_ARB_vertex_buffer_object for DisabledExtensions. Hopefully that will help.
 
Update: it's not a matter of video card power, Freespace 2 runs fine in Wine in OpenGL mode. I think this may be a bug in the OpenGL patch.
 
The OpenGL patch has to use the original interface, designed for pre hardware T&L cards, which sends one poly at a time. Freespace 2, if written even slightly efficently, would send hundreds at a time hence the number of hardware level function calls wine has to redirect will be significantly lower.
We'll look at including a test version of the dll with episode 5 which batches the geometry specifically for wine users.
 
I should mention - the Windows version of Flight Commander gives similarly pathetic performance in Wine, so this may be a Wine bug with OpenGL applications.

Flight Commander uses display lists instead of sending each triangle. If the performance of Flight Commander and Standoff is similar, I would guess it points to a driver or Wine issue, not a standoff problem.
 
Back
Top