Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fedora Rawhide] Sometimes works sometimes doesn't with weird error messages #63

Closed
russel opened this issue May 18, 2017 · 11 comments
Closed
Labels

Comments

@russel
Copy link
Contributor

russel commented May 18, 2017

I keep getting the problem:

PulseAudioService: pa_context_connect() failed

and a lack of audio. Is this that the CMake build is failing to do something during the build?

@russel
Copy link
Contributor Author

russel commented May 19, 2017

Could be the same issue as #64 – different OSes different error reports.

@AlbrechtL AlbrechtL added the bug label May 19, 2017
@AlbrechtL
Copy link
Owner

I suppose QT tries to use Pulse and Pulse somehow fails on Fedora. Does other multimedia software e.g. VLC is working?

@russel
Copy link
Contributor Author

russel commented May 19, 2017

The AppImage behaves a little differently.

My build shows the connect failed, and no matter how much tuning gives no further output on the console, but the tune seems good according to the UI.

The AppImage I downloaded behaves the same on startup, but then on a tune behaves as my build does on Debian. Tries to use Raw audio and fails.

PulseAudioService: pa_context_connect() failed
Audio: Raw audio format not supported by backend, cannot play audio.
RadioController: Number of gain steps: 28

@AlbrechtL AlbrechtL changed the title Does not find Pulse on Fedora Rawhide [Fedora Rawhide] Error message "PulseAudioService: pa_context_connect() failed" May 20, 2017
@AlbrechtL
Copy link
Owner

Are other audio output software is working e.g. VLC or Firefox with Youtube? I assume something is wrong in your pluse installation.

@russel
Copy link
Contributor Author

russel commented May 21, 2017

Sound is working entirely fine with Rhythmbox, Chrome, Firefox, etc. Thus PulseAudio appears to be working fine.

@AlbrechtL
Copy link
Owner

Mh, maybe something goes wrong with the default audio device selection. You can try just to comment out line 76 - 81.

@russel
Copy link
Contributor Author

russel commented May 21, 2017

This may be an Heisenbug :-( I just tried running it on Fedora and it works fine. This is bizarre. But good.

@russel
Copy link
Contributor Author

russel commented May 22, 2017

Closing this for now. Not tried on Debian recently. If it has a problem I'll reopen or create a new issue.

@russel russel closed this as completed May 22, 2017
@russel
Copy link
Contributor Author

russel commented May 22, 2017

A definite Heisenbug here. Welle.IO worked this morning. Now when I start it QtAudioPulse registers with the Fedora sound system, but when I tune, I now get:

r82xx_write: i2c wr failed=-4 reg=05 len=1
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
r82xx_write: i2c wr failed=-4 reg=05 len=1
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
r82xx_write: i2c wr failed=-4 reg=05 len=1
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
r82xx_write: i2c wr failed=-4 reg=05 len=1
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
r82xx_write: i2c wr failed=-4 reg=05 len=1
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
r82xx_write: i2c wr failed=-4 reg=05 len=1
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4
r82xx_write: i2c wr failed=-4 reg=17 len=1
r82xx_set_freq: failed=-4
rtlsdr_demod_write_reg failed with -4
rtlsdr_demod_read_reg failed with -4

@russel russel reopened this May 22, 2017
@russel russel changed the title [Fedora Rawhide] Error message "PulseAudioService: pa_context_connect() failed" [Fedora Rawhide] Sometimes works sometimes doesn't with weird error messages May 22, 2017
@russel
Copy link
Contributor Author

russel commented May 22, 2017

And now it is working fine on Fedora Rawhide. I am assuming there is a state of the hardware that is being reached that Welle.IO is not able to reset.

OK, I touched the NooElec unit and the sound stopped and Welle.IO reports an error from the device. dmesg not reporting any change of state. Restart Welle.IO and everything is fine. This is getting quite annoying. Clearly something is right, but there are too many instabilities.

Or maybe I am just getting over hyper. :-)

@AlbrechtL
Copy link
Owner

I assume there is an electrical problem in your NooElec device in combination with a rtlsdr driver issue. Anyway, I close this issue for now and if you have more information we can reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants