I made some more tests today with two other window managers: Awesome and Openbox
With openbox I get the Renoise issue without Compton and even with Compton. And even more funny, only when the Renoise window is 100% maximized. When there´ s a small frame of the desktop left it works, i.e. no higher DSP load. Under XFCE the DSP load was more or less proportional to the visible Renoise GUI.
Can anyone on Linux please check how fluent it feels when changing the size of the spectrum analyzer window as shown here 2023 07 02 16 14 57 - YouTube ?
I have MX Linux (MX-21.3_x64 Wildflower September 18 2022 ) on two machines (Dekstop and Laptop) installed and on both it feels very sluggish In the video it is extreme, because OBS was open.
The resizing speed does not seem to be normal, indeed. But the analyzer speed just looks like using Windows or Mac, since it’s is drawn fully by CPU AFAIK, and a CPU is very slow in drawing graphics.
Hello. Currently on a core i7 Intel/Nvidia hybrid laptop on a tuned kubuntu running renoise in intel mode (can also run apps with nvidia 3d chip on demand, but it’s not useful for renoise and would just burn electricity for no good use…), and the spec analyzer is usually resizing completely fluently or only slightly choppy and always displaying smooth - even in tlp power saving mode when I already have xruns in the song due to audio CPU overload. The analyzer in itself does take a little more CPU when it is fully expanded - one could think you maybe have a weak CPU, and when you expand it it will just get a little too much for your machine, on the other hand a i5 with 3.4mhz should be fine. If I run a loop, and resize the spectrum analyzer with full res, full speed, instant falloff etc like I usually use while tracking, the cpu usage reported by renoise maybe rises by 5-10 percent when compared to when it is not visible, but I take this is not only because of the gfx, but maybe also because of the workload the audio analyzer has to do for the higher resolution display. I guess it can also be a problem with screen resolution when there are more pixels to calculate, on the other hand your screen does not seem very high res.
I believe maybe there is probably just some weird bug with your hardware on Linux, where renoise craps out due to some weird chance. Or there is some “nonestandard” or not usual way renoise does something, where your specific software/hardware config causes problems. Is renoise really the only software causing these problems? Intel graphics drivers on Linux aren’t the best in my experience, as well, depending on the chip you have, in the past I also always had one problem or another with some (consumer grade) machines.
You can try to research it, trying different kernel/xorg/compositor/driver combinations, to find which one makes the most problems. Often such bugs happen when a hardware is new, or not widespread enough to prevent a regression in code being noticed, and then such bugs can be longstanding until they are fixed in some version. Maybe if you look into things a lot, you might even find the culprit and the associated bugs that are already up somewhere. Just if only renoise is affected, this will be hard to find out. Sometimes a hardware was just new, and it takes some months or years until it works as expected. That’s why it is usually the best bet to use machines for Linux that are widespread in corporate and professional use with Linux, and not the newest models, because then people will have paid for all the kernel bugs etc. to be fixed, and even the manufacturer of the hardware will take care it is all compatible for their customer’s demands.
Using current stable kernel and xorg, avoiding older versions, when an older versioned setup failed, is also a good thing to try. I strongly suppose it must be some glitch in the graphics driver that will cause big delays somewhere in the graphics server when the compositor is disabled. Just try some current distros that are suitable for you until you find one you are happy with for your renoise use.
Here’s a test to test the performance of xinputimage, which is used by Renoise to draw the GUI.
For a fullsized window 1920x1016 I’m getting 280fps with the XFCE compositor
190fps with compton and 530 fps without any compositor. Whatever that tells me, but I think the values look ok.
I really settled with Debian / MX Linux and don’t want to use any other DAW. Especially I don’t want to use something Arch based.
Good joke aside, what is actually the best Linux distribution for audio or multimedia currently? And what is the best audio system? How does Bitwig run on it?
I was thinking about buying a Mac, but I don’t like the company and their price policy. I think I’m going with a Cirrus 7 as my next PC
These are fully Linux compatible and dead silent (no fans). Bitwig runs fine, but it eats a huge amount of RAM. With 8 GB and Firefox being open at the same time it starts swapping. I have more fun with Renoise or SunVox and don’t get the hype about Bitwig. For me it feels kind of bloated.
I used Ubuntustudio before and there’s also AVLinux. Both distros are configured for Audio and should work out of the box, including Pulse Jack bridges. Meanwhile there’s also Pipewire.
I switched to MX Linux, because it’s lightweight and based on Debian. Works perfectly since 6 months now. No issues at all. Configuration for RT audio is quickly done.
I fully agree with your feeling about Bitwig. Would prefer a solidly coded GUI and low memory usage instead bloated with niche features. I only mentioned it, because it’s the only (crossplatform) DAW I know besides Renoise which works on Linux…? That Intel PC indeed looks nice. Only if you configure it similar to an Mac Mini M2Pro (sometimes around 1350), it is about the same price as the Mac. But yeah, you can replace the ssd So in 5 years, the Apple user will throw the whole computer into trash, while the PC user simply replaces the ssd.
Have you already tried resizing with different fft resolution parameters (i.e. turn quality of spectrum analyzer down)?
Maybe you can try disabling or changing graphics driver options on startup, disabling kernel mode setting or acceleration options, to see how it is a difference.
My final guess would be just you’re using a distro with too old kernel (debian stable is old ware), and should try newer kernel/xorg to get things going.
Tested all of this. I also tested Ubuntustudio with 22.04 LTS which is more recent. MX Linux is also a bit more recent than Debian. Can test Manjaro just out of curiosity…
My specs above can run Bitwig well. For me it is not bloated. Instead I find it extremely powerful, flexible, and inspiring, and I love abusing audio in it.
Yes, Bitwig runs well, just not the graphics engine on 4k+ resolutions. It quite slow actually, since it uses CPU for a lot of stuff. Combining CPU and GPU for rendering in a bad way causes a lot of performance loss. On the other hand the audio engine in Bitwig is very efficient, it was coded in C++.