Which Linux works?

I used gcc version 11.4.0

(sonic-pi/BUILD-LINUX.md at dev · sonic-pi-net/sonic-pi · GitHub says
“…Note: please make sure that you have gcc12 installed. Compiling vcpkg dependencies does not work with gcc13 currently …” )

Hello there

There are most popular linux brand such as Ubuntu; fedora; debian; and centos, These provides support for a wide range of software applications, like sp

Thanks. in the package repository one always/mostly finds an old version of SP. I run about five brands of Linux, for example Mate (like Debian/Ubuntu) offers v3.2.2.

My problem (and some of others) was that there was no sound with the compiled version from source.

In the meantime (already some time back) a (corrected) compilation procedure was published at Github that solved the problem.

I do not remember exactly but there was stilla problem with pipewire and QT6 I had to solve myself?

Generally I’d avoid 3.3,2. It is old and will have issues with sound particularly with earlier distros. It was packaged independently of the core team. If your distro can support flat hub I would consider trying that for sonic pi 4.5.1
See Install Sonic Pi on Linux | Flathub

the flat hub version was without sound. I started this thread March 27 after some unhappy trials starting with the release of 4.5 and got SP running on Linux properly about start of Mai.

I have been told that SP 4.5 runs properly on Linux in virtual machine by different persons - nice, but I use my different Linuxes on real metal.

May be SP has been updated/modified in the meantime more Linux friendly? I do not know. I have a running version (with sound) after many trials/experiments and are satisfied first and foremost.

Bit in 2024 not version 4.5.1 with sound.
May be it has changed 2025? Inn the repositories I know SP 3.2.2 is listet.

  1. April 2025 I get the message

– Package ‘aubio’, required by ‘virtual:world’, not found
CMake Error at /usr/share/cmake-3.28/Modules/FindPkgConfig.cmake:619 (message):
The following required packages were not found:

aubio

Call Stack (most recent call first):
/usr/share/cmake-3.28/Modules/FindPkgConfig.cmake:841 (_pkg_check_modules_internal)
external/CMakeLists.txt:81 (pkg_check_modules)

But
bb@bb-HP-EliteDesk-705-G3-Desktop-Mini:~/Development/sonic-pi/app$ which aubio
/usr/bin/aubio

See comments I have added to your query on github about this. I would strongly recommend using the latest 5.0beta (using latest source code) and a modern linux. Things have been changed around in the build process a fair bit, but I find this works well on rasberry-pi and debian and ubuntu using latest BUILD-LINUX.md instructions.

Thanks robin.newman!
Here the link to the new build sonic-pi/BUILD-LINUX.md at dev · sonic-pi-net/sonic-pi · GitHub

I have installed Qt6
~$ sudo apt install libqt6*-dev

and get
~$ which qmake6
/usr/bin/qmake6

but cannot get rid of the old qmake version:

~$ qmake --version
QMake version 3.1
Using Qt version 5.15.13 in /usr/lib/x86_64-linux-gnu

I cannot find
~$ which qmake5
~$ which Qmake5

It works. But I cannot tell why and how.

Hi there!

I understand Linux is not officially supported, and I see that what is required to make it work is beyond my capabilities, since I know nothing about the command line, or about building apps from source.

So this post is mainly just to document the current state of affairs regarding Ubuntu (22.04 LTS) and the flatpak version of Sonic Pi 4.6.0… If it’s not pertinent or is misplaced, feel free to delete it.

So in this case, Supercollider looks like it does connect with the hardware that produces sound, but Sonic Pi remains mute. The scope does move though.

Thanks.

Well it’s all looking good, particulalry if you have output on the scope. I wonder if there is a mute or volume setting associated with your selected sound output external to Sonic PI. I have found the audio muted or vol at zero in Ubuntu before now…
Alternatively, do you have a plug in usb output device you might try and select that and see if it works.

Hey Robin!

I’m not sure I understand the “volume at zero” thing. All I can say, is when I play anything else, say a Youtube video for instance, it outputs to the same device Supercollider goes to in the picture, and the sound works just fine. Even when Supercollider is also connected to that device.

Also no, I don’t have any additional hardware I could try. Honestly I don’t even know what a usb plug-in device is, hehe!

Cheers!

I have an app called Flatseal that lets me manage flatpaks in a GUI. Would it be helpful to post screenshots of its Sonic Pi section?

I don’t have any experience with that app. I think my suggestion about volume is probably not relevant if other apps are working with that audio output.

All right thanks, Robin!

I’ll wait for a potential update