Topic: 64-bit Pianoteq build for ARM architecture (aarch64)

Hello together,


are there any plans for Modartt to provide a Pianoteq build for the ARM 64-bit (aarch64) architecture?
In case yes, is there a time estimation of when it will be available?

There's this ODROID N2 I have sitting around waiting to be put to a good use :D


Best regards
Michael

Re: 64-bit Pianoteq build for ARM architecture (aarch64)

mikefarmer01 wrote:

Hello together,


are there any plans for Modartt to provide a Pianoteq build for the ARM 64-bit (aarch64) architecture?
In case yes, is there a time estimation of when it will be available?

There's this ODROID N2 I have sitting around waiting to be put to a good use


Best regards
Michael

Have you tested how it performs with the available binaries?
I run it smoothly on a XU4Q (24s from power on to be ready to play, armbian from SD card)

Re: 64-bit Pianoteq build for ARM architecture (aarch64)

marcos daniel wrote:

Have you tested how it performs with the available binaries?
I run it smoothly on a XU4Q (24s from power on to be ready to play, armbian from SD card)

BTW, perhaps you may found interesting that there are some 64bit operating systems available for Raspberry Pi 4, if you can get one.
From my direct experience Aarch64 is typically 20% to 40% faster, depending on the application.
If you are interested in some benchmarks about 32bit vs 64bit performances on ARM, you may find interesting this article:

https://hackaday.com/2020/01/28/raspber...s-64-bits/

Last edited by carlo_bra (01-08-2020 14:16)

Re: 64-bit Pianoteq build for ARM architecture (aarch64)

I Second this, an aarch64 build would be helpful.

Re: 64-bit Pianoteq build for ARM architecture (aarch64)

I'm tempted to get a new mac with an ARM chip in the next one or two years ... and since those are 64-bit, I hope it's just a matter of time. For me it would be essential to be able to keep using Pianoteq, as I love it the most.

Re: 64-bit Pianoteq build for ARM architecture (aarch64)

The question has been asked and answered.

https://forum.modartt.com/viewtopic.php...88#p970988

Re: 64-bit Pianoteq build for ARM architecture (aarch64)

Hi,

We have just released version 7.1.0, which contains an aarch64 version for Linux (and a arm64 version for macOS).

Re: 64-bit Pianoteq build for ARM architecture (aarch64)

julien wrote:

Hi, We have just released version 7.1.0, which contains an aarch64 version for Linux (and a arm64 version for macOS).

In the Modartt.com user area-->downloads tab, the Linux version is listed as:

Linux, v7.1.0, 64-bit intel, 32-bit arm

Should it indicate the 64-bit version, such as the following?

Linux, v7.1.0, 64-bit intel, 32/64-bit arm
Linux, v7.1.0, 64-bit intel, 32-bit and 64-bit arm

--

Thank you Modartt team for reinstituting the general freeze feature in Pianoteq 7.1.0, and for providing 64-bit arm versions (time to try Pianoteq again on my Raspberry Pi 400).

Last edited by Stephen_Doonan (09-01-2021 00:55)
--
Linux, Pianoteq Pro, Organteq

Re: 64-bit Pianoteq build for ARM architecture (aarch64)

Thank you Stephen, you are right, we should make a few changes

Re: 64-bit Pianoteq build for ARM architecture (aarch64)

On the pi4 using PiOS, The 64 bit version seems to give close to a 50% performance increase (from 16 to 24) over 7.05! on midi playback. At least, according to Pianoteq's own performance index. Also, the cpu load seems to be more balanced. Bravo Modartt!

Re: 64-bit Pianoteq build for ARM architecture (aarch64)

levinite wrote:

On the pi4 using PiOS, The 64 bit version seems to give close to a 50% performance increase (from 16 to 24) over 7.05! on midi playback. At least, according to Pianoteq's own performance index. Also, the cpu load seems to be more balanced. Bravo Modartt!

Sounds interesting!
I have a few questions. You wrote "PiOS". Is this Raspberry OS multiarch, in other words can it start the 32-bit and the 64-bit Pianoteq for Linux ARM arch?

What has been the system timer on your test Pi? Default 100 Hz, or customized 250 Hz - 1000 Hz?
(Output of the command 'cat /proc/asound/timers')

PS: And is 44100 Hz internal samplerate (instead of 32000 Hz) possible with the 64 bit version?

Last edited by groovy (12-01-2021 21:37)

Re: 64-bit Pianoteq build for ARM architecture (aarch64)

levinite wrote:
groovy wrote:
levinite wrote:

On the pi4 using PiOS, The 64 bit version seems to give close to a 50% performance increase (from 16 to 24) over 7.05! on midi playback. At least, according to Pianoteq's own performance index. Also, the cpu load seems to be more balanced. Bravo Modartt!

Sounds interesting!
I have a few questions. You wrote "PiOS". Is this Raspberry OS multiarch, in other words can it start the 32-bit and the 64-bit Pianoteq for Linux ARM arch?

What has been the system timer on your test Pi? Default 100 Hz, or customized 250 Hz - 1000 Hz?
(Output of the command 'cat /proc/asound/timers')

PS: And is 44100 Hz internal samplerate (instead of 32000 Hz) possible with the 64 bit version?

Its just the beta 64 bit build, which will not run the 32 bit version. Maybe I should have called it 64 bit beta.
The system timer is unmodified.
Yes, 44100 Hz internal sample rate is possible but I believe that depends on your sound hardware.

 
uname -a
Linux raspberrypi 5.10.5-v8+ #1391 SMP PREEMPT Thu Jan 7 17:55:54 GMT 2021 
aarch64 GNU/Linux

cat /proc/asound/timers
G0: system timer : 4000.000us (10000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-2: PCM playback 0-0-2 : SLAVE
P0-0-4: PCM playback 0-0-4 : SLAVE
P0-0-6: PCM playback 0-0-6 : SLAVE
P1-0-0: PCM playback 1-0-0 : SLAVE
P1-0-2: PCM playback 1-0-2 : SLAVE
P1-0-4: PCM playback 1-0-4 : SLAVE
P1-0-6: PCM playback 1-0-6 : SLAVE

PS: Another interesting point: Even though I use direct hardware without conversions it is still possible to mix the output with another program but this may be due to an OS update and not any Pianoteq change.

Last edited by levinite (12-01-2021 23:02)

Re: 64-bit Pianoteq build for ARM architecture (aarch64)

levinite wrote:

Its just the beta 64 bit build, which will not run the 32 bit version. Maybe I should have called it 64 bit beta.

Ah, thank you, didn't know, that Raspberry Pi OS builds with pure 64-bit exist. 

levinite wrote:

The system timer is unmodified.

That's interesting, the unmodified (default) system timer is 100 Hz on a normal Raspi OS with Pi400. The 4000.000µs of your "beta 64 bit build" Pi4 is equivalent to 250 Hz.

levinite wrote:

Yes, 44100 Hz internal sample rate is possible but I believe that depends on your sound hardware.

It more depends on the PC-hardware (Raspberry Pi). The more internal Pianoteq samples are computed in one second, the more the SoC has to work. Normally 32000 Hz seems to be the limit on a Raspberry Pi. 

levinite wrote:

uname -a
Linux raspberrypi 5.10.5-v8+ #1391 SMP PREEMPT Thu Jan 7 17:55:54 GMT 2021
aarch64 GNU/Linux

This has been the default kernel of your 64-bit OS, right?

Thank you.

Last edited by groovy (13-01-2021 00:07)

Re: 64-bit Pianoteq build for ARM architecture (aarch64)

groovy wrote:
levinite wrote:

Its just the beta 64 bit build, which will not run the 32 bit version. Maybe I should have called it 64 bit beta.

Ah, thank you, didn't know, that Raspberry Pi OS builds with pure 64-bit exist. 

levinite wrote:

The system timer is unmodified.

That's interesting, the unmodified (default) system timer is 100 Hz on a normal Raspi OS with Pi400. The 4000.000µs of your "beta 64 bit build" Pi4 is equivalent to 250 Hz.

levinite wrote:

Yes, 44100 Hz internal sample rate is possible but I believe that depends on your sound hardware.

It more depends on the PC-hardware (Raspberry Pi). The more internal Pianoteq samples are computed in one second, the more the SoC has to work. Normally 32000 Hz seems to be the limit on a Raspberry Pi. 

levinite wrote:

uname -a
Linux raspberrypi 5.10.5-v8+ #1391 SMP PREEMPT Thu Jan 7 17:55:54 GMT 2021
aarch64 GNU/Linux

This has been the default kernel of your 64-bit OS, right?

Thank you.

Yes, default. I did run an update/full-upgrade after the initial install.