Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2004:
[Freeciv-Dev] Re: OpenGL
Home

[Freeciv-Dev] Re: OpenGL

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Raimar Falke <i-freeciv-lists@xxxxxxxxxxxxx>
Cc: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: OpenGL
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Tue, 3 Feb 2004 17:52:47 +0000 (WET)

On Tue, 3 Feb 2004, Raimar Falke wrote:

> Looks like I have no luck. First running my OpenGL program crashed
> randomly two times my X server. No other program "achieved" this so
> far. Than I search long times why the output doesn't look like it
> should. It turns out that the OpenGL implementation I used created the
> wrong results. Compare
> http://freeciv.org/~rfalke/fs6_pics/opengl-correct.png with
> http://freeciv.org/~rfalke/fs6_pics/opengl-wrong.png.

You sure they are the wrong results? This is a 3D API with optional lighting
and shading. From the looks of the second image, it looks like you turned
lighting on. Try only setting the ambient light color component for the
text.

The line also seems to be there, at least I note that the small 'a' and
'm' seem to be slashed in the right places. It is just the color which is
all wrong, compared to what you want.

> So can someone confirm that one of the following components is buggy
> (should all come from XFree86)?
>
>   server glx vendor string: SGI
>   server glx version string: 1.2
>
>   client glx vendor string: NVIDIA Corporation
>   client glx version string: 1.3

I don't think you will manage to use NVIDIA 3D DRI hardware drivers on an
ATI graphics card. You should download 3D ATI drivers either from the ATI
website or from http://dri.sf.net . I do not know which will be best for
you.

>   OpenGL vendor string: Mesa project: www.mesa3d.org
>   OpenGL renderer string: Mesa GLX Indirect
>   OpenGL version string: 1.3 Mesa 4.0.4
>
> Does anybody has an advice what OpenGL implementation should be used
> for a "ATI Radeon 9200 SE" card in compination with XFree86 4.3?
>
> For now I'm using MESA. Does anybody has an numbers on performance to
> share?

I suspect Mesa is falling back to a software 3D rendering mode since you
have the wrong 3D hardware driver installed. Hence the "Mesa GLX Indirect"
string.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa





[Prev in Thread] Current Thread [Next in Thread]