<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Modartt user forum - Pianoteq 8 on Raspberry Pi 5]]></title>
	<link rel="self" href="https://forum.modartt.com/extern.php?action=feed&amp;tid=12168&amp;type=atom"/>
	<updated>2025-03-13T07:00:52Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.modartt.com/viewtopic.php?id=12168</id>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 8 on Raspberry Pi 5]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1001521#p1001521"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>levinite wrote:</cite><blockquote><p>I like the look, but it may be possible to run fan-less.</p></blockquote></div><p>I also think it is. I installed it because I paid less than 5 euro and power is not an issue.<br />However despite the relatively close case I&#039;m using I&#039;ve never seen the fan starting, and even after intense use the CPU temp never overcome 55°C.</p>]]></content>
			<author>
				<name><![CDATA[jimmi]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6809</uri>
			</author>
			<updated>2025-03-13T07:00:52Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1001521#p1001521</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 8 on Raspberry Pi 5]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1001504#p1001504"/>
			<content type="html"><![CDATA[<p>Jimmi, a pure-ALSA approach is probably fine as well. I went with PipeWire JACK in the expectation that I might also want to try other VST/LV2 plugins down the road and play around with routing and chaining a bit. Given the way PipeWire does scheduling I don&#039;t think it adds a lot of overhead.</p><p>Re fanless, I&#039;ve configured things so the fan only kicks in as a last resort thermally in my setup. Ironically I possibly have to protect the PLA-3D-printed case more than the Pi itself, since PLA as a material is only really good for around 60C. Still, usually the fan doesn&#039;t come on and I&#039;m fine.</p>]]></content>
			<author>
				<name><![CDATA[Eike]]></name>
				<uri>https://forum.modartt.com/profile.php?id=10188</uri>
			</author>
			<updated>2025-03-12T03:35:42Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1001504#p1001504</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 8 on Raspberry Pi 5]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1001503#p1001503"/>
			<content type="html"><![CDATA[<p>I like the look, but it may be possible to run fan-less. Try disconnecting the fan power and monitor the temp while running Pianoteq. I don&#039;t use a hat, but my pi uses a fan-less case and I have never had any heat/throttling issues. I don&#039;t think thermal throttling kicks in until 70C. I read somewhere in the PI forums one can set the temp when the fan starts up.</p><p>Edit:<br />I should have said throttling should kick in before 70C. My basic point though is it should be possible to run fan-less. Some pi5 cases are designed specifically for this purpose. Including a hat might make things a bit more difficult and some case claims may be unjustified. Buyer beware.</p>]]></content>
			<author>
				<name><![CDATA[levinite]]></name>
				<uri>https://forum.modartt.com/profile.php?id=7208</uri>
			</author>
			<updated>2025-03-12T03:05:54Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1001503#p1001503</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 8 on Raspberry Pi 5]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1001488#p1001488"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Eike wrote:</cite><blockquote><p>... to get a newer PipeWire stack with improved JACK support...</p></blockquote></div><p>My approach was to keep the use of resources as low as possible: headless device, no DE, no graphic tools whatsoever. VNC + X11 are enough to get the Pianoteq graphic working for setup, showing the interface on my mobile or a tablet. To perform with fixed preset I also prefer the headless mode that eliminates also VNC and X11. <a href="https://play.google.com/store/apps/details?id=uk.co.knowles_online.raspberryssh">Raspberry SSH</a> android app is great to send commands with a button.</p><p>I do no see the advantage using Pipewire or Jack to send audio output, Alsa is more than enough. What is your experience?<br /><span class="postimg"><img src="https://7girello.in/wp-content/uploads/2024/06/image-1024x693.png" alt="https://7girello.in/wp-content/uploads/2024/06/image-1024x693.png" title="https://7girello.in/wp-content/uploads/2024/06/image-1024x693.png"/></span></p>]]></content>
			<author>
				<name><![CDATA[jimmi]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6809</uri>
			</author>
			<updated>2025-03-10T14:12:56Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1001488#p1001488</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 8 on Raspberry Pi 5]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1001485#p1001485"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Eike wrote:</cite><blockquote><p>Very cool to encounter a couple of other Linux/RPi5 users of Pianoteq on this forum!</p></blockquote></div><p>Likewise (I&#039;m still on the work-in-progress stage)</p><p>Thanks for sharing your projects (I browsed your website and found quite a few ones, some very sophisticated, congrats!)</p>]]></content>
			<author>
				<name><![CDATA[dv]]></name>
				<uri>https://forum.modartt.com/profile.php?id=8109</uri>
			</author>
			<updated>2025-03-09T16:16:43Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1001485#p1001485</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 8 on Raspberry Pi 5]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1001478#p1001478"/>
			<content type="html"><![CDATA[<p>Very cool to encounter a couple of other Linux/RPi5 users of Pianoteq on this forum!</p><p><a href="https://eikehein.com/piano/">I also did a similar build last year</a>, but decided to use Fedora Linux instead of RaspberryPiOS to get a newer PipeWire stack with improved JACK support in place. It&#039;s running quite well for me with 48 Khz, after doing some of the usual optimizations (realtime scheduling/priorities, etc.).</p><p>As DAC I chose the Scarlett 2i2 4th gen, mainly due to <a href="https://github.com/geoffreybennett/alsa-scarlett-gui">this</a> excellent project. I CAD&#039;d up and 3D-printed a custom black chassis for it to make it fit in more nicely with the beautiful VPC1, and another one for the RPi5.</p>]]></content>
			<author>
				<name><![CDATA[Eike]]></name>
				<uri>https://forum.modartt.com/profile.php?id=10188</uri>
			</author>
			<updated>2025-03-08T23:22:27Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1001478#p1001478</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 8 on Raspberry Pi 5]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1001454#p1001454"/>
			<content type="html"><![CDATA[<p>After repeating the tests on a Pi4 I have to contraddict myself: <em>multicore max</em> is way better than <em>on</em>. The result of the tests shows the following:<br /><em>multicore max</em><br /></p><div class="codebox"><pre><code>real    0m39,374s
user    1m21,624s
sys     0m4,306s</code></pre></div><p><em>multicore on</em><br /></p><div class="codebox"><pre><code>real    0m52,045s
user    0m53,704s
sys     0m1,596s</code></pre></div><p>in <em>max</em> mode some clicks or cracks appears, but in <em>on</em> the sound is badly interrupted and distorted. The device becomes unusable also for mild play. The RT kernel may improve the latency but has apparently a bad effect to for this problem, in <em>max</em> mode the disturbances increase with RT kernel (!). What looks like is that the system is already at his limit, I think Pi4 cannot be a good choice for intensive use.</p><p>I tested again the Pi5 trying to stress it with a lot of notes and sustain fully pressed: with <em>on</em> mode after sometime I may get disturbances appearing but in <em>max</em> mode I could not undermine it even with my best effort.</p>]]></content>
			<author>
				<name><![CDATA[jimmi]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6809</uri>
			</author>
			<updated>2025-03-07T03:11:47Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1001454#p1001454</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 8 on Raspberry Pi 5]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1001452#p1001452"/>
			<content type="html"><![CDATA[<p>I did another timing experiment. I used the same timing command line as before but first set the cpu frequency to 1.5 Ghz max (i.e. max=min). The results show the same multicore on &quot;efficiency&quot; but there is also clicking which is not heard when using multicore max. I don&#039;t know why, but it seems multicore max is better to avoid clicking issues -- at least on the pi5. Why offer multicore on? Perhaps it &quot;plays better&quot; when other programs are also running. I don&#039;t know.</p>]]></content>
			<author>
				<name><![CDATA[levinite]]></name>
				<uri>https://forum.modartt.com/profile.php?id=7208</uri>
			</author>
			<updated>2025-03-05T18:04:16Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1001452#p1001452</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 8 on Raspberry Pi 5]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1001449#p1001449"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>jimmi wrote:</cite><blockquote><div class="quotebox"><cite>jari_42 wrote:</cite><blockquote><p>That&#039;s great to know, thank you very much.</p></blockquote></div><p>I switched between standard kernel and RT enabled kernel and I may say that with your setting the difference is negligible. Even increasing the buffer size to 384 the second kernel has not significant advantage, therefore I think I also will switch back to the standard kernel to use my STAGE version. May be the advantage is only visible with Pi 4 and/or PRO version with 192 kHz, I will keep testing when possible.<br /></p><div class="quotebox"><cite>levinite wrote:</cite><blockquote><p>Should we now use multicore on instead of multicore max???</p></blockquote></div><p>I did not know that the multicore option can be set differently than max. Options are not mentioned in the README file or in the manual and does not even appear in the &quot;help&quot; text.<br />I did some test too ( each test was repeated minimum twice), with standard kernel and with the output set to 48kHz and 192 samples I got larger differences, and looking at the CPU usage of Pianoteq I found approx 30% difference between the two multicore rendering:<br /><em>multicore max</em><br /></p><div class="codebox"><pre><code>real    0m37.803s
user    0m29.324s
sys     0m2.349s

CPU 98% max</code></pre></div><p><em>multicore on</em><br /></p><div class="codebox"><pre><code>real    0m37.826s
user    0m23.190s
sys     0m0.442s

CPU 68% max</code></pre></div><p>Changing to RT kernel there are comparable differences but with much lower stress levels:<br /><em>multicore max</em><br /></p><div class="codebox"><pre><code>real    0m36.989s
user    0m21.089s
sys     0m0.847s

CPU 66% max</code></pre></div><p><em>multicore on</em><br /></p><div class="codebox"><pre><code>real    0m36.985s
user    0m15.407s
sys     0m0.310s

CPU 44% max</code></pre></div><p>Playing musics I did not hear any disturbance. I think I&#039;ll keep using the <em>on</em> mode. Anyone may point out disadvantages doing it?</p></blockquote></div><p>Ciao Roberto,</p><p>From these results it&#039;s absolutely clear that the realtime kernel with multicore on is the way to go. I had no doubts about it, but it&#039;s nice to see it confirmed in practice with your experiments, so thank you for doing them and for posting the results here. Why I had no doubts?</p><p>RT vs regular kernel: I&#039;m sure this is clear to you since you started this conversation, but for others, the RT kernel is made in such a way that the &quot;responsiveness&quot; of particular applications is given priority. This is obviously what we want for playing music: Pianoteq running all the time at full throttle even if some other background service (e.g. checking for updates which most linux distro do from time to time) takes a very, very backseat</p><p>multicore on vs max: on tries to maximize throughput by putting processes in the most optimal core (which sometimes could be a non-free core if cache locality makes it more advantageous); max tries to maxime core utilization by scheduling processes in the most &quot;spread out&quot; way among different cores in the machine. IIRC, max also enables hyperthreading, which means uses more software threads than are available physical ones. I don&#039;t have a good grasp of the raspberry architecture, but on high end Intel and AMD this often &quot;dirties&quot; the cache, so cache coherence and cache locality can slow things down, even worse with hyperthreading. It can be a good solution in some very limited circumstances, but rarely so and on all my high performance machines it is never used (hyperthreading is off and multicore is on, not max)</p>]]></content>
			<author>
				<name><![CDATA[dv]]></name>
				<uri>https://forum.modartt.com/profile.php?id=8109</uri>
			</author>
			<updated>2025-03-05T14:13:26Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1001449#p1001449</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 8 on Raspberry Pi 5]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1001444#p1001444"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>jari_42 wrote:</cite><blockquote><p>That&#039;s great to know, thank you very much.</p></blockquote></div><p>I switched between standard kernel and RT enabled kernel and I may say that with your setting the difference is negligible. Even increasing the buffer size to 384 the second kernel has not significant advantage, therefore I think I also will switch back to the standard kernel to use my STAGE version. May be the advantage is only visible with Pi 4 and/or PRO version with 192 kHz, I will keep testing when possible.<br /></p><div class="quotebox"><cite>levinite wrote:</cite><blockquote><p>Should we now use multicore on instead of multicore max???</p></blockquote></div><p>I did not know that the multicore option can be set differently than max. Options are not mentioned in the README file or in the manual and does not even appear in the &quot;help&quot; text.<br />I did some test too ( each test was repeated minimum twice), with standard kernel and with the output set to 48kHz and 192 samples I got larger differences, and looking at the CPU usage of Pianoteq I found approx 30% difference between the two multicore rendering:<br /><em>multicore max</em><br /></p><div class="codebox"><pre><code>real    0m37.803s
user    0m29.324s
sys     0m2.349s

CPU 98% max</code></pre></div><p><em>multicore on</em><br /></p><div class="codebox"><pre><code>real    0m37.826s
user    0m23.190s
sys     0m0.442s

CPU 68% max</code></pre></div><p>Changing to RT kernel there are comparable differences but with much lower stress levels:<br /><em>multicore max</em><br /></p><div class="codebox"><pre><code>real    0m36.989s
user    0m21.089s
sys     0m0.847s

CPU 66% max</code></pre></div><p><em>multicore on</em><br /></p><div class="codebox"><pre><code>real    0m36.985s
user    0m15.407s
sys     0m0.310s

CPU 44% max</code></pre></div><p>Playing musics I did not hear any disturbance. I think I&#039;ll keep using the <em>on</em> mode. Anyone may point out disadvantages doing it?</p>]]></content>
			<author>
				<name><![CDATA[jimmi]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6809</uri>
			</author>
			<updated>2025-03-05T02:35:39Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1001444#p1001444</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 8 on Raspberry Pi 5]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1001424#p1001424"/>
			<content type="html"><![CDATA[<p>command:<br />time ./Pianoteq\ 8 --preset &quot;Shigeru Kawai SK-EX with Strings Pad&quot; --play-and-quit --headless</p><p>Multicore rendering max:<br />real&nbsp; &nbsp; 0m23.490s<br />user&nbsp; &nbsp; 0m23.813s<br />sys&nbsp; &nbsp; 0m1.475s<br />25.288 user+sys</p><p>real&nbsp; &nbsp; 0m23.492s<br />user&nbsp; &nbsp; 0m23.421s<br />sys&nbsp; &nbsp; 0m2.269s<br />25.69 user+sys</p><p>Multicore rendering on:<br />real&nbsp; &nbsp; 0m23.589s<br />user&nbsp; &nbsp; 0m20.982s<br />sys&nbsp; &nbsp; 0m1.105s<br />22.087 user+sys</p><p>real&nbsp; &nbsp; 0m23.490s<br />user&nbsp; &nbsp; 0m20.953s<br />sys&nbsp; &nbsp; 0m1.187s<br />22.14 user+sys</p><p>Should we now use multicore on instead of multicore max???<br />I don&#039;t know if its a general case as it seems to happen mostly when Pianoteq is stressed more. Indeed, my working theory is some threads must wait longer to access the cpu. More testing needs to be done. Could be just an anomaly. Can someone check for similar results using the real time kernel?</p>]]></content>
			<author>
				<name><![CDATA[levinite]]></name>
				<uri>https://forum.modartt.com/profile.php?id=7208</uri>
			</author>
			<updated>2025-03-04T00:45:14Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1001424#p1001424</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 8 on Raspberry Pi 5]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1001337#p1001337"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>jimmi wrote:</cite><blockquote><p>It reduce the CPU load and allow faster response, this is one point. When I have time I&#039;ll make a comparison between the performances of the 2 kernels.</p></blockquote></div><p>That&#039;s great to know, thank you very much.</p><div class="quotebox"><cite>jimmi wrote:</cite><blockquote><p>There is another point I would like to clarify: by doing the tests mentioned in this thread it seems that there is not an advantage to reduce the sample rate and buffer size in term of use of resources and latency. The combination 192kHz/768samples has approximately the same result that 48kHz/192samples. Is there any other reason to prefer one above the other?</p></blockquote></div><p>You&#039;re doing more computation than necessary with 192kHz/768samples as you&#039;re upsampling the internal sample rate of 48kHz up to 192kHz and you&#039;re unlikely to hear any difference, although as you say there are some applications such as recording where it may be desirable to have a higher sample rate for mastering/postprocessing headroom.</p>]]></content>
			<author>
				<name><![CDATA[jari_42]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6992</uri>
			</author>
			<updated>2025-02-28T08:03:31Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1001337#p1001337</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 8 on Raspberry Pi 5]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1001334#p1001334"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>jari_42 wrote:</cite><blockquote><p>Do you still see an improvement with the RT kernel using a 48kHz sample rate and 192 buffer?</p></blockquote></div><p>It reduce the CPU load and allow faster response, this is one point. When I have time I&#039;ll make a comparison between the performances of the 2 kernels.</p><p>There is another point I would like to clarify: by doing the tests mentioned in this thread it seems that there is not an advantage to reduce the sample rate and buffer size in term of use of resources and latency. The combination 192kHz/768samples has approximately the same result that 48kHz/192samples. Is there any other reason to prefer one above the other?</p>]]></content>
			<author>
				<name><![CDATA[jimmi]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6809</uri>
			</author>
			<updated>2025-02-28T01:03:15Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1001334#p1001334</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 8 on Raspberry Pi 5]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1001298#p1001298"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>levinite wrote:</cite><blockquote><p>I agree, no need to change sample rate and a smaller buffer and higher polyphony may work but If he uses morphing or layering he may want to change it back. Organteq already requires more resources than Pianoteq and some presets overload my pi5. Smaller buffers always require more resources. Personally, I choose the largest buffer which allows for an acceptable latency. Using his kernel patch might allow him to keep the buffer larger.</p></blockquote></div><p>Agreed, I don&#039;t use morphing or layering but that would significantly increase the resources required.</p><div class="quotebox"><cite>jimmi wrote:</cite><blockquote><p>The effort to compile the kernel is minor therefore it is stil worthy.</p></blockquote></div><p>Do you still see an improvement with the RT kernel using a 48kHz sample rate and 192 buffer?</p>]]></content>
			<author>
				<name><![CDATA[jari_42]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6992</uri>
			</author>
			<updated>2025-02-27T06:31:06Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1001298#p1001298</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Pianoteq 8 on Raspberry Pi 5]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1001296#p1001296"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>levinite wrote:</cite><blockquote><p>but If he uses morphing or layering he may want to change it back.</p></blockquote></div><p>My use of Pianoteq is very basic: I own a Stage licence, I use to perform for myself or a small audience and accompany my voice, no other sophsticated use or sound research at the moment. Therefore I believe the suggestion perfectly fit it as long as does not affect the sound of Pianoteq standard instruments.<br />I reduced the sample rate to 48k and the buffer to 192, now if I leave the local control of my piano On I cannot distinguish the sounds generated internally and by Pianoteq. <br /></p><div class="quotebox"><cite>levinite wrote:</cite><blockquote><p>Smaller buffers always require more resources</p></blockquote></div><p>In fact with this new settings the use of CPU by Pianoteq incresed to 92% and also time is giving worst results:<br /></p><div class="codebox"><pre><code>real    0m37.720s
user    0m28.913s
sys     0m1.167s</code></pre></div><p>The effort to compile the kernel is minor therefore it is stil worthy. I&#039;ll try different settings to find the best for me.</p><p>It is different for my brother that has a more professional use. He owns a Pro licence with internal sample rate 192k and Organteq licence. What I understood from him is that the difference between 48k and 192k comes mainly for recording purposes. At certain conditons he say that the Pi 5 perfectly fit his needs.</p>]]></content>
			<author>
				<name><![CDATA[jimmi]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6809</uri>
			</author>
			<updated>2025-02-27T01:46:29Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1001296#p1001296</id>
		</entry>
</feed>
