Trouble with openGL

Requests for assistance and other HOWTOs.

Moderator: Board moderators

drwhat
One hit wonder
Posts: 1
Joined: Fri Mar 05, 2010 8:41 am

Trouble with openGL

Post by drwhat »

I recently started playing crossfire. I had dl'd and installed the windows gtk 1.12 client and installed gtk 2.19.9. When first playing the redrawing was horrible, but in game.. I found that configuring the client to these settings worked well:

CacheImages
Download All Images from Server at connectin time
OpenGL
BestPerPixel

and I turned off Enable Smoothing.

Anyway yesterday got infected with one of those Antispyware virus clones. Since it had been nearly 2 years since I reinstalled xp.. i decided to just start fresh. I have now reinstalled my machine and updated all my drivers and updates from microsoft. After reinstalling crossfire with the above settings the client downloads the bitmaps as normal then just hangs.

When I change to SDL or pixmap it has to redownload bitmaps but it works fine.. i can log in and play.. but its fairly unplayable from how slow it redraws. Any suggestions on what I might have had before that made it work? From what I understand of OpenGL its part of windows so I shoudln't need to install anyting there.

Tony
blackrazor
Luser
Posts: 15
Joined: Sat Feb 13, 2010 4:41 pm

Post by blackrazor »

OpenGL support is often graphic card specific; make sure you have the latest graphic card drivers.

Go to the website of your graphic card manufacturer, or if integrated graphics, then motherboard manufacturer. They usually have a support or download section where you can get what you need.
dnh
Newbie
Posts: 5
Joined: Thu Jun 12, 2003 5:17 pm

Post by dnh »

Thread Necro.

I have exactly the same problem now except I never had the client working with opengl in the past on this computer :(.

Using the current website version: GTK V2 Win32 Client 1.60.0.dev-r (using v1-redux.glade)
Using windows 7 x64 (could this be the problem?), latest service packs
gtx680, latest nvidia drivers

I can only select PixMap, and it literally manages 1-4 fps (bleh).
opengl does not appear in the drop down list.
It also hangs if I turn on download images reliably at around 5301 / xxxx images with a sequence of error messages that finishes with:

Gdk-CRITICAL **: gdk_draw_point: assertion 'GDK_IS_DRAWABLE (drawable)' failed
Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion 'GDK_IS_DRAWABLE (drawable)' failed
Gdk-CRITICAL **: gdk_drawable_get_screen: assertion 'GDK_IS_DRAWABLE (drawable)' failed

Right before I have to force close it.

Happy to provide more information or run any tests to try and work out what is happening.
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post by Leaf »

I could not find a way to measure Frames Per Second (tried using FRAPS - is there something else/better to use?) with the client. In my installation, it was certainly faster then the FPS you encountered.

For me, performance had no noticeable difference between the GTKv2 on Windows client and the client running on Xubuntu Linux.

I did test both clients with a LAN server, since I'm not able to access a public server from this network.


Background:
Windows 7 Pro, 64bit on VMware fusion

Display Mode: Pixmap
SDL Lighting Options: Per Tile
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Post Reply