project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - p_michalczyk

Pages: [1]
1
Linux / UFO:AI very slow on Intel915
« on: June 23, 2010, 10:41:27 am »
Hello,

I've compiled UFO:AI 2.3 from source without issues.

I try to run it on Intel 915GM graphic card, but it shows very poor performance (refreshing is extremely slow). I cannot get past 'loading' screen because it takes several minutes to finish. CPU usage during this long 'loading' goes to 100%. Logging to console stops on:
Code: [Select]
Shared Client/Server Info loaded
... 99 items parsed
... 32 damage types parsed
... 80 map definitions parsed
... 29 equipment definitions parsed
... 10 inventory definitions parsed
... 20 team definitions parsed
executing keys.cfg
music change to van_theme (from PsymongN3)
s_language has no value

My card supports direct rendering - this is info from glxinfo:
Code: [Select]
direct rendering: Yes
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 915GM GEM 20090326 2009Q1 RC2 x86/MMX/SSE2
OpenGL version string: 1.4 Mesa 7.4

At the same time other OpenGL applications work smooth (including glxgears).

I tried changing AccelModel in xorg.conf from 'EAX' to 'UAX' and also "greedy" setting. I moved beetween different versions of 'intel' driver with no results. I used 'driconf' to set appropriate options as mentioned on this site - still no results.

At this point I'm starting to think that it is not hardware/driver problem but rather some in-game software settings. I tried to 'strace' running process, but all I get is many 'ioctl' calls involving /dev/dri/card0

I would like to debug this problem and get to know what is its source. Unfortunately I have insufficient knowledge in this topic, so somebody plese guide me.

Pages: [1]