project-navigation
Personal tools

Author Topic: Intel Mobile Graphics Card Problem  (Read 12153 times)

Offline BAM

  • Rookie
  • ***
  • Posts: 79
    • View Profile
Intel Mobile Graphics Card Problem
« on: May 09, 2008, 03:26:05 am »
I have an Intel 945GM mobile graphics card and UFO:AI won't run on Linux. If I download the Windows version and run it with Wine, it runs but very slowly. Any ideas how to run natively? I have openSuSE 10.3 x86_64 (64-bit) and I ran the current version with Wine 9.59.
« Last Edit: May 09, 2008, 03:27:36 am by BAM »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Intel Mobile Graphics Card Problem
« Reply #1 on: May 11, 2008, 02:01:53 pm »
we need more info please - what's the problem with the native version?

Offline BAM

  • Rookie
  • ***
  • Posts: 79
    • View Profile
Re: Intel Mobile Graphics Card Problem
« Reply #2 on: May 11, 2008, 09:13:47 pm »
It won't even load the console; the KDE loading icon bounces beside the cursor but nothing happens. It also will not run on a desktop computer with an Intel card using i845 drivers. I will look for the log files within half an hour of this post; have to switch OSs.

Here is my system config:
- Intel Core 2 Duo T5500
- Intel 945GM Mobile Graphics, i810 driver
- 2GB RAM
- Fast hard disk

2nd System:
- Intel Celeron (generation unknown)
- Intel Onboard Graphics (unknown model), i845 driver
- 768MB RAM
- Slow hard disks (2, Master/Slave configuration)

Logs (will be added soon):

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Intel Mobile Graphics Card Problem
« Reply #3 on: May 11, 2008, 09:24:35 pm »
don't start it via the icon in your menu, but from console - report the output you get in the console here

Offline BAM

  • Rookie
  • ***
  • Posts: 79
    • View Profile
Re: Intel Mobile Graphics Card Problem
« Reply #4 on: May 11, 2008, 09:43:34 pm »
Here's the console output on both systems:

./ufo: error while loading shared libraries: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory

Some extra info: the laptop has the 64 bit system, the desktop with the i845 driver is 32 bit.
« Last Edit: May 11, 2008, 09:47:05 pm by BAM »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Intel Mobile Graphics Card Problem
« Reply #5 on: May 12, 2008, 07:39:19 am »
i suggest the installation of libcurl

Offline BAM

  • Rookie
  • ***
  • Posts: 79
    • View Profile
Re: Intel Mobile Graphics Card Problem
« Reply #6 on: May 12, 2008, 10:28:42 pm »
I already have all libcurls installed, but there is no "liburl-gnutls". I also have all gnutls packages installed. Both the 64bit and 32bit packages installed, as well as their source codes.

Offline BAM

  • Rookie
  • ***
  • Posts: 79
    • View Profile
Re: Intel Mobile Graphics Card Problem
« Reply #7 on: May 13, 2008, 12:04:59 am »
Hmm... I have made a symlink to libcurl.so.4 named libcurl-gnutls.so.4 and it now gives me this message:

./ufo: error while loading shared libraries: libSDL_ttf-2.0.so.0: cannot open shared object file: No such file or directory

Must not be very compatible with my system.
« Last Edit: May 13, 2008, 02:37:37 am by BAM »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Intel Mobile Graphics Card Problem
« Reply #8 on: May 13, 2008, 09:24:34 am »
did you try to install libsdl-ttf?

Offline BAM

  • Rookie
  • ***
  • Posts: 79
    • View Profile
Re: Intel Mobile Graphics Card Problem
« Reply #9 on: May 13, 2008, 01:07:44 pm »
Yes, but it did not come with any -gnutls files.
« Last Edit: May 13, 2008, 01:14:06 pm by BAM »

Reenen

  • Guest
Re: Intel Mobile Graphics Card Problem
« Reply #10 on: June 08, 2008, 12:55:11 pm »
I suggest not running through wine...

I also had a downloaded version of the Win32 version... then I downloaded the source, and compiled the engine.  If you already have the compiled maps (through the Win version) then "make maps" doesn't take too long.

http://ufoai.ninex.info/wiki/index.php/Debian for debian installation...
http://ufoai.ninex.info/wiki/index.php/Suse for your steps... but you must then just ignore the whole svn part... Just get the sources : http://sourceforge.net/project/downloading.php?group_id=157793&use_mirror=heanet&filename=ufoai-2.2.1-source.tar.bz2&59574756

Also ensure you have all these packages installed (from the Suse wiki part):     
Use YaST to install:
    * gcc
    * make
    * m4
    * subversion
    * SDL-Devel
    * SDL_ttf
    * libvorbis-devel
    * libjpeg-devel
    * libpng-devel
    * libcurl-devel
    * gettext-devel 

All of them is not too big (not more than 5mb)

Then just do the last part:

./configure
make
make lang
make maps (which should take 0 time if you've got the win version in you "base" folder)

./ufo

And off you go! :-)







Offline BAM

  • Rookie
  • ***
  • Posts: 79
    • View Profile
Re: Intel Mobile Graphics Card Problem
« Reply #11 on: June 08, 2008, 10:16:32 pm »
Looks promising, although I won't be able to test until July. I'll post the results then.
Thanks!

Offline BAM

  • Rookie
  • ***
  • Posts: 79
    • View Profile
Re: Intel Mobile Graphics Card Problem
« Reply #12 on: June 27, 2008, 03:23:26 am »
Sorry, sold that computer... on my new one, though, I found that installing from source makes it work better.