No sound and some other problems

No sound and some other problems

Postby tomane » Mar 1st, '16, 01:08

Hi all,
I've got no more sound on my mageia since today, plus I have some bizarre problems.
At first, I noticed that some games had no sound anymore, but some others had it, so I uninstalled and reinstalled task-pulseaudio and vlc-plugin-pulse.
But since that, I have no sound at all.
When I play some music with vlc and I check in pavu control, "Play" tab, there is a VLC media player : audio stream on "built-in audio analog stereo" with a bar showing some sound activity, but no sound on the speakers (connected to headphone jack output).
Same on other players (amarok, clementine...).
In kde configuration, I checked the sound configuration , when I click on the test button left or right, there is no sound. In the "engine" tab, there is only an engine which is vlc. I thought that it was gstreamer the default engine ?
I tried with another user on the same pc and it"s the same problem.
On the same PC I have a dual boot with windows and there is no problem, so I don't think it's an hardware problem.

I have some other strange problems : sometimes, just after the session opening, I run a program (firefox, dolphin...) and one window appears but then I can't focus on it : I click on it but nothing happens, I can click anywhere but nothing. The only solution is to open a terminal (I have a keyboard shortcut), kill that specific process program with its PID, or kill the session.

Thanks for your help !
tomane
 
Posts: 41
Joined: Jun 30th, '13, 19:58

Re: No sound and some other problems

Postby doktor5000 » Mar 1st, '16, 08:18

gstreamer phonon backend is deprecated and not developed anymore upstream, the vlc backend is the default since quite some time.
For the other issues, please open a separate thread.

For the sound issues, please provide the output of the following commands, run as your regular user:

Code: Select all
systemctl --user status pulseaudio.socket pulseaudio.service -a
LC_ALL=C PULSE_LOG=99 pulseaudio --check
LC_ALL=C PULSE_LOG=99 pactl stat
getfacl /dev/snd/*
pactl list cards


And could you try right-clicking on kmix in the system tray and choose "select master channel". What's selectable there and what is selected for "playback devices"? Also the same if you right-click on kmix and choose audio setup. Is the playback stuff all set to your current soundcard? And if you change to the "audio hardware setup" tab, can you attach screenshot here please?
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: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No sound and some other problems

Postby tomane » Mar 1st, '16, 09:47

Thanks for your answer
doktor5000 wrote:gstreamer phonon backend is deprecated and not developed anymore upstream, the vlc backend is the default since quite some time.

Ok, thanks
doktor5000 wrote:For the sound issues, please provide the output of the following commands, run as your regular user

Here it is (user name is lapin)
Code: Select all
$ systemctl --user status pulseaudio.socket pulseaudio.service -a
● pulseaudio.socket - Sound System
   Loaded: loaded (/usr/lib/systemd/user/pulseaudio.socket; static)
   Active: active (running) since mar. 2016-03-01 00:12:55 CET; 8h ago
   Listen: /run/user/501/pulse/native (Stream)

● pulseaudio.service - Sound Service
   Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled)
   Active: active (running) since mar. 2016-03-01 00:14:49 CET; 8h ago
 Main PID: 6323 (pulseaudio)
   CGroup: /user.slice/user-501.slice/user@501.service/pulseaudio.service
           ├─6323 /usr/bin/pulseaudio
           └─6337 /usr/libexec/pulse/gconf-helper
$ LC_ALL=C PULSE_LOG=99 pulseaudio --check
D: [pulseaudio] caps.c: Cleaning up privileges.
I: [pulseaudio] main.c: Daemon running as PID 6323
[lapin@barbatruc ~]$ LC_ALL=C PULSE_LOG=99 pactl stat
Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472
Trying to connect to {fb86b559865441ee891416e742b05469}unix:/run/user/501/pulse/native...
SHM possible: yes
Protocol version: remote 29, local 29
Negotiated SHM: yes
Currently in use: 1 blocks containing 63.9 KiB bytes total.
Allocated during whole lifetime: 172661 blocks containing 181.1 MiB bytes total.
Sample cache size: 0 B
Server String: unix:/run/user/501/pulse/native
Library Protocol Version: 29
Server Protocol Version: 29
Is Local: yes
Client Index: 25
Tile Size: 65472
User Name: lapin
Host Name: barbatruc
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_1b.0.analog-stereo
Default Source: alsa_input.usb-046d_08d9-01-U0x46d0x8d9.analog-mono
Cookie: 8cf6:36e9
$ getfacl /dev/snd/*
getfacl : suppression du premier « / » des noms de chemins absolus
# file: dev/snd/by-id
# owner: root
# group: root
user::rwx
group::r-x
other::r-x

# file: dev/snd/by-path
# owner: root
# group: root
user::rwx
group::r-x
other::r-x

# file: dev/snd/controlC0
# owner: root
# group: audio
user::rw-
user:lapin:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/controlC1
# owner: root
# group: audio
user::rw-
user:lapin:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/controlC2
# owner: root
# group: audio
user::rw-
user:lapin:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/hwC0D0
# owner: root
# group: audio
user::rw-
user:lapin:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/hwC1D0
# owner: root
# group: audio
user::rw-
user:lapin:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/pcmC0D0c
# owner: root
# group: audio
user::rw-
user:lapin:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/pcmC0D0p
# owner: root
# group: audio
user::rw-
user:lapin:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/pcmC0D1p
# owner: root
# group: audio
user::rw-
user:lapin:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/pcmC0D2c
# owner: root
# group: audio
user::rw-
user:lapin:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/pcmC1D3p
# owner: root
# group: audio
user::rw-
user:lapin:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/pcmC2D0c
# owner: root
# group: audio
user::rw-
user:lapin:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/seq
# owner: root
# group: audio
user::rw-
user:lapin:rw-
group::rw-
mask::rw-
other::---

# file: dev/snd/timer
# owner: root
# group: audio
user::rw-
user:lapin:rw-
group::rw-
mask::rw-
other::---

$ pactl list cards
Carte #0
        Nom : alsa_card.pci-0000_01_00.1
        Pilote : module-alsa-card.c
        Module propriétaire : 6
        Propriétés :
                alsa.card = "1"
                alsa.card_name = "HDA ATI HDMI"
                alsa.long_card_name = "HDA ATI HDMI at 0xf7e40000 irq 31"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                device.product.id = "aa50"
                device.product.name = "Cypress HDMI Audio [Radeon HD 5800 Series]"
                device.string = "1"
                device.description = "Cypress HDMI Audio [Radeon HD 5800 Series]"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Profils :
                output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5400, available: yes)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 300, available: yes)
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        Profil actif : output:hdmi-stereo
        Ports :
                hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo, output:hdmi-surround

Carte #1
        Nom : alsa_card.pci-0000_00_1b.0
        Pilote : module-alsa-card.c
        Module propriétaire : 7
        Propriétés :
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xf7f10000 irq 30"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1b.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "1e20"
                device.product.name = "7 Series/C210 Series Chipset Family High Definition Audio Controller"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "Built-in Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Profils :
                input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 60, available: yes)
                output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6060, available: yes)
                output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
                output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5560, available: yes)
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        Profil actif : output:analog-stereo+input:analog-stereo
        Ports :
                analog-input-front-mic: Front Microphone (priority: 8500, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "audio-input-microphone"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo
                analog-input-rear-mic: Rear Microphone (priority: 8200, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "audio-input-microphone"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo
                analog-input-linein: Line In (priority: 8100, latency offset: 0 usec, not available)
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo
                analog-output: Analog Output (priority: 9900, latency offset: 0 usec)
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-output-lineout: Line Out (priority: 9900, latency offset: 0 usec, available)
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-output-headphones: Headphones (priority: 9000, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "audio-headphones"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                iec958-stereo-output: Digital Output (S/PDIF) (priority: 0, latency offset: 0 usec)
                        Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo

Carte #2
        Nom : alsa_card.usb-046d_08d9-01-U0x46d0x8d9
        Pilote : module-alsa-card.c
        Module propriétaire : 8
        Propriétés :
                alsa.card = "2"
                alsa.card_name = "USB Device 0x46d:0x8d9"
                alsa.long_card_name = "USB Device 0x46d:0x8d9 at usb-0000:00:1d.0-1.8, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:1d.0-usb-0:1.8:1.1"
                sysfs.path = "/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:1.1/sound/card2"
                udev.id = "usb-046d_08d9-01-U0x46d0x8d9"
                device.bus = "usb"
                device.vendor.id = "046d"
                device.vendor.name = "Logitech, Inc."
                device.product.id = "08d9"
                device.product.name = "QuickCam IM/Connect"
                device.serial = "046d_08d9"
                device.string = "2"
                device.description = "QuickCam IM/Connect"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        Profils :
                input:analog-mono: Analog Mono Input (sinks: 0, sources: 1, priority: 1, available: yes)
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        Profil actif : input:analog-mono
        Ports :
                analog-input-mic: Microphone (priority: 8700, latency offset: 0 usec)
                        Properties:
                                device.icon_name = "audio-input-microphone"
                        Part of profile(s): input:analog-mono

doktor5000 wrote:And could you try right-clicking on kmix in the system tray and choose "select master channel". What's selectable there and what is selected for "playback devices"?

"Cypress HDMI Audio" and "Built-in Audio" are selectable. Built-in audio is selected.
doktor5000 wrote:Also the same if you right-click on kmix and choose audio setup. Is the playback stuff all set to your current soundcard? And if you change to the "audio hardware setup" tab, can you attach screenshot here please?

(sorry, it's in french)
hdwset1.jpeg
Cypress setup
hdwset1.jpeg (68.35 KiB) Viewed 2223 times
hdwset2.jpeg
Built-in setup
hdwset2.jpeg (65.04 KiB) Viewed 2223 times

BTW, I changed "Line out" to "Headphones" but it's the same.
Thank you very much.
tomane
 
Posts: 41
Joined: Jun 30th, '13, 19:58

Re: No sound and some other problems

Postby doktor5000 » Mar 1st, '16, 20:59

The output looks fine, pulseaudio is running, permissions are fine. 3 sound cards were detected, the HDMI one from the graphics card, your normal analog audio and your logitech webcam - could you please try to unplug that one for testing?

tomane wrote:
doktor5000 wrote:Also the same if you right-click on kmix and choose audio setup. Is the playback stuff all set to your current soundcard? And if you change to the "audio hardware setup" tab, can you attach screenshot here please?

(sorry, it's in french)


No problem, the device names are still english :)

If you're at that first screenshot, please in the "Carte son" field change to the analog audio, then click apply, and click one of the sound buttons at the bottom (front left/right.
And try the other way, by right-clicking on kmix in the system tray and choose "select master channel". Then select the HDMI card, click apply, then open the dialog again and switch back to analog and apply again.

Then check if you have sound.
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: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: No sound and some other problems

Postby tomane » Mar 2nd, '16, 00:33

Doktor5000 wrote:unplug that one for testing?
Ok

Doktor5000 wrote:in the "Carte son" field change to the analog audio, then click apply, and click one of the sound buttons at the bottom (front left/right.
I did it but there is still no sound on the speakers.

Doktor5000 wrote:And try the other way, by right-clicking on kmix in the system tray and choose "select master channel". Then select the HDMI card, click apply, then open the dialog again and switch back to analog and apply again.
This doesn't work either.

I have an usb DAC with an analog output, so I tried it and it works like a charm.
I would say it could be an hardware problem or even a problem with the jack connector at rear of the PC, but it works normally with windows. I tried anyway the PC front jack connector but it doesn't work.
I'm a bit tired with these too frequent sound problems.
Thanks a lot for your help
tomane
 
Posts: 41
Joined: Jun 30th, '13, 19:58

Re: No sound and some other problems

Postby tomane » Mar 4th, '16, 00:39

Hi,
I also tested with the mageia 5 live CD and there is no problem with the sound.
The "built-in audio" works normally.
tomane
 
Posts: 41
Joined: Jun 30th, '13, 19:58


Return to Sound

Who is online

Users browsing this forum: No registered users and 1 guest

cron