DebuggingSoundProblems
|
Size: 6152
Comment: Cropping to just the automatic info collection because it contains everything that's useful
|
Size: 3717
Comment: ubuntu-bug audio -> ubuntu-bug -s audio as per Dan Chen https://launchpad.net/~crimsun and verified on Quantal.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 6: | Line 6: |
| '''Notes for triagers:''' * Only assign bugs to the "alsa-driver" source package if the reporter states that he or she is using the alsa-source binary package with module-assistant OR if he or she is requesting a blacklist or index configuration addition. * In all other cases, the bug should be marked against the "linux" source package. |
= Minimum Requirements for Audio Bugs = |
| Line 10: | Line 8: |
| = Basic troubleshooting = | First, please make sure all the below mentioned steps are completed, and the results are commented in your report. Failure to do so may delay your bug getting fixed as soon as possible. |
| Line 12: | Line 10: |
| === Preliminary checks === 1. Is your sound system plugged in and switched on. I spent an hour trying to diagnose a sound issue when the problem was that I had switched off the speakers to answer a phone call and forgot that I had done so. :-( === Checking volume levels === 1. From command line: Open a terminal window and launch ''alsamixer'' then make sure sound is unmuted and that the volume is turned up. Unmute everything, sometimes a muted channel will be the problem, even if the description doesn't seem immediately relevant. 1. From GUI: This can be done by running something like ''gnome-alsamixer'' from a terminal window or navigating to your your Volume Control. Again, at this point make sure sound is unmuted and that the volume is turned up. Unmute everything, sometimes a muted channel will be the problem, even if the description doesn't seem immediately relevant. Also check that your switches are set correctly - for instance that if you use the analog output the analog switch is set ON or that the digital or S/PDIF switch is set OFF. You can select which tracks/switches are visible in Volume Control (see above) under Edit->Preferences. * Note: These controls have equivalent functionality to alsamixer but with a graphical interface. Checking or unchecking devices in the these accomplishes the exact same thing as unmuting or muting devices, respectively, in alsamixer. * Starting with Ubuntu 7.04, the sound volume control is also accessible from Menu->Sound&Video->Volume Control. It may be hidden in your menus but can be shown by going to System > Preferences > Main Menu and under Applications > Sound&Video ticking Volume Control. === Checking sound device assignment === 1. Most sound applications output to card0 by default. In some cases, other audio devices (like a USB MIDI Keyboard) might be recognized as a soundcard and take card0, bumping your real soundcard to card1. To see which devices are connected to which cards, do the following: * {{{ cat /proc/asound/cards }}} 1. You can manipulate the device number assignment by adding snd-usb-audio to /etc/modprobe.d/alsa-base . Next boot, the snd-usb-audio device will get index 1. * {{{ options snd-usb-audio index=1 }}} === Checking permissions and resources === 1. Make sure that all users needing access to the Sound Device can "Use audio devices" in the "User Privileges" tab of users-admin (System->Administration->Users and Groups). 1. Test different "Sound Servers": Go to System > Preferences > Sound ("Multimedia Systems Selector" in earlier editions of Ubuntu). From there, you can test the different options. In some scenarios several different sound servers may be installed, and only one may work. This is probably the origin of the problem if you cannot play audio with xine or rhythmbox, but you can with xmms or helix/realplayer. 1. If you application sounds works, but your system sounds does not (login, logout, error sounds...) try removing the .asoundrc* files from your own directory (e.g. with 'rm .asoundrc*'). It should make the system sounds work without a reboot. 1. If you can get absolutely no sound and you have an onboard sound chip you can try to disable it in the BIOS. This solves the problem is some cases. 1. If you have no sound and you have a regular sound card type "lsmod | grep snd" in the terminal and see if there is more than one card listed. It's possible that you have a motherboard sound chip that is interfering. Add it to the bottom of the blacklist file. For example, sudo nano /etc/modprobe.d/blacklist then add "blacklist snd_via82xx" to the bottom. = Reporting Sound Bugs = |
== How to Report Audio Bugs == |
| Line 43: | Line 14: |
| If you feel you have encountered a software bug, please report the bug at https://launchpad.net/ubuntu/+source/linux/+filebug. | If you feel you have encountered a software bug, the way to report it is to run the following terminal command: {{{ ubuntu-bug -s audio }}} |
| Line 45: | Line 18: |
| === Automatic Sound Information Collection === This is the preferred method for gathering the appropriate sound information from your system. It's helps ensure that you gather the sound information correctly and completely. The following script gathers all required information in one go [[http://alsa-project.org/alsa-info.sh]] . By default, the script uploads the information to alsa-project.org . This information can be used by ALSA developers to improve current support for some cards. If you do not wish your information to be uploaded, please use the --no-upload argument when running the script. The script was written to aid the alsa developers, and also to help the people in #alsa to sort out sound issues. Please download and run the script as follows: 1. {{{ bash alsa-info.sh }}} 1. The script will generate a URL. Please add this URL to your bug report. 1. If for some reason the script does not generate a URL, please use the --pastebin option (our original upload method) 1. The alsa-info.sh script can either be run as 'bash alsa-info.sh' _or_ made executable and run as './alsa-info.sh'. |
This will submit a detailed bug report with information about your current system. |
| Line 54: | Line 20: |
| = Further sound troubleshooting = | If the above fails for some reason, you can file a bug report, then upload alsa-info information [[Audio/AlsaInfo|according to these instructions]]. |
| Line 56: | Line 22: |
| After reporting a bug you might want to see the community documentation: * https://help.ubuntu.com/community/Sound * https://help.ubuntu.com/community/SoundTroubleshooting * https://help.ubuntu.com/community/DebuggingSoundProblemsMisc |
== Preliminary checks == 1. Is your sound system plugged in and switched on? I spent an hour trying to diagnose a sound issue when the problem was that I had switched off the speakers to answer a phone call and forgot that I had done so. :-( 1. Is your speaker or microphone muted? Check here: * [[Audio/CheckForMutedSpeakerVolume|Check for muted speaker]] * [[Audio/CheckForMutedMicrophone|Check for muted microphone]] == Advanced troubleshooting == If the basic troubleshooting does not help, here are some additional things to try. However, when trying these steps, remember where you were so you can easily go back in case your problem is not fixed. Also, should you ever need to do anything in this section for your sound to work (for a new installation), you should report a bug using "ubuntu-bug audio". * For mixer problems, you can try controlling the [[Audio/Alsamixer|mixers at ALSA level]]. * You might be helped by checking if it is a hardware bug that is already fixed upstream. You can try [[Audio/UpgradingAlsa|upgrading your ALSA drivers]] to the latest snapshot. * Please make a comment in your bug report regarding what specific version you tested. * If your problem is audio crackling, glitching, or breaking up, and it is hardware specific, you can try applying a [[Audio/PositionReporting|position fix quirk]]. * Using very new hardware? [[Audio/HDAGeneric|Here's how to check]] whether your built-in sound card has driver support. = Triaging sound bugs = In general, no-sound/low-sound/headphone-no-sound/no auto-mute/etc. bugs should be: * Filed against the '''linux''' source package. * Add the '''kernel-sound''' tag * '''Subscribe''' (do not assign) the '''Ubuntu-audio''' team (not the ubuntu-audio-dev team) Only assign bugs to the "alsa-driver" source package if the reporter is using the alsa-source binary package with module-assistant OR is requesting a blacklist or slots/index modification. * Do not mark bugs as duplicates unless you're 100% sure that both the '''hardware''', '''software''', and '''symptom''' match exactly. Slightly different hardware very often requires slightly different fixes. If in doubt, file a new bug. [[Audio/SameHardware|Here's an article]] of how to determine whether you have the same hardware as the original bug reporter. = Further Information = The [[https://launchpad.net/~ubuntu-audio-dev|Ubuntu Audio Developer's team]] maintains a set of Audio relevant wiki pages [[Audio|here]]. |
This page is part of the debugging series — pages with debugging details for a variety of Ubuntu packages. |
Minimum Requirements for Audio Bugs
First, please make sure all the below mentioned steps are completed, and the results are commented in your report. Failure to do so may delay your bug getting fixed as soon as possible.
How to Report Audio Bugs
Please do not report problems on this page; use the normal support channels instead. See http://www.ubuntu.com/support
If you feel you have encountered a software bug, the way to report it is to run the following terminal command:
ubuntu-bug -s audio
This will submit a detailed bug report with information about your current system.
If the above fails for some reason, you can file a bug report, then upload alsa-info information according to these instructions.
Preliminary checks
Is your sound system plugged in and switched on? I spent an hour trying to diagnose a sound issue when the problem was that I had switched off the speakers to answer a phone call and forgot that I had done so.
- Is your speaker or microphone muted? Check here:
Advanced troubleshooting
If the basic troubleshooting does not help, here are some additional things to try. However, when trying these steps, remember where you were so you can easily go back in case your problem is not fixed. Also, should you ever need to do anything in this section for your sound to work (for a new installation), you should report a bug using "ubuntu-bug audio".
For mixer problems, you can try controlling the mixers at ALSA level.
You might be helped by checking if it is a hardware bug that is already fixed upstream. You can try upgrading your ALSA drivers to the latest snapshot.
- Please make a comment in your bug report regarding what specific version you tested.
If your problem is audio crackling, glitching, or breaking up, and it is hardware specific, you can try applying a position fix quirk.
Using very new hardware? Here's how to check whether your built-in sound card has driver support.
Triaging sound bugs
In general, no-sound/low-sound/headphone-no-sound/no auto-mute/etc. bugs should be:
Filed against the linux source package.
Add the kernel-sound tag
Subscribe (do not assign) the Ubuntu-audio team (not the ubuntu-audio-dev team)
Only assign bugs to the "alsa-driver" source package if the reporter is using the alsa-source binary package with module-assistant OR is requesting a blacklist or slots/index modification.
Do not mark bugs as duplicates unless you're 100% sure that both the hardware, software, and symptom match exactly. Slightly different hardware very often requires slightly different fixes. If in doubt, file a new bug.
Here's an article of how to determine whether you have the same hardware as the original bug reporter.
Further Information
The Ubuntu Audio Developer's team maintains a set of Audio relevant wiki pages here.
DebuggingSoundProblems (last edited 2014-07-26 11:08:14 by penalvch)