gqrx-sdr / gqrx

Software defined radio receiver powered by GNU Radio and Qt.
http://gqrx.dk
GNU General Public License v3.0
3.07k stars 542 forks source link

No audio, resource busy #688

Closed baiolo closed 5 years ago

baiolo commented 5 years ago

I i can't get audio output, the waterfall is ok, the problem came apperntly suddenly. Other audio apps are running smoothly.

System: Debian Sid gr-osmosdr 0.1.4 gnuradio 3.7.13.4 gqrx: Debian packaged 2.5.11 hw: HackRF (not relevant, the output and the problem is the same also with HackRF disconnected) audio: first with pulseaudio then also with Jack

Running from terminal (no devices attached):

Controlport disabled
No user supplied config file. Using "default.conf"
gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.13.4
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
FM demod gain: 3.05577
Resampling audio 96000 -> 48000
IQ DCR alpha: 1.04166e-05
Using audio backend: auto
BookmarksFile is /home/baiol/.config/gqrx/bookmarks.csv
[INFO] [UHD] linux; GNU C++ version 8.2.0; Boost_106700; UHD_3.13.1.0-3

RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:0,0), Device or resource busy.

getDeviceList : Available input devices:
   "RFSPACE SDR-IQ Receiver"
   "RFSPACE SDR-IP Receiver"
   "RFSPACE NetSDR Receiver"
   "RFSPACE Cloud-IQ Receiver"
   "hw:HDA Intel PCH,0"
   "default"
   "RTL-SDR Spectrum Server"
   "Red Pitaya Transceiver Server"
   "Complex Sampled (IQ) File"
Loading configuration from: "default.conf"
Configuration file: "/home/baiol/.config/gqrx/default.conf"
No change in output device:
  old: 
  new: 
New FFT rate: 25 Hz
Requested bandwidth: 0 Hz
Actual bandwidth   : 0 Hz
setFreqCorr : 0 ppm
New LNB LO: 0 Hz
updateHWFrequencyRange failed fetching new hardware frequency range
New mode index: 2
Filter preset for mode 2 LO: -5000 HI: 5000
Generating taps for new filter   LO:-5000   HI:5000 TW:2000   Taps: 115
setFftRate to "25 fps"
New FFT rate: 25 Hz
New FFT rate: 25 Hz
setFftSize to "8192"
New FFT rate: 25 Hz
Generating taps for new filter   LO:-5000   HI:5000 TW:2000   Taps: 115
Launching I/O device editor
firstTimeConfig
CIoConfig : Available output devices:
    0 : "Audio interno Stereo analogico"
I/O device configuration cancelled.
saveSettings *** FIXME_ SQL on/off
New FFT rate: 25 Hz

I think the problem is: RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:0,0), Device or resource busy.

I've searched for similar problems, but none of them solved my situation, any clue on how I can debug/solve this problem ?

csete commented 5 years ago

That error does not come from gqrx. I think it is from the audio backend for SoapySDR, so not really the audio output of gqrx.

If you need help or ideas for solving a problem, please use the mailing list and keep this tracker for bugs, see http://gqrx.dk/user-support