Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#70578 - [gqrx] Random freeze with hackRF driver 2021-03-1

Attached to Project: Community Packages
Opened by patrick (potomac) - Saturday, 24 April 2021, 23:10 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 26 April 2021, 11:32 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Kyle Keen (keenerd)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Since the release of hackRF 2021-03-1 driver version then Gqrx has problems :
- randomly, when switching frequency mode (AM, FM, LSB etc...) in the GUI then Gqrx can freeze, I hear no sound from hackRF, it can happen 30% of the time when switching frequency mode,

if I use 2018 hackrf driver version then there is no freeze, no bugs, all is Ok with Gqrx,
My hackRF device is a 2014 PCB version, firmware has been updated to 2021-03 version.

Additional info:
* package version(s) Gqrx 2.14.4
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

-Install Gqrx software, 2.14.4 version
-Use hackRF device (february 2014 PCB version)
-Update firmware to 2021-03-1 version
-Update hackRF driver to 2021-03-1 version
-Run Gqrx
-Try several time to change frequency mode (AM, FM, LSB etc...)
-You will notice (30% of the time) that Gqrx will freeze
-If you downgrade hackRF driver to 2018-1 version then the freeze will disapear, no bug
This task depends upon

Comment by patrick (potomac) - Sunday, 25 April 2021, 00:47 GMT
I notice that the appimage version of Gqrx (2.14.4 version) doesn't have this problem :

So it may be a problem related to archlinux package of Gqrx ?
Bad compilation options made by the archlinux packager of Gqrx ?
Perhaps the package should be rebuilt in order to be compatible with the last version of dependencies ?
Comment by patrick (potomac) - Sunday, 25 April 2021, 02:07 GMT
But the appimage can also contain hackRF lib in 2018-01 version, that can explain why there is no freeze.
Comment by patrick (potomac) - Wednesday, 28 April 2021, 22:21 GMT
I did a git bisect in hackRF driver (2021-03-01 version), the faulty commit that creates the bug is :

I created a bugreport on hackrf upstream site :

Reverting this faulty commit should solve my problem.
Comment by patrick (potomac) - Thursday, 29 April 2021, 02:48 GMT
Sadly reverting this commit from hackrf is not enough for solving freezes in Gqrx, as recent commits in hackrf change also start/stop rx, tx functions,
1442014 is just the first bad commit, the problem may be more deep (thread management, usb transfert etc...).