Game Development Community

TGE demo running on a E-Box.

by Frank Haymes · in Technical Issues · 08/03/2008 (12:52 pm) · 8 replies

I installed the latest TGE demo on my E-Box runing Ubuntu.

The demo installed ok.

It runs slowly and bogs down the mouse for the whole desktop.

The E-Box has a 1ghz VIA processor and an VIA video system.

Is this the reasion that the demo is running slow?

Frank G. Haymes

#1
08/03/2008 (1:48 pm)
I've never seen TGE run on an e-Box. Do you see anything suspicious in the console (~)? Have you tried running it full-screen?
#2
08/03/2008 (2:11 pm)
@Frank: Double check that you are using OpenGL and not the Software Renderer. I noticed in one of my previous Linux demos that the system started up in Software Renderer by default. After I changed it to OpenGL the system was much quicker ... for obvious reasons.

Check the Options (Ctrl-O) or edit the prefs.cs or clear prefs.cs and edit defaults.cs in the client folder.

EDIT: Whoops ... I meant Software Renderer and not D3D.
#3
08/03/2008 (2:47 pm)
Linux doesn't even have D3D, so why should it even try anything but OpenGL? What *actually* happens if any config files are set to anything but OpenGL?
#4
08/03/2008 (3:31 pm)
Quinton.

It is set to OpenGL.

David,

From the console.
Here is the info on the OpenGL driver.

Vender: Mesa project: www.mesa3d.org
Renderer: Mesa GLX indrect
Version: 1.4(2.1 Mesa 7.0.1)

OpenGL Init: Enabled Extenstions
(everything ok?)

OpenGL Init: Disable Extensions
(a list of diabled extensions)

then
error setting gamma correction

OpenAL installs

It can not locate the ui textures.

I hope this helps.

Frank G. Haymes
#5
08/03/2008 (10:25 pm)
@Ronny: As far as I know that if the system can't detect the correct driver it reverts down to a Software Renderer. If you set the Linux game to use D3D via prefs.cs the system actually drops out to Software Rendering mode and is extremely slow.

I had the revers on one of my Windows machines ... it was trying to use OpenGL instead of D3D and the OpenGL support for my card was not the best ... as soon as I switched to D3D the system started responding properly again.


@David: What are your machine's complete specs? Sorry, I am not familiar with e-Boxes (I run OpenSUSE 11 on normal desktops).

What Demo are you running? Stronghold? Other?


From what you have said already, it appears that this system may be running its GFX off shared memory and that can be a problem if you only have 1 GB of Ram or less. Most shared GFX cards are set to only use 64MB or 96MB of shared memory by default.


Try setting some of your GFX down to lower settings and rule out the GFX load as a problem. (i.e. If it still runs laggy even under low GFX mode then it could be something else that is wrong).

If you tell me what version of the demo you are running, I can install it on my Linux Laptop and we can compare console logs and stuff.
#6
08/04/2008 (10:09 am)
Quote:Vender: Mesa project: www.mesa3d.org
Renderer: Mesa GLX indrect
Version: 1.4(2.1 Mesa 7.0.1)

Everything not ok. That's the software opengl implementation, you need to install drivers for your card.

Quote:VIA video system

A quick bit of googling indicates you may be onto a loser here. Via have a history of basically not doing much for linux, until just a few weeks ago when they released a framebuffer driver.

Gary (-;
#7
08/04/2008 (1:21 pm)
A developer I know has done much work with Via chipsets. He has a six-letter word which perfectly describes an owner of such a chipset, but isn't fit for print.

I guess that E-Box is some sort of mini-ITX? There isn't much hope for the graphics in that case. Even a "shader model zero" Intel integrated GPU is going to perform better (it flies on a Mac Mini).
#8
08/04/2008 (4:15 pm)
That's what I thought.

When I looked at the E-Box, I knew that the graphics are not that good.

I am going to be using the E-Box for an inbedded project, not trying to use it as an TGE IG.

Thanks, All.