< Back to IRCAM Forum

Help to install OpenMusic on Linux needed!

Dear Community,
I’m a newbie to Open Music,
but I’m believe that it can bridge my gap between my head and SuperCollider,
I will using it to make experiments in electronic music,
and I’m teach all my self - with the help on your.
So I have the Problem to install the newest stable Version on OpenMusic.
And nobody in my friend-club who can tell me how to do this.
I’m using a Laptop with Linux Ubuntu Studio on it.
I have read that it will give binaries for this nice Program.
But it isn’t to reach this by the Software Manager.
And “sudo apt-get install openmusic” wouldn’t find some data.
So it is my Question:
Could anybody show me to install this Program on this Machine.

CreCo
says thank for all help in advand

Ok,
I’m silly it is the first Blue colored Link on this Site ( near to the top ):
http://repmus.ircam.fr/openmusic/download

So I have installed the deb Package for Linux Ubuntu.
And the deb are seemingly correct installed.
But at I will open the Program,
this Error are produced.
And the Program terminated.:

ERROR: Illegal instruction(4) [code 0] at 7FEB9E623AA0
Unknown foreign code in module “/usr/share/openmusic/resources/lib/linux/OMAudioLib.so” [ #x7FEB9E51D000 ]
rax 7FEB9E95CA20 ; rbx 7FEBA414CA78 ; rcx 7FEBA40008D8 ; rdx 7FEB9EBCBE38
rsp 7FEBB3064AA8 ; rbp 7FEBA414CA80 ; rdi 7FEBA414CA98 ; rsi 7FEBA41D5F80
r8 7FEB9E559D80 ; r9 7FEB9E559D80 ; r10 2F ; r11 7FEB9E37A230
r12 7FEBA414CA98 ; r13 7FEBAC000B20 ; r14 4000049839 ; r15 40E10082CC

Can anybody help me to solve this problem.

A CreCo
who will be nearly fascinated.

Ok dear Community,
I have had a second laptop with:
Linux Ubuntu Mint
on it.
And on this System it will get no Problems to in stall the new version on OpenMusic.
But my:
Linux Ubuntu Studio System ( The System I run my Supercollider on it )
Has Problems with this Audio-Lib.
So it is not a Big Problem, I can create my scores on this machine save them and play it on the other machine. But in respect to mircotonal music, it would be good to connect OpenMusic directly with Supercollider on this other machine.

P.S.: I love OpenMusic !!!

A very happy
CreCo

Generally portmidi is a dependency on Fedora or Linux.

Jonathan (jdm7dv) Moore

Hi Creco. Probably the Ubuntu image i used to build the .deb-package is obsolete. Is your Ubuntu Studio compatible with Ubuntu 18.04.2 LTS?

I’ll build a new .deb based on the current stable version and call back.

Hi Creco. I’ve uploaded a new build of OM_6.15 for Ubuntu 18.04.2.LTS on the releases page at github. This aswell includes a build of OMAudioLib.so done on the same (virtual) box. Please test and tell me how it behaves.

-anders

btw., there’s also a new build, from latest revision @ github, for FC29.

Hello,
Trying to run Openmusic on fedora 29 (also 30 and 31) i got the same error:
ERROR: Illegal instruction(4) [code 0] at 7F91F28F8AA0
Unknown foreign code in module “/usr/share/openmusic/resources/lib/linux/OMAudioLib.so” [ #x7F91F27F2000 ]
rax 7F91F2C31A20 ; rbx 7F92000CE1F8 ; rcx 7F92000008D2 ; rdx 7F91F2EA0E38
rsp 7F920F591AA8 ; rbp 7F92000CE200 ; rdi 7F92000CE218 ; rsi 7F9200218690
r8 7F9200199450 ; r9 7F91F282ED80 ; r10 FFFFFFFFFFFFF8CA ; r11 7F91F26A3040
r12 7F92000CE218 ; r13 7F9208000B60 ; r14 4000049839 ; r15 412100844C

It’s strange because i use rpm package for fedora 29 from the github.
What can I do to make it run?
Best regards,
Piotr

BTW, the same error when running ubuntu OM-6.15 deb on UbuntuStudio 18.04 LTS on virtual machine:

“Loading PortMIDI library: libportmidi.so”
“Loading SDIF library: /usr/share/openmusic/resources/lib/linux/libsdif.so”
#P"libsndfile.so"
#P"libsamplerate.so"
“Loading OM Audio library: /usr/share/openmusic/resources/lib/linux/OMAudioLib.so”
; Loading text file /home/ubuntu-studio/.local/share/OpenMusic/6.15/OMPrefs.lisp

"ERROR: Illegal instruction(4) [code 0] at 7EFDA425FE10
Unknown foreign code in module “/usr/share/openmusic/resources/lib/linux/OMAudioLib.so” [ #x7EFDA4149000 ]
rax 7EFDA45B05C0 ; rbx 7EFDB01300A8 ; rcx 7EFDB00008D0 ; rdx 7EFDA4818E58
rsp 7EFDBDA0DAA8 ; rbp 7EFDB01300B0 ; rdi 7EFDB01300C8 ; rsi 7EFDB00008D8
r8 7EFDA417CCD0 ; r9 7EFDA417CCD0 ; r10 A ; r11 7EFD9FD05530
r12 7EFDB01300C8 ; r13 7EFDB8000B20 ; r14 4000049839 ; r15 412100844C

Best regards,
Piotr

Hi

This means the OMAudiolib is not compatible with your libraries.
The best thing to do is to compile it from sources on the same machine. and then replace it with the one installed already by the package.
To compile it just grab the sources, here:


A simple make should suffice.
However, i will install both fedora and ubuntu and check these out. will report back ASAP

Best
K

Hi Piotr,

Very strange, just installed the Ubuntu 18,04.3 LTS on my virtualmachine and it runs grreat.
Maybe it is the Ubuntu Studio version that has some incompatibilities… Will try agin?

Best
K

Stranger, …
Just installed the UbuntuStudio 18.04 version and OpenaMusic runs with no problems,
Are you sure you used the latest package distribution from here ?:

Best
K

Hello Karim,
Thank you for your answer. I’ll try with Ubuntu 18.04 LTS, because even fresh install of fedora 29 has the same problem with OMAudioLib.
Best regards,
Piotr

Will try later the fedora install.
Best
K

It’s very strange… I’ve tried with plain Ubuntu 18.04.03 LTS on Boxes in Fedora and it gives me the same error:
ERROR: Illegal instruction(4) [code 0] at 7FBF14BE7E10
Unknown foreign code in module “/usr/share/openmusic/resources/lib/linux/OMAudioLib.so” [ #x7FBF14AD1000 ]
rax 7FBF14F385C0 ; rbx 7FBF2C1E1FD8 ; rcx 7FBF2C0008D0 ; rdx 7FBF151A0E58
rsp 7FBF3ABFCAA8 ; rbp 7FBF2C1E1FE0 ; rdi 7FBF2C1E1FF8 ; rsi 7FBF2C0008D8
r8 7FBF14B04CD0 ; r9 7FBF14B04CD0 ; r10 A ; r11 7FBF24C09240
r12 7FBF2C1E1FF8 ; r13 7FBF34000B20 ; r14 4000049839 ; r15 412100844C

I have really no idea what the problem is…
Best regards,
Piotr

My info about the installs:

  • virtualbox Version 6.0.8 r130520 (Qt5.11.3)
  • running under Debian Latest Stable (Debian 10 Buster)
  • virtual system: UbuntuStudio 18.04 (amd64) 64bits
  • Installed + updated (this might be important before running OM) + vbox-guest-additions
    By the way it is not the latest release. there’s a 19.x version now available.
  • OM_6.15-Linux_Ubuntu_18.04.2.LTS.deb installed using dpkg (requires some extra packages)

And that’s most of it.

Launched OM through Icon and thru terminal.
But wait, other detail, are you using some extra language on your computer ?
Mine is set in english. On my debian i use both EN + french.
I don’t have your error type unfortunately.
By the way, i don’t know if this is relevant, but are you using a special sound card ?

Now will test with latest Fedora.

Best
K

Hi All,

I don’t know if useful: I am on Fedora 30 and Open Music 6.15 runs. But I don’t remember if I am using auto-compiled OMAudioLib.so I created sometime ago for similar problems. Anyway, if useful, I enclose my current used OMAudioLib.so (zipped), if useful to test it in your Fedora installation (please, before backup your copy).

Ciao

fdsdb
OMAudioLib.zip (1.2 MB)

Ok tried fedora 31 (latest), sorry to say it is no good:

  • Very slow (?)
  • No kernel headers available for the installed kernel
  • OM has no icons.

I will forget about it …
Best
K

Hello,
My setup is:

  • Fedora 29 64 bit
  • Gnome Boxes ver. 3.34.2
  • my language is polish but changing it to english doesn’t help
  • my soundcard is standard laptop chipset:
    HDA-Intel - HDA Intel MID
    HDA Intel MID at 0xf6960000 irq 32

I’ve tried to run OpenMusic on several different configurations but always on the same machine:

  • on fedora 29
    -on fedora 30
    -on fedora 31
    -on ubuntustudio 18.04 on virtual machine
  • on ubuntu 18.04 on virtual machine
    -on fedora 29 on virtual machine
    No succes :frowning:
    BTW, thank you for your help.
    Best regards,
    Piotr

@fdsdb
Thank you for sending me your OMAudioLib.so version. I copied it to /usr/share/openmusic/resources/lib/linux/ previously changing the original file name, but it didn’t help. I got the same error about:

ERROR: Illegal instruction(4) [code 0] at 7FE1C6A66AA0
Unknown foreign code in module “/usr/share/openmusic/resources/lib/linux/OMAudioLib.so”

Anyway, thank you for your help.
Best regards,
Piotr