ATI OpenGL error MOHAA

Need help with one of the installers?
Locked
tausche

ATI OpenGL error MOHAA

Post by tausche » Fri Aug 18, 2006 10:19

Hi,

I've installed MOHAA per liflg-installer (german version), everything worked fine, but when i start the game typing "mohaa", i get the following error:

tausche@ubox:~$ mohaa
--- Common Initialization ---
Medal of Honor Allied Assault 1.11 linux-i386 Sep 3 2004
----- FS_Startup -----
Current search path:
/home/tausche/.mohaa/main
/home/tausche/mohaa/main
/home/tausche/mohaa/main/pak7de.pk3 (102 files)
/home/tausche/mohaa/main/pak6de.pk3 (624 files)
/home/tausche/mohaa/main/pak5.pk3 (259 files)
/home/tausche/mohaa/main/pak4.pk3 (593 files)
/home/tausche/mohaa/main/pak3.pk3 (669 files)
/home/tausche/mohaa/main/pak2.pk3 (4584 files)
/home/tausche/mohaa/main/pak1.pk3 (396 files)
/home/tausche/mohaa/main/pak0.pk3 (11174 files)
/media/cdrom0/main

----------------------
18401 files in pk3 files
execing default.cfg
execing menu.cfg
couldn't exec newconfig.cfg
Config: unnamedsoldier.cfg
STUB: wtf in unix/linux_general_extras.c line 95.
STUB: wtf in unix/linux_general_extras.c line 101.
couldn't exec configs/unnamedsoldier.cfg
couldn't exec localized.cfg
execing autoexec.cfg
Unknown command "fov"
couldn't exec custom.cfg
You are now setup for easy mode.
----- Client Initialization -----
Called FadeSound with: 0.000000
----- Initializing Renderer ----
----- R_Init -----
...loading libGL.so: SDL: SDL_GL_LoadLibrary() failed! rc == (-1).
SDL_GetError() reports "Could not load OpenGL library".
failed
...loading libMesaVoodooGL.so.3.1: SDL: SDL_GL_LoadLibrary() failed! rc == (-1).SDL_GetError() reports "Could not load OpenGL library".
failed
ASSERT: [qcommon/common.c:406] GLimp_Init() - could not load OpenGL subsystem
(fyi)
----- CL_Shutdown -----
-----------------------
Error: GLimp_Init() - could not load OpenGL subsystem

tausche@ubox:~$ glxinfo | grep rend
direct rendering: Yes
GLX_ATI_render_texture
OpenGL renderer string: MOBILITY RADEON 9700 Generic

I've installed Mohaa per wine, worked fine, games starting, sound works fine, but i was not able to get keyboard working. So the OpenGL subsystem works obviously...

I've searched across the net, found some posts regarding the same problem, but no working solution. Hope you could help me.

wfg

Mayhem

Post by Mayhem » Fri Aug 18, 2006 13:50

Looks like it can't find libGL.so. I think I've had that error in the past with MOHAA. What does the output of 'ls -l /usr/lib/libGL.*' show? You may need to create a symlink to your GL library so the game can find it.

tausche

Post by tausche » Fri Aug 18, 2006 16:45

thx for help

tausche@ubox:~/scripts$ ls -l /usr/lib/libGL.*
lrwxrwxrwx 1 root root 12 2006-07-15 13:08 /usr/lib/libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 642476 2006-07-10 16:10 /usr/lib/libGL.so.1.2

tausche

ATI OpenGL error MOHAA [SOLVED]

Post by tausche » Sun Aug 20, 2006 15:32

Thanks, problem solved:

cd /usr/lib
ln -s libGL.so.1 libGL.so

game's starting, the only problem that now exists is no sound, seems that audiodevice is being used by another app...

------- Sound Initialization (full) -------
OpenAL: Opening device {default}...
open /dev/[sound/]dsp: Device or resource busy
OpenAL: Could not open device
OpenAL: Destroying channels...
OpenAL: Channels destroyed successfully.
OpenAL: initialization failed. No audio will play.

i know this don't belongs in this thread, but maybe you have another good tip like the one before.

mfg

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Mon Aug 21, 2006 10:53

try to close all applications which access this device

to you run kde or gnome which normaly have their own snd daemons running (artsd or esd)

try to stop them if so

tausche

Post by tausche » Mon Aug 21, 2006 17:11

thx, after reboot everything works fine.

Thanks for your help, i don't regret my registration :-)

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Post by kratz00 » Tue Aug 22, 2006 9:26

hu, luckily for us :)

and you are welcome

Locked