<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Modartt user forum - Switched to Linux... how does this work?]]></title>
	<link rel="self" href="https://forum.modartt.com/extern.php?action=feed&amp;tid=12682&amp;type=atom"/>
	<updated>2026-01-03T00:31:49Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.modartt.com/viewtopic.php?id=12682</id>
		<entry>
			<title type="html"><![CDATA[Re: Switched to Linux... how does this work?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1006200#p1006200"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Vepece wrote:</cite><blockquote><p>2. X11 is outdated. Wayland is the de facto standard SINCE 15 YEARS! Using legacy software is a narrow usecase you may wanna do, but no beginner should use quasi End-of-Life software with outdated languages and featuresets and security and performance and compability...</p><p>3. as I stated, these modern Kernel flags apply to 6.14 onwards which is already &quot;the oldest&quot; 6.x Kernel as its the Long-Stability Kernel with every Distro...<br />You are supposed to have AT LEAST 6.14 or higher by now, up to 6.17.</p></blockquote></div><p>Not exactly. Ubuntu Mate is quite popular, and for a project like this the LTS is absolutely needed because you want to &quot;set and forget&quot; and not having to reinstall and reconfigure things at all times. The most recent version is therefore 24.04 (which last time I tried had serious bugs which made it unusable) and the previous version is 22.04 which is supported until 2027 (see <a href="https://ubuntu.com/about/release-cycle">https://ubuntu.com/about/release-cycle</a> for details).</p><p>Ubuntu Mate v22.04 uses x11 and runs Kernel 5.15 and works wonderfully well with Pianoteq. No need to chase the latest and greatest as far as I can tell.</p>]]></content>
			<author>
				<name><![CDATA[dv]]></name>
				<uri>https://forum.modartt.com/profile.php?id=8109</uri>
			</author>
			<updated>2026-01-03T00:31:49Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1006200#p1006200</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Switched to Linux... how does this work?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1006188#p1006188"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Pinipon wrote:</cite><blockquote><p>Hello,</p><p>What should be really replaced in README_LINUX file is the reference to &quot;cpufreq-set&quot;: in Debian this command is part of the package &quot;cpufrequtils&quot; that is not available anymore since Debian 13 Trixie.</p><br /><p>...<br />just X11<br />...<br />With the two different kernel types installed, I can easily switch between both during boot (from Grub menu), and I&#039;m able to &quot;feel&quot; noticeable difference in latency between PREEMPT_DYNAMIC and PREEMPT_RT kernels (version 6.12 in Debian 13;&quot;</p></blockquote></div><p>Mate... how to tell you really friendly because we are all PTQ and Linux lovers, that you wrote a bunch of stuff that is pretty bad advise:</p><p>1. Changing the Readme, for some boring util like cpufreq but saying all the rest is fine, is batshit crazy. Its just different pkg, if that was &quot;hard&quot; or &quot;important&quot; for you, than it shows some lacking priorities at best.</p><p>2. X11 is outdated. Wayland is the de facto standard SINCE 15 YEARS! Using legacy software is a narrow usecase you may wanna do, but no beginner should use quasi End-of-Life software with outdated languages and featuresets and security and performance and compability...</p><p>3. as I stated, these modern Kernel flags apply to 6.14 onwards which is already &quot;the oldest&quot; 6.x Kernel as its the Long-Stability Kernel with every Distro...<br />You are supposed to have AT LEAST 6.14 or higher by now, up to 6.17.</p><p>4. you (more or less legit) focus on some project you have with your debian setup + touch + whatever script. Yeah. Nice. But thats nothing universal.<br />Thats your distro + your usecase of 7&quot; touch with no pointer ... whatever. Its welcome addition, but its not focusing on &quot;how to make good sound with linux: latency + performance + no artifacts&quot;. So I hope every beginner who may gets confused by your post finds comfort in my words: Skip everything he said, go back to what I stated if you want performance in an actual production system that uses other modern software too.</p><p>5. Ps.: ALSA with no pipewire means you can only have 1 simultaneos audio source and it controlls everything.<br />So you need to run pipewire anyway... or do you wanna use legacy jackd2 and pulseaudio again and have the same issue everyone had the past 15 years that setting up all the different programs and audio services in parallel is hell of a mess and requires maintenance work with every new app you add? No. So pipewire it is anyway...</p>]]></content>
			<author>
				<name><![CDATA[Vepece]]></name>
				<uri>https://forum.modartt.com/profile.php?id=8887</uri>
			</author>
			<updated>2026-01-02T04:14:57Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1006188#p1006188</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Switched to Linux... how does this work?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1005982#p1005982"/>
			<content type="html"><![CDATA[<p>Hello,</p><p>What should be really replaced in README_LINUX file is the reference to &quot;cpufreq-set&quot;: in Debian this command is part of the package &quot;cpufrequtils&quot; that is not available anymore since Debian 13 Trixie.<br />In replacement, package &quot;linux-cpupower&quot; has to be used and the new command is:<br />$ sudo cpupower --cpu all frequency-set --governor performance</p><p>For the rest of the file README_LINUX, in my opinion it should remain as it is.<br />I&#039;m using Pianoteq as embedded hardware in x86_64 mini pc running Debian 13 with no environment desktop, no window manager or tiling, just X11 in a 7 inch touchscreen and launching PTQ automatically during startup.</p><p>My procedure:<br />1) debian minimal install from &quot;netinstall&quot; or mini-gtk.iso with no desktop installation during &quot;tasksel&quot;: I uncheck Desktop and Gnome, and check SSH server.</p><p>2) After installation, I create autologin files for tty1, tty2 and tty3:<br />file 1: &quot;/etc/systemd/system/getty@tty1.service.d/myname-autologin.conf&quot;<br />file 2: &quot;/etc/systemd/system/getty@tty2.service.d/myname-autologin.conf&quot;<br />file 3: &quot;/etc/systemd/system/getty@tty3.service.d/myname-autologin.conf&quot; <br />with following contents:<br />[Service]<br />ExecStart=<br />ExecStart=-/sbin/agetty --skip-login --nonewline --noissue --autologin myname --noclear %I $TERM<br />Type=simple</p><p>To switch between tty1, tty2 and tty3, just press:&nbsp; CTRL+ALT+F1, CTRL+ALT+F2 and CTRL+ALT+F3</p><p>3) Reduce Grub delay to 2s instead of 5s:<br />$ sudo sed -i.bak &#039;s/^GRUB_TIMEOUT=.*/GRUB_TIMEOUT=2/&#039; /etc/default/grub<br />$ sudo update-grub</p><p>4) Install X11 + Alsa + CPU power<br />$ sudo apt -y install xinit alsa-utils<br />$ sudo apt -y linux-cpupower</p><p>5) Just for fun (optional):<br /> $ sudo apt -y install crystalcursors<br /> $ sudo update-alternatives --config x-cursor-theme</p><p>6) some utils:<br />$ sudo apt -y install --no-install-recommends udisks2<br />$ sudo apt -y install polkitd<br />$ sudo apt -y install x11-xserver-utils<br />$ sudo apt -y install xbanish sxhkd htop 7zip</p><p>7) And finally, yes I install RT kernel:<br />$ sudo apt -y install linux-image-rt-amd64</p><p>8) Create the file:&nbsp; &nbsp;&quot;$HOME/.bash_login&quot; with following contents:<br />if [ -z &quot;$DISPLAY&quot; ] &amp;&amp; [ &quot;$XDG_VTNR&quot; = 1 ]; then<br />&nbsp; &nbsp; if [ -d &quot;$HOME/.local/bin&quot; ]; then<br />&nbsp; &nbsp; &nbsp; &nbsp; PATH=&quot;$HOME/.local/bin:$PATH&quot;<br />&nbsp; &nbsp; fi<br />&nbsp; &nbsp; exec startx &amp;&gt;/dev/null<br />else<br />&nbsp; &nbsp; . &quot;$HOME/.profile&quot;<br />fi</p><p>9) Create the file &quot;$HOME/.xinitrc&quot; with the following contents:<br />export XDG_SESSION_TYPE=&quot;x11&quot;<br />export XDG_CONFIG_HOME=&quot;/home/myname/.config/&quot;</p><p># xset and xsetroot provided by package: x11-xserver-utils<br />xset s off -dpms<br />xsetroot -cursor_name left_ptr</p><p># xbanish hides mouse cursor, I use PTQ with 7&quot; touchscreen<br />xbanish -a &amp;<br />XBANISH_PID=$!</p><p># my keyboards shortcuts to hide and show mouse cursor, poweroff and reboot pc<br />sxhkd &amp;<br />SXHKD_PID=$!</p><p># cpupower provided by package: linux-cpupower<br />sudo cpupower --cpu all frequency-set --governor performance<br />/home/myname/Programs/Pianoteq/x86-64bit/Pianoteq\ 9\ --fullscreen &amp;<br />PIANOTEQ_PID=$!<br />echo $PIANOTEQ_PID &gt; /tmp/pianoteq.pid<br />wait $PIANOTEQ_PID<br />sudo cpupower --cpu all frequency-set --governor powersave</p><p>if [ -n &quot;$(ps -p $XBANISH_PID -o pid=)&quot;&nbsp; ]; then<br />&nbsp; &nbsp;kill -9 $XBANISH_PID<br />fi</p><p>if [ -f /tmp/pianoteq_upgrade.tmp ]; then<br />&nbsp; &nbsp;while [ ! -f /tmp/pianoteq_reboot.tmp ]; do<br />&nbsp; &nbsp; &nbsp; sleep 3<br />&nbsp; &nbsp;done<br />&nbsp; &nbsp;sudo reboot<br />fi</p><p>while [ -f /tmp/pianoteq_stop.tmp ]; do<br />&nbsp; &nbsp;sleep 3<br />done</p><p>if [ -n &quot;$(ps -p $SXHKD_PID -o pid=)&quot;&nbsp; ]; then<br />&nbsp; &nbsp;kill -9 $SXHKD_PID<br />fi</p><p>sudo poweroff</p><p>10) Create the file &quot;/etc/sudoers.d/01_power&quot;<br />myname myhost = (root) NOPASSWD: /usr/sbin/poweroff, /usr/sbin/reboot</p><p>11) Create the file &quot;/etc/sudoers.d/03_cpu&quot;<br />myname myhost = (root) NOPASSWD: /usr/bin/cpupower</p><p>12) Follow indications in README_LINUX file: &quot;/etc/security/limits.conf&quot; and &quot;sudo usermod -a -G audio myname&quot;</p><p>With the two different kernel types installed, I can easily switch between both during boot (from Grub menu), and I&#039;m able to &quot;feel&quot; noticeable difference in latency between PREEMPT_DYNAMIC and PREEMPT_RT kernels (version 6.12 in Debian 13; I didn&#039;t try yet the version 6.17 from backports...): my PC is connected to Kawai CA63 via MIDI over usb and a Focusrite 4i4 3rd Gen. General latency is lower with PREEMPT_RT kernel which I believe is managing usb connection better than Dynamic kernel (default).<br />PTQ performance still the same (perf. index)&nbsp; with both kernels and I didn&#039;t notice differences with and without &quot;taskset&quot; command (Intel Core i3-1220P).<br />Sample rate: 192 kHz, Audio buffer size: 256 samples (1.3ms)<br />Performance index: 89, Internal sample rate: 48 kHz, Max polyphony: 256<br />Mini PC: Asus intel NUC12WSK<br />Touchscreen: <a href="https://www.waveshare.com/7inch-hdmi-lcd-h-with-case.htm">Waveshare 7inch Capacitive Touch Screen LCD (H) with Case, 1024×600, HDMI, IPS</a><br />Audio interface: <a href="https://focusrite.com/products/scarlett-4i4-3rd-gen">Focusrite Scarlett 4i4 3rd Gen</a></p>]]></content>
			<author>
				<name><![CDATA[Pinipon]]></name>
				<uri>https://forum.modartt.com/profile.php?id=1392</uri>
			</author>
			<updated>2025-12-22T23:49:42Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1005982#p1005982</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Switched to Linux... how does this work?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1004611#p1004611"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Vepece wrote:</cite><blockquote><p>Hey Stephan,</p><p><i class="far fa-smile smiley"></i> you are trying to explain the basics of Linux there, mh?</p></blockquote></div><p>Not to you. <i class="far fa-smile smiley"></i> But now that most of what I had learned about Linux has been forgotten or faded into irrelevance except for historical context, I&#039;m empathetic to some of the basic questions or issues that might be encountered by those who have just begun to explore the Linux environment. <i class="far fa-smile smiley"></i></p><div class="quotebox"><cite>Vepece wrote:</cite><blockquote><p>While we are at it: &quot;in a terminal window&quot; -&gt; in a Terminal Emulator <i class="far fa-grin-tongue-squint smiley"></i> There is no Terminal any longer.</p></blockquote></div><p>OK-- Good point. <i class="far fa-smile smiley"></i></p><p>From Google AI:<br /></p><div class="quotebox"><blockquote><p><span style="color: #592115">A terminal emulator is a user-space application that provides a text interface within a graphical environment, such as GNOME Terminal or Konsole, while a virtual console is a text-based, kernel-level interface for system access, accessed via shortcuts like Ctrl+Alt+F1 through F7. The key difference is that virtual consoles are the underlying text interfaces created by the kernel, whereas terminal emulators are programs that run within the graphical environment to mimic a terminal session.</span></p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[Stephen_Doonan]]></name>
				<uri>https://forum.modartt.com/profile.php?id=4838</uri>
			</author>
			<updated>2025-10-25T21:35:12Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1004611#p1004611</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Switched to Linux... how does this work?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1004610#p1004610"/>
			<content type="html"><![CDATA[<p>Hey Stephan,</p><p><i class="far fa-smile smiley"></i> you are trying to explain the basics of Linux there, mh?<br />While we are at it: &quot;in a terminal window&quot; -&gt; in a Terminal Emulator <i class="far fa-grin-tongue-squint smiley"></i> There is no Terminal any longer.</p><p>Ive actually never stated why we want PW-Jack and whats about the quantum and rates:<br />Long story short is that when using the PW-Jack Interface, you have more features than with PW-ALSA.<br />In addition, I use it as kind of &quot;Group&quot; for Apps in Music Production: With using the PW-Jack Server everything connected via PW-JACK will run the same rates and quantum, which can be set globally.</p><p>So for the sake of completion to my prior advise:</p><p>1. Determ best Audio Output (aka Soundsink):<br />$ wpctl status&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-&gt; list all devices. Check your Soundsinks. They list some ID.<br />$ pw-cli enum-params &lt;ID&gt; EnumFormat&nbsp; &nbsp; -&gt; see supported formats/rates. The best is true F32LE (32Bit Float -&gt; native Signal stays the same as long as possible) if you want to output to a digital device (like HDMI, DisplayPort, SPDIF, USB Audio). Some actual analog output can only use S32 (String Integer), so you want that. Many consumer grade devices, like my Dockingstation, or the CPUs own I/O Pins only allow for S24_32 which is the best you can do. Everything less than this (S24, F16, etc.) will have less and less &quot;quality&quot; and requires computation</p><p>$ pw-cli enum-params &lt;ID&gt; Format&nbsp; &nbsp; &nbsp; &nbsp; -&gt; check the actual used Format when a Soundsink is Playing sound.</p><p>-&gt; Do this to find at best some F32 or S32 Output device and use it as your output (can be set by various methods, I like Helvum as Patchbay for that) to spare all unnecessary computation.</p><p>2. Setup PW-Jack Parameter:<br /><a href="https://docs.pipewire.org/page_man_pipewire-jack_conf_5.html?utm_source=chatgpt.com">https://docs.pipewire.org/page_man_pipe...hatgpt.com</a></p><p>Create directory for custom config files<br />$ mkdir -p ~/.config/pipewire/jack.conf.d<br />$ nano ~/.config/pipewire/jack.conf.d/YOUR-CUSTOM-NAME.conf</p><p>This is my actual file content:</p><p>jack.properties = {<br />&nbsp; rt.prio = 88<br />&nbsp; node.lock-quantum = true<br />&nbsp; node.force-quantum = 128<br />&nbsp; node.latency = 128/48000<br />&nbsp; jack.show-monitor = true<br />&nbsp; jack.merge-monitor = true<br />&nbsp; jack.show-midi = true<br />}</p><p>Save the file - done.<br />(The name of the file doesnt matter at all, every file in the folder will be loaded and you can create multiple ones).</p><p>-&gt; Restart the System (systemctl restart services, logout/login, ... they should work, but safest bet is to restart).</p><p>3. Use PW-JACK<br />use &quot;pw-jack&quot; command to start your Apps like PianoTeq. I use .desktop files anyway for my start menu, therefor it was easy to just put &quot;pw-jack&quot; infront the exec path.<br />To save you some trouble, this is my actual /home/USER/.local/share/applications/PWJACK_PTQv843.desktop file:</p><p>[Desktop Entry]<br />Encoding=UTF-8<br />Version=1.0<br />Type=Application<br />Terminal=false<br />Name=PWJACK Pianoteq 8 STAGE<br />GenericName=Pianoteq 8 STAGE<br />Comment=Selfmade Desktop Shortcut for Pianoteq 8<br />Exec=pw-jack &quot;/home/USER/Music/MX/Programs/PianoTeq/PianoTeq_8_Stage_843/x86-64bit/Pianoteq 8 STAGE&quot; %F<br />Path=/home/USER/Music/MX/Programs/PianoTeq/PianoTeq_8_Stage_843/x86-64bit/<br />Icon=/home/USER/Music/MX/Programs/PianoTeq/Extras/modartt.png<br />StartupNotify=true<br />StartupWMClass=Pianoteq STAGE</p><br /><p>4. Enjoy your Harmonized Production!</p><p>5. Double Check<br />use<br />$ pw-top<br />to check for the Quantum (Buffer Size) and Rate (Sample Rate) and Format (F32, etc) of your applications. PW-JACK Applications wont show any format -&gt; they run F32LE globally.</p><p>Check in PTQ Options for Buffer Size and Sample Rate -&gt; if working properly, it must show the values from ~/.config/pipewire/jack.conf.d/YOUR-CUSTOM-NAME.conf</p><p>Why is this solution my preferred?<br />My non-Music-Production Apps like Firefox, Spotify, VLC Player ... do not get resampled and use native Pipewire (or PW-Pulse or PW-ALSA) -&gt; no performance loss, no quality loss, no glitching.<br />PTQ, Ardour, etc. use PW-JACK and run at the Rates/Quantum I desire.</p><p>Which Rate and Quantum you pick is another question and is smth. I would love to find other &quot;geeks&quot; explaining why their calculation is the best.</p><p>PTQ uses Quantum 64, therefor we would like to use 64.</p><p>48kHz Rate on the other hand would divide Quantum of 48 to a perfect 1ms block size (48/48000Hz=0,001Hz=0,001s=1ms).</p><p>USB2 SuperSpeed Poll Rates of 1kHz (48/1=48) would match this quite well too, newer USB3 8kHz Hardware (its quite some time ago that I researched the MIDI-USB specs, were they even allowing for 8kHz?) would match nicely too (48/8=6) so we have nice whole numbers and no integers which take more computation to solve neatly.</p><p>That is actually the reason why we dont want 44100Hz, or the Quantum 64.</p><p>That is why we have to find gcd/gcm and look for other combinations that are elegant: The easiest solution would be to increase the Rate to smth like 384kHz and than enjoy that many natural numbers would fit as factor/divisor to receive some neat Quantum value, but this idea is limited by actual computational power.</p><p>The 128/48000 on my Laptop offers great Performance - but the latency is quite weird with 128/48000=0,002666s=2.66ms and therefor mismatches with its blocks other I/O blocks like the ones by the USB-MIDI controller.</p><p>But thats maybe just me and my desire for elegant numbers - as Im not aware of too many people probing with lsusb -v -d what Intervals/Poll Rates their MIDI Controller actually use, in an attempt to optimize for that.</p><p>Cheers</p>]]></content>
			<author>
				<name><![CDATA[Vepece]]></name>
				<uri>https://forum.modartt.com/profile.php?id=8887</uri>
			</author>
			<updated>2025-10-25T19:55:58Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1004610#p1004610</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Switched to Linux... how does this work?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1004602#p1004602"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Vepece wrote:</cite><blockquote><p>The README.txt is obsolete! So are 99% of suggestions here!<br />This comes from people repeating again and again what they pick up along the way - which is prone to be outdated knowledge.<br />You can skip everything you&#039;ve read before and take the following as your new &quot;base camp&quot; for further exploration:</p></blockquote></div><p>I wish I could &quot;upvote&quot; Vepece&#039;s post 10x+<br />Even though I&#039;m a long-time Linux (and occasional BSD) user since 2000, I need to update my linux/Linux knowledge base too. Thank you, Vepece. <i class="far fa-smile smiley"></i></p><div class="quotebox"><cite>Vepece wrote:</cite><blockquote><p>$ groups $USER</p><p>if your in pipewire group, your set. if not, add yourself.</p></blockquote></div><p>The &quot;$&quot; above just represents the terminal prompt. The actual command to type is: groups $USER<br />&quot;$USER&quot; is just a variable that contains/represents and substitutes the username of the current user (your username).</p><p>If the pipewire group is not listed for your username, in a terminal window, using the sudo (temporary administrator) command, you could add your username to the pipewire group with this command:</p><p>sudo usermod -a -G pipewire $USER</p><p>You can read about the usermod command with:</p><p>man usermod</p>]]></content>
			<author>
				<name><![CDATA[Stephen_Doonan]]></name>
				<uri>https://forum.modartt.com/profile.php?id=4838</uri>
			</author>
			<updated>2025-10-25T15:45:51Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1004602#p1004602</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Switched to Linux... how does this work?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1004601#p1004601"/>
			<content type="html"><![CDATA[<p>Hey,</p><p>because I read good intended advise like &quot;Have you checked the README_LINUX.txt file?&quot; and similar thoughts like &quot;Have wondered whether I might have liked Ubuntu Studio a little better for what music stuff I do on the computer.&quot; and advise like &quot;1. Installing the Low-Latency Kernel:&quot; I like to share my concern and advise:</p><br /><p>The README.txt is obsolete! So are 99% of suggestions in the forum.<br />This comes from people repeating again and again what they pick up along the way - which is prone to be outdated knowledge. Ive actually participated back in 2023 by myself, trying LowLatency Kernels, 1000hz Rates and different settings back than when pipewire was still in its roots.</p><p>But you can skip everything youve read before and take the following as your new &quot;base camp&quot; for further exploration:</p><p>So why is the README/suggestions here outdated?<br />They do not take into regard that Pipewire is de facto the new standard - exp. with Distro Flavors like Ubuntu Studio.<br />Therefor, the &quot;@audio&quot; usergroup is of no concern any longer - since Pipewire 0.3, since Ubuntu 22 LTS!, since more than 3 years ...</p><p>The new usergroup we need to care about is &quot;pipewire&quot; and we need to build around that.</p><p>First of all, make sure you run pipewire.<br />Check if &quot;/etc/security/limits.d/25-pw-rlimits.conf&quot; exists.<br />If so, you will see it cointains the rtprio, memlock and nice values.</p><p>Nice is obsolete: nice (POSIX-Nice) is for RT-Threads (SCHED_FIFO/RR) irrelevant.<br />But we want to use newer scheduler, which is why the entire config_hz=1000 (aka lowlatency kernel, Ubuntu Studio, etc.) is obsolete too:<br />We use newer Kernel flags to dynamically make our kernel highres/lowlatency when needed - actually we make them tickless which is beyond 1000hz... - so a regular Linux Kernel &gt;6.11?/6.14 does not need further tinkering.</p><p>To check if we got what we are looking for:</p><p>$ grep PREEMPT /boot/config-$(uname -r)</p><p>look for &quot;CONFIG_PREEMPT_DYNAMIC=y&quot; -&gt; your kernel is dynamic.</p><p>So: Your Pipewire makes Jack/audio Group obsolete, and your Kernel the 1000hz. All it takes is to check if your user is in the pipewire Group:</p><p>$ groups $USER</p><p>if your in pipewire group, your set. if not, add yourself.</p><p>Now that we know we are in pipewire group, check your RTprio levels!</p><p>$ ps -eLo pid,cls,rtprio,ni,cmd | grep pipewire</p><p>If you see FF or RR as designation, this means he tries to acquire the SCHED_FIFO Scheduler and seeks RealTimePriority.<br />If you see a value of &gt;20, (80 to 90 to 95) you know the pipewire group RTprio are working!</p><p>But if you see TS, you know he tries to connect via RTkit -&gt; User not in Pipewire usergroup.<br />If your value is &lt;=20, even when its in FF or RR, you know your accessing pipewire by rtkit, which is way slower in priority and means greater latency. -&gt; Rtprio via Pipewire Usergroup not working.</p><p>Summary:<br />If you run a stock Ubuntu 24, NixOS 24, or any other modern Distro with pipewire, all it needs is to add your user to the pipewire group - no Ubuntu Studio, and not tinkering with creating audio groups or kernel flags/schedulers/rates is required.</p><p>The rest of the README regarding using a stable cpu frequency and performance scheduler are legit, and can be achieved by the suggested commands, or by GUI with packages like CPUPower-GUI which offer convenient profiles. <a href="https://github.com/vagnum08/cpupower-gui">https://github.com/vagnum08/cpupower-gui</a></p><p>Another suggestion the README does not suggest is to use taskset as explained here: <a href="https://forum.modartt.com/viewtopic.php?pid=974513#p974513)">https://forum.modartt.com/viewtopic.php...3#p974513)</a></p><p>Another suggestion the README does not contain is that pipewire-jack bridge is no default with many modern Distros, so installing that package, using the JACK Server within Pianoteq, setting up your global &quot;Jack Server&quot; Parameters in Pipewire, optimizing Sample Rates and Buffer Size, to harmonize/optimize the Quantum , and therefor &quot;syncing the timing&quot; in the µs range to fit each other optimal is not explained so far (Im not even sure if the forum contains it?).</p><p>Cheers</p>]]></content>
			<author>
				<name><![CDATA[Vepece]]></name>
				<uri>https://forum.modartt.com/profile.php?id=8887</uri>
			</author>
			<updated>2025-10-25T15:34:16Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1004601#p1004601</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Switched to Linux... how does this work?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1004600#p1004600"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Bellyman wrote:</cite><blockquote><div class="quotebox"><cite>Professor Leandro Duarte wrote:</cite><blockquote><p>First, congratulations on your success!<br />Second, welcome to the Linux world!<br />I&#039;ve been using Ubuntu Studio for five years and I don&#039;t plan on ever going back to the slavery of Windows!</p></blockquote></div><p>Thanks! Loving Pianoteq and liking Linux, too.</p><p>Have wondered whether I might have liked Ubuntu Studio a little better for what music stuff I do on the computer. I had downloaded Zorin 18 for my wife and had been playing with that with her in mind. And she is doing great with Linux. </p><p>I&#039;m fine with normal computer stuff... web browsing, bill paying, that kind of thing. But I&#039;ve spent more time tweaking for low latency, figuring out JACK and other things that are not quite as plug and play as I&#039;m used to. </p><p>The idea that Ubuntu Studio is already tweaked a bit closer to what I&#039;d like... Pianoteq, Reaper, OBS Studio, some of that stuff, I have wondered if I&#039;d like to give that a try. Just haven&#039;t taken the time to do it yet. </p><p>I&#039;m curious, did you try other distros before settling on Ubunto Studio? AVLinux? QStudio64? Mint? Or others?</p></blockquote></div><br /><p>Yes, I&#039;ve used Debian with Pianoteq. I&#039;m familiar with Mint and Suse. But if Zorin is working well for you, there&#039;s no reason to switch. The best system is the one that does what it needs to do.</p><p>However, for experimentation purposes, I&#039;m sure Ubuntu Studio will bring you pleasant surprises.</p>]]></content>
			<author>
				<name><![CDATA[Professor Leandro Duarte]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6353</uri>
			</author>
			<updated>2025-10-25T15:29:11Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1004600#p1004600</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Switched to Linux... how does this work?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1004598#p1004598"/>
			<content type="html"><![CDATA[<p>I&#039;ve been running Pianoteq on Linux for I guess over 10 years now. My preferred Linux &quot;flavor&quot; (distribution) for many years is Linux Mint, based on Ubuntu (which is itself based on Debian). Ubuntu Studio is very nice, but it&#039;s based on the KDE graphical environment and user workspace, and I&#039;m not very fond of KDE (it&#039;s just a personal preference; Linux Mint has its own graphical environment called Cinnamon, and also has variants for several other graphical environments (including XFCE, my favorite (so far) low-demand, non-CPU-hungry graphical environment).</p><p>Pianoteq is exceptionally well-designed and compatible with Linux. The main issues are not with Pianoteq itself, but in tuning Linux for audio use. Linux used to use ALSA and Pulse as the audio-management backend, but most Linux distributions (including Zorin) have now switched to Pipewire, which is considered superior. So learning a little about how to set up the system and Pipewire is helpful. There are many useful resources on the Internet, and the user forum at LinuxMusicians.com can be very helpful.<br /><strong>LinuxMusicians Forum:</strong> <a href="https://linuxmusicians.com/index.php">https://linuxmusicians.com/index.php</a></p><p>The main fine tuning for Linux is to install a &quot;realtime&quot; or low-latency kernel (the heart of the Linux OS) that does (or can be configured to) prioritize audio and other tasks that need very fast response times from the kernel. It also helps to eliminate CPU frequency-scaling or to set it to operate a maximum by choosing the &quot;performance&quot; CPU governor.</p><p>For conveniently setting the CPU governor, I recommend the app cpupower-gui:<br /><strong>cpupower-gui:</strong> <a href="https://github.com/vagnum08/cpupower-gui">https://github.com/vagnum08/cpupower-gui</a></p><p>The cpupower-gui app is usually included in the list of packages for the package manager your &quot;flavor&quot; of Linux uses (Zorin I believe uses the Debian based package managers (apt, apt-get, synaptic) that are used by many Linux distributions such as Ubuntu and Linux Mint (my personal favorite).</p><p>--- --- --- --- ---</p><p><strong>Note: Ignore the following and refer instead to Vepece&#039;s post below--</strong></p><p>The linux-lowlatency meta-package (a package that includes and installs several related packages/apps) is a popular option to replace the standard linux kernel with a realtime/low-latency version. The Liquorix linux kernel (originally produced by gamers for gamers, but also widely used for audio work in Linux) also works great. <i class="far fa-smile smiley"></i><br /><strong>Liquorix kernel:</strong> <a href="https://liquorix.net/">https://liquorix.net/</a></p><p>Be aware than anytime a new linux kernel is installed, it&#039;s necessary to update grub (GRUB is the bootloader, the app that begins at bootup and allows you to choose which linux kernel you wish to use/launch, if not the default). Most of the time, when installing a linux kernel from a package manager, the GRUB bootloader is automatically updated by the installer, but if not (or if you didn&#039;t look at the output of the installer to double check, and want to make sure) you could update it manually, using the &quot;sudo&quot; command that temporarily elevates your linux username to &quot;superuser&quot; or administrator) using the commands suggested by Google AI below:</p><div class="codebox"><pre><code>After installation, update GRUB to ensure the new kernel is recognized:
Code

sudo update-grub</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Stephen_Doonan]]></name>
				<uri>https://forum.modartt.com/profile.php?id=4838</uri>
			</author>
			<updated>2025-10-25T15:11:10Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1004598#p1004598</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Switched to Linux... how does this work?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1004595#p1004595"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Professor Leandro Duarte wrote:</cite><blockquote><p>First, congratulations on your success!<br />Second, welcome to the Linux world!<br />I&#039;ve been using Ubuntu Studio for five years and I don&#039;t plan on ever going back to the slavery of Windows!</p></blockquote></div><p>Thanks! Loving Pianoteq and liking Linux, too.</p><p>Have wondered whether I might have liked Ubuntu Studio a little better for what music stuff I do on the computer. I had downloaded Zorin 18 for my wife and had been playing with that with her in mind. And she is doing great with Linux. </p><p>I&#039;m fine with normal computer stuff... web browsing, bill paying, that kind of thing. But I&#039;ve spent more time tweaking for low latency, figuring out JACK and other things that are not quite as plug and play as I&#039;m used to. </p><p>The idea that Ubuntu Studio is already tweaked a bit closer to what I&#039;d like... Pianoteq, Reaper, OBS Studio, some of that stuff, I have wondered if I&#039;d like to give that a try. Just haven&#039;t taken the time to do it yet. </p><p>I&#039;m curious, did you try other distros before settling on Ubunto Studio? AVLinux? QStudio64? Mint? Or others?</p>]]></content>
			<author>
				<name><![CDATA[Bellyman]]></name>
				<uri>https://forum.modartt.com/profile.php?id=10031</uri>
			</author>
			<updated>2025-10-25T13:19:23Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1004595#p1004595</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Switched to Linux... how does this work?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1004587#p1004587"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Bellyman wrote:</cite><blockquote><p>The Windows 10 end of life thing happened here. And my computer did not qualify to upgrade to Windows 11. I installed Zorin 18 and have been happy with that but have not made the switch with Pianoteq 8. Currently, it&#039;s a dual boot setup as I wanted to be able to go back to Win 10 if I really screwed something up but so far have not even logged back into Win 10 since installing Zorin. Running on Zorin now and happy as can be! But it&#039;s the same computer and the same hard drive.</p><p>I&#039;m not sure how this works. I want to see if Pianoteq will work well on Zorin but don&#039;t know if that is considered a second instance of Pianoteq as it is the exact same hardware, just a new OS. And if I install it on the Linux side of the drive, how will that work as far as the licensing? If I deactivate the Windows version would I also deactivate the Linux version since they are both on the same hardware? </p><p>My intention is to make sure that Pianoteq works on the Linux side, then, erase Windows completely as that is the only thing left on Windows that I even care about. I&#039;d also like to upgrade to Pianoteq 9 but I kinda wanted to tackle one thing at a time. </p><p>I do have an iPad that I have the iOS version of Pianoteq 8 on, that I&#039;d like to upgrade but I&#039;m not there yet as I feel like I need to figure out the current desktop first.</p><p>Confusing? Hope I was able to say it well enough that someone knows what I&#039;m asking. Thanks for the help!</p></blockquote></div><br /><br /><p>First, congratulations on your success!<br />Second, welcome to the Linux world!<br />I&#039;ve been using Ubuntu Studio for five years and I don&#039;t plan on ever going back to the slavery of Windows!</p>]]></content>
			<author>
				<name><![CDATA[Professor Leandro Duarte]]></name>
				<uri>https://forum.modartt.com/profile.php?id=6353</uri>
			</author>
			<updated>2025-10-25T10:34:14Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1004587#p1004587</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Switched to Linux... how does this work?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1004583#p1004583"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Beco wrote:</cite><blockquote><p>I am not any expert, ...</p></blockquote></div><p>Hi Beco, </p><p>me neither. ;-)</p><p>I already did what you suggested. PT drops a to me cryptic error massage which asked me to file a bug report at modartt, what i did. So i&#039;m waiting.</p><p>Best regards<br />Bazzo</p>]]></content>
			<author>
				<name><![CDATA[bazzo]]></name>
				<uri>https://forum.modartt.com/profile.php?id=9884</uri>
			</author>
			<updated>2025-10-25T06:48:04Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1004583#p1004583</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Switched to Linux... how does this work?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1004563#p1004563"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>bazzo wrote:</cite><blockquote><p>Hi all,</p><p>i upgraded (re-installed) my setup to debian 13 an ran PTQ9 in cage/wayland. (Minimal Window Manger) <br />The same crash occurs. But i noticed something strange, I can toggle Fullscreen while the app is running as long as the UI is not in &quot;Compact Mode&quot;. I can toggle &quot;Compact Mode&quot; as long as its not in &quot;Fullscreen Mode&quot;. But both together will trigger the crash. Nonetheless, when i start with --fullscreen option, it doesn&#039;t start at all and outputs no errors. </p><p>Regards <br />Bazzo</p></blockquote></div><br /><p>Hi bazzo,</p><p>I am not any expert, but when I have some problem like that, I usually run the app from terminal to check what it says. After that you will have some answers about the problem.</p><p>Hope this will help you.</p><p>Best regards.</p>]]></content>
			<author>
				<name><![CDATA[Beco]]></name>
				<uri>https://forum.modartt.com/profile.php?id=4699</uri>
			</author>
			<updated>2025-10-24T16:31:00Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1004563#p1004563</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Switched to Linux... how does this work?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1004558#p1004558"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>bazzo wrote:</cite><blockquote><p>Hi all,</p><p>i upgraded (re-installed) my setup to debian 13 an ran PTQ9 in cage/wayland. (Minimal Window Manger) <br />The same crash occurs. But i noticed something strange, I can toggle Fullscreen while the app is running as long as the UI is not in &quot;Compact Mode&quot;. I can toggle &quot;Compact Mode&quot; as long as its not in &quot;Fullscreen Mode&quot;. But both together will trigger the crash. Nonetheless, when i start with --fullscreen option, it doesn&#039;t start at all and outputs no errors. </p><p>Regards <br />Bazzo</p></blockquote></div><p>Sorry you&#039;re having this issue, bazzo. Would help if I could but am pretty new to Linux myself. </p><p>I&#039;m not sure how much support is available with Modartt directly for Linux as it does seem to be a bit of an oddity. (I wonder how many Linux users of Pianoteq there actually are? I wonder if they know?) There was a good bit of detail in a ReadMe file that came with the download, I didn&#039;t look at it that carefully. But I suspect Windows and Mac installs are much more plug n play. </p><p>Wishing you the best.</p>]]></content>
			<author>
				<name><![CDATA[Bellyman]]></name>
				<uri>https://forum.modartt.com/profile.php?id=10031</uri>
			</author>
			<updated>2025-10-24T14:24:32Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1004558#p1004558</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Switched to Linux... how does this work?]]></title>
			<link rel="alternate" href="https://forum.modartt.com/viewtopic.php?pid=1004554#p1004554"/>
			<content type="html"><![CDATA[<p>Hi all,</p><p>i upgraded (re-installed) my setup to debian 13 an ran PTQ9 in cage/wayland. (Minimal Window Manger) <br />The same crash occurs. But i noticed something strange, I can toggle Fullscreen while the app is running as long as the UI is not in &quot;Compact Mode&quot;. I can toggle &quot;Compact Mode&quot; as long as its not in &quot;Fullscreen Mode&quot;. But both together will trigger the crash. Nonetheless, when i start with --fullscreen option, it doesn&#039;t start at all and outputs no errors. </p><p>Regards <br />Bazzo</p>]]></content>
			<author>
				<name><![CDATA[bazzo]]></name>
				<uri>https://forum.modartt.com/profile.php?id=9884</uri>
			</author>
			<updated>2025-10-24T11:57:39Z</updated>
			<id>https://forum.modartt.com/viewtopic.php?pid=1004554#p1004554</id>
		</entry>
</feed>
