Bug#972689: Some more details

2020-10-27 Thread Karsten
I got an answer from pulseaudio-disc...@lists.freedesktop.org.
The suggestion ist to run the script
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/raw/master/src/utils/pa-info
and open a bug at PulseAudio.


The interesting thing is that this script should be part of the package 
pulseaudio-utils,
but this package is installed and the script is not existant?

# apt-file search pa-info
pulseaudio-utils: /usr/bin/pa-info


So i downloaded the script and the result of it is attached.

A corresponding bug is opened now at PulseAudio
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1021


> pulseaudio_ps_do
karsten   3312  0.1  0.3 1734412 25964 ?   S which pulseaudio
/usr/bin/pulseaudio

> pidof pulseaudio
3312

> pulseaudio --version
pulseaudio 12.2

> pactl info
Server String: unix:/run/user/1000/pulse/native
Library Protocol Version: 32
Server Protocol Version: 32
Is Local: yes
Client Index: 40
Tile Size: 65472
User Name: karsten
Host Name: kommerz
Server Name: pulseaudio
Server Version: 12.2
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-_04_05.0.analog-stereo
Default Source: alsa_input.pci-_04_05.0.analog-stereo
Cookie: d2ec:0966

> pactl list
Module #0
	Name: module-device-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the volume/mute state of devices"
		module.version = "12.2"

Module #1
	Name: module-stream-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the volume/mute/device state of streams"
		module.version = "12.2"

Module #2
	Name: module-card-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore profile of cards"
		module.version = "12.2"

Module #3
	Name: module-augment-properties
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Augment the property sets of streams with additional static information"
		module.version = "12.2"

Module #4
	Name: module-switch-on-port-available
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "David Henningsson"
		module.description = "Switches ports and profiles when devices are plugged/unplugged"
		module.version = "12.2"

Module #5
	Name: module-udev-detect
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Detect available audio hardware and load matching drivers"
		module.version = "12.2"

Module #6
	Name: module-alsa-card
	Argument: device_id="1" name="pci-_02_00.1" card_name="alsa_card.pci-_02_00.1" 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"
	Usage counter: 0
	Properties:
		module.author = "Lennart Poettering"
		module.description = "ALSA Card"
		module.version = "12.2"

Module #7
	Name: module-alsa-card
	Argument: device_id="2" name="pci-_04_05.0" card_name="alsa_card.pci-_04_05.0" 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"
	Usage counter: 0
	Properties:
		module.author = "Lennart Poettering"
		module.description = "ALSA Card"
		module.version = "12.2"

Module #8
	Name: module-native-protocol-unix
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Native protocol (UNIX sockets)"
		module.version = "12.2"

Module #9
	Name: module-default-device-restore
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the default sink and source"
		module.version = "12.2"

Module #10
	Name: module-rescue-streams
	Argument: 
	Usage counter: n/a
	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 = "12.2"

Module #11
	Name: module-always-sink
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Colin Guthrie"
		module.description = "Hält stets ein Ziel geladen, selbst wenn dies ein Null-Ziel ist"
		module.version = "12.2"

Module #12
	Name: module-intended-roles
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically set device of streams based on intended roles of devices"
		module.version = "12.2"

Module #13
	Name: module-suspend-on-idle
	Argument: 
	Usage counter: n/a
	Properties:
		module.author = "Lennart Poettering"
		module.description = "When a sink/source is idle for too long, suspend it"
		module.version = "12.2"

Module #14
	Name: 

Bug#972689: Some more details

2020-10-26 Thread Karsten
After the last experiments and rebooting this time there is a new situation 
without sound.

The soundblaster card is now card 2 and ALSA is working with
aplay -D hw:2,0 /usr/share/sounds/sound-icons/canary-long.wav

As you can see in the screenshot the card has been found by pulseaudio,
but when it is moved up to the first position it cannot be used when you click 
on test.
The error says that the device cannot be selected.

What is going on with PulseAudio here?


I tried to contact pulseaudio-disc...@lists.freedesktop.org with this problem 
and linked this bug ...



$ aplay -l
 Liste der Hardware-Geräte (PLAYBACK) 
Karte 0: SB [HDA ATI SB], Gerät 0: VT1708S Analog [VT1708S Analog]
  Sub-Geräte: 0/1
  Sub-Gerät #0: subdevice #0
Karte 0: SB [HDA ATI SB], Gerät 1: VT1708S Digital [VT1708S Digital]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 3: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 7: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 8: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 9: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 2: AudioPCI [Ensoniq AudioPCI], Gerät 0: ES1371/1 [ES1371 DAC2/ADC]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 2: AudioPCI [Ensoniq AudioPCI], Gerät 1: ES1371/2 [ES1371 DAC1]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0






Bug#972689: Some more details

2020-10-25 Thread Karsten
Regarding the Debian documentation https://wiki.debian.org/PulseAudio

Setting "autospawn = no" in /etc/pulse/client.conf has no effect!
I did also try

cp /etc/pulse/client.conf ~/.config/pulse/

pulseaudio --kill


You always have this process "00:00:00 /usr/bin/pulseaudio --daemonize=no"


I tried to delete the configuration in ~/.config/pulse/ without no effect.


When you rename /usr/bin/pulseaudio then pulseaudio cannot start but you don't 
have any sound in KDE!

What must be done to get rid of pulseaudio and to get direct sound with ALSA?


When you try to remove the package there are to much dependencies:

# apt-get purge pulseaudio
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.  
Statusinformationen werden eingelesen Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr 
benötigt:
  freeglut3 g++-6 gnuradio gnuradio-dev gr-fcdproplus gr-fosphor gr-iqbal 
gr-osmosdr libairspy0 libairspyhf1 libbladerf1
  libboost-atomic1.67-dev libboost-chrono1.67-dev libboost-chrono1.67.0 
libboost-date-time-dev libboost-date-time1.67-dev
  libboost-date-time1.67.0 libboost-filesystem-dev libboost-filesystem1.67-dev 
libboost-program-options-dev
  libboost-program-options1.67-dev libboost-regex1.67.0 
libboost-serialization1.67-dev libboost-serialization1.67.0
libboost-system-dev
  libboost-system1.67-dev libboost-test-dev libboost-test1.67-dev 
libboost-test1.67.0 libboost-thread-dev
libboost-thread1.67-dev
  libboost-timer1.67.0 libboost1.67-dev libcomedi0 libcppunit-1.14-0 
libcppunit-dev libfreesrp0 libglfw3
libgnuradio-analog3.7.13
  libgnuradio-atsc3.7.13 libgnuradio-audio3.7.13 libgnuradio-blocks3.7.13 
libgnuradio-channels3.7.13
libgnuradio-comedi3.7.13
  libgnuradio-digital3.7.13 libgnuradio-dtv3.7.13 libgnuradio-fcd3.7.13 
libgnuradio-fcdproplus3.7.11 libgnuradio-fec3.7.13
  libgnuradio-fft3.7.13 libgnuradio-filter3.7.13 libgnuradio-fosphor3.7.12 
libgnuradio-iqbalance3.7.11
libgnuradio-noaa3.7.13
  libgnuradio-osmosdr0.1.4 libgnuradio-pager3.7.13 libgnuradio-pmt3.7.13 
libgnuradio-qtgui3.7.13 libgnuradio-runtime3.7.13
  libgnuradio-trellis3.7.13 libgnuradio-uhd3.7.13 libgnuradio-video-sdl3.7.13 
libgnuradio-vocoder3.7.13
libgnuradio-wavelet3.7.13
  libgnuradio-wxgui3.7.13 libgnuradio-zeromq3.7.13 libhackrf0 libhamlib2 
libjs-jquery-ui liblimesuite18.06-1
liblog4cpp5-dev liblog4cpp5v5
  libmirisdr0 libnorm1 libosmosdr0 libpgm-5.2-0 libpulsedsp libqt4-help 
libqt4-scripttools libqt4-test
libqtassistantclient4 libqwt-qt5-6
  librtaudio6 librtlsdr0 libsoapysdr0.6 libsodium23 libstdc++-6-dev 
libuhd3.13.1 libvolk1-bin libvolk1-dev libvolk1.4
libzmq5
  limesuite-udev pkg-config pulseaudio-utils python-cheetah python-cycler 
python-gobject-2 python-gtk2 python-kiwisolver
python-matplotlib
  python-matplotlib2-data python-networkx python-opengl python-pygraphviz 
python-pyparsing python-qt4 python-scipy
python-subprocess32
  python-yaml python-zmq rtkit rtl-sdr soapyosmo-common0.6 
soapysdr0.6-module-airspy soapysdr0.6-module-all
soapysdr0.6-module-audio
  soapysdr0.6-module-bladerf soapysdr0.6-module-hackrf soapysdr0.6-module-lms7 
soapysdr0.6-module-osmosdr
soapysdr0.6-module-redpitaya
  soapysdr0.6-module-remote soapysdr0.6-module-rtlsdr soapysdr0.6-module-uhd 
uhd-host



Bug#972689: Some more details

2020-10-24 Thread Karsten
In the Multimediasettingsof KDE you can see that the soundblaster card is 
greyed out - why?
This is the card that is working in ALSA, but only sometimes with pulseaudio in 
KDE.

I tried to create an installation of Debian Bullseye, but this is not possible 
too ...
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972820