no sound, pulseaudio not active [SOLVED]

no sound, pulseaudio not active [SOLVED]

Postby andre999 » Jun 28th, '15, 04:37

following the guide for sound problems :
1) pavucontrol is installed, with xfce desktop and most of maté installed.

2) ps aux | grep pulseaudio
shows pulseaudio running on root + user account

3) pactl stat
Code: Select all
En cours d'utilisation : 1 blocs contenant au total 64,0 Kio octets.
Alloué pendant l'ensemble de la durée d'exécution : 159977 blocs contenant au total 161,1 Mio octets.
Taille du cache de l'échantillon : 0 B
Server String: unix:/run/user/1010/pulse/native
Library Protocol Version: 29
Server Protocol Version: 29
Is Local: yes
Client Index: 44
Tile Size: 65496
User Name: andr
Host Name: localhost
Server Name: pulseaudio
Server Version: 5.0.0-6.mga5
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.5.analog-stereo
Default Source: alsa_input.pci-0000_00_1f.5.analog-stereo
Cookie: c081:1f12


4) pactl list sink-inputs
(when running audacious, which seems to work but no sound output)
Code: Select all
Sink Input #15
   Driver: protocol-native.c
   Owner Module: 8
   Client: 46
   Sink: 0
   Sample Specification: s16le 2ch 44100Hz
   Channel Map: front-left,front-right
   Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
   Corked: no
   Mute: no
   Volume: front-left: 62259 /  95% / -1,34 dB,   front-right: 62259 /  95% / -1,34 dB
           balance 0,00
   Buffer Latency: 498707 usec
   Sink Latency: 290448 usec
   Resample method: n/d
   Properties:
      media.name = "Audacious"
      application.name = "Audacious"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "29"
      application.process.id = "24033"
      application.process.user = "andr"
      application.process.host = "localhost"
      application.process.binary = "audacious"
      application.language = "fr_CA.UTF-8"
      window.x11.display = ":0.0"
      application.process.machine_id = "476199ee6d88490ca3501cf287c709e8"
      application.process.session_id = "c2"
      application.icon_name = "audacious"
      module-stream-restore.id = "sink-input-by-application-name:Audacious"


5) systemctl status osspd.service -l
(aoss installed but wasn't when sound working under mga4)
Code: Select all
● osspd.service
   Loaded: not-found (Reason: No such file or directory)
   Active: active (running) since ven 2015-06-26 21:09:19 EDT; 1 day 1h ago
 Main PID: 668 (osspd)
   CGroup: /system.slice/osspd.service
           └─668 /usr/sbin/osspd

jun 26 21:09:19 localhost osspd[668]: OSS Proxy v1.3.2 (C) 2008-2010 by Tejun Heo <teheo@suse.de>
jun 26 21:09:19 localhost osspd[668]: Creating dsp (14:3), adsp (14:12), mixer (14:0)


6) pacmd ls
(under mga4 when sound stopped working pulseaudio was active as expected)
Code: Select all
Aucun démon PulseAudio en cours d'exécution, ou ne s'exécutant pas dans une session de type démon.


7) lspcidrake -v | grep -i audio
Code: Select all
snd_intel8x0    : Intel Corporation|82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller [MULTIMEDIA_AUDIO] (vendor:8086 device:24c5 subv:0e11 subd:0860) (rev: 01)


8) /usr/sbin/lsmod | grep snd
Code: Select all
snd_intel8x0    : Intel Corporation|82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller [MULTIMEDIA_AUDIO] (vendor:8086 device:24c5 subv:0e11 subd:0860) (rev: 01)
[root@localhost ~]# /usr/sbin/lsmod | grep snd
snd_intel8x0           37280  4
snd_intel8x0m          18401  2
snd_ac97_codec        105875  2 snd_intel8x0,snd_intel8x0m
snd_pcm                98143  3 snd_ac97_codec,snd_intel8x0,snd_intel8x0m
snd_timer              24390  1 snd_pcm
snd                    66861  17 snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm,snd_intel8x0m
soundcore              14604  1 snd
ac97_bus               12642  1 snd_ac97_codec


9) alsamixer -c 0
displays graphic, not sure what to look for, but seems ok

10) /usr/sbin/fuser -v /dev/snd/pcm* /dev/dsp
displays nothing, should show pulseaudio (as it did when sound lost in mga4)

In mga4 had similar problem of sound becoming inactive, possible caused by mute not reversing, or some update.
Was able to find an internet reference to a setting, which when changed restored the sound. When this problem recurred, unable to remember correction. So I updated to mga5 when released shortly after, hoping that it would correct problem.
This time pulseaudio, despite being installed, is not running.

Thanks in advance for any help
Last edited by andre999 on Jul 9th, '15, 06:55, edited 1 time in total.
andre999
 
Posts: 17
Joined: Jun 7th, '11, 08:11

Re: no sound, pulseaudio not active

Postby doktor5000 » Jun 28th, '15, 11:54

andre999 wrote:2) ps aux | grep pulseaudio
shows pulseaudio running on root + user account


Please show the actual output of
Code: Select all
ps auxwww|grep -v grep|grep pulse

pulseaudio should be running under your user, not root. Also, as you only posted the output of the command, you miss the information as which user you ran them.
Please always copy the complete command that you ran including the output, and not only the output.

edit doktor5000: just noticed this again myself ... please add the output as root of
Code: Select all
ls -ald /run/user/*/pulse


andre999 wrote:6) pacmd ls
(under mga4 when sound stopped working pulseaudio was active as expected)
Code: Select all
Aucun démon PulseAudio en cours d'exécution, ou ne s'exécutant pas dans une session de type démon.

Please run again prefixed with LC_ALL=C


andre999 wrote:In mga4 had similar problem of sound becoming inactive, possible caused by mute not reversing, or some update.
Was able to find an internet reference to a setting, which when changed restored the sound. When this problem recurred, unable to remember correction. So I updated to mga5 when released shortly after, hoping that it would correct problem.
This time pulseaudio, despite being installed, is not running.

It would help if you could describe what the actual problem is, and if that is a fresh mga5 installation or an upgrade (or an installation where you kept previous /home).
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: no sound, pulseaudio not active

Postby andre999 » Jun 28th, '15, 21:01

All the tests had been run as root. This time I'll show the user.

Code: Select all
[andr@localhost ~]$ LC_ALL=C ps aux | grep pulse
andr      6049  0.0  0.1   6560  2092 pts/0    S+   14:12   0:00 grep --color pulse
andr      9302  0.0  0.7 102808  9120 ?        S<sl 09:54   0:00 /usr/bin/pulseaudio
andr      9309  0.0  0.2  11408  2868 ?        S    09:54   0:00 /usr/libexec/pulse/gconf-helper

So apparently it only showed root since I had run the test as root.

Code: Select all
[root@localhost ~]# ls -ald /run/user/*/pulse
drwx------ 2 andr andr 80 jun 28 09:54 /run/user/1010/pulse/


Code: Select all
[andr@localhost ~]$ LC_ALL=C pacmd ls
Memory blocks currently allocated: 1, size: 64,0 Kio.
Memory blocks allocated during the whole lifetime: 91, size: 2,7 Mio.
Memory blocks imported from other processes: 0, size: 0 B.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 0 B.
Default sample spec: s16le 2ch 44100Hz
Default channel map: front-left,front-right
Default sink name: alsa_output.pci-0000_00_1f.5.analog-stereo
Default source name: alsa_input.pci-0000_00_1f.5.analog-stereo
Memory blocks of type POOL: 1 allocated/29 accumulated.
Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated.
Memory blocks of type APPENDED: 0 allocated/0 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/62 accumulated.
Memory blocks of type IMPORTED: 0 allocated/0 accumulated.
24 module(s) loaded.
    index: 0
   name: <module-device-restore>
   argument: <>
   used: -1
   load once: yes
   properties:
      module.author = "Lennart Poettering"
      module.description = "Automatically restore the volume/mute state of devices"
      module.version = "5.0.0-6.mga5"
    index: 1
   name: <module-stream-restore>
   argument: <>
   used: -1
   load once: yes
   properties:
      module.author = "Lennart Poettering"
      module.description = "Automatically restore the volume/mute/device state of streams"
      module.version = "5.0.0-6.mga5"
    index: 2
   name: <module-card-restore>
   argument: <>
   used: -1
   load once: yes
   properties:
      module.author = "Lennart Poettering"
      module.description = "Automatically restore profile of cards"
      module.version = "5.0.0-6.mga5"
    index: 3
   name: <module-augment-properties>
   argument: <>
   used: -1
   load once: yes
   properties:
      module.author = "Lennart Poettering"
      module.description = "Augment the property sets of streams with additional static information"
      module.version = "5.0.0-6.mga5"
    index: 4
   name: <module-switch-on-port-available>
   argument: <>
   used: -1
   load once: no
   properties:
      
    index: 5
   name: <module-udev-detect>
   argument: <>
   used: -1
   load once: yes
   properties:
      module.author = "Lennart Poettering"
      module.description = "Detect available audio hardware and load matching drivers"
      module.version = "5.0.0-6.mga5"
    index: 6
   name: <module-alsa-card>
   argument: <device_id="0" name="pci-0000_00_1f.5" card_name="alsa_card.pci-0000_00_1f.5" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1">
   used: 0
   load once: no
   properties:
      module.author = "Lennart Poettering"
      module.description = "ALSA Card"
      module.version = "5.0.0-6.mga5"
    index: 7
   name: <module-esound-protocol-unix>
   argument: <>
   used: -1
   load once: no
   properties:
      module.author = "Lennart Poettering"
      module.description = "ESOUND protocol (UNIX sockets)"
      module.version = "5.0.0-6.mga5"
    index: 8
   name: <module-native-protocol-unix>
   argument: <>
   used: -1
   load once: no
   properties:
      module.author = "Lennart Poettering"
      module.description = "Native protocol (UNIX sockets)"
      module.version = "5.0.0-6.mga5"
    index: 9
   name: <module-gconf>
   argument: <>
   used: -1
   load once: yes
   properties:
      module.author = "Lennart Poettering"
      module.description = "GConf Adapter"
      module.version = "5.0.0-6.mga5"
    index: 10
   name: <module-default-device-restore>
   argument: <>
   used: -1
   load once: yes
   properties:
      module.author = "Lennart Poettering"
      module.description = "Automatically restore the default sink and source"
      module.version = "5.0.0-6.mga5"
    index: 11
   name: <module-rescue-streams>
   argument: <>
   used: -1
   load once: yes
   properties:
      module.author = "Lennart Poettering"
      module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
      module.version = "5.0.0-6.mga5"
    index: 12
   name: <module-always-sink>
   argument: <>
   used: -1
   load once: yes
   properties:
      module.author = "Colin Guthrie"
      module.description = "Garde toujours au moins une destination même si elle est vide"
      module.version = "5.0.0-6.mga5"
    index: 13
   name: <module-intended-roles>
   argument: <>
   used: -1
   load once: yes
   properties:
      module.author = "Lennart Poettering"
      module.description = "Automatically set device of streams based on intended roles of devices"
      module.version = "5.0.0-6.mga5"
    index: 14
   name: <module-suspend-on-idle>
   argument: <>
   used: -1
   load once: yes
   properties:
      module.author = "Lennart Poettering"
      module.description = "When a sink/source is idle for too long, suspend it"
      module.version = "5.0.0-6.mga5"
    index: 15
   name: <module-systemd-login>
   argument: <>
   used: -1
   load once: yes
   properties:
      module.author = "Lennart Poettering"
      module.description = "Create a client for each login session of this user"
      module.version = "5.0.0-6.mga5"
    index: 16
   name: <module-position-event-sounds>
   argument: <>
   used: -1
   load once: yes
   properties:
      module.author = "Lennart Poettering"
      module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
      module.version = "5.0.0-6.mga5"
    index: 17
   name: <module-role-cork>
   argument: <>
   used: -1
   load once: yes
   properties:
      module.author = "Lennart Poettering"
      module.description = "Mute & cork streams with certain roles while others exist"
      module.version = "5.0.0-6.mga5"
    index: 18
   name: <module-filter-heuristics>
   argument: <>
   used: -1
   load once: yes
   properties:
      module.author = "Colin Guthrie"
      module.description = "Detect when various filters are desirable"
      module.version = "5.0.0-6.mga5"
    index: 19
   name: <module-filter-apply>
   argument: <>
   used: -1
   load once: yes
   properties:
      module.author = "Colin Guthrie"
      module.description = "Load filter sinks automatically when needed"
      module.version = "5.0.0-6.mga5"
    index: 20
   name: <module-x11-publish>
   argument: <display=:0>
   used: -1
   load once: no
   properties:
      module.author = "Lennart Poettering"
      module.description = "X11 credential publisher"
      module.version = "5.0.0-6.mga5"
    index: 21
   name: <module-x11-publish>
   argument: <display=:0.0>
   used: -1
   load once: no
   properties:
      module.author = "Lennart Poettering"
      module.description = "X11 credential publisher"
      module.version = "5.0.0-6.mga5"
    index: 22
   name: <module-x11-xsmp>
   argument: <display=:0.0 session_manager=local/localhost:@/tmp/.ICE-unix/9340,unix/localhost:/tmp/.ICE-unix/9340>
   used: -1
   load once: no
   properties:
      module.author = "Lennart Poettering"
      module.description = "X11 session management"
      module.version = "5.0.0-6.mga5"
    index: 23
   name: <module-cli-protocol-unix>
   argument: <>
   used: -1
   load once: no
   properties:
      module.author = "Lennart Poettering"
      module.description = "Command line interface protocol (UNIX sockets)"
      module.version = "5.0.0-6.mga5"
1 sink(s) available.
  * index: 0
   name: <alsa_output.pci-0000_00_1f.5.analog-stereo>
   driver: <module-alsa-card.c>
   flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
   state: SUSPENDED
   suspend cause: IDLE
   priority: 9959
   volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
           balance 0,00
   base volume: 41350 /  63% / -12,00 dB
   volume steps: 65537
   muted: no
   current latency: 0,00 ms
   max request: 0 KiB
   max rewind: 0 KiB
   monitor source: 0
   sample spec: s16le 2ch 44100Hz
   channel map: front-left,front-right
                Stéréo
   used by: 0
   linked by: 0
   configured latency: 0,00 ms; range is 0,50 .. 371,52 ms
   card: 0 <alsa_card.pci-0000_00_1f.5>
   module: 6
   properties:
      alsa.resolution_bits = "16"
      device.api = "alsa"
      device.class = "sound"
      alsa.class = "generic"
      alsa.subclass = "generic-mix"
      alsa.name = "Intel 82801DB-ICH4"
      alsa.id = "Intel ICH"
      alsa.subdevice = "0"
      alsa.subdevice_name = "subdevice #0"
      alsa.device = "0"
      alsa.card = "0"
      alsa.card_name = "Intel 82801DB-ICH4"
      alsa.long_card_name = "Intel 82801DB-ICH4 with AD1981B at irq 10"
      alsa.driver_name = "snd_intel8x0"
      device.bus_path = "pci-0000:00:1f.5"
      sysfs.path = "/devices/pci0000:00/0000:00:1f.5/sound/card0"
      device.bus = "pci"
      device.vendor.id = "8086"
      device.vendor.name = "Intel Corporation"
      device.product.id = "24c5"
      device.product.name = "82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller"
      device.form_factor = "internal"
      device.string = "front:0"
      device.buffering.buffer_size = "65536"
      device.buffering.fragment_size = "65536"
      device.access_mode = "mmap+timer"
      device.profile.name = "analog-stereo"
      device.profile.description = "Stéréo analogique"
      device.description = "Audio interne Stéréo analogique"
      alsa.mixer_name = "Analog Devices AD1981B"
      alsa.components = "AC97a:41445374"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   ports:
      analog-output-headphones: Casques analogiques (priority 9000, latency offset 0 usec, available: unknown)
         properties:
            device.icon_name = "audio-headphones"
   active port: <analog-output-headphones>
2 source(s) available.
    index: 0
   name: <alsa_output.pci-0000_00_1f.5.analog-stereo.monitor>
   driver: <module-alsa-card.c>
   flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
   state: SUSPENDED
   suspend cause: IDLE
   priority: 1950
   volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
           balance 0,00
   base volume: 65536 / 100% / 0,00 dB
   volume steps: 65537
   muted: no
   current latency: 0,00 ms
   max rewind: 0 KiB
   sample spec: s16le 2ch 44100Hz
   channel map: front-left,front-right
                Stéréo
   used by: 0
   linked by: 0
   configured latency: 0,00 ms; range is 0,50 .. 371,52 ms
   monitor_of: 0
   card: 0 <alsa_card.pci-0000_00_1f.5>
   module: 6
   properties:
      device.description = "Monitor of Audio interne Stéréo analogique"
      device.class = "monitor"
      alsa.card = "0"
      alsa.card_name = "Intel 82801DB-ICH4"
      alsa.long_card_name = "Intel 82801DB-ICH4 with AD1981B at irq 10"
      alsa.driver_name = "snd_intel8x0"
      device.bus_path = "pci-0000:00:1f.5"
      sysfs.path = "/devices/pci0000:00/0000:00:1f.5/sound/card0"
      device.bus = "pci"
      device.vendor.id = "8086"
      device.vendor.name = "Intel Corporation"
      device.product.id = "24c5"
      device.product.name = "82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller"
      device.form_factor = "internal"
      device.string = "0"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
  * index: 1
   name: <alsa_input.pci-0000_00_1f.5.analog-stereo>
   driver: <module-alsa-card.c>
   flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
   state: SUSPENDED
   suspend cause: IDLE
   priority: 9959
   volume: front-left: 39037 /  60% / -13,50 dB,   front-right: 39037 /  60% / -13,50 dB
           balance 0,00
   base volume: 27636 /  42% / -22,50 dB
   volume steps: 65537
   muted: yes
   current latency: 0,00 ms
   max rewind: 0 KiB
   sample spec: s16le 2ch 44100Hz
   channel map: front-left,front-right
                Stéréo
   used by: 0
   linked by: 0
   configured latency: 0,00 ms; range is 0,50 .. 371,52 ms
   card: 0 <alsa_card.pci-0000_00_1f.5>
   module: 6
   properties:
      alsa.resolution_bits = "16"
      device.api = "alsa"
      device.class = "sound"
      alsa.class = "generic"
      alsa.subclass = "generic-mix"
      alsa.name = "Intel 82801DB-ICH4"
      alsa.id = "Intel ICH"
      alsa.subdevice = "0"
      alsa.subdevice_name = "subdevice #0"
      alsa.device = "0"
      alsa.card = "0"
      alsa.card_name = "Intel 82801DB-ICH4"
      alsa.long_card_name = "Intel 82801DB-ICH4 with AD1981B at irq 10"
      alsa.driver_name = "snd_intel8x0"
      device.bus_path = "pci-0000:00:1f.5"
      sysfs.path = "/devices/pci0000:00/0000:00:1f.5/sound/card0"
      device.bus = "pci"
      device.vendor.id = "8086"
      device.vendor.name = "Intel Corporation"
      device.product.id = "24c5"
      device.product.name = "82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller"
      device.form_factor = "internal"
      device.string = "front:0"
      device.buffering.buffer_size = "65536"
      device.buffering.fragment_size = "65536"
      device.access_mode = "mmap+timer"
      device.profile.name = "analog-stereo"
      device.profile.description = "Stéréo analogique"
      device.description = "Audio interne Stéréo analogique"
      alsa.mixer_name = "Analog Devices AD1981B"
      alsa.components = "AC97a:41445374"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   ports:
      analog-input-mic;input-microphone-1: Microphone / Microphone 1 (priority 8720, latency offset 0 usec, available: unknown)
         properties:
            device.icon_name = "audio-input-microphone"
      analog-input-mic;input-microphone-2: Microphone / Microphone 2 (priority 8719, latency offset 0 usec, available: unknown)
         properties:
            device.icon_name = "audio-input-microphone"
      analog-input-linein: Entrée-ligne (priority 8100, latency offset 0 usec, available: unknown)
         properties:
            
      analog-input-aux: Entrée analogique (priority 8000, latency offset 0 usec, available: unknown)
         properties:
            
      analog-input-video: Vidéo (priority 7000, latency offset 0 usec, available: unknown)
         properties:
            
   active port: <analog-input-mic;input-microphone-1>
8 client(s) logged in.
    index: 0
   driver: <module-systemd-login.c>
   owner module: 15
   properties:
      application.name = "Login Session c2"
      systemd-login.session = "c2"
    index: 2
   driver: <protocol-native.c>
   owner module: 8
   properties:
      application.name = "xfwm4"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "29"
      window.x11.display = ":0.0"
      window.x11.screen = "0"
      application.process.id = "9349"
      application.process.user = "andr"
      application.process.host = "localhost"
      application.process.binary = "xfwm4"
      application.language = "fr_CA.utf8"
      application.process.machine_id = "476199ee6d88490ca3501cf287c709e8"
      application.process.session_id = "c2"
    index: 4
   driver: <protocol-native.c>
   owner module: 8
   properties:
      application.name = "wrapper-1.0"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "29"
      application.process.id = "9400"
      application.process.user = "andr"
      application.process.host = "localhost"
      application.process.binary = "wrapper-1.0"
      application.language = "fr_CA.utf8"
      window.x11.display = ":0.0"
      application.process.machine_id = "476199ee6d88490ca3501cf287c709e8"
      application.process.session_id = "c2"
    index: 5
   driver: <protocol-native.c>
   owner module: 8
   properties:
      application.name = "wrapper-1.0"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "29"
      application.process.id = "9400"
      application.process.user = "andr"
      application.process.host = "localhost"
      application.process.binary = "wrapper-1.0"
      application.language = "fr_CA.utf8"
      window.x11.display = ":0.0"
      application.process.machine_id = "476199ee6d88490ca3501cf287c709e8"
      application.process.session_id = "c2"
    index: 6
   driver: <protocol-native.c>
   owner module: 8
   properties:
      application.name = "wrapper-1.0"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "29"
      application.process.id = "9400"
      application.process.user = "andr"
      application.process.host = "localhost"
      application.process.binary = "wrapper-1.0"
      application.language = "fr_CA.utf8"
      window.x11.display = ":0.0"
      application.process.machine_id = "476199ee6d88490ca3501cf287c709e8"
      application.process.session_id = "c2"
    index: 9
   driver: <module-x11-xsmp.c>
   owner module: 22
   properties:
      application.name = "XSMP Session on xfce4-session as 2edae7166-ddd3-4928-8f4d-d8b38c80716d"
      xsmp.vendor = "xfce4-session"
      xsmp.client.id = "2edae7166-ddd3-4928-8f4d-d8b38c80716d"
    index: 11
   driver: <protocol-native.c>
   owner module: 8
   properties:
      application.name = "ALSA plug-in [pnmixer]"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "29"
      application.process.id = "9464"
      application.process.user = "andr"
      application.process.host = "localhost"
      application.process.binary = "pnmixer"
      application.language = "fr_CA.utf8"
      window.x11.display = ":0.0"
      application.process.machine_id = "476199ee6d88490ca3501cf287c709e8"
      application.process.session_id = "c2"
    index: 12
   driver: <cli.c>
   owner module: 23
   properties:
      application.name = "UNIX socket client"
1 card(s) available.
    index: 0
   name: <alsa_card.pci-0000_00_1f.5>
   driver: <module-alsa-card.c>
   owner module: 6
   properties:
      alsa.card = "0"
      alsa.card_name = "Intel 82801DB-ICH4"
      alsa.long_card_name = "Intel 82801DB-ICH4 with AD1981B at irq 10"
      alsa.driver_name = "snd_intel8x0"
      device.bus_path = "pci-0000:00:1f.5"
      sysfs.path = "/devices/pci0000:00/0000:00:1f.5/sound/card0"
      device.bus = "pci"
      device.vendor.id = "8086"
      device.vendor.name = "Intel Corporation"
      device.product.id = "24c5"
      device.product.name = "82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller"
      device.form_factor = "internal"
      device.string = "0"
      device.description = "Audio interne"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   profiles:
      input:analog-stereo: Stéréo analogique Input (priority 60, available: unknown)
      output:analog-stereo: Stéréo analogique Output (priority 6000, available: unknown)
      output:analog-stereo+input:analog-stereo: Duplex stéréo analogique (priority 6060, available: unknown)
      output:iec958-stereo: Stéréo numérique (IEC958) Output (priority 5500, available: unknown)
      output:iec958-stereo+input:analog-stereo: Stéréo numérique (IEC958) Output + Stéréo analogique Input (priority 5560, available: unknown)
      off: Éteint (priority 0, available: unknown)
   active profile: <output:analog-stereo+input:analog-stereo>
   sinks:
      alsa_output.pci-0000_00_1f.5.analog-stereo/#0: Audio interne Stéréo analogique
   sources:
      alsa_output.pci-0000_00_1f.5.analog-stereo.monitor/#0: Monitor of Audio interne Stéréo analogique
      alsa_input.pci-0000_00_1f.5.analog-stereo/#1: Audio interne Stéréo analogique
   ports:
      analog-input-mic;input-microphone-1: Microphone / Microphone 1 (priority 8720, latency offset 0 usec, available: unknown)
         properties:
            device.icon_name = "audio-input-microphone"
      analog-input-mic;input-microphone-2: Microphone / Microphone 2 (priority 8719, latency offset 0 usec, available: unknown)
         properties:
            device.icon_name = "audio-input-microphone"
      analog-input-linein: Entrée-ligne (priority 8100, latency offset 0 usec, available: unknown)
         properties:
            
      analog-input-aux: Entrée analogique (priority 8000, latency offset 0 usec, available: unknown)
         properties:
            
      analog-input-video: Vidéo (priority 7000, latency offset 0 usec, available: unknown)
         properties:
            
      analog-output-headphones: Casques analogiques (priority 9000, latency offset 0 usec, available: unknown)
         properties:
            device.icon_name = "audio-headphones"
      iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
         properties:
            
0 sink input(s) available.
0 source output(s) available.
0 cache entrie(s) available.
[andr@localhost ~]$


Mga4 was cleanly installed on this (older 32bit) computer after my more recent 64bit computer died. Initially the sound worked, but it stopped working at some point after I had temporarily put it on mute and some updates. Most of the time I don't use sound, only sometimes for some videos, so I don't know exactly when it stopped working.
However a search online suggested modifying some configuration file, and the modification restored the sound. A few weeks ago the same problem recurred, but I had lost the correction. The output of the tests I posted here was similar, except pulseaudio was running.
Mga5 was installed by upgrade, to avoid the weeks of adjustment necessary with clean installs, since I do a lot of customization.
Both the mga4 and mga5 installs used xfce, with a task-minimal of maté for certain applications I prefer.

I just noticed that the sound icon is no longer displayed in the panel. I don't know how to restore it, since the same sound-related packages should be installed.
I installed the aoss package a little before posting here, since it was suggested by draksound. It hadn't been installed under mga4.
Also note that no "tainted" packages were installed when sound worked under mga4.

I had the thought that maybe a configuration file under mga4 had disabled pulseaudio (as had happened previously), and the release upgrade had noticed and configured to not load pulseaudio. If that makes sense.
andre999
 
Posts: 17
Joined: Jun 7th, '11, 08:11

Re: no sound, pulseaudio not active

Postby andre999 » Jun 28th, '15, 21:04

Just to clarify, since my upgrade to mga5, I have had absolutely no sound.
Under mga4, I had added the task package for codecs as suggested somewhere on the forums, but that didn't help. It is still installed on mga5.
andre999
 
Posts: 17
Joined: Jun 7th, '11, 08:11

Re: no sound, pulseaudio not active

Postby doktor5000 » Jun 28th, '15, 21:29

Please, one thing after the other. The task-package for additional codecs is not necessary to get sound output at all.

For the modification that you did in the past for "some configuration file" can you please check back what that was in particular?

For the output, looks OK so far. What desktop environment do you use (you only wrote that Mate and XFCE are installed), and what default output is selected currently?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: no sound, pulseaudio not active

Postby andre999 » Jun 29th, '15, 00:03

Unfortunately I couldn't find any info on the configuration file that I modified (at least several months ago). (Usually I make notes, but not this time.)
Nor could I find the info on searching again on the internet. If I did find it, that would probably solve my problem.

The desktop I use is xfce, but I use caja and pluma and the search engine from maté.
(The main reason I chose xfce was enhanced panel options + ease of configuration, but it now is not as easy to configure, with fewer options.)
I haven't (recently) tried maté, although it remains an option on logging in.

/etc/sound/profiles/current/ is a shortcut to the /etc/sound/profiles/pulse/ directory, if that is what you mean by default.
I notice that the "pulse" file inside is empty. Should that be the case ?

A thought, could this somehow be related to a missing or maladjusted systemd file ?

BTW, thanks a lot for your help. I feel I have an expert on my side.
andre999
 
Posts: 17
Joined: Jun 7th, '11, 08:11

Re: no sound, pulseaudio not active

Postby doktor5000 » Jun 29th, '15, 20:44

For comparison, could you try with KDE, preferrably with a freshly created user?
Check if you have several sound devices (analog, HDMI) in kmix mixer and whether sound can be played.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: no sound, pulseaudio not active

Postby andre999 » Jul 1st, '15, 05:02

I tried kde4 in a newly created user, still no sound.
Kmix gave me no output (the first time froze without visible output, after returned immediately in console).
draksound showed that pulseaudio was selected under kde.

Installing kde corrupted much of my xfce, and also gave me too little free disk space, so I uninstalled kde. (I don't have much disk space on this system, which is partly why I went to xfce.)
Had to reinstall much of xfce to restore its' functioning.
Sound still isn't working.

I also tried using maté, since I have task-mate-minimal installed, but it didn't display the panel, nor give me another way to run any applications.

On the internet I saw suggestions to rename configuration files for kde.
Do you think that that might work for xfce ?
andre999
 
Posts: 17
Joined: Jun 7th, '11, 08:11

Re: no sound, pulseaudio not active

Postby doktor5000 » Jul 1st, '15, 21:34

andre999 wrote:I tried kde4 in a newly created user, still no sound.
Kmix gave me no output (the first time froze without visible output, after returned immediately in console).

Then something is definitely wrong with your basic system installation. kmix is started by default, so no need to run it manually.
It will not return anything if it's already running, and stay in the foreground with not much output if that's not enabled via kdebugdialog.

For KDE installation corrupting your XFCE, and that you had to reinstall XFCE to get it working is something for a separate thread.
And you would be the first where that happens, as one of the strengths of linux is to have several desktop environment which separately store their settings
and also their packages so they don't conflict.

And if KDE or XFCE doesn't work properly with a newly created user, then there's no point in restoring default settings.
Also XFCE settings are not really related to pulse, and your issue is mainly with pulse and not with XFCE or KDE.

I suggest you do a fresh installation with a new / and new /home and try to reproduce with that.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: no sound, pulseaudio not active [solved]

Postby andre999 » Jul 7th, '15, 04:12

Not sure what made the difference, but I uninstalled the maté desktop and all the sound packages, then reinstalled them (probably with a few more sound packages), and now the sound works normally, at least under xfce.
Previously I had tried uninstalling and reinstalling the sound alone, and it didn't help.
One difference is this time I installed task-mate instead of just task-mate-minimal.
Maybe there was a missing dependancy ?
Or maybe there was a conflict from too many gstreamer packages installed ?
I still have a few minor problems, like the volume control not displaying in the panel (under xfce), but volume still can be controlled from the various applications.
Anyway, I can work around these problems.
I'll mark it as solved.
Thanks for your suggestions :)
andre999
 
Posts: 17
Joined: Jun 7th, '11, 08:11

Re: no sound, pulseaudio not active

Postby doktor5000 » Jul 7th, '15, 08:55

Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: no sound, pulseaudio not active [SOLVED]

Postby andre999 » Jul 9th, '15, 06:56

Didn't realize it had to be the first post. Done.
andre999
 
Posts: 17
Joined: Jun 7th, '11, 08:11


Return to Sound

Who is online

Users browsing this forum: No registered users and 1 guest

cron