Difference between revisions of "Troubleshooting"

From Open Sound System
Jump to: navigation, search
m (I hear noises!)
Line 1: Line 1:
 +
This page provide general troubleshooting tips. If these cannot help to solve a problem with OSS, you may wish to consult the 4front support [http://4front-tech.com/forum/ forum].
 +
----
 
== General ==
 
== General ==
*Always read your drivers' manpage.
+
*Always read your driver's manpage. You can get the name of driver from 'ossinfo'.
*Always test with osstest
+
*Always test with osstest.
 
*When consulting the [http://4front-tech.com/forum/ forum], attach the output of 'ossinfo -v3' and 'ossmix'.
 
*When consulting the [http://4front-tech.com/forum/ forum], attach the output of 'ossinfo -v3' and 'ossmix'.
  
Line 26: Line 28:
 
*Set vmix0-src to an higher setting.
 
*Set vmix0-src to an higher setting.
 
*Is the cable from the soundcard to the speakers connected correctly? Could it be too long?
 
*Is the cable from the soundcard to the speakers connected correctly? Could it be too long?
*Build and use OSS from hg developement source.
+
*Build and use OSS using the source from public hg repository.
  
== I can't get multiple sound clients to play on the same device ==
+
== I can't get multiple sound clients to play on the same device! ==
 
*multiple clients to same device aren't supported on FreeBSD version. Either set programs to use separate devices, or use sound server like aRts, esd, etc.
 
*multiple clients to same device aren't supported on FreeBSD version. Either set programs to use separate devices, or use sound server like aRts, esd, etc.
 
*Is vmix loaded?
 
*Is vmix loaded?
**If so, make sure vmix1_masterdev in vmix.conf is set to the output device's device index (this can be determined by 'ossinfo -a').
+
**If so, make sure vmix1_masterdev in vmix.conf is set to the output device's device index (this can be determined via 'ossinfo -a').
  
 
== I can't get sound/volume control from an application! ==
 
== I can't get sound/volume control from an application! ==
 
*See [[Configuring_Applications_for_OSSv4 | Configuring Applications for OSSv4]]
 
*See [[Configuring_Applications_for_OSSv4 | Configuring Applications for OSSv4]]

Revision as of 23:33, 3 June 2008

This page provide general troubleshooting tips. If these cannot help to solve a problem with OSS, you may wish to consult the 4front support forum.


General

  • Always read your driver's manpage. You can get the name of driver from 'ossinfo'.
  • Always test with osstest.
  • When consulting the forum, attach the output of 'ossinfo -v3' and 'ossmix'.

How do I...

  • Change mixer settings - ossmix (command line), ossxmix (GUI)
  • Start and shut down OSS - soundon, soundoff (both require root)
  • Save and restore mixer settings - savemixer (saving requires write permissions for mixer.save)
  • Build OSS from source
  • Other Tips And Tricks

I can't hear any sound!

  • Did OSS load at all?
  • Does osstest work?
  • Are the outputs muted in the mixer?
  • Is the default soundcard (the one linked to /dev/dsp) the one connected? If not, see here how to change that.
  • HDAudio: Are the jacks detected by OSS as output, actually the jacks connected to the speaker?
  • Is this an hardware issue?
    • Are the speakers muted?
    • Is the soundcard connected correctly to the speakers?
    • Do other drivers available for your OS (e.g. ALSA for Linux, FreeBSD native) work?

I hear noises!

  • Many soundcards' hardware requires output mixers be set to less than maximum (60% at times).
  • Set vmix0-src to an higher setting.
  • Is the cable from the soundcard to the speakers connected correctly? Could it be too long?
  • Build and use OSS using the source from public hg repository.

I can't get multiple sound clients to play on the same device!

  • multiple clients to same device aren't supported on FreeBSD version. Either set programs to use separate devices, or use sound server like aRts, esd, etc.
  • Is vmix loaded?
    • If so, make sure vmix1_masterdev in vmix.conf is set to the output device's device index (this can be determined via 'ossinfo -a').

I can't get sound/volume control from an application!