Cabbage Logo
Back to Cabbage Site

Warning: Installing on Ubuntu Studio 20.10

I thought Noobs would be the most relevant section for this as people newly installing CSound and Cabbage are likely to pop in here.

Do not install CSound (maybe Cabbage also one relies on the other anyway) on Ubuntu Studio 20.10.
If you want to try it, install it in a virtual machine not on any machine you intend on doing any work on.

Installing CSound (probably) has just completely messed up my desktop, uninstalled all the UbuntuStudio controls and all the jack stuff - completely and utterly messed everything up!

This is a relatively new install so I know from recent experience this is going to take the best part of a week to sort out so not happy, supposed to be doing a mixdown tomorrow and now can’t.

This isn’t a grip about Cabbage itself as I don’t think it caused the issue but having to change sources to install Csound. This is one of the bugbears with Linux, no way should installing an application destroy an entire system - but it happens, if fact only on Monday while trying to sort dependencies out for Bitwig on my laptop it did exactly the same thing - although in that instance it was black screen of death and no way to get into the desktop - SDDM removed etc etc.

Can you tell us more please? Did you build from source and then run make install? What exactly is the problem? I’m sure I know people who are running Ubuntu Studio and Csound without any issues. It’s quite a popular audio audio based desktop.

Btw, the only dependency that Csound absolutely needs is libsndfile. If you installed other 3rd party libraries which ended up causing issues, then you needn’t have. Jack, portaudio, portmidi, fltk, etc are all optional deps. I would not install any of them on my linux machine because I have everything set up how I like it.

Hi Rory

Yes, CSound was built from source and then make install - from the link in the new pre-built Cabbage instructions etc. I don’t think Cabbage itself has done it as it’s pre-built…having said that so was the Bitwig deb on the laptop.

This is the latest 20.10 build, I’ve not had this issue on early builds.I think it’s more something to do with the new KDE plasma setup they’re using in Studio now… Killing it twice in one week on two different machines installing two completely different applications points to that.

The problem this time is that (thankfully) I’m able to get back into desktop this time but the desktop itself is all messed up, theme gone, menu icons gone, boot splash screen gone, ubuntu studio controls and therefore gui access to all the audio settings gone. I’m working through it all now and a re-install doesn’t look to be on the cards this time. I’ve got studio controls back by installing the ubuntu studio stuff again from their setup for installing it all on standard ubuntu. Now I’m getting the desktop back, sorting the menu out, so all is not lost this time.

Here’s the log:

Start-Date: 2022-01-14 17:41:05
Commandline: apt-get build-dep csound
Requested-By: sean (1000)
Install: libevent-pthreads-2.1-7:amd64 (2.1.12-stable-1, automatic), openjdk-11-jdk:amd64 (11.0.13+8-0ubuntu1~21.04, automatic), libmumps-headers-dev:amd64 (5.3.5-2, automatic), libblkid-dev:amd64 (2.36.1-7ubuntu2, automatic), debhelper:amd64 (13.3.4ubuntu1), libselinux1-dev:amd64 (3.1-3build1, automatic), libxnvctrl0:amd64 (470.57.01-0ubuntu0.21.04.2, automatic), libglib2.0-dev-bin:amd64 (2.68.1-1~ubuntu21.04.1, automatic), libfltk1.1-dev:amd64 (1.1.10-29ubuntu1), liblo-dev:amd64 (0.31-1), libhwloc-plugins:amd64 (2.4.1+dfsg-1, automatic), libflac-dev:amd64 (1.3.3-2, automatic), dh-buildinfo:amd64 (0.11+nmu2), libpcre32-3:amd64 (2:8.39-13build3, automatic), openjdk-11-jdk-headless:amd64 (11.0.13+8-0ubuntu1~21.04, automatic), libpython3-dev:amd64 (3.9.4-1, automatic), dwz:amd64 (0.14-1, automatic), libmount-dev:amd64 (2.36.1-7ubuntu2, automatic), libglib2.0-dev:amd64 (2.68.1-1~ubuntu21.04.1, automatic), librtmidi-dev:amd64 (4.0.0-1, automatic), libhwloc-dev:amd64 (2.4.1+dfsg-1, automatic), dh-python:amd64 (4.20201102ubuntu4), openmpi-bin:amd64 (4.1.0-7ubuntu2, automatic), libsub-quote-perl:amd64 (2.006006-1, automatic), libibverbs1:amd64 (33.1-1ubuntu1, automatic), automake:amd64 (1:1.16.3-2ubuntu1, automatic), libportmidi-dev:amd64 (1:217-6), libreadline-dev:amd64 (8.1-1, automatic), librole-tiny-perl:amd64 (2.002004-1, automatic), libfluidsynth-dev:amd64 (2.1.7-1), libjs-jquery-ui:amd64 (1.12.1+dfsg-8, automatic), libpng-dev:amd64 (1.6.37-3build3), libstrictures-perl:amd64 (2.000006-1, automatic), openmpi-common:amd64 (4.1.0-7ubuntu2, automatic), bison:amd64 (2:3.7.5+dfsg-1), liblua5.1-0:amd64 (5.1.5-8.1build4, automatic), libfile-which-perl:amd64 (1.23-1, automatic), gfortran-10:amd64 (10.3.0-1ubuntu1, automatic), libvorbis-dev:amd64 (1.3.7-1, automatic), libfile-touch-perl:amd64 (0.11-1, automatic), flex:amd64 (2.6.4-8), libsub-override-perl:amd64 (0.09-2, automatic), swig4.0:amd64 (4.0.2-1, automatic), libscalapack-mpi-dev:amd64 (2.1.0-4, automatic), libdevel-callchecker-perl:amd64 (0.008-1ubuntu2, automatic), po-debconf:amd64 (1.0.21+nmu1, automatic), libevent-extra-2.1-7:amd64 (2.1.12-stable-1, automatic), libogg-dev:amd64 (1.3.4-0.1, automatic), debugedit:amd64 (1:0.1-0ubuntu2, automatic), zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu6, automatic), libsndfile1-dev:amd64 (1.0.31-1ubuntu1.1), libfile-dirlist-perl:amd64 (0.05-2, automatic), libdynaloader-functions-perl:amd64 (0.003-1.1, automatic), libdebhelper-perl:amd64 (13.3.4ubuntu1, automatic), libnl-3-dev:amd64 (3.4.0-1build2, automatic), libclang1-12:amd64 (1:12.0.0-3ubuntu1~21.04.2, automatic), libscalapack-openmpi-dev:amd64 (2.1.0-4, automatic), libfltk-forms1.3:amd64 (1.3.5-3, automatic), doxygen:amd64 (1.9.1-2ubuntu1), liblua5.1-0-dev:amd64 (5.1.5-8.1build4), libmoo-perl:amd64 (2.004004-1, automatic), libpcre2-posix2:amd64 (10.36-2ubuntu5, automatic), libnl-route-3-dev:amd64 (3.4.0-1build2, automatic), devscripts:amd64 (2.21.1ubuntu1), libltdl-dev:amd64 (2.4.6-15, automatic), autoconf:amd64 (2.69-14, automatic), libffi-dev:amd64 (3.4~20200819gead65ca871-0ubuntu5, automatic), libjack0:amd64 (1:0.125.0-3build2, automatic), libportaudiocpp0:amd64 (19.6.0-1.1, automatic), autopoint:amd64 (0.21-3ubuntu2, automatic), libeigen3-dev:amd64 (3.3.9-2), libsepol1-dev:amd64 (3.1-1ubuntu1, automatic), libmumps-5.3:amd64 (5.3.5-2, automatic), libimport-into-perl:amd64 (1.002005-1, automatic), librtaudio-dev:amd64 (5.1.0~ds1-1, automatic), default-jdk-headless:amd64 (2:1.11-72, automatic), libibverbs-dev:amd64 (33.1-1ubuntu1, automatic), libclang-cpp12:amd64 (1:12.0.0-3ubuntu1~21.04.2, automatic), libipc-run-perl:amd64 (20200505.0-1, automatic), libncurses-dev:amd64 (6.2+20201114-2build1, automatic), default-jdk:amd64 (2:1.11-72), python3-dev:amd64 (3.9.4-1), libgmm+±dev:amd64 (5.3+dfsg1-3build8), libsamplerate0-dev:amd64 (0.2.1+ds0-1), uuid-dev:amd64 (2.36.1-7ubuntu2, automatic), libstk-dev:amd64 (4.6.1+dfsg-3build1), autotools-dev:amd64 (20180224.1+nmu1, automatic), libparams-classify-perl:amd64 (0.015-1build3, automatic), libevent-openssl-2.1-7:amd64 (2.1.12-stable-1, automatic), libjack-dev:amd64 (1:0.125.0-3build2), gettext:amd64 (0.21-3ubuntu2, automatic), libtool:amd64 (2.4.6-15, automatic), pkg-config:amd64 (0.29.2-1ubuntu1, automatic), libfabric1:amd64 (1.11.0-2, automatic), libgfortran-10-dev:amd64 (10.3.0-1ubuntu1, automatic), libfile-homedir-perl:amd64 (1.006-1, automatic), libpcrecpp0v5:amd64 (2:8.39-13build3, automatic), librhash0:amd64 (1.4.1-1, automatic), libmodule-runtime-perl:amd64 (0.016-1, automatic), ibverbs-providers:amd64 (33.1-1ubuntu1, automatic), libpcre16-3:amd64 (2:8.39-13build3, automatic), libcunit1:amd64 (2.1-3-dfsg-2.3, automatic), python3.9-dev:amd64 (3.9.5-3ubuntu0~21.04.1, automatic), dh-autoreconf:amd64 (20, automatic), jackd1:amd64 (1:0.125.0-3build2, automatic), libpython3.9-dev:amd64 (3.9.5-3ubuntu0~21.04.1, automatic), libopenmpi3:amd64 (4.1.0-7ubuntu2, automatic), libpsm2-2:amd64 (11.2.185-1, automatic), swig:amd64 (4.0.2-1), cmake-data:amd64 (3.18.4-2ubuntu1, automatic), libio-pty-perl:amd64 (1:1.15-2, automatic), libpsm-infinipath1:amd64 (3.3+20.604758e7-6.1, automatic), libucx0:amd64 (1.10.0~rc1-7, automatic), libevent-core-2.1-7:amd64 (2.1.12-stable-1, automatic), libscalapack-openmpi2.1:amd64 (2.1.0-4, automatic), dh-strip-nondeterminism:amd64 (1.11.0-1, automatic), libmumps-dev:amd64 (5.3.5-2, automatic), libb-hooks-op-check-perl:amd64 (0.22-1build3, automatic), m4:amd64 (1.4.18-5, automatic), intltool-debian:amd64 (0.35.0+20060710.5, automatic), libexpat1-dev:amd64 (2.2.10-2, automatic), libpulse-dev:amd64 (1:14.2-1ubuntu1.2), libhwloc15:amd64 (2.4.1+dfsg-1, automatic), libfile-stripnondeterminism-perl:amd64 (1.11.0-1, automatic), mpi-default-bin:amd64 (1.13, automatic), libpcre2-32-0:amd64 (10.36-2ubuntu5, automatic), mpi-default-dev:amd64 (1.13, automatic), librdmacm1:amd64 (33.1-1ubuntu1, automatic), libpmix-dev:amd64 (4.0.0-4ubuntu1, automatic), libcunit1-dev:amd64 (2.1-3-dfsg-2.3), dssi-dev:amd64 (1.1.1~dfsg0-4build1), portaudio19-dev:amd64 (19.6.0-1.1), patchutils:amd64 (0.4.2-1, automatic), libopenmpi-dev:amd64 (4.1.0-7ubuntu2, automatic), libpcre2-dev:amd64 (10.36-2ubuntu5, automatic), libpmix2:amd64 (4.0.0-4ubuntu1, automatic), ninja-build:amd64 (1.10.1-1), libopus-dev:amd64 (1.3.1-0.1, automatic), cmake:amd64 (3.18.4-2ubuntu1), libevent-dev:amd64 (2.1.12-stable-1, automatic), libpcre3-dev:amd64 (2:8.39-13build3, automatic), fluid:amd64 (1.3.5-3), libclass-method-modifiers-perl:amd64 (2.13-1, automatic), wdiff:amd64 (1.2.2-2build1, automatic), libasound2-dev:amd64 (1.2.4-1.1ubuntu2.1), libnuma-dev:amd64 (2.0.14-0ubuntu2, automatic)
Remove: wine-staging:amd64 (7.0~rc5~hirsute-1), jamin:amd64 (0.98.9~git20170111~199091~repack1-1.1), jackd2-firewire:amd64 (1.9.17~dfsg-1), qtractor:amd64 (0.9.20-1), libjack-jackd2-0:amd64 (1.9.17~dfsg-1), libjack-jackd2-0:i386 (1.9.17~dfsg-1), ubuntustudio-menu-add:amd64 (0.2), jack-tools:amd64 (20131226-1build4), bitwig-studio:amd64 (3.1.3), qjackctl:amd64 (0.9.1-1), ubuntustudio-default-settings:amd64 (21.04.2), libasound2-plugins:i386 (1.2.2-2), mcpdisp:amd64 (0.1.2-0ubuntu1), agordejo:amd64 (0.2.1-0ubuntu2), ubuntustudio-menu:amd64 (0.50), rakarrack:amd64 (0.6.1-5build1), paulstretch:amd64 (2.2-2-4.1build1), wine-staging-i386:i386 (7.0~rc5~hirsute-1), ubuntustudio-desktop:amd64 (0.245), jackd2:amd64 (1.9.17~dfsg-1), winetricks:amd64 (0.0+20210206-2), meterbridge:amd64 (0.9.2-13), ubuntustudio-installer:amd64 (0.10), jack-mixer:amd64 (15-1-0ubuntu1), studio-controls:amd64 (2.1.4-0ubuntu1), winehq-staging:amd64 (7.0~rc5~hirsute-1), jackd:amd64 (5+nmu1), jack-keyboard:amd64 (2.7.2-1)
End-Date: 2022-01-14 17:42:03

Trashed the lot

i guess Ubuntu studio is broken by itself… all those file no needed by Csound.

That makes…no sense.
Everything was working well before. The above command trashed the system.
Not much point posting no the Ubuntu forums they’ll just send me around in circles and waste a tonne of time. Only solution now is a complete rebuild - on this machine that’s a week’s work.
Hence my warning to people, be damn careful installing ANYTHING on Ubuntu Studio. Try it in a VM version first.

try Manjaro linux. they tune kernels for realtime, all audio worx great. im big fan and already produce few albums on manjaro/Bitwig

Cheers, yes, might be time to explore something else. I’d have to look into the Jack setup - one reason I go with ‘buntu is the ease of setting up more than one USB audio interface (I use two), there’s no faffing with Jack involved but yes, I’[ll check it out.

you can use Jack on any linux distribution. there is nothin special about Ubuntu in this case

i got 2 sound cards + usb microphone connected

I think the point @Kzz is making is that Csound doesn’t need all the those packages. It only need libsndfile. But this is perhaps not so clear from the build instructions. The build-dep command will install a lot of 3rd party libraries needs for a host of non-essential opcodes. For example, there are a set of jack opcodes that may need an older version of Jack to build. This will lead to conflicts if you already have Jack installed. FWIW, I’ve attached here my Custom.Cmake. If you drop this into your main Csound folder it will disable all but the core Csound opcodes/features. This minimal version of Csound will work fine with Cabbage, but if you want to run Csound from the command line you’ll need to enable some of the audio drivers, i.e, portaudio/alsa/etc.

Custom.cmake (1.8 KB)

Super, thanks :blush:

I’ve got things back up on the system, I got 95% of the way there myself and then a couple of hours with devs on ubuntustudio irc helped track down an issue with autojack. Saved heaps of time over having to rebuild it.
time will tell what’s still broken but they can be fixed as and when.

1 Like