GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — RTL-SDR Blog V4 on macOS: panadapter/waterfall render but show no signals, and RX audio is only noise · Issue #6016 · aethersdr/AetherSDR

RTL-SDR Blog V4 on macOS: panadapter/waterfall render but show no signals, and RX audio is only noise #6016

New issue
Copy link
New issue
Copy link
Open
Open
RTL-SDR Blog V4 on macOS: panadapter/waterfall render but show no signals, and RX audio is only noise#6016
Copy link
Labels
audioAudio engine and streamingbugSomething isn't workingexternal devicesFlexControl, MIDI, serial port, USB peripheralsmacOSmacOS-specific issuemaintainer-reviewRequires maintainer review before any action is takenspectrumPanadapter and waterfall

Description

@k9mq
k9mq
opened on Sep 29, 2026
Issue body actions

Report preparation

  • I used the AI-assisted bug report tool (Help → Support → File an Issue)
  • I have attached a support bundle or log file

What happened?

I'm using AetherSDR 26.9.5 with an RTL-SDR Blog V4 dongle through the experimental RTL backend. The backend connects (RadioModel: connected (family="rtl")). The panadapter and waterfall run at about 20 fps, but I see only noise floor and no identifiable signals. The audio from the slice is also just digital-sounding noise, with no recognisable demodulated audio. Pat asked me to attach a log, and it is attached (aethersdr-20260928-190109.log).

What the attached log shows:

Start-up (19:01:24): AetherSDR starts in Flex discovery mode, finds no packets, and after about 15 s switches with RadioModel: switching backend family "flex" -> "rtl" for "". The radio name and serial are empty.
Gain (19:01:25.818): The RTL worker logs tuner gain set to 0 tenths dB immediately after connect, so the tuner starts at its lowest gain step.
Tuning: The slice sits at 107.1 MHz (FM broadcast band). I clicked around 105.9–108.1 MHz on the spectrum and dragged and zoomed the pan.
Gain sweep (19:02:05–19:02:10): I then raised the gain, which produced a sweep of tuner gain set to N tenths dB messages up to 434 (43.4 dB), with no evident improvement.
Sample-rate churn: Every pan zoom or drag issues repeated RtlSdrWorker: sample rate set to … / center freq set to … pairs. The rates include 1843200, 1536000, 2000000, 2400000 and 3000000 Hz. 3.0 MS/s is above what the RTL2832U handles reliably, and 3000000 was set repeatedly (about 19:01:46–19:01:51).
Missing information: The log has no line for device open, tuner type, direct sampling, bias-T, PPM correction or the librtlsdr version. The RTL worker logs under the generic default: category, so nothing here tells us whether librtlsdr recognised the V4.
Audio: AudioEngine: RX stream started at 48000 Hz (device "MacBook Air Speakers", resampling=yes) is logged at WRN level, and there are no DSP or demod log lines for the RTL slice.
Startup warnings (not obviously related):
RadioModel::addSliceOnPan: unknown panadapter "default" (×5, before the backend switch).
DAX unavailable — backend has no PanadapterStream.
Repeated QLayout::addChildLayout … already has a parent warnings.
A few MainThreadWatchdog stalls of 0.7–1.1 s.

aethersdr-20260928-190109.log

What did you expect?

The panadapter should show real signals, such as FM broadcast carriers at 106–108 MHz, standing above the noise floor.
The slice audio should be correctly demodulated (for example, intelligible WFM or NFM audio).
Changing gain in the UI should visibly change the noise floor and signal levels.
Zooming and panning should not push the dongle to a sample rate it can't sustain.
Startup should log which RTL device and tuner were opened, so V4 problems can be diagnosed from a log.

Steps to reproduce

On macOS (Apple Silicon), start AetherSDR 26.9.5 with an RTL-SDR Blog V4 plugged in and no Flex radio on the network.
Wait for Flex discovery to time out and for the app to switch to the rtl backend. Confirm the panadapter and waterfall start updating.
Leave the slice at the default 107.1 MHz, or click a known-strong FM broadcast frequency in the 88–108 MHz band.
Observe that the spectrum shows only noise and no carriers, and that the speakers play noise instead of demodulated audio.
Increase tuner gain from 0 up to about 43 dB and observe no meaningful change.
Drag or zoom the panadapter and watch the log show repeated retune and sample-rate changes (1.0–3.0 MS/s).

AetherSDR version

v26.9.5

Radio model & firmware

SDR Blog V4

Operating system

macOS

OS version and hardware

Macos Golden Gate

Activity

  1. k9mq
    added
    bugSomething isn't working
    on Sep 29, 2026
  2. aethersdr-agent
    added
    claude-activeAetherClaude is actively working on this issue
    audioAudio engine and streaming
    external devicesFlexControl, MIDI, serial port, USB peripherals
    macOSmacOS-specific issue
    maintainer-reviewRequires maintainer review before any action is taken
    spectrumPanadapter and waterfall
    on Sep 29, 2026
  3. aethersdr-agent commented on Sep 29, 2026

    @aethersdr-agent
    aethersdr-agentBot
    on Sep 29, 2026 – with AetherSDR-Agent
    Contributor
    More actions

    Thanks — the log narration is detailed enough to separate this into several distinct defects. I could not download the attachment from this environment, so everything below is verified against the source at v26.9.5 and reasoned from the log lines you quoted; the timestamps are yours, not mine.

    Short version: the audio being noise is a confirmed client-side DSP gap (there is no channel filter anywhere in the RTL demod chain, and the decimation to 24 kHz aliases the FM multiplex into the audio band). The flat spectrum has three contributing client-side bugs (tuner gain replayed as 0 = the tuner's minimum, 3.0 MS/s offered as a legal rate, and a retune/re-rate storm on every pan drag), plus one likely external cause that the app currently makes impossible to confirm from a log — which is itself the fifth defect.


    1. RX audio is noise — no channel filter, and MPX aliasing (confirmed)

    RtlSdrDdc::processAudio (src/core/backends/rtl/RtlSdrDdc.cpp:189-313) does NCO shift → boxcar decimate to ~240 kHz → discriminator → boxcar decimate to 24 kHz. Two things are missing:

    • No channel filter at all. The filter edges are stored and never read — m_filterLowHz/m_filterHighHz are written in setSliceFilter (RtlSdrDdc.cpp:99-103) and referenced nowhere else. The backend admits this in its own capability declaration: receiveFilterControl = std::nullopt; // DDC currently stores, but never consumes, filter edges (RtlSdrBackend.cpp:177). So the FM discriminator at 107.1 MHz sees the full ~240 kHz stage-1 bandwidth — your target station plus both adjacent channels — and the boxcar's only selectivity is a sinc rolloff (≈−4 dB at ±100 kHz). Capture effect never establishes; the output is mush. On NFM it is worse: a ±5 kHz-deviation detector fed a 240 kHz-wide input, with a ×4 gain on top (RtlSdrDdc.cpp:264).
    • Stage-2 decimation has no anti-alias lowpass. 240 kHz → 24 kHz is a bare 10-sample average (RtlSdrDdc.cpp:281-300), whose nulls sit only at multiples of 24 kHz. The 19 kHz stereo pilot lands at 5 kHz, the 38 kHz L−R subcarrier at 14 kHz (folded), 57 kHz RDS at 9 kHz — all essentially unattenuated. That is precisely a "digital-sounding noise" signature on a strong FM station, which is why gain changes don't rescue it.

    This is the gap RFC #5468 and its draft stack (#5924 → #5973 → #5974 → #6002 → #6003) exist to close, and the merged backend's own design doc says so (docs/architecture/aetherd-rtl-sdr-backend-design.md, "Current limitations": "Demodulation is intentionally basic; passband values are state/UI controls, not yet a sharp selectable DSP filter"). Recommend closing this half as covered by #5468 rather than adding a parallel filter implementation, unless the maintainer wants an interim fix.

    2. Tuner gain starts at minimum — the HL2/ANAN bug on a third family (confirmed)

    Your tuner gain set to 0 tenths dB at 19:01:25.818 is not the backend's default. RtlSdrBackend defaults to kDefaultRfGainDb = 24 (RtlSdrBackend.h:86), applies it in connectRadio (RtlSdrBackend.cpp:354-365) and publishes it via panRfGainChanged (RtlSdrBackend.cpp:956). The GUI then overwrites it: MainWindow_Session.cpp:1791-1804 replays the saved DisplayRfGain_rtl value through restoreLegacyRfGain, which exempts only hl2 and anan (src/gui/RfGainRestore.h:17) — and RTL declares ClientSettingsDomain::RfGain, so it is not exempt. On a Flex, 0 is the neutral middle of −8…+32 dB; on an RTL tuner 0 is the lowest gain step, exactly the "receiver that is simply deaf" failure the comment block at MainWindow_Session.cpp:1772-1790 describes for the HL2 (#5400, #5820).

    Fix: extend the exemption to rtl in src/gui/RfGainRestore.h, or better, make the rule capability-driven — never replay a legacy flat gain value on a family whose published panRfGainInfo range does not straddle 0 as neutral. emitInitialState already publishes the real min/max from rtlsdr_get_tuner_gains (RtlSdrBackend.cpp:949-953), so the data is there.

    3. 3.0 MS/s is offered as a legal rate (confirmed)

    clampSampleRate's table, capabilities().sampleRatesHz, and panBandwidthLimitsChanged(panId, 0.225001, 3.0) all include 3'000'000 (RtlSdrBackend.cpp:55-58, 184-187, 946). The RTL2832U cannot sustain 3.0 MS/s over USB 2 — librtlsdr itself warns above 2.4 MS/s — and your log shows it applied repeatedly around 19:01:46–19:01:51. Dropped USB transfers put discontinuities straight into the FFT input and the demod stream.

    Fix: drop 3'000'000 from all three places (and the 225'001…3'000'000 bound on receivePanBandwidthControl, RtlSdrBackend.cpp:180-181), capping at 2'400'000.

    4. Every pan drag re-rates the device (confirmed)

    setPanBandwidth (RtlSdrBackend.cpp:640-649) calls m_worker->setSampleRate(rate) unconditionally, with no comparison against the current m_sampleRateHz and no debounce. Each call sets the retune flag and rtlsdr_cancel_async, so the worker exits read_async, applies control transfers, and rtlsdr_reset_buffers (RtlSdrWorker.cpp:118-126, 152-192) — and meanwhile every in-flight buffer is discarded by the retune guard at RtlSdrWorker.cpp:211-216. A drag emits a continuous stream of those, which alone can make the display look like nothing but noise floor.

    Fix: in setPanBandwidth, return early when clampSampleRate(hz) == m_sampleRateHz; coalesce drag-time bandwidth changes behind a short timer.

    5. The backend logs nothing identifying about the device (confirmed — and the reason (6) can't be settled)

    There is no rtlsdr_get_tuner_type call anywhere in src/core/backends/rtl/, no open banner, no librtlsdr version, no bias-T, and no logging category — RtlSdrWorker uses bare qDebug()/qWarning(), which is why everything landed under default:. Your "Missing information" list is accurate and complete. The empty radio name/serial you saw follows from the same area: m_modelName = m_product (RtlSdrBackend.cpp:402) is whatever rtlsdr_get_device_usb_strings returned, with no fallback once the device is open.

    Fix: add an aether.rtl logging category and one qCInfo banner at open — device index, USB vendor/product/serial, rtlsdr_get_tuner_type(), the gain table bounds, applied sample rate readback, direct-sampling mode, and PPM. Small, self-contained, and a good first issue on its own.

    6. The likely reason the spectrum is flat: V4 driver support (needs your confirmation)

    The RTL-SDR Blog V4 is an R828D design with an onboard HF upconverter; it needs librtlsdr with explicit V4 support. With stock/older librtlsdr (e.g. Homebrew's librtlsdr 0.6.0) a V4 opens, accepts gain and rate commands, streams happily, and delivers nothing but noise — which matches "spectrum renders at 20 fps, gain sweeps to 43.4 dB, no carriers". AetherSDR links whatever librtlsdr pkg-config finds (CMakeLists.txt:2613-2634) and, per (5), never records which one.

    Related and separately broken for your dongle: setPanCenter forces direct-sampling mode 2 below 24 MHz (RtlSdrBackend.cpp:328, 617-621). The V4 has no direct-sampling path — HF goes through its upconverter — so HF on a V4 will be dead even once the above are fixed. That needs a tuner-type-aware branch, which is only possible after (5).

    Three questions, not blocking this triage:

    1. What does brew list --versions librtlsdr (or pkg-config --modversion librtlsdr) report on that Mac?
    2. What does rtl_test -t print — specifically the tuner line, and whether it says anything about a V4 being detected?
    3. If rtl_test reports the V4 correctly but AetherSDR still shows only noise, does rtl_fm -f 107.1M -M wfm -s 200k -r 48k - | play -r 48k -t raw -e s -b 16 -c 1 - give intelligible audio on the same dongle?

    Handoff

    Known: items 1–5 are read off the v26.9.5 source and each independently degrades this exact scenario. Item 1 fully explains the noise audio on its own. Items 2–4 explain a flat/deaf panadapter and the churn in the log. Item 6 is the most likely remaining cause of "no carriers at all" and is unverifiable today only because of item 5.

    To fix, in order of ratio:

    • src/gui/RfGainRestore.h — stop replaying a legacy 0 onto RTL (one-line exemption, or the capability-driven rule). Fixes a deaf receiver on connect.
    • src/core/backends/rtl/RtlSdrBackend.cpp — remove 3.0 MS/s from the rate table, capabilities, and pan-bandwidth bounds; make setPanBandwidth idempotent when the snapped rate is unchanged.
    • src/core/backends/rtl/ — aether.rtl category + open banner with tuner type and librtlsdr version. Unblocks all future V4 reports, including item 6.
    • Channel filtering and correct WFM decimation (item 1) belong to RFC [RFC] Complete RTL-SDR receive DSP with multiple slices, independent zoom and stereo WFM #5468's stack, not to this issue.

    Happy to implement the first three (plus the tuner-type-aware direct-sampling branch, once the banner proves what we're talking to) if you add aetherclaude-eligible.


    🤖 aethersdr-agent · cost: $4.4333 · model: claude-opus-5


    📍 Citation health check (Foundry Constitution Principle I): 3 resolved, 17 unresolved against /Users/aetherclaude/workspace/AetherSDR at origin/main.

    Unresolved citations (17)
    Citation Reason
    MainWindow_Session.cpp:1772-1790 file not found in workspace
    MainWindow_Session.cpp:1791-1804 file not found in workspace
    RtlSdrBackend.cpp:177 file not found in workspace
    RtlSdrBackend.cpp:180-181 file not found in workspace
    RtlSdrBackend.cpp:328 file not found in workspace
    RtlSdrBackend.cpp:354-365 file not found in workspace
    RtlSdrBackend.cpp:402 file not found in workspace
    RtlSdrBackend.cpp:55-58 file not found in workspace
    RtlSdrBackend.cpp:640-649 file not found in workspace
    RtlSdrBackend.cpp:949-953 file not found in workspace
    RtlSdrBackend.cpp:956 file not found in workspace
    RtlSdrBackend.h:86 file not found in workspace
    RtlSdrDdc.cpp:264 file not found in workspace
    RtlSdrDdc.cpp:281-300 file not found in workspace
    RtlSdrDdc.cpp:99-103 file not found in workspace
    RtlSdrWorker.cpp:118-126 file not found in workspace
    RtlSdrWorker.cpp:211-216 file not found in workspace
  4. aethersdr-agent
    added
    awaiting-responseWaiting for reporter to provide additional information
    and removed
    claude-activeAetherClaude is actively working on this issue
    awaiting-responseWaiting for reporter to provide additional information
    on Sep 29, 2026
  5. k9mq commented on Sep 29, 2026

    @k9mq
    k9mq
    on Sep 29, 2026
    Author
    More actions

    @AetherClaude
    mark@Marks-MacBook-Air ~ % pkg-config --modversion librtlsdr
    v0.6-20220115-5e73f90f-MacPorts
    mark@Marks-MacBook-Air ~ % rtl_test -t
    Found 1 device(s):
    0: RTLSDRBlog, Blog V4, SN: 00000001

    Using device 0: Generic RTL2832U OEM
    Found Rafael Micro R828D tuner
    Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
    [R82XX] PLL not locked!
    Sampling at 2048000 S/s.
    No E4000 tuner found, aborting.
    mark@Marks-MacBook-Air ~ % rtl_fm -f 107.1M -M wfm -s 200k -r 48k - | play -r 48k -t raw -e s -b 16 -c 1 -
    zsh: command not found: play
    Found 1 device(s):
    0: RTLSDRBlog, Blog V4, SN: 00000001

    Using device 0: Generic RTL2832U OEM
    Found Rafael Micro R828D tuner
    Tuner gain set to automatic.
    Tuned to 107400000 Hz.
    Oversampling input by: 6x.
    Oversampling output by: 1x.
    Buffer size: 6.83ms
    [R82XX] PLL not locked!
    Sampling at 1200000 S/s.
    Output at 200000 Hz.
    Signal caught, exiting!

    User cancel, exiting...
    Signal caught, exiting!
    Signal caught, exiting!
    Signal caught, exiting!
    Signal caught, exiting!

    No audio is being decoded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    audioAudio engine and streamingbugSomething isn't workingexternal devicesFlexControl, MIDI, serial port, USB peripheralsmacOSmacOS-specific issuemaintainer-reviewRequires maintainer review before any action is takenspectrumPanadapter and waterfall

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.