Gnuradio -- audio sink -----> QT session error prevents getting any audio out

Trying to work through some gnuradio tutorials. Tutorial as constructed on my computer is not getting any audio.

In “audio sink block”, output device name is input as: “hw:CARD=PCH” which was determined from aplay -L and the default selected and input to audio sink block as “hw:CARD=PCH”.

On first run, got a message that[hw:CARD=PCH]: unable to support sampling rate 32000
Card requested 44100 instead.

That value was set into sample rate variable block. Seems that, at least, gnuradio is finding the right audio device.

Now, I get error message below:
“Qt: Session management error: None of the authentication protocols specified are supported”

Don’t know if this is from gnuradio or python or what session manager is.
Anyone solved this problem?
thanks, tom kosvic

Does anyone have gnuradio audio sink running on opensuse linux to get sound to speakers or headphones? If so, send me a list of the parameters in your audio_sink block.

thanks, tom kosvic

Did you try unset SESSION_MANAGER?

@marel, I am not sure how to

unset SESSION_MANAGER

within gnuradio. Would I just put that into a teminal prior to starting gnuradio companion?

Have any further info?

tom kosvic

Solved. I ran unset SESSION_MANAGER in terminal prior to starting gnuradio from the same terminal. I now run the same grc file in gnuradio and I don’t get the SESSION_MANAGER error message. SESSION_MANAGER is not anymore in my env. And I do get audio sound through my wired headphones. That’s a first.

My bluetooth wireless headphones do not get sound from gnuradio though. The wireless phones do work for youtube, and vlc. Something else to figure out but progress has been made.

thanks for the help. tom kosvic

Good you figured out how to do it via a terminal session, that can also be done editing the GNU entry.

The fact that your Blutooth headset is not working yet for gnuradio likely has to do with setting “hw:CARD=PCH”, this looks to me the sound card/chip in your PC.

I had a look at my “aplay -l” output with a BT headset connected

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20632 Analog [CX20632 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [Philips 272C4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

So apart from a CARD you might have to specify also a device.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.