Project

General

Profile

Bug #11678

/hipster: pulseaudio problems (again, this time v12.2)

Added by Predrag Zečević about 1 month ago. Updated 25 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

Hi all,

I have problems with pulseaudio (again):

:; uname -rosv
SunOS 5.11 illumos-793ac993be illumos

:; pkg list -H pulseaudio
library/audio/pulseaudio                          12.2-2018.0.0.1            i--

Not sure how to report this. Tried with tricks from https://www.illumos.org/issues/8110:

:; rm -rf ~/.audioctl ~/config/pulse
:; pfexec init 6

And nothing helps!

Reproduction of sound has terrible quality:
  • firefox (60.9.0esr) distorted (youtube)
  • VLC (3.0.8) streams and mp3 files distorted
  • RhythmBox (3.4.2) streams and mp3 files distorted
  • Totem (3.0.1) - tested just mp4 videos, distorted
Application mate-volume-control
  • can only MUTE sounds
  • prefs --> hardware shows no device

PulseAudio:

:; pactl info
Server String: unix:/tmp/pulse-K2hFZViPE4v5/native
Library Protocol Version: 32
Server Protocol Version: 32
Is Local: yes
Client Index: 33
Tile Size: 65472
User Name: predrag_zecevic
Host Name: solarix
Server Name: pulseaudio
Server Version: 12.2-rebootstrapped
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: oss_output.dsp
Default Source: oss_input.dsp
Cookie: 0470:6fa4

:; pactl list short
0       module-device-restore           
1       module-stream-restore           
2       module-card-restore             
3       module-augment-properties               
4       module-switch-on-port-available         
5       module-oss              
7       module-solaris  device=/dev/audio       
8       module-native-protocol-unix             
9       module-gsettings                
10      module-default-device-restore           
11      module-rescue-streams           
12      module-always-sink              
13      module-intended-roles           
14      module-suspend-on-idle          
15      module-console-kit              
16      module-position-event-sounds            
17      module-role-cork                
18      module-filter-heuristics                
19      module-filter-apply             
20      module-x11-publish      display=:0      
21      module-x11-cork-request display=:0      
22      module-x11-xsmp display=:0 session_manager=local/solarix:/tmp/.ICE-unix/2680    
0       oss_output.dsp  module-oss.c    s16le 2ch 44100Hz       RUNNING
1       solaris_output.audio    module-solaris.c        s16le 2ch 44100Hz       SUSPENDED
0       oss_input.dsp   module-oss.c    s16le 2ch 44100Hz       SUSPENDED
1       oss_output.dsp.monitor  module-oss.c    s16le 2ch 44100Hz       IDLE
2       solaris_input.audio     module-solaris.c        s16le 2ch 44100Hz       SUSPENDED
3       solaris_output.audio.monitor    module-solaris.c        s16le 2ch 44100Hz       SUSPENDED
12      0       18      protocol-native.c       float32le 2ch 44100Hz
18      0       9       protocol-native.c       s16le 2ch 44100Hz
0       module-console-kit.c    (null)
1       protocol-native.c       
5       module-x11-xsmp.c       (null)
6       protocol-native.c       
8       protocol-native.c       (null)
9       protocol-native.c       (null)
10      protocol-native.c       (null)
12      protocol-native.c       (null)
18      protocol-native.c       (null)
34      protocol-native.c       

Process:

:; ps -ef| grep [p]ulse
  global predrag*  2730     1   0 11:18:25 ?           1:12 /usr/bin/pulseaudio --start --log-target=syslog
  global predrag*  2731  2730   0 11:18:25 ?           0:00 /usr/lib/amd64/pulse/gsettings-helper

Relevant directories

:; ls -al ~/.audioctl/* ~/.config/pulse/*
-rw-r--r-- 1 predrag_zecevic admin  450 Sep 12 11:11 /export/home/predrag_zecevic/.audioctl/audioctl-solarix-audiohd#0
-rw-r--r-- 1 predrag_zecevic admin  198 Sep 12 11:11 /export/home/predrag_zecevic/.audioctl/audioctl-solarix-audiohd#1
-rw------- 1 predrag_zecevic admin  256 Sep 12 10:16 /export/home/predrag_zecevic/.config/pulse/cookie
-rw------- 1 predrag_zecevic admin 3,0K Sep 12 10:16 /export/home/predrag_zecevic/.config/pulse/fff003d0d35d39638afc7bd0568fd0f4-card-database.i386-pc-solaris2.11.gdbm
-rw------- 1 predrag_zecevic admin    1 Sep 12 11:18 /export/home/predrag_zecevic/.config/pulse/fff003d0d35d39638afc7bd0568fd0f4-default-sink
-rw------- 1 predrag_zecevic admin    1 Sep 12 11:18 /export/home/predrag_zecevic/.config/pulse/fff003d0d35d39638afc7bd0568fd0f4-default-source
-rw------- 1 predrag_zecevic admin 3,5K Sep 12 16:48 /export/home/predrag_zecevic/.config/pulse/fff003d0d35d39638afc7bd0568fd0f4-device-volumes.i386-pc-solaris2.11.gdbm
lrwxrwxrwx 1 predrag_zecevic admin   23 Sep 12 11:18 /export/home/predrag_zecevic/.config/pulse/fff003d0d35d39638afc7bd0568fd0f4-runtime -> /tmp/pulse-K2hFZViPE4v5
-rw------- 1 predrag_zecevic admin 3,4K Sep 12 16:48 /export/home/predrag_zecevic/.config/pulse/fff003d0d35d39638afc7bd0568fd0f4-stream-volumes.i386-pc-solaris2.11.gdbm

Had no such problems until recent updates (maybe one month ago).

  • How I can properly fix problem? Any idea/suggestion?
  • What info I could provide more?

Regards.

History

#1

Updated by Michal Nowak about 1 month ago

Does moving those two directories temporarily to another place (so they get recreated) fix it after restart?

#2

Updated by Predrag Zečević about 1 month ago

hi Michal,

no! I even deleted them:

:; rm -rf ~/.audioctl ~/config/pulse
:; pfexec init 6

Regards.

#3

Updated by Predrag Zečević about 1 month ago

Here some h/w info:

:; scanpci | grep -i audio
 NVIDIA Corporation GK208 HDMI/DP Audio Controller
 Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller

I guess NVIDIA hdmi maps to device No 1 (date of symbolic links creation is date when I have replaced old Nvidia card with this one), while Intel is device No 0 (has connected headphones):

:; ls -la /dev/{dsp,audio,sound}*
lrwxrwxrwx  1 root root  7 Jan  8  2016 /dev/audio -> sound/0
lrwxrwxrwx  1 root root 10 Jan  8  2016 /dev/audioctl -> sound/0ctl
lrwxrwxrwx  1 root root  4 Jan  8  2016 /dev/dsp -> dsp0
lrwxrwxrwx  1 root root 18 Jan  8  2016 /dev/dsp0 -> sound/audiohd:0dsp
lrwxrwxrwx  1 root root 18 Jul 12 08:48 /dev/dsp1 -> sound/audiohd:1dsp

/dev/sound:
total 15K
drwxr-xr-x  14 root root  14 Jul 12 08:48 .
drwxr-xr-x 285 root sys  285 Sep 12 11:16 ..
lrwxrwxrwx   1 root root   9 Jan  8  2016 0 -> audiohd:0
lrwxrwxrwx   1 root root  12 Jan  8  2016 0ctl -> audiohd:0ctl
lrwxrwxrwx   1 root root   9 Jul 12 08:48 1 -> audiohd:1
lrwxrwxrwx   1 root root  12 Jul 12 08:48 1ctl -> audiohd:1ctl
lrwxrwxrwx   1 root root  52 Jan  8  2016 audiohd:0 -> ../../devices/pci@0,0/pci1849,5892@1f,3:sound,audio0
lrwxrwxrwx   1 root root  55 Jan  8  2016 audiohd:0ctl -> ../../devices/pci@0,0/pci1849,5892@1f,3:sound,audioctl0
lrwxrwxrwx   1 root root  50 Jan  8  2016 audiohd:0dsp -> ../../devices/pci@0,0/pci1849,5892@1f,3:sound,dsp0
lrwxrwxrwx   1 root root  52 Jan  8  2016 audiohd:0mixer -> ../../devices/pci@0,0/pci1849,5892@1f,3:sound,mixer0
lrwxrwxrwx   1 root root  66 Jul 12 08:48 audiohd:1 -> ../../devices/pci@0,0/pci8086,1901@1/pci10de,1287@0,1:sound,audio1
lrwxrwxrwx   1 root root  69 Jul 12 08:48 audiohd:1ctl -> ../../devices/pci@0,0/pci8086,1901@1/pci10de,1287@0,1:sound,audioctl1
lrwxrwxrwx   1 root root  64 Jul 12 08:48 audiohd:1dsp -> ../../devices/pci@0,0/pci8086,1901@1/pci10de,1287@0,1:sound,dsp1
lrwxrwxrwx   1 root root  66 Jul 12 08:48 audiohd:1mixer -> ../../devices/pci@0,0/pci8086,1901@1/pci10de,1287@0,1:sound,mixer1

And
:; audioctl list-devices
audiohd#1
audiohd#0

:; audioctl show-device
Device: /dev/sound/audiohd:0mixer
  Name    = audiohd#0
  Config  = onboard1 (a)
  HW Info = Unknown HD codec: 0x10ec0892

Regards.
#4

Updated by Predrag Zečević 25 days ago

Still does not work!

Today I have installed NVidia 396.24 (taken from wiki.openindiana.org) and after reboot, found this in /var/adm/messages

[2019-09-20 10:46:17] solarix pulseaudio[2238]: [ID 295310 user.error] [solaris] sink.c: Assertion '!pa_thread_mq_get()' failed at pulsecore/sink.c:2288, function pa_sink_set_mute(). Aborting.
[2019-09-20 10:46:18] solarix genunix: [ID 603404 kern.notice] NOTICE: core_log: pulseaudio[2238] core dumped: /export/tmp/cores/core.pulseaudio.2238

Core dump is available on demand
:; ls -hal /export/tmp/cores/core.pulseaudio.2238
-rw------- 1 root root 145M Sep 20 10:46 /export/tmp/cores/core.pulseaudio.2238

Process of pulse audio has died and when call it, it was started?:

:; /usr/bin/pulseaudio --start --log-target=syslog
W: [(null)] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support.

We see that (when dies) pulse audio leave gsettings-helper process behind:
:; ps -ef| grep [p]ulse
  global predrag*  6333  6332   0 14:23:29 ?           0:00 /usr/lib/amd64/pulse/gsettings-helper
  global predrag*  2239     1   0 08:48:10 ?           0:00 /usr/lib/amd64/pulse/gsettings-helper
  global predrag*  6332     1   0 14:23:29 ?           0:00 /usr/bin/pulseaudio --start --log-target=syslog

Sound (produced by any tool) is not possible to listen at all.

Is it only me, having such issues?

Also available in: Atom PDF