Skip to content

gr::log :ERROR: audio_alsa_sink0 - [default]: set_channels failed: Invalid argument #4

@rxseger

Description

@rxseger

Raspberry Pi 3 with Raspbian OS 2016-05-27-raspbian-jessie.img, headless setup and VNC
sudo apt install gnuradio
sudo apt install gr-osmosdr
gnuradio-companion

Create a trivial flowgraph with an Audio Sink:

screen shot 2016-06-05 at 1 18 35 am

attempt to run it. Fails with an ALSA error:

Generating: "/home/pi/top_block.py"

Executing: "/home/pi/top_block.py"

linux; GNU C++ version 4.9.1; Boost_105500; UHD_003.007.003-0-unknown

Xlib:  extension "RANDR" missing on display ":2.0".
Using Volk machine: neon_hardfp_orc
gr-osmosdr 0.1.3 (0.1.3) gnuradio 3.7.5
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy 

FATAL: No supported devices found to pick from.

Trying to fill up 1 missing channel(s) with null source(s).
This is being done to prevent the application from crashing
due to gnuradio bug #528.

gr::log :INFO: audio source - Audio sink arch: alsa
gr::log :ERROR: audio_alsa_sink0 - [default]: set_channels failed: Invalid argument
Traceback (most recent call last):
  File "/home/pi/top_block.py", line 204, in <module>
    tb.Start(True)
  File "/usr/lib/python2.7/dist-packages/grc_gnuradio/wxgui/top_block_gui.py", line 73, in Start
    self.start()
  File "/usr/lib/python2.7/dist-packages/gnuradio/gr/top_block.py", line 104, in start
    top_block_start_unlocked(self._tb, max_noutput_items)
  File "/usr/lib/python2.7/dist-packages/gnuradio/gr/runtime_swig.py", line 4726, in top_block_start_unlocked
    return _runtime_swig.top_block_start_unlocked(*args, **kwargs)
RuntimeError: check topology failed on audio_alsa_sink(20) using ninputs=1, noutputs=0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions