MegaGlest Forum
Archives (read only) => Vanilla Glest => Linux and other ports => Topic started by: vendion 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,
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.
-
I have also OpenSuse 10.3 and it works... hmm look at this:
http://forum.ubuntuusers.de/topic/67991/previous/ (http://forum.ubuntuusers.de/topic/67991/previous/)
and if you understand german: http://www.linux-club.de/viewtopic.php?t=88188 (http://www.linux-club.de/viewtopic.php?t=88188)
-
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...
-
Well I am using the precompiled binary and the game works, the only thing is I still get this
void Shared::Platform::Window::setStyle(Shared::Platform::WindowStyle) not implemented.
Is this a bug with the game?
-
It's just a message for Linux saying it's not implemented, I think, and doesn't affect the game.
-
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.
-
Have you seen this: http://http://supertux.lethargik.org/wiki/OpenAL_Configuration ?
My .openalrc:
(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
-
Well I don't have a .openalrc entry but I do have /etc/openalrc and this is what mine looks like
(define devices '(alsa native))
;; uncomment this to output via the 2nd soundcard
;;(define alsa-device "plughw:2,0")
So mine needs to get edited?
-
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.
-
yea it looks for .openalrc first and I added that entry and now glest is playable under KDE3.