Skip to content

Connection erratic under Arch. #2

@paulscottrobson

Description

@paulscottrobson

Hi. I've been connecting mostly successfully with XSquawkBox 2.1 on Arch Linux 64 bit. However, occasionally the connection breaks. As you appear to be connecting both on setup audio and connection to the network this means I have to do a howlround test by tuning both radios to an unused frequency, not in itself a problem, and it's usually fixed by disconnect/reconnect. Once it's working it seems to be fine - it's the connection/detection part that seems to throw it.

Don't have any problems with audacity which uses portaudio as its main library. Have experimented with some python scripts which use the library requesting 48Khz sink/source, seems to be fine.

I note the code has a more detailed log, but I can't figure out how to turn this on. If it requires the rebuild of a debug version fair enough (I guess it's built on Ubuntu 18.04 .... Conan seems to really need a VM).

(Most of this log is portaudio being noisy to stdout which seems to be its thing.)

log.txt

The important bit is the following. This is present when it fails only. I think the first is just a warning, as it happens occasionally on successful connections I think (! - this bug is not repeatable consistently but is regular).

ALSA lib pcm.c:8545:(snd_pcm_recover) underrun occurred
Expression 'err' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3350
Expression 'ContinuePoll( self, StreamDirection_In, &pollTimeout, &pollCapture )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3891
Expression 'PaAlsaStream_WaitForFrames( stream, &framesAvail, &xrun )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4269

(There appears to be nothing in the XPlane log. The text displays 'voice connected' even when it hasn't. Really need a more detailed log to investigate what's going on)

Using a snd-hda-intel motherboard sound card with an NVIDIA card with nvidia card disabled in modprobe.conf.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions