portapack-mayhem / mayhem-firmware

Custom firmware for the HackRF+PortaPack H1/H2
GNU General Public License v3.0
3.05k stars 520 forks source link

Audio RX performance and settings display corrupted #1997

Closed katherinehackworth closed 4 months ago

katherinehackworth commented 4 months ago

Describe the bug.

DFU button-activated performance and radio settings displays are garbled in audio RX app. Both display incorrectly with the text flickering and following the waterfall off screen, and audio output sounds robotic and low bitrate when radio settings display is shown (two clicks)

Reproduction

  1. Switch on
  2. Open Audio RX app and tune a station (I used FM)
  3. Press the DFU button once to view the performance display/twice to view the radio settings display

Expected behavior

  1. The information is displayed
  2. Audio playback stays the same

Environment/versions

Version 2.0.0

Anything else?

No response

gullradriel commented 4 months ago

Hello. It's not a bug, it's an hardware limitation. Getting back counters is costing CPU cycle. As for the scrolling area, it's scrolling all the content. Use the level app and you can tune without DFU.

katherinehackworth commented 4 months ago

Would the scrolling part not be a bug then though? It's presumably not supposed to do that but I don't know enough about how the waterfall is handled to know if it not doing that is possible

gullradriel commented 4 months ago

Waterfall is scrolling the graphic memory itself. Everything drawn on screen will by scrolled in the area, there is nothing yet we can do about it.