No sound in the debian wheezy?
There was sound the in the debian wheezy but i reinstalled the wheezy and now there is no sound and the players like smplayer and mplayer cannot play any video, these are the information i provide:
Quote:
Quote:
Quote:
Quote:
In the alsamixer the card and chip is pulseaudio and threre is only two volumes Master and Caputre, here is the alsamixer screenshot: alsamixer.png |
Open up alsamixer again. Hit cmd 6 then select your card. See if the graphic at the bottom of the bar has a set of MM's. Hit M to unmute.
If you started out from scratch with a new system you need to make sure the needed codecs and plugins are installed. http://wiki.debian.org/MultimediaCodecs Hope this helps. |
Thanks for the reply i select the C-media CMI8738 and there was all other controls visible in the alsamixer here is the screenshot:
alsamixer2.png But when i restart the pc then card is again the pulseaudio whith the only one master control in the alsamixer. |
Do you have sound when you select the C-Media ?
|
Pulse audio lacks a few configuration files for a few cards. My delta 44 required the addition of 2 extra files created just for it.
/usr/share/pulseaudio/alsa-mixer/profile-sets/via-ice1712.conf /etc/udev/rules.d/ice1712-pulseaudio-workaround.rules I cut and pasted these for the most part from another page. http://www.kevinsookocheff.com/2010/...ice1712-cards/ Obviously your card is not a delta 44 and requires different files and options. Not sure if that helps but it should give you something to look for. ----- Alternatively stop running pulseaudio. In /etc/pulse/client.conf change or add "autospawn = no" to prevent pulseaudio from automagically restarting when you stop it or kill it. Then switch between using and NOT using pulseaudio. $ nano /etc/pulse/client.conf $ pulseaudio --start $ pulseaudio --kill For some reason --stop doesn't seem valid, kind of lame imo. I'd recommend using pulseaudio even though I'm not a fan of it. Your openjdk and other things are likely configured for it, and fail to do certain things if you don't use pulseaudio. Like in the game runescape all you get is the musak tracks and none of the sound effects if you don't use pulseaudio. Be sure to add the user to the audio group and the pulse, pulse-access groups. $ groups <user> cdrom audio video games pulse pulse-access That being said pulseaudio does suck, it lacks many things many would consider deal breakers. If you run pulse, even pulse over jack for a software synth you will have a high latency because the sounds will be resampled before actually being outputted. So having the option to opt out of pulseaudio is a good one. Other tricks are to rename your .asoundrc file if you have one. This should force things to use alsa natively. You can also have different versions of .asoundrc with the renaming trick depending on how you use your soundcard. One for pulse, one for alsa, one for jack, and so on. You might also try purging the .pulse folder and restarting pulse. $ rm -rf .pulse* $ pulseaudio --kill $ pulseaudio --start Hope this helps. |
Make sure your sound levels are set which you seemed to have done. You can save your levels with alsa-ctl
# alsa-ctl store And they should be restored at the next boot. It's saved to /var/lib/alsa/asound.state. If you have another mixer application that your prefer that saves settings like aumix, you may want to delete that asound.state file so your settings will be restored. The debian boot sequence will restore mixer settings from asound.state if it exists and bypass aumix settings when both files / settings exist. I'm not a fan of 100% volume settings, a lot of cards distort noticeably when > 90%. Just saying. |
In reply of jv2112 there was no sound when i select the C-media in alsamixer but the problem is when i select the opions in alsamixer and gstreamer-properties after reboot the changes is discard, this is a command use to play a file with maplayer and get errors if some one can help:
Quote:
|
Code:
[AO_ALSA] alsa-lib: pcm.c:2217snd_pcm_open_noupdate) Unknown PCM CMI8738-MC6 And if you're setup for pulse it should be "-ao pulse" on the mplayer command. And/or those default settings in /etc/mplayer/mplayer.conf Will it work if you do something like this? $ pulseaudio --kill $ mv ~/.asoundrc ~/.zzzasoundrc $ mplayer -ao alsa:device=hw,0 <media_file> And don't forget to move .asoundrc back to it's former name. With adjustments if that somehow works for you. Because if it does work, then it is NOT a driver issue. It is a system configuration issue. Note that mplayers syntax is a bit odd as it's not hw:0 like we would use with anything that is alsa. And where 0 is the number of the device you want to use (as listed in /proc/asound/cards) which may not be 0. For some things you can have a single line in .asoundrc if 0 is not your primary audio device. ~/.asoundrc Code:
defaults.pcm.card 1 |
Thanks for reply i don't have ~./asoundrc file and i search and didn't find asound package for wheezy and libasound2 is installed, this is the output of your command:
Quote:
|
Well DRI is how hardware accelerated things access the "VIDEO" hardware. You might try -vo x11 or -vo gl_nosw (had to do this instead of xv on newer things).
$ mplayer -vo help Should list your options for video output. You could always try -vo null to see if the audio element functions right. And -vo aa or -vo caca are always fun in a terminal. Remnants of a era long gone. |
All times are GMT -5. The time now is 06:03 PM. |