Linux Lite Forums

Software - Support => Games Support => Topic started by: Cobra! on October 19, 2014, 04:51:13 PM

Title: No sound in game(s)
Post by: Cobra! on October 19, 2014, 04:51:13 PM
I recently built myself a new PC (just like i said I would), and have installed Linux Lite as one of the OSes, and the OS seems to be ever faster on it! However, I have a problem with a game I'm trying to play (and maybe others too), there's no sound...

The game is called Mania Drive (http://"http://maniadrive.raydium.org/"), and it worked perfectly on my old Laptop, albeit with frame-rate issues, but no problems when it came to sound.

On my new, top of the range PC, it can't play sound at all! No matter what I try, I can't get anything out of it!

I tried running the game using the terminal, and this was what came out:
Code: [Select]
Raydium: Raydium 3D Game Engine
Raydium: version 0.705
Raydium: command line args: OK
Raydium: chdir to 'game/': OK
Raydium: using '/home/cobradabest/.mania_drive' as home dir
Raydium: Requesting 1024x768:32 mode
Raydium: Xinerama detected with 1 screens:
Raydium: *** screen 0 : 1920x1080 at (0,0)
Raydium: using Xinerama screen 0
Raydium: Found 1024x768 with 24 bpp color and 24 bits zbuffer (stencil is 1)
Raydium: using Gallium 0.4 on AMD PITCAIRN, from X.Org (version 3.0 Mesa 10.1.3)
Raydium: Signal Handlers: OK
Raydium: OpenGL extensions: OK
Raydium: Platform "4xfloat" vector size is: 16 byte(s) long
Raydium: OpenGL implementation maximum texture size: 16384x16384
Raydium: OpenGL hardware providing 8 texture unit(s)
Raydium: vertex arrays memory: OK
Raydium: path: OK
Raydium: keyboard: OK
Raydium: mouse: OK
Raydium: /dev/input/event0: cannot open (rw), no Force Feedback.
Raydium: joy: FAILED (cannot open /dev/js0 and /dev/input/js0)
open /dev/[sound/]dsp: No such file or directory
Raydium: ERROR: Cannot open Sound System
Raydium: PHP support: OK
Raydium: atexit functions: OK
Raydium: lights: OK
Raydium: fog: OK
Raydium: objects: OK
Raydium: network: OK
Raydium: timer: detection: 1 iterations: diff: 2 steps (1000000/sec)
Raydium: timecall: method accuracy = 0.002 ms (499999.97 Hz)
Raydium: timecall: Using basic gettimeofday() method
Raydium: timecall: OK (499999 Hz)
Raydium: timecall: softcall 0: 1 Hz (1000000 clocks interval)
Raydium: particle: OK
Raydium: gui: OK
Raydium: video (live): OK
Raydium: shadow: OK
Raydium: HDR: OK
Raydium: shaders: OK
Raydium: webserver: OK
Raydium: Raydium engine reseted to original state
Raydium: timecall: callback 1: 400 Hz (2500 clocks interval)
Raydium: physics: ODE Net: 10 element(s)/packet
Raydium: physics: OK
Raydium: RegAPI: OK
Raydium: Engine is now ready.
    -----------------------------------------------------------
Raydium: sound: Tried to set negative or 0 Pitch , clipped to 0.1
Raydium: Texture num 1 (BOXfront.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 2 (BOXback.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 3 (BOXleft.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 4 (BOXright.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 5 (BOXbottom.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 6 (BOXtop.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 7 (theme-maniadrive.tga) loaded: 256x256, 4 Bpp (b1 lm0 hdr0)
Raydium: Texture num 8 (font3.tga) loaded: 512x512, 1 Bpp (b1 lm0 hdr0)
Raydium: timecall: softcall 2: 1 Hz (1000000 clocks interval)
Raydium: Changing game state to 1
Raydium: timecall: WARNING ! 0 Hz callback (num 1)
Raydium: Texture num 9 (video) FAKED: 256x256, 3 Bpp (b0 lm0 hdr0)
Raydium: live: texture 'video' created
Raydium: video: mania_menu_v1.jpgs (0) as live texture video (0), 256x256 20.00 fps (703 frames)
Raydium: Texture num 10 (BOXmania_cursor.tga) loaded: 32x32, 4 Bpp (b1 lm0 hdr0)
Raydium: ODE: Error: Cannot delete object: invalid name or index
Raydium: Texture num 11 (mania_logo2.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 12 (BOXmania_music_popup.tga) loaded: 512x128, 4 Bpp (b1 lm0 hdr0)
Raydium: Texture num 13 (font2.tga) loaded: 512x512, 1 Bpp (b1 lm0 hdr0)
Raydium: Changing game state to 2
Raydium: timecall: callback 1: 400 Hz (2500 clocks interval)
Raydium: Internal buffers:
Raydium: -----------------
Raydium: Total of 0 vertex(s) loaded:
Raydium: Texture num 0: 0 vertex(s) - loaded as "dummy.null"
Raydium: Texture num 1: 0 vertex(s) - loaded as "BOXfront.tga"
Raydium: Texture num 2: 0 vertex(s) - loaded as "BOXback.tga"
Raydium: Texture num 3: 0 vertex(s) - loaded as "BOXleft.tga"
Raydium: Texture num 4: 0 vertex(s) - loaded as "BOXright.tga"
Raydium: Texture num 5: 0 vertex(s) - loaded as "BOXbottom.tga"
Raydium: Texture num 6: 0 vertex(s) - loaded as "BOXtop.tga"
Raydium: Texture num 7: 0 vertex(s) - loaded as "theme-maniadrive.tga"
Raydium: Texture num 8: 0 vertex(s) - loaded as "font3.tga"
Raydium: Texture num 9: 0 vertex(s) - loaded as "video"
Raydium: Texture num 10: 0 vertex(s) - loaded as "BOXmania_cursor.tga"
Raydium: Texture num 11: 0 vertex(s) - loaded as "mania_logo2.tga"
Raydium: Texture num 12: 0 vertex(s) - loaded as "BOXmania_music_popup.tga"
Raydium: Texture num 13: 0 vertex(s) - loaded as "font2.tga"
Raydium: Estimated total: 10.92 MB used for textures.
Raydium: Using 0 object(s):
Raydium: path: read: "/home/cobradabest/.mania_drive/data"
Raydium: path: write: "/home/cobradabest/.mania_drive/data"

I noticed it said it was unable to load the sound system, but when I went to look it up, I only found one, unresolved topic, made years ago, about this issue.

I can't test any other games yet, as I've still to install any more, I'm downloading Super Tux Kart to see if the same problem occurs there, but my internet is being pretty slow right now, and it would take ages to download the full thing, so I can't do anything until then. If it helps, VLC has sound, and so does anything I play on Firefox.

EDIT: I also tried playing something from a CD in VLC while playing the game, the game cut off the sound completely! I can't play it again!

So what do I do?
Title: Re: No sound in game(s)
Post by: Scott on October 19, 2014, 06:19:11 PM
Hi Cobra!

Sounds like you're experienced with this but just want to confirm nothing here in the manual is helpful?
https://www.linuxliteos.com/manual/hardware.html#sound

I don't have enough experience with this issue to offer direct help but I expect somebody will reply soon.

~Scott
Title: Re: No sound in game(s)
Post by: Cobra! on October 19, 2014, 06:43:55 PM
Hi Cobra!

Sounds like you're experienced with this
Really? Must be my wording, because I know next to nothing about this kind of thing, but I've learned that it's best I give out terminal outputs when asking questions, because it makes solving it a lot easier for those helping you.

but just want to confirm nothing here in the manual is helpful?
https://www.linuxliteos.com/manual/hardware.html#sound
Nope, I've tried everything there, sorry.

I don't have enough experience with this issue to offer direct help but I expect somebody will reply soon.

~Scott
That's alright, thanks for the reply anyway.
Title: Re: No sound in game(s)
Post by: rokytnji on October 20, 2014, 10:30:07 AM
Being that the problem is related on how the game software is wrote to identify hardware to give you sound in the game.

Also. Being the game was written before your hardware was even known to the software game developer.

Well. Good luck getting some small forum like this to solve how that game file was written to identify hardware.
Your sound chip is probably from the future to that software.

It is like the movie 2001. Where the caveman throws the bone into the air after looking at the  monolith.
A program can only deal with what it knows. The game does not know your hardware. It did not exist
when that game was wrote. Hence the

Quote
it worked perfectly on my old Laptop

Just a explanation I know. Not a fix. Sorry.

Quote
EDIT: I also tried playing something from a CD in VLC while playing the game, the game cut off the sound completely! I can't play it again!

So what do I do?

Kinda a confusing statement for this old biker from Texas. Can't play what again?

 
Title: Re: No sound in game(s)
Post by: Wirezfree on October 20, 2014, 10:41:25 AM
Hi,

Again not a solution to Mania Drive...
But Googling
Code: [Select]
open /dev/[sound/]dsp: No such file or directorySeems to give some recent(2014) listings for possible solutions or things to look at
Some seem to refer to OOS "Open Sound System".?

Dave

ps,
Your listing seemed to show another error.?, not sure if you do
Code: [Select]
Raydium: joy: FAILED (cannot open /dev/js0 and /dev/input/js0)See post #8 here:
http://ubuntuforums.org/showthread.php?t=514701 (http://ubuntuforums.org/showthread.php?t=514701)
Title: Re: No sound in game(s)
Post by: Cobra! on November 06, 2014, 02:18:08 PM
Hi,

Again not a solution to Mania Drive...
But Googling
Code: [Select]
open /dev/[sound/]dsp: No such file or directorySeems to give some recent(2014) listings for possible solutions or things to look at
Some seem to refer to OOS "Open Sound System".?

Dave
Oh right, I remember install Medal of Honor: Allied Assault on my old Linux laptop, and that had the same issue, so I installed osspd on my new PC, and that did the trick! I'm getting sound again! Thanks so much!
ps,
Your listing seemed to show another error.?, not sure if you do
Code: [Select]
Raydium: joy: FAILED (cannot open /dev/js0 and /dev/input/js0)]
I have no idea what that is, I'll be honest with you. The only error I'm getting not is that the framerate stutter and doesn't seem to go as smooth as the fps counter is telling me (which it says is running in the hundreds!), So that might have something to do with it... ?
Title: Re: No sound in game(s)
Post by: Wirezfree on November 06, 2014, 06:08:42 PM

I have no idea what that is, I'll be honest with you. The only error I'm getting not is that the framerate stutter and doesn't seem to go as smooth as the fps counter is telling me (which it says is running in the hundreds!), So that might have something to do with it... ?

I have never had issues with framerate, I don't do games...
I don't know how accurate it is.? or if it will work on your H/W?, or even relevant to your situation.? But you could try the following
Go to Install/Remove Software(Synaptic), search for "glxgears", it will return "mesa-utils" install if not install.

The open a Terminal "ctrl-alt- t" and type glxgears
It should open another small window with rotating gears, and give a "fps" value in the terminal window
It should look like this, use "ctrl-c" to stop it.

Code: [Select]
dave@asus-mini-1:~$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
304 frames in 5.0 seconds = 60.703 FPS
301 frames in 5.0 seconds = 60.001 FPS
301 frames in 5.0 seconds = 60.002 FPS
^C
dave@asus-mini-1:~$

Dave