-
-
Notifications
You must be signed in to change notification settings - Fork 942
Fails to launch in Ubuntu 24.01 #3445
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
Comments
Unfortunately version 3.2.2 is not suitable to run on Ubuntu 24.04.1 as you have foun. In common with most modern Linux it uses pipewire to handle audio, and version 3.2.2 is setup to use jackd This linux package is produced externally and independently of the Sonic Pi developers, and has not been upgraded. Sonic Pi does not lend itself very well to the creation of a standard debian package, although it does build fairly easily from source. In the past I have produce binary packages to install Sonic Pi on Ubuntu, but unfortunately I only have access to Macs, and thus can only build for arm based cpu on virtual machines. |
Just as a note I built v4.5.1 on a VirtualBox Ubuntu 24.04 yesterday
I followed my write up of installing on Linux Mint Virginia that can be found here: Differences: Install the following additional packages:
(So don't do the and the method of installing qpwgraph was not correct, but that isn't required for building so I didn't look at that The main problem I found is that Ubuntu comes with gcc 13 so you have to install gcc 12 alongside and use that, as part of the build process fails with gcc 13 (13.3.0) - something to do with gmake (I think) The proper way to do this is use an export line:
This successfully built and plays sounds, I think there may be some limitations with virtualbox VMs though, especially as my host system is still using pulseaudio (to get audio in and out of VirtualBox), and the Ubuntu VM is using pipewire... But it was a successful build |
BTW, sorry for dropping the ball earlier - but if you'd like to roll this into your mint-specific build docs - it would be great to see a pull request so that I could merge it into the source so it can help all the other mint users out there :-) |
@samaaron I'll see what I can do I did upload a BUILD-LINUX-MINT.md previously on that #3396 post Here: https://github.com/sonic-pi-net/sonic-pi/files/15283663/BUILD-LINUX-MINT.md (I'm more of an OS support person, not a dev (at all) and I'm not much of a git user, so a bit scared of pushing something to someone else's public git repo) |
@idommason - I've actually made quite a few changes to the build system to (hopefully) make things easier for Linux users. The main highlight is that vcpkg is no longer used on Linux builds - which was something constantly causing friction. It would be really great if when you next have a spare moment, you can try building Sonic Pi from the latest dev branch and amend your build files if necessary. Then I can pull them into the source :-) |
@samaaron Hi Sam I've just downloaded the current latest version of Linux Mint (22.1) , so I'll get a VirtualBox install of that, and do a build of 5.0 #dev ... and see what happens |
I've now done a build of 5.0.0 beta2 on (a vanilla VirtualBox install of) Linux Mint 22.1) and have ran all of the build scripts individually and then fixed all the things that broke QT6 needs fixing (as a linux mint issue) so I cheated that, there's probably a better way than what I used. I did a workaround which someone familiar with QT development will probably sneer at, but I couldn't find a specific answer for. qtchooser appears to and it looks as though gcc-13 is still broken so you have to use gcc-12 and g++-12 I'll do a new thread on the specifics in a while. And then see if I can do a .md But on the whole it looks a though the build process is a lot simpler - but then again I've got some familiarity of what to look for when it breaks |
Error report below.
Sonic Pi Boot Error Report
System Information
GUI Log
/home/izzy/.sonic-pi/log/gui.log
Server Errors
/home/izzy/.sonic-pi/log/server-errors.log
Server Output
/home/izzy/.sonic-pi/log/server-output.log
Scsynth Output
/home/izzy/.sonic-pi/log/scsynth.log
Process Log
/home/izzy/.sonic-pi/log/processes.log
The text was updated successfully, but these errors were encountered: