Author Topic: Problem when starting Glest  (Read 5249 times)

vendion

  • Guest
Problem when starting Glest
« on: 15 February 2008, 21:48:09 »
I'm running openSUSE 10.3 and I installed Glest 3.0.0 via an RPM in the SUSE Build Service.  The installation went nicely but I get the following error when I try to run it,
Code: [Select]
void Shared::Platform::Window::setStyle(Shared::Platform::WindowStyle) not implemented.
open /dev/[sound/]dsp: Device or resource busy
open /dev/[sound/]dsp: Device or resource busy
OpenAL Vendor: Exception: Couldn't open audio device.


A window for glest opens up but then closes out, the way I got this is by running it from the command line.
« Last Edit: 1 January 1970, 00:00:00 by vendion »

Obi-Wahn

  • Guest
(No subject)
« Reply #1 on: 15 February 2008, 22:20:18 »
I have also OpenSuse 10.3 and it works... hmm look at this:

http://forum.ubuntuusers.de/topic/67991/previous/

and if you understand german: http://www.linux-club.de/viewtopic.php?t=88188
« Last Edit: 1 January 1970, 00:00:00 by Obi-Wahn »

vendion

  • Guest
(No subject)
« Reply #2 on: 16 February 2008, 00:51:48 »
Sadly I don't know enough German to make sense of it, and translating it to English didn't help.  The first link only half was translated and the second link didn't translate at all.  

How did you install Glest, maybe it was a bad RPM from the build service...
« Last Edit: 1 January 1970, 00:00:00 by vendion »

vendion

  • Guest
(No subject)
« Reply #3 on: 16 February 2008, 04:34:29 »
Well I am using the precompiled binary and the game works, the only thing is I still get this

Code: [Select]
void Shared::Platform::Window::setStyle(Shared::Platform::WindowStyle) not implemented.
Is this a bug with the game?
« Last Edit: 1 January 1970, 00:00:00 by vendion »

hailstone

  • GAE Team
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
(No subject)
« Reply #4 on: 16 February 2008, 05:48:37 »
It's just a message for Linux saying it's not implemented, I think, and doesn't affect the game.
« Last Edit: 1 January 1970, 00:00:00 by hailstone »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

vendion

  • Guest
(No subject)
« Reply #5 on: 18 February 2008, 03:34:58 »
Well the audio problem has come back to haunt me, but with that  I was able to figure out what the problem is.  I have both KDE3 and KDE4 installed, on KDE3 I have it set to play a sound when a new window opens, on KDE4 I can't have it do that.  When I was able to play to glest I was on KDE4, and now on KDE3 I get my original problem with the sound.  Is there a way, or even possable if its license permits, to edit glest so that it waits a second longer to check the sound device.
« Last Edit: 1 January 1970, 00:00:00 by vendion »

jrepan

  • Guest
(No subject)
« Reply #6 on: 18 February 2008, 12:38:16 »
Have you seen this: http://http://supertux.lethargik.org/wiki/OpenAL_Configuration ?
My .openalrc:
Code: [Select]
(define devices '(alsa arts sdl native null))
(define alsa-device "default")
(define speaker-num 2)
(define sampling-rate 44100)

I use KDE3 and can listen music and play Glest at the same time
« Last Edit: 1 January 1970, 00:00:00 by jrepan »

vendion

  • Guest
(No subject)
« Reply #7 on: 18 February 2008, 16:16:02 »
Well I don't have a .openalrc entry but I do have /etc/openalrc and this is what mine looks like
Code: [Select]
(define devices '(alsa native))

;; uncomment this to output via the 2nd soundcard
;;(define alsa-device "plughw:2,0")

So mine needs to get edited?
« Last Edit: 1 January 1970, 00:00:00 by vendion »

jrepan

  • Guest
(No subject)
« Reply #8 on: 18 February 2008, 18:47:28 »
You can edit /etc/openalrc or create ~/.openalrc. If I remember correctly Linux looks .opanalrc first.
It should work too if you only change devices line.
« Last Edit: 1 January 1970, 00:00:00 by jrepan »

vendion

  • Guest
(No subject)
« Reply #9 on: 18 February 2008, 18:50:53 »
yea it looks for .openalrc first and I added that entry and now glest is playable under KDE3.
« Last Edit: 1 January 1970, 00:00:00 by vendion »

 

anything