Author Topic: No sound in LXDE, all suggestions tried (bit long) (Solved)  (Read 2079 times)

Offline scbs29

  • Full Member
  • ***
  • Posts: 224
No sound in LXDE, all suggestions tried (bit long) (Solved)
« on: December 03, 2012, 07:08:18 AM »
I have no sound on my LXDE installation.
The soundcard is reported in pcc as a CA106 Soundblaster.
pcc Sound Configuration shows the driver as
Intel HDA driver (snd_hda_intel[ALSA])
Enable PulseAudio and Use Glitch-Free mode are both checked.
Click OK and the driver is shown as
CA0106(snd_ca0106[ALSA]) with the same two checkboxes checked.
The above is after installing PulseAudio. Before I installed
it I had no sound either and I installed it following advice in this forum.

I tried alsaconf and that did not work.
Alsaconf suggested running gmixer. I did this and received

** Message: pygobject_register_sinkfunc is deprecated (GstObject)
W:Failed to load icon Icon 'stock_line_in' not present in theme
Traceback (most recent call last):
  File "/usr/bin/gmixer", line 1168, in <module>
    GMixer(options.daemon, options.custom_mixer_cmd, options.pixmap)
  File "/usr/bin/gmixer", line 640, in __init__
    self._build_gvolumes()
  File "/usr/bin/gmixer", line 1013, in _build_gvolumes
    sep.hide()
UnboundLocalError: local variable 'sep' referenced before assignment

and gmixer did not start.

From the troubleshooter
lspcidrake -v | fgrep -i AUDIO shows
snd_ca0106      : Creative Labs|CA0106 Soundblaster [MULTIMEDIA_AUDIO] (vendor:1102 device:0007 subv:1102 subd:100a)

grep sound-slot /etc/modprobe.conf shows
alias sound-slot-0 snd_hda_intel
alias sound-slot-1 snd_ca0106

/sbin/lsmod shows
snd_ca0106             29422  0
snd_rawmidi            14818  1 snd_ca0106
snd_ac97_codec         90474  1 snd_ca0106
snd_hda_codec_hdmi     21800  4
snd_hda_intel          20032  0
snd_hda_codec          75755  2 snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep               4844  1 snd_hda_codec
snd_seq_dummy           1127  0
snd_seq_oss            25232  0
snd_seq_midi_event      4608  1 snd_seq_oss
snd_seq                41880  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4321  4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            33886  0
snd_pcm                60282  6 snd_ca0106,snd_ac97_codec,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              15343  2 snd_seq,snd_pcm
snd_page_alloc          5837  3 snd_ca0106,snd_hda_intel,snd_pcm
snd_mixer_oss          13037  1 snd_pcm_oss
snd                    43879  14 snd_ca0106,snd_rawmidi,snd_ac97_codec,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,
                                 snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               5025  1 snd

/sbin/chkconfig --list sound shows
sound             0:off   1:off   2:on   3:on   4:on   5:on   6:off   7:off


/sbin/chkconfig --list alsa shows
alsa              0:off   1:off   2:on   3:on   4:on   5:on   6:off   7:off

aumix -q shows
dig1 0, 0

/sbin/fuser -v /dev/dsp shows
Cannot stat /dev/dsp: No such file or directory
Cannot stat /dev/dsp: No such file or directory


I then decided to try other suggestions in this forum
about volumecontrol. I have no volume control icon in my
system tray.
I tried all of the suggestions in both
http://www.pclinuxos.com/forum/index.php/topic,102848.0.html
and
http://www.pclinuxos.com/forum/index.php/topic,96730.0.html
but nothing makes any difference. I still have no volume icon
and no sound.

Can anyone help ?
« Last Edit: December 07, 2012, 06:29:04 AM by scbs29 »
Registered Linux User 490858

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15322
  • ┌∩┐(◕_◕)┌∩┐
Re: No sound in LXDE, all suggestions tried (bit long)
« Reply #1 on: December 03, 2012, 07:43:25 AM »
Quote
The above is after installing PulseAudio

I know (in KDE at least) that after installing Pulse Audio the system needs a full reboot to work correctly
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline scbs29

  • Full Member
  • ***
  • Posts: 224
Re: No sound in LXDE, all suggestions tried (bit long)
« Reply #2 on: December 03, 2012, 07:48:39 AM »
Tried restart pc, full reboot, logout and back in again.
None made any difference.
Registered Linux User 490858

Offline scbs29

  • Full Member
  • ***
  • Posts: 224
Re: No sound in LXDE, all suggestions tried (bit long)
« Reply #3 on: December 03, 2012, 08:37:52 AM »
Saw somewhere in the forum about typing volumeicon on a CLI.
Tried this and got:
volumeicon: alsa_backend.c:88: asound_get_volume: Assertion `m_elem != ((void *)0)' failed.
Aborted
Registered Linux User 490858

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3752
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: No sound in LXDE, all suggestions tried (bit long)
« Reply #4 on: December 03, 2012, 10:44:47 AM »
What is the output from
Code: [Select]
pulseaudio ?

Offline scbs29

  • Full Member
  • ***
  • Posts: 224
Re: No sound in LXDE, all suggestions tried (bit long)
« Reply #5 on: December 03, 2012, 11:34:25 AM »
Just rebooted pc.
Volume control was on taskbar. Opened it and the output volume was set to 0.
Changed it to 100, made no difference, still no sound. Then the volume control disappeared again,
and so did the start menu. Rebooting - no volume control, no sound but start menu back.
Output from pulseaudio as cli is
E: [pulseaudio] main.c: Daemon startup without any loaded modules, refusing to work.
Registered Linux User 490858

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3752
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: No sound in LXDE, all suggestions tried (bit long)
« Reply #6 on: December 03, 2012, 11:42:32 AM »
My output
Code: [Select]
pulseaudio
E: [pulseaudio] pid.c: Daemon already running.

so...
Search for task-pulseaudio-remove, install it, this will remove all pulseaudio package, and configuration files.
Reboot
Now install task-pulseaudio, and then go to pcc to enable pulseaudio
Reboot
What is now the messages  from pulseaudio?

Offline scbs29

  • Full Member
  • ***
  • Posts: 224
Re: No sound in LXDE, all suggestions tried (bit long)
« Reply #7 on: December 03, 2012, 12:17:04 PM »
Thanks for the message
I did as you suggested. I now have 3 volume controls on the task bar.
Output from pulseaudio is now
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.

Registered Linux User 490858

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3752
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: No sound in LXDE, all suggestions tried (bit long)
« Reply #8 on: December 03, 2012, 12:22:15 PM »
And sound playing?

Offline monsee

  • Full Member
  • ***
  • Posts: 110
Re: No sound in LXDE, all suggestions tried (bit long)
« Reply #9 on: December 03, 2012, 12:46:50 PM »
I have too an Intel HDA driver (snd_hda_intel[ALSA]) Sound Driver.
And I had sounds on my PC (PCLinuxoS LXDE Edition, of course) when I disabled Pulseaudio and reboot my PC.
Today (many times after) my sound works good the same (no Pulseaudio allowed, in my PC).
Can you try to disable Pulse audio and -after that- reboot your PC?  :)

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3752
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: No sound in LXDE, all suggestions tried (bit long)
« Reply #10 on: December 03, 2012, 12:54:04 PM »
when i disable pulseaudio, i can let play only one application, if i have then deadbeef in task panel, i can't hear audio from youtube, but when i exit deadbeef i can hear sound from youtube. But this is for me a no go. So i have enabled pulseaudio...

Offline scbs29

  • Full Member
  • ***
  • Posts: 224
Re: No sound in LXDE, all suggestions tried (bit long)
« Reply #11 on: December 03, 2012, 03:30:18 PM »
Daniel - sorry, should have said, still no sound.

monsee - uninstalled pulse - no difference, still no sound.

ran through troubleshooting again.
differences were

gmixer now gives error
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
W:Failed to load icon Icon 'stock_line_in' not present in theme
Traceback (most recent call last):
  File "/usr/bin/gmixer", line 1168, in <module>
    GMixer(options.daemon, options.custom_mixer_cmd, options.pixmap)
  File "/usr/bin/gmixer", line 640, in __init__
    self._build_gvolumes()
  File "/usr/bin/gmixer", line 1013, in _build_gvolumes
    sep.hide()
UnboundLocalError: local variable 'sep' referenced before assignment

aumix -q now gives
dig1 100, 100

all other results were the same.

BTW, sound OK when I boot into XP. I was beginning to think the soundcard
had died until I tried this.
Registered Linux User 490858

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1171
Re: No sound in LXDE, all suggestions tried (bit long)
« Reply #12 on: December 03, 2012, 03:40:43 PM »
did you try alsamixer?

open a terminal and type alsamixer and press enter.

you can navigate with the arrow keys, Fx whilw x is number between 1 and 6 or so and Esc and enter.

Turn up everything which is not related to Mic and Micboost.

also try F6 for checking whether the correct sound card is selected.
if not select it.

If all of this does not help log in as root on a terminal and enter alsaconf and reconfigure alsa.
The full life is a big mess

PS:
I'm German. Sorry because of possible mistakes in my written messages xD


Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3752
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: No sound in LXDE, all suggestions tried (bit long)
« Reply #13 on: December 03, 2012, 11:22:12 PM »
Thanks for the message
I did as you suggested. I now have 3 volume controls on the task bar.
Output from pulseaudio is now
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.



This seems so good, and you have not checked that all channels not muted ?

When i mute my audio, and hit then again the mute key i have to check after this that all channels are on. Master, speaker, and headphone. Most time is only master on, and the others of...  ::)
Gmixer should work, when pulseaudio is working, when not you can try as root
Code: [Select]
alsaconf and then check again, that there is nothing muted...

Offline scbs29

  • Full Member
  • ***
  • Posts: 224
Re: No sound in LXDE, all suggestions tried (bit long)
« Reply #14 on: December 04, 2012, 06:11:01 AM »
Thanks for all of the advice.
The 3 volume control icons have now disappeared again, but when they were there they all showed 100%,
none were muted.

I have now uninstalled pulseaudio to see if that made any difference.
I opened alsamixer and set it as follows:
ALsaMixer v1.0.25
Card: CA0106
Chip: CA0106
View: Playback

Bars
Master set to 100, Item: Master [dB gain: 0.00]
S/PDIF small square with MM in it. Item: S/PDIF [Off]
S/PDIF C set to 100, Item: S/PDIF Center/LFE [dB gain: 12.00,12.00]
Same settings for S/PDIF F, S/PDIF R, S/PDIF U,
Analog C, Analog F, Analog R, Analog S.


I then ran alsaconf as root, with the following:
AlsaConf
Following cards found
ca0106 Creative Labs CA0106 Soundblaster (highlighted.)
Configuring snd-ca0106
Do you want to modify /etc/modules.conf ?
Yes
Will prepare the card for playing now
will run alsasound init script then
amixer to raise default volumes
Loading driver
Doing alsactl to store mixer settings
WARNING: Module snd-mixer-oss already in kernel.
snd_hda_intel snd_ca0106
Doing alsactl to restore mixer settings:
Setting default volumes

Now ALSA is ready to use.

/etc/modules.conf reads
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.25 ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-ca0106
alias sound-slot-0 snd-ca0106
# --- END: Generated by ALSACONF, do not edit. ---

gmixer gives the output
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
W:Failed to load icon Icon 'stock_line_in' not present in theme
Traceback (most recent call last):
  File "/usr/bin/gmixer", line 1168, in <module>
    GMixer(options.daemon, options.custom_mixer_cmd, options.pixmap)
  File "/usr/bin/gmixer", line 640, in __init__
    self._build_gvolumes()
  File "/usr/bin/gmixer", line 1013, in _build_gvolumes
    sep.hide()
UnboundLocalError: local variable 'sep' referenced before assignment

Still no sound.
Registered Linux User 490858