No GNURadio Output on VirtualBox

I am working to get the gr-krakensdr block working however I have run in to some trouble. I went ahead and set up the VirtualBox as recommended by the wiki and reformatting the drive for more memory as was suggested here.
As the note in the VM says, I run the heimdall_only_start.sh file, then I run GRC, the flowgraph seems to run without any errors, there is a warning about: ‘vocoder_codec2_decode_ps - option_attributes are for enums only; ignoring’
And later when I try to run a warning about: ‘Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway’
But to my understanding these should not stop the flowgraph from creating a graph. When I try to run other flowgraphs in here there are no issues. I was wondering what I might be able to do to fix this?
If there is any extra info i can provide please let me know.

I am going through the troubleshooting page (07. KrakenSDR Troubleshooting · krakenrf/krakensdr_docs Wiki · GitHub)
And at the power supply test I am getting an error that when I try to run all 5 that my buffer size is not large enough.

After increasing the buffer size to 32MB using:
sudo sh -c ‘echo 32 > /sys/module/usbcore/parameters/usbfs_memory_mb’

It works!

1 Like

Thanks for posting your fix.

This is strange though, because the start script calls ./daq_start_sm.sh, which has sudo sh -c “echo 0 > /sys/module/usbcore/parameters/usbfs_memory_mb” in it. This basically allows unlimited buffer sizes, so it would have a similar effect.

It seems the error has come back. I have ran through the troubleshooting page but nothing seems to get the flowgraph working.
I run into the Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway
And then in the GRC terminal it should say something about sending a control signal, but it doesnt do that. This only happens in flowgraphs which use the KrakenSDR block. Was wondering if you had any ideas on ways to fix this.

The GNU Radio warning isn’t really relevant, that can be ignored.

Do you mean that the error stating that your buffer is is not large enough came back?

Try sudo sh -c “echo 0 > /sys/module/usbcore/parameters/usbfs_memory_mb”

Which will set the buffer size to unlimited

But it is strange that it’s not getting applied by the script on your machine.

So after some testing you seem to be correct that running that command was effectively doing nothing since the script was doing that automatically.
However now my question is what could be causing the issue.
Just to restate what I am running in to:
I start up VirtualBox
Run the ‘./heimdall_only_start.sh’ file
Open GNURadio on a new terminal window
Run a flow diagram
Then nothing seems to happen. The last prompt in GNU Radio is 'Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway’

The problem is that this happens 90% of the time, the 10% of the time it works the next line is something about sending a command signal. I have tried restarting the VM, restarting the DAQ, restarting the flowgraph, nothing needs to change, it feels random when it does work. Was wondering if you might have some insight into this. If there is anything I can send in to help give you a better picture, let me know.