Audio problems on Linux - part 2 (PulseAudio)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Audio problems on Linux - part 2 (PulseAudio)

Phil B
 
I'm not able to get the PulseAudio driver working on Debian 10.  When I try squeak -vm-sound-pulse I get:
dlopen: /tmp/sqcogspur64linuxht-20190724/lib/squeak/5.0-201907242041/vm-sound-pulse.so: undefined symbol: pa_simple_write
could not find module vm-sound-pulse
Aborted

When I run squeak --help I get the following listed as available drivers:
  vm-sound-null
  vm-sound-OSS
  vm-sound-NAS
  vm-display-null
  vm-display-fbdev
  vm-display-X11

Finally I do an ls of the vm library directory and see the .a and .so files for vm-sound-ALSA, vm-sound-NAS, vm-sound-null, vm-sound-OSS, and vm-sound-pulse.

Assuming the PulseAudio driver should be working, I'm not clear on whether this is a VM build issue, a missing package on my system, or some other unresolved issue on Debian.  Suggestions appreciated...
Reply | Threaded
Open this post in threaded view
|

Re: Audio problems on Linux - part 2 (PulseAudio)

fniephaus
 
Hi Phil,

On Thu, Oct 10, 2019 at 5:10 AM Phil B <[hidden email]> wrote:
 
I'm not able to get the PulseAudio driver working on Debian 10.  When I try squeak -vm-sound-pulse I get:
dlopen: /tmp/sqcogspur64linuxht-20190724/lib/squeak/5.0-201907242041/vm-sound-pulse.so: undefined symbol: pa_simple_write

What's the output of this:
`ldd /tmp/sqcogspur64linuxht-20190724/lib/squeak/5.0-201907242041/vm-sound-pulse.so`

And are you sure, pulseaudio is installed on your system?

Cheers,
Fabio
 
could not find module vm-sound-pulse
Aborted

When I run squeak --help I get the following listed as available drivers:
  vm-sound-null
  vm-sound-OSS
  vm-sound-NAS
  vm-display-null
  vm-display-fbdev
  vm-display-X11

Finally I do an ls of the vm library directory and see the .a and .so files for vm-sound-ALSA, vm-sound-NAS, vm-sound-null, vm-sound-OSS, and vm-sound-pulse.

Assuming the PulseAudio driver should be working, I'm not clear on whether this is a VM build issue, a missing package on my system, or some other unresolved issue on Debian.  Suggestions appreciated...
Reply | Threaded
Open this post in threaded view
|

Re: Audio problems on Linux - part 2 (PulseAudio)

Phil B
 
Hi Fabio,

On Thu, Oct 10, 2019 at 9:44 AM Fabio Niephaus <[hidden email]> wrote:
 
Hi Phil,

On Thu, Oct 10, 2019 at 5:10 AM Phil B <[hidden email]> wrote:
 
I'm not able to get the PulseAudio driver working on Debian 10.  When I try squeak -vm-sound-pulse I get:
dlopen: /tmp/sqcogspur64linuxht-20190724/lib/squeak/5.0-201907242041/vm-sound-pulse.so: undefined symbol: pa_simple_write

What's the output of this:
`ldd /tmp/sqcogspur64linuxht-20190724/lib/squeak/5.0-201907242041/vm-sound-pulse.so`

linux-vdso.so.1 (0x00007ffce09e5000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f9b67a60000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9b6789f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f9b67cef000)
 

And are you sure, pulseaudio is installed on your system?

$ pactl info
Server String: unix:/run/user/1000/pulse/native
Library Protocol Version: 32
Server Protocol Version: 32
Is Local: yes
Client Index: 12
Tile Size: 65472
User Name: phil
Host Name: debian
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-0000_00_1b.0.iec958-stereo
Default Source: alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo
Cookie: 6dcb:a4d4

The PulseAudio package installed is 12.2-4+deb10u1 from Debian 10.1
 

Cheers,
Fabio
 
could not find module vm-sound-pulse
Aborted

When I run squeak --help I get the following listed as available drivers:
  vm-sound-null
  vm-sound-OSS
  vm-sound-NAS
  vm-display-null
  vm-display-fbdev
  vm-display-X11

Finally I do an ls of the vm library directory and see the .a and .so files for vm-sound-ALSA, vm-sound-NAS, vm-sound-null, vm-sound-OSS, and vm-sound-pulse.

Assuming the PulseAudio driver should be working, I'm not clear on whether this is a VM build issue, a missing package on my system, or some other unresolved issue on Debian.  Suggestions appreciated...
Reply | Threaded
Open this post in threaded view
|

Re: Audio problems on Linux - part 2 (PulseAudio)

Phil B
 
I was going through the github issue log to report the issue from part 1 and found this: https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/360.  This is this issue and the workaround.

If I use LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libpulse-simple.so.0.1.1 to force load the missing library (it is also accessible via a symlink /usr/lib/x86_64-linux-gnu/libpulse-simple.so.0) then the PulseAudio driver loads and recording works perfectly for me on Debian.  So the OSS driver still has issues and the PulseAudio driver isn't linked properly (for Debian 10 at least) but can be made to work.


On Thu, Oct 10, 2019 at 11:49 AM Phil B <[hidden email]> wrote:
Hi Fabio,

On Thu, Oct 10, 2019 at 9:44 AM Fabio Niephaus <[hidden email]> wrote:
 
Hi Phil,

On Thu, Oct 10, 2019 at 5:10 AM Phil B <[hidden email]> wrote:
 
I'm not able to get the PulseAudio driver working on Debian 10.  When I try squeak -vm-sound-pulse I get:
dlopen: /tmp/sqcogspur64linuxht-20190724/lib/squeak/5.0-201907242041/vm-sound-pulse.so: undefined symbol: pa_simple_write

What's the output of this:
`ldd /tmp/sqcogspur64linuxht-20190724/lib/squeak/5.0-201907242041/vm-sound-pulse.so`

linux-vdso.so.1 (0x00007ffce09e5000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f9b67a60000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9b6789f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f9b67cef000)
 

And are you sure, pulseaudio is installed on your system?

$ pactl info
Server String: unix:/run/user/1000/pulse/native
Library Protocol Version: 32
Server Protocol Version: 32
Is Local: yes
Client Index: 12
Tile Size: 65472
User Name: phil
Host Name: debian
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-0000_00_1b.0.iec958-stereo
Default Source: alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo
Cookie: 6dcb:a4d4

The PulseAudio package installed is 12.2-4+deb10u1 from Debian 10.1
 

Cheers,
Fabio
 
could not find module vm-sound-pulse
Aborted

When I run squeak --help I get the following listed as available drivers:
  vm-sound-null
  vm-sound-OSS
  vm-sound-NAS
  vm-display-null
  vm-display-fbdev
  vm-display-X11

Finally I do an ls of the vm library directory and see the .a and .so files for vm-sound-ALSA, vm-sound-NAS, vm-sound-null, vm-sound-OSS, and vm-sound-pulse.

Assuming the PulseAudio driver should be working, I'm not clear on whether this is a VM build issue, a missing package on my system, or some other unresolved issue on Debian.  Suggestions appreciated...