You are not logged in.

#1 2019-09-13 14:52:24

GuestUser69
Member
Registered: 2019-09-13
Posts: 5

Dummy Output in audio (SOLVED)

I'm not exactly sure what caused it.
I messed around a little with asound.conf, and even though I left it exactly how it was before, I'm almost sure it was because of this. I also updated my system, and since I only noticed there was something wrong with the output after the update, I have my suspicions it might have been this.

I checked the wiki and

# fuser -v /dev/snd/*

has no output.


I am really noob so I don't know what to do now.

Last edited by GuestUser69 (2019-09-13 16:45:56)

Offline

#2 2019-09-13 14:57:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: Dummy Output in audio (SOLVED)

Welcome to the boards

Post your asound.conf then. Also in case this is unclear you have to run that fuser command as root (as indicated by the # as opposed to a $) if you ran that as your user your result might not reflect reality.

Where do you get the dummy output? in some pulse mixer? What do you get for

systemctl --user mask pulseaudio.socket
systemctl --user stop pulseaudio
pulseaudio -vvv

Offline

#3 2019-09-13 15:14:46

GuestUser69
Member
Registered: 2019-09-13
Posts: 5

Re: Dummy Output in audio (SOLVED)

asound.conf

# Use PulseAudio by default
pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
  fallback "sysdefault"
}

# vim:set ft=alsaconf:

I ran fuser as root.

The dummy output is in the sound settings (I'm using cinnamon). My computer is not producing any sound

After

systemctl --user mask pulseaudio.socket
systemctl --user stop pulseaudio
pulseaudio -vvv

I still have Dummy Output. The output for pulseaudio -vvv is

I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 12.99.3
D: [pulseaudio] main.c: Compilation host: x86_64
D: [pulseaudio] main.c: Compilation CFLAGS: Not yet supported on meson
D: [pulseaudio] main.c: Running on host: Linux x86_64 5.2.14-arch2-1-ARCH #1 SMP PREEMPT Thu Sep 12 10:42:38 UTC 2019
D: [pulseaudio] main.c: Found 2 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Running from build tree: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: All asserts enabled.
I: [pulseaudio] main.c: Machine ID is d1853cb0e11f4b87b256683d4d4fbe2f.
I: [pulseaudio] main.c: Session ID is 2.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/general_kwanza/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-12.99/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.

Offline

#4 2019-09-13 15:31:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: Dummy Output in audio (SOLVED)

Uhm yes

pgrep -a pulse
aplay -lL

?

Offline

#5 2019-09-13 15:38:05

GuestUser69
Member
Registered: 2019-09-13
Posts: 5

Re: Dummy Output in audio (SOLVED)

Still have Dummy Output.

pgrep -a pulse output

9403 pulseaudio -vvv

aplay -lL output

ALSA lib conf.c:1887:(_snd_config_load_with_include) _toplevel_:2:14:Unexpected char
ALSA lib conf.c:3650:(config_file_open) /etc/asound.conf may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:3572:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:4026:(snd_config_update_r) hooks failed, removing configuration
**** List of PLAYBACK Hardware Devices ****
ALSA lib conf.c:1887:(_snd_config_load_with_include) _toplevel_:2:14:Unexpected char
ALSA lib conf.c:3650:(config_file_open) /etc/asound.conf may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:3572:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:4026:(snd_config_update_r) hooks failed, removing configuration
aplay: device_list:281: control open (0): Invalid argument

Offline

#6 2019-09-13 15:50:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: Dummy Output in audio (SOLVED)

So something is still broken in your /etc/asound.conf, can't put my finger on it, how did you edit it? Maybe you introduced windows line endings. Either remove the file and reinstall pulseaudio-alsa or

sudo sed -i 's/\r//g' /etc/asound.conf
systemctl --user unmask pulseaudio.socket #Restore pulse auto starting

Offline

#7 2019-09-13 16:45:35

GuestUser69
Member
Registered: 2019-09-13
Posts: 5

Re: Dummy Output in audio (SOLVED)

Well, I deleted /etc/asound.conf , recreated it, rewrote it on terminal, and did

systemctl --user mask pulseaudio.socket
systemctl --user stop pulseaudio
pulseaudio -vvv

Now I have sound again and it detects my headphones so I guess it's solved.

I'm wondering, though, why I wrote it in windows line endings in the first place. I edited with a basic notepad. It's not the first time I write something and it's not recognized (not sure if it's always windows line endings), not only in the system, but in other programs as well. It doesn't happen always so it's a mystery to me. But I guess the initial problem is solved.

Offline

#8 2019-09-13 16:59:59

GuestUser69
Member
Registered: 2019-09-13
Posts: 5

Re: Dummy Output in audio (SOLVED)

Thank you very much, btw.

Offline

Board footer

Powered by FluxBB