Jump to content
The Dark Mod Forums

The sound is not going whith the picture


Dyar

Recommended Posts

Hello !

 

I've just started to play TDM on ubuntu 10.04, but I have a problem : the sound come later than the things who make that sound.

And the duration between the sound and the picture is bigger and bigger.

 

What can I do ?

Link to comment
Share on other sites

EAX is not suported by my plateform.

I also think it is a problem with ALSA. But turning to sereo in the config panel don't change the problem

Here are all the consol messages about the sound:

 

in the initialisation :

 

dlopen(libasound.so.2)

asoundlib version: 1.0.22

Alsa is available

------ Alsa Sound Initialization -----

opened Alsa PCM device default for playback

device buffer size: 5461 frames ( 65532 bytes )

allocated a mix buffer of 49152 bytes

 

Some messages occure when I toggle surround :

 

Shutting down sound hardware

----------- Alsa Shutdown ------------

close pcm

dlclose

--------------------------------------

dlopen(libasound.so.2)

asoundlib version: 1.0.22

Alsa is available

------ Alsa Sound Initialization -----

opened Alsa PCM device default for playback

device buffer size: 5461 frames ( 65532 bytes )

allocated a mix buffer of 49152 bytes

--------------------------------------

Shutting down sound hardware

----------- Alsa Shutdown ------------

close pcm

dlclose

--------------------------------------

dlopen(libasound.so.2)

asoundlib version: 1.0.22

Alsa is available

------ Alsa Sound Initialization -----

opened Alsa PCM device default for playback

device buffer size: 5461 frames ( 21844 bytes )

allocated a mix buffer of 16384 bytes

--------------------------------------

missed 1 sound updates

Link to comment
Share on other sites

I should've guessed that EAX would not be available in Linux but Creative provided the Open Source driver for their Audigy and below products so I thought that they might've included it.

 

I recall that there has been some fireworks about the Pulse Audio system and it's affect on the stability of Sound API interfaces in general. I believe there are some topics in the Ubuntu forums about removing Pulse but I don't know if this is relevant for newer releases??? (I think that the current claim is that Pulse Audio is now 99% fixed???)

 

I need to setup a Linux partition again and fiddle around (I'm getting rusty).

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

Yep, I have this problem too. The easiest solution is to set s_driver to oss, instead of best. Be aware though that this is a timewarp, and will take you back to 1996, where only one program can play sound at a time. You won't be able to hear instant messages or listen to music while the game is playing, because oss captures the sound card in the spirit of Windows 95.

 

*is wishing someone would produce a Windows alternative with a PROPER audio subsystem*

--- War does not decide who is right, war decides who is left.

Link to comment
Share on other sites

Would it be possible to somehow reduce the buffer size?

 

device buffer size: 5461 frames ( 65532 bytes )

 

I have this instead:

 

dlopen(libasound.so.2)                                  
asoundlib version: 1.0.20                               
Alsa is available                                       
------ Alsa Sound Initialization -----                  
opened Alsa PCM device default for playback             
device buffer size: 5644 frames ( 22576 bytes )         
allocated a mix buffer of 16384 bytes

 

The number of frames is the same, so my hunch is that won't help, but who knows?

 

Edit: Some more info:

 

Try this:

 

+set s_driver oss

 

as a commandline argument to tdmlauncher (and hence doom3).

 

Also, see if you have PulseAudio, this was said to cause the lagging. Although I wouldn't disable it because thie procedure sounds risky:

 

http://www.altfire.com/main/news/index.php?news_id=504

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

seems to work in stereo.

thanks !

 

Cool, I add it to our FAQ. Sorry for the invonvience, and enjoy your TDM :)

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

  • 4 weeks later...

Cool, I add it to our FAQ. Sorry for the invonvience, and enjoy your TDM :)

 

I have the same problem, I opened a bug in tracker:

 

http://bugs.angua.at/view.php?id=2323

 

The strange thing is that with the 1.01 vers. , this problem was not present.

 

A temporary workaround that i use, it's to switch on/off from the sound menu "surround sound", to resume the sound correctly in game.

The problem is present only when in menu, not in the game.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • nbohr1more

      The FAQ wiki is almost a proper FAQ now. Probably need to spin-off a bunch of the "remedies" for playing older TDM versions into their own article.
      · 1 reply
    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 3 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 7 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
×
×
  • Create New...