You are not logged in.

#1 2019-10-20 13:33:02

Guido Budack
Member
From: Switzerland/Philippines
Registered: 2019-05-02
Posts: 19
Website

Darkice stream not displayed in pavucontrol, no audible stream online

Hi
I am streaming audio with Darkice up to my Icecast2 server since years.
I already encountered some problems in form of a non-audible stream in Firefox a while ago which I simply solved by switching from a mp3 source towards an ogg vorbis.
Since one of the last updates of my arch distro I again encounter problems.
The stream connection was and is still established up to my icecast2 server but now I can't see any stream on my local system.
Meaning, before I always saw the Darkice client in pavucontrol (yes, I use pulseaudio, but have the same issue with alsa/mixxx) under 'recording'.
This isn't the case anymore and I wonder why and if someone else already had similar problems.

The end of the story is, that there is no audio arriving anywhere...

Any help is appreciated.

Cheers

Gee

Last edited by Guido Budack (2019-10-20 13:36:57)

Offline

#2 2019-10-20 13:43:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 9,724

Re: Darkice stream not displayed in pavucontrol, no audible stream online

Terminal output of darkice? What's your output for

pacmd list-cards
pacmd list-sources
pacmd list-source-outputs

during this? Post in [ code ] [ /code ] tags

Offline

#3 2019-10-20 15:50:12

Guido Budack
Member
From: Switzerland/Philippines
Registered: 2019-05-02
Posts: 19
Website

Re: Darkice stream not displayed in pavucontrol, no audible stream online

1.)

1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1b.0>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7d00000 irq 34"
		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 = "1c20"
		device.product.name = "6 Series/C200 Series Chipset Family High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Internes Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo-Eingabe (priority 65, available: no)
		output:analog-stereo: Analog Stereo-Ausgabe (priority 6500, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)
		output:iec958-stereo: Digital Stereo (IEC958)-Ausgabe (priority 5500, available: unknown)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958)-Ausgabe + Analog Stereo-Eingabe (priority 5565, available: no)
		output:hdmi-stereo: Digital Stereo (HDMI)-Ausgabe (priority 5900, available: unknown)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI)-Ausgabe + Analog Stereo-Eingabe (priority 5965, available: no)
		off: Aus (priority 0, available: unknown)
	active profile: <output:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Internes Audio Analog Stereo
	sources:
		alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Internes Audio Analog Stereo
	ports:
		analog-input-front-mic: Vorderes Mikrofon (priority 8500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-rear-mic: Rückwärtiges Mikrofon (priority 8200, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-linein: Line-Eingang (priority 8100, latency offset 0 usec, available: no)
			properties:
				
		analog-output-lineout: Line-Ausgang (priority 9000, latency offset 0 usec, available: yes)
			properties:
				
		analog-output-headphones: Kopfhörer (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
		iec958-stereo-output: Digitalausgang (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "VZ249"

2.)

1 source(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: IDLE
	suspend cause: (none)
	priority: 1030
	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: 79 KiB
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 2000.00 ms; range is 16.00 .. 2000.00 ms
	monitor_of: 0
	card: 0 <alsa_card.pci-0000_00_1b.0>
	module: 6
	properties:
		device.description = "Monitor of Internes Audio Analog Stereo"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7d00000 irq 34"
		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 = "1c20"
		device.product.name = "6 Series/C200 Series Chipset Family High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"

3.)

0 source output(s) available.

I didn't change anything in the configuration(s) of any program.

Last edited by Guido Budack (2019-10-21 07:15:58)

Offline

#4 2019-10-21 11:22:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 9,724

Re: Darkice stream not displayed in pavucontrol, no audible stream online

Output of darkice? What's

sudo fuser -v /dev/snd/*

while supposedly streaming something?

Offline

#5 2019-10-28 17:34:36

Guido Budack
Member
From: Switzerland/Philippines
Registered: 2019-05-02
Posts: 19
Website

Re: Darkice stream not displayed in pavucontrol, no audible stream online

/dev/snd/controlC0:  myusername       838 F.... pulseaudio
                     root      99107 F.... darkice
/dev/snd/pcmC0D0c:   root      99107 F...m darkice
/dev/snd/pcmC0D0p:   myusername       838 F...m pulseaudio
/dev/snd/timer:      root      99107 f.... darkice

Last edited by Guido Budack (2019-10-28 17:35:19)

Offline

#6 2019-10-28 17:54:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 9,724

Re: Darkice stream not displayed in pavucontrol, no audible stream online

Why is darkice running as root? Is it supposed to? How are you starting it, it's unlikely you want that started as root and this is the entire reason for your issue as darkice can not playback on your user's pulseaudio.

Offline

#7 2019-10-28 19:46:46

Guido Budack
Member
From: Switzerland/Philippines
Registered: 2019-05-02
Posts: 19
Website

Re: Darkice stream not displayed in pavucontrol, no audible stream online

immaterial...
The configuration has been the same for years.
Running the server as non-root is a no-brainer and doesn't make any difference. (tried as suggested)
All the hype about 'to be root or not to be' ...
There are folks out there (or even Distros) running under root only.
Beside mentioning that I am very aware of the possibilities and reasons of root etc.

Like I said in my question:
since an operating system upgrade (which I do in regular intervals) the stream is not listed in pavucontrol under 'recording' anymore (which it was before).
My guess is that there has been some fundamental change in the PA binaries or in this particular program and as this prevents darkice's stream to 'get out'.

Last edited by Guido Budack (2019-10-28 19:48:47)

Offline

#8 2019-10-28 20:50:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 9,724

Re: Darkice stream not displayed in pavucontrol, no audible stream online

PA has never - unless you've done a knowing change in it's configuration which you probably should disclose if that's the case - allowed a non user owned audio stream to connect to a user owned pulseaudio. That includes, and specifically so, root. If running it as your user get's you the "same" issue, what's in your /etc/asound.conf or FWIW ~/.asoundrc ? strace darkice if need be to figure out what it's doing.

You might also want to post your darkice config and redact sensitive info, as that might help figure out where this is going. and for the literal third time, any kind of terminal output from darkice.

I don't care about "used to work" or any root debate, I  worry about facts and the fact right now is that you have two services fighting for the audio device in  incompatible ways (that is - by the state it's currently in - completely irrelevant to any "operating system change", if you insist on continuing in this direction  go through your pacman log and journal logs, downgrade the kernel and potentially the alsa-libs if you are that sure of what's the cause...).

Also FWIW:

pacmd list-source-outputs 
1 source output(s) available.
    index: 0
        driver: <protocol-native.c>
        flags: 
        state: RUNNING
        source: 2 <alsa_output.usb-1e7d_KAVE_XTD_Headset-00.analog-surround-51.monitor>
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        muted: no
        current latency: 42.29 ms
        requested latency: 1981.43 ms
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        resample method: copy
        owner module: 10
        client: 16 <darkice-29580>
        properties:
                media.name = "darkice record"
                application.name = "darkice-29580"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "33"
                application.process.id = "29580"
                application.process.user = "videl"
                application.process.host = "arch-videl"
                application.process.binary = "darkice"
                application.language = "C"
                window.x11.display = ":0"
                application.process.machine_id = "ef708790c5d340338fecf6c8033cfd8e"
                application.process.session_id = "2"
                module-stream-restore.id = "source-output-by-application-name:darkice-29580"
[general]
duration=0
bufferSecs=5
[input]
device=pulseaudio
sampleRate=44100
bitsPerSample=16
channel=2
paSourceName=alsa_output.usb-1e7d_KAVE_XTD_Headset-00.analog-surround-51.monitor
[file-0]
format=mp3
bitrate=128
bitrateMode=vbr
quality=0.8
fileName=/home/videl/darkicetest.mp3

Last edited by V1del (2019-10-29 00:44:26)

Offline

#9 2019-10-30 15:03:06

Guido Budack
Member
From: Switzerland/Philippines
Registered: 2019-05-02
Posts: 19
Website

Re: Darkice stream not displayed in pavucontrol, no audible stream online

Appreciate your enthusiasm to help a lot.
Working backwards here the output of darkice:

DarkIce 1.3 live audio streamer, http://code.google.com/p/darkice/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
Copyright (c) 2008-2013, Akos Maroy and Rafael Diniz
This is free software, and you are welcome to redistribute it 
under the terms of The GNU General Public License version 3 or
any later version.

Using config file: /home/kadub/darkice.cfg
Using ALSA DSP input device: default
buffer size:  1764000
encoding
Using POSIX real-time scheduling, priority 4

Then the darkice.cnf:

[general]
duration = 0
bufferSecs =10
reconnect = yes
realtime = yes
rtprio = 4 

# --------------------------------------------------------------------------- #

[input]
device = default
sampleRate = 44100
bitsPerSample = 16
channel = 2
#jackClientName =
#paSourceName =

# --------------------------------------------------------------------------- #

[icecast2-0]
format = vorbis
bitrateMode = cbr
bitrate = 128
quality = 1.0
server = 94.xxx.24.xxx
#server = 85.xxx.67.xxx [other]
port = 8000
password = xxxxxxxxxx
mountPoint = stream.ogg
#sampleRate =
channel = 2
#maxBitrate =
name = www.xxx.xx
description = decription of whatever you prefer
url = http://xxx.xx
genre = whatever genre you prefer
public = yes
#localDumpFile =
#fileAddDate =
#fileDateFormat =
lowpass = -1
highpass = -1

Then there is the (untouched) /etc/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 just see now some 'asound.conf.pacsave' which seems to be some backup made by pacman?:

#
# /etc/asound.conf
#

# Playing nice with ALSA using this as default
pcm.!default {
    type plug
    slave { pcm "jack" }
    }

ctl.mixer0 {
    type hw
    card 1
}


# pcm type jack
pcm.jack {
    type jack
    playback_ports {
        0 system:playback_1
        1 system:playback_2
    }
    capture_ports {
        0 system:capture_1
        1 system:capture_2
    }
}


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

The 'other thing' I posted already above...

Offline

#10 2019-10-30 15:29:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 9,724

Re: Darkice stream not displayed in pavucontrol, no audible stream online

By default trying to acquire realtime permissions should fail (and - generally - not really be necessary as pulse should have the appropriate realtime guarantees and they should suffice for this usecase)  if invoked as your user. What have you configured to allow this? Did you invoke darkice as root or as your user? What happens if you explicitly switch to the pulseaudio backend in your config? 

Pacsaves are backups of user altered config files of packages that you explicitly removed at some point. If this was the actual file you were used to using then that would explain quite a few things, as that could potentially make use uf  jack -> pulse compatibility layers. You might want to dig through your pacman.log for changes in that regard.

IMO the best way to figure out what is actually going on here - granted you do not think just explicitly switching to a pulse backend to be sufficient - would be to get an strace of darkice and maybe a pacman.log.

Last edited by V1del (2019-10-30 15:29:26)

Offline

#11 2019-11-06 07:12:52

Guido Budack
Member
From: Switzerland/Philippines
Registered: 2019-05-02
Posts: 19
Website

Re: Darkice stream not displayed in pavucontrol, no audible stream online

I read a lot of should, would and could... which doesn't help.
I partially answered your questions already above in my last postings.

Curiously I get a new output from Darkice now, after I reboot with the 'old settings' (see above).
Here's the Darkice output:

DarkIce 1.3 live audio streamer, http://code.google.com/p/darkice/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
Copyright (c) 2008-2013, Akos Maroy and Rafael Diniz
This is free software, and you are welcome to redistribute it 
under the terms of The GNU General Public License version 3 or
any later version.

Using config file: /home/kadub/darkice.cfg
Using ALSA DSP input device: default
buffer size:  1764000
encoding
Using POSIX real-time scheduling, priority 4
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
DarkIce: DarkIce.cpp:1273: can't open connector [0]

As I told you before several times - the configuration was running for years (user independent, the -Darkice- configuration file was always the same)
and my presumption that an system upgrade has to be the reason for don't doing it anymore seems to me as clear as water.

Offline

#12 2019-11-06 07:55:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 9,724

Re: Darkice stream not displayed in pavucontrol, no audible stream online

You do not provide enough information towards your system state to more accurately asses the symptoms, so yes there are a lot of would and could since I don't know how your system is/was set up in general.

There was in fact quite a restructure of the jack packages and I do believe that this might have a relevant correlation here. Again if this is "clear as water to you" identify the update that broke, if need be by doing complete system rollbacks to a date where it works and going incremential until the date that it breaks, at which case you will be precisely able to identify the cause, after which it would still have to be determined on whether the behaviour change was actually intended/to be expected or if you've really identified a bug.

All of this seems to me to be a completely unnecessary undertaking, as your stated end goal is to simply have darkice be controllable and show up in pulseaudio, in which case I suggest you simply adjust your darkice config to use pulse, and start it as your user, if needed automatically with a systemd user service and be done with it.

But it's your system and your configuration so you do you.

Last edited by V1del (2019-11-06 07:58:33)

Offline

#13 2019-11-21 18:41:03

Guido Budack
Member
From: Switzerland/Philippines
Registered: 2019-05-02
Posts: 19
Website

Re: Darkice stream not displayed in pavucontrol, no audible stream online

I emphasize and repeat...
I didn't change nothing (no, none, nope, nada, nikkesse, no futtin' way - until now) in my configurations which was running stable 'as is' since YEARS - root on or off doesn't matter to me and I exclude it from the discussion from here on.
I just did regular system updates/upgrades as a general 'security measure' in case that I missed something serious coming up like a bleeding heart or whatever.
Don't want to make it unnecessary long here :-(

Suddenly Darkice disappeared in my 'recording list' in pavctrl (the most disgusting simple audio configuration GUI I ever faced!) and at the same time the stream stopped arriving at the other end on the Icecast server.
The same story with Jack.
If I use another interface (MIXXX which in turn uses/switches to Jack) it doesn't connect at all to my Icecast server.
In the former case (with Pulse) it at least connects to the server with no audio streaming. (rolling lsof outputs on demand)

There must be some 'freak' out there knowing the C-interfaces of Pulse and Darkice and I like to talk to this guy!
Diving into these codes takes month if not years to troubleshoot it on your own from scratch if you aren't familiar with it.
So I need support of one of these guys and not of some sys-admin who probably has some advanced level of knowledge in certain aspects compared to me etc. pp.
NO disrespect at all man, I appreciate your engagement a lot!

All in all I am not at all satisfied with the performance and configuration options of some parts of (Arch-) Linux, in particular audio- and video-applications which don't belong to core.
Core (Arch) itself I love and appreciate using it for free a lot!
Very slack free, neat and clean configuration... NICE!

Politics... :-|

But ALSA, Pulse-Audio or Jack are really a pain in the ass (Jack soso but hey... what do I talk...?).
Since at least a decade these inconsistencies are well known but no one seems to bother changing something.
I can imagine the blabla coming up now 'total different approaches' or 'total different concepts'...
Me, in this case as a user expect more here...

There is NOT ONE decent GUI in the field which covers a clean configuration of these audio-layers resp. API's and which (just for example - * to be extended) is able to switch between them in a consistent and clean way and without troubleshooting.
This fact is known for more than a decade now!


Sure, I can be wrong and have twisted thoughts here...

So...
... whatever man :-)

Offline

#14 2019-11-21 18:55:58

Guido Budack
Member
From: Switzerland/Philippines
Registered: 2019-05-02
Posts: 19
Website

Re: Darkice stream not displayed in pavucontrol, no audible stream online

Heel up, wheel up, bring it back... comes rewind...


Out of curiosity I changed my bash_aliases file and started Darkice as non-root user and it's working.
Very strange... did some system updates/upgrades in the meantime though...

Outputs saying now:

Could not set POSIX real-time scheduling, this may cause recording skips.
Try to run darkice as the super-user.

Last edited by Guido Budack (2019-11-21 18:57:24)

Offline

#15 2019-11-22 08:22:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 9,724

Re: Darkice stream not displayed in pavucontrol, no audible stream online

Well what was in your aliases?

Offline

#16 2019-11-26 17:12:48

Guido Budack
Member
From: Switzerland/Philippines
Registered: 2019-05-02
Posts: 19
Website

Re: Darkice stream not displayed in pavucontrol, no audible stream online

Hi Videl

in my alias has been what has been there since years... (told you...)
I just changed/deleted the delegation to root and ran it under the system user.
Probably it had worked under root as well the past days - didn't check, was satisfied.


The line

Could not set POSIX real-time scheduling, this may cause recording skips.
Try to run darkice as the super-user.

perhaps motivated me in the past to 'root it', don't remember if there has been a reason or which one I took to do so.


Well you can propose to me now to create a new user uniquely for the purpose to delegate the Darkice permissions to this user etc but it won't work.


The story is...
It ran clean for a few days, stream showed up in the pauvctl thing and all was fluffy and funny...
HOWEVER - today I did an system update/grade and now it isn't streaming anymore.
Somehow 'desperate' I checked the browser settings as well (why the heck should I, once again it worked for years...)

Symptoms now are....

1.) Showing in pauvctl but no audio (resp. no modulation) showing in the bar.
2.) Stream is established to the server.

Your turn.

Cheers

Last edited by Guido Budack (2019-11-26 17:21:57)

Offline

#17 2019-11-26 17:24:15

Guido Budack
Member
From: Switzerland/Philippines
Registered: 2019-05-02
Posts: 19
Website

Re: Darkice stream not displayed in pavucontrol, no audible stream online

Just for the heck of it here the alias:

alias darkice="darkice -v 3 -c $HOME/darkice.cfg"


Appending...
I double-checked the pavuctl proggy and noticed that, when I switch to a microphone instead of the internal audio card the audio-bar shows modulation.

Last edited by Guido Budack (2019-11-26 17:37:20)

Offline

#18 2019-11-26 17:57:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 9,724

Re: Darkice stream not displayed in pavucontrol, no audible stream online

Post the pacmd commands and the fuser command again.

Offline

#19 2019-11-26 18:30:08

Guido Budack
Member
From: Switzerland/Philippines
Registered: 2019-05-02
Posts: 19
Website

Re: Darkice stream not displayed in pavucontrol, no audible stream online

You mean in case I am trying to stream?

1.a.)

2 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1b.0>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7d00000 irq 34"
		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 = "1c20"
		device.product.name = "6 Series/C200 Series Chipset Family High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Internes Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo-Eingabe (priority 65, available: no)
		output:analog-stereo: Analog Stereo-Ausgabe (priority 6500, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)
		output:iec958-stereo: Digital Stereo (IEC958)-Ausgabe (priority 5500, available: unknown)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958)-Ausgabe + Analog Stereo-Eingabe (priority 5565, available: no)
		output:hdmi-stereo: Digital Stereo (HDMI)-Ausgabe (priority 5900, available: unknown)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI)-Ausgabe + Analog Stereo-Eingabe (priority 5965, available: no)
		off: Aus (priority 0, available: unknown)
	active profile: <output:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Internes Audio Analog Stereo
	sources:
		alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Internes Audio Analog Stereo
	ports:
		analog-input-front-mic: Vorderes Mikrofon (priority 8500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-rear-mic: Rückwärtiges Mikrofon (priority 8200, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-linein: Line-Eingang (priority 8100, latency offset 0 usec, available: no)
			properties:
				
		analog-output-lineout: Line-Ausgang (priority 9000, latency offset 0 usec, available: yes)
			properties:
				
		analog-output-headphones: Kopfhörer (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
		iec958-stereo-output: Digitalausgang (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "VZ249"
    index: 1
	name: <alsa_card.usb-046d_08d7-01>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "1"
		alsa.card_name = "USB Device 0x46d:0x8d7"
		alsa.long_card_name = "USB Device 0x46d:0x8d7 at usb-0000:00:1d.0-1.1, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:1d.0-usb-0:1.1:1.1"
		sysfs.path = "/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.1/4-1.1:1.1/sound/card1"
		udev.id = "usb-046d_08d7-01"
		device.bus = "usb"
		device.vendor.id = "046d"
		device.vendor.name = "Logitech, Inc."
		device.product.id = "08d7"
		device.product.name = "QuickCam Communicate STX"
		device.serial = "046d_08d7"
		device.string = "1"
		device.description = "QuickCam Communicate STX"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	profiles:
		input:mono-fallback: Mono-Eingabe (priority 1, available: unknown)
		input:multichannel-input: Mehrkanal-Eingabe (priority 1, available: unknown)
		off: Aus (priority 0, available: unknown)
	active profile: <input:mono-fallback>
	sources:
		alsa_input.usb-046d_08d7-01.mono-fallback/#1: QuickCam Communicate STX Mono
	ports:
		analog-input-mic: Mikrofon (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		multichannel-input: Mehrkanaleingang (priority 0, latency offset 0 usec, available: unknown)
			properties:

1.b.)

2 source(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: IDLE
	suspend cause: (none)
	priority: 1030
	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: yes
	current latency: 0.00 ms
	max rewind: 79 KiB
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 2000.00 ms; range is 0.50 .. 2000.00 ms
	monitor_of: 0
	card: 0 <alsa_card.pci-0000_00_1b.0>
	module: 6
	properties:
		device.description = "Monitor of Internes Audio Analog Stereo"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7d00000 irq 34"
		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 = "1c20"
		device.product.name = "6 Series/C200 Series Chipset Family High Definition 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.usb-046d_08d7-01.mono-fallback>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9040
	volume: mono: 20726 /  32% / -30.00 dB
	        balance 0.00
	base volume: 6554 /  10% / -60.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: s16le 1ch 8000Hz
	channel map: mono
	             Mono
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	card: 1 <alsa_card.usb-046d_08d7-01>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "USB Device 0x46d:0x8d7"
		alsa.long_card_name = "USB Device 0x46d:0x8d7 at usb-0000:00:1d.0-1.1, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:1d.0-usb-0:1.1:1.1"
		sysfs.path = "/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.1/4-1.1:1.1/sound/card1"
		udev.id = "usb-046d_08d7-01"
		device.bus = "usb"
		device.vendor.id = "046d"
		device.vendor.name = "Logitech, Inc."
		device.product.id = "08d7"
		device.product.name = "QuickCam Communicate STX"
		device.serial = "046d_08d7"
		device.string = "hw:1"
		device.buffering.buffer_size = "32000"
		device.buffering.fragment_size = "16000"
		device.access_mode = "mmap+timer"
		device.profile.name = "mono-fallback"
		device.profile.description = "Mono"
		device.description = "QuickCam Communicate STX Mono"
		alsa.mixer_name = "USB Mixer"
		alsa.components = "USB046d:08d7"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	ports:
		analog-input-mic: Mikrofon (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
	active port: <analog-input-mic>

1.c.)

0 source output(s) available.

2.)

/dev/snd/controlC0:  admin      832 F.... pulseaudio
/dev/snd/controlC1:  admin       832 F.... pulseaudio
/dev/snd/pcmC0D0p:   admin       832 F...m pulseaudio

Last edited by Guido Budack (2019-11-26 18:34:48)

Offline

#20 2019-11-26 18:38:57

Guido Budack
Member
From: Switzerland/Philippines
Registered: 2019-05-02
Posts: 19
Website

Re: Darkice stream not displayed in pavucontrol, no audible stream online

The Audio modulation of the player isn't (in this case audacious) isn't showing in pavuctl as well.
I hear the audio in my loudspeakers but the audio-bar in pavuctl is empty.
Like the Darkice one.

So it seems not to be an issue with Darkice (or it's configuration).

Update - same with a youtube audio-stream.

Last edited by Guido Budack (2019-11-26 18:40:06)

Offline

#21 2019-11-26 18:41:56

Guido Budack
Member
From: Switzerland/Philippines
Registered: 2019-05-02
Posts: 19
Website

Re: Darkice stream not displayed in pavucontrol, no audible stream online

Ouch... too stupid... muted the monitor...


VERY SORRY!

Offline

#22 2019-11-27 00:28:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 9,724

Re: Darkice stream not displayed in pavucontrol, no audible stream online

A bit of a tie-in into your other thread, but I think it fits in here more:

In essence, depending on your general config, there are 6 potential packages with direct relation to this: linux, alsa{-lib,plugins}, jack/jack2,pulse, darkice. (slightly far fetched, but systemd might also play a role in properly granting the proper session access to the correct resources)

As mentioned, kernel is easy, you can keep that on older versions and/or setup linux-lts, the other ones can be slightly tricky depending on what else they depend on (granted you don't want to do the compiling against the rest of the system yourself, which shouldn't be too hard for the packages mentioned, but is still going to be a bit of work), however as none of them are essential to the system as a whole, you could also as a first step simply downgrade them, if they break due to dependency conflict, only they will break and you will know to either have to update or rebuild the older version against newer dependencies.

I still think the entire premise of this is flawed: I still believe that your darkice/sound configuration is simply overengineered for what you actually expect/want from it. If the posted snippets in this thread are any indication, your working config had the following implications:

darkice -> alsa-lib -> alsa jack plugin -> jack -> pulseaudio -> linux -> audio card

That's 6 interactions and potential points of failure, and I know of at least one quite recent jack ALSA breakage and a major restructuring in the way jack2 was packaged (where I admittedly do not know enough of jack to know whether this was just of cosmetic or actually impactful nature).

From what I know of how you actually use the system and your expectation of darkice, this could simply be simplified to

darkice -> pulseaudio -> linux -> audio card

Half the interactions and half the points of failure.

Offline

Board footer

Powered by FluxBB