-
Posts
29 -
Joined
-
Last visited
-
Armbian for OrangePi PC2, AllWinner H5
Allfifthstuning replied to Christos's topic in Allwinner sunxi
There's a great audio repository for Debian/Ubuntu KXstudio, which I use on my laptops along with either Debian of (K)Ubuntu. I understand that I can't use this on the earlier PC One board due to the fact that the SSE2 instruction set isn't supported. Does anyone know if this is still the same for this newer board? Hans -
I've tried the first but I don't think there's a real improvement. On my laptops I also stopped using rt-kernels, the standard kernel seems fine. The above mentioned tweaks are important though: - Adding yourself to the audio group - Setting RT audio settings - Setting CPU governance to performance Hans
-
Thanks Igor. I'll probably rethink what I want. A regular small HDMI screen with a small keyboard will be fine for what I want and would be a lot less hassle to get it up and running. btw. Would it be a good idea / useful to add the tweaks I made to make Armbian suiteable for rt-audio somewhere in the documentation-section? Although I'm not an expert, I could type the text. Hans
-
Phase one is finished for now: I've got Guitarix up and running. The developer made a "trimmed" version, with some CPU-consuming processes switched. There's a trade of in the sound qualitty, but in everyday use it won't be noticable. A 48k samplerate seem to be the maximum the Pi can handle, higher samplerates will result in hick ups, the so called Xruns. The package can be downloaded here. You have to install the dependencies, before you can build it. After going back and forth using a realtime kernel, i've settled to use the "standard" kernel for simplicity's sake, there was no real improvement using the rt-kernel. As mentioned earlier, I've added myself to the Audio group and tweaked some audio settings. One very important thing to do is to set the cpu governance on "performance", this really helps to lower the amount of xruns. I also isolated two out of four cores to direct the audio processes to. The improvement is small, so it can be done with. So long story short: OPi can be used with guitarix! Now: phase two, getting a small tft touchscreen to work on the Pi. It is a screen which is used on RPi-B's with succes. I've only connected it once and it lit. Although I've searched the internet / this forum, I still don't know route to take to get it working. Could someone advice me on this? Hans
-
I've build a new os. It runs, but the screen is a bit distorded, iit looks like a lot of pixels aren't "activeted" Further I try to install libgtk-3-dev which is needed to build guitarix, but I get this message: root@orangepipcplus:/home/broomy/Programs/guitarix-git/trunk# apt-get install libgtk-3-dev Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libgtk-3-dev : Depends: libglib2.0-dev (>= 2.41.2) but it is not going to be installed Depends: libgdk-pixbuf2.0-dev (>= 2.27.1) but it is not going to be installed Depends: libpango1.0-dev (>= 1.36.7) but it is not going to be installed Depends: libatk1.0-dev (>= 2.7.5) but it is not going to be installed Depends: libatk-bridge2.0-dev but it is not going to be installed Depends: libcairo2-dev (>= 1.10.0) but it is not going to be installed E: Unable to correct problems, you have held broken packages. Hans
-
Alright time to make an evaluation of the process so for. Firstly: I'm impressed of the capabilities of a SBC (i.c. the OPiPC+), it will suit my daily needs: emailing, text-processing, internetsurfing and so on. All can be done without a breeze. With -of course- Armbian on the background "doing it's thing". Great! After going back and forth using different flags to configure and build Guitarix, it is now running stable with a relative low latency. One thing which has to be dealt with is that the number of effect which can be used simultaneously is a bit limited, because I run out of DSP power pretty fast (although I tweaked a lot with using designated cores / higher set priorities). Over at the Linuxmusicians forum someone suggested that I may have to use buildroot to start from scratch. Currently this is a bit to big to chew for me. What can I do to optimize Armbian to free up more resource? Install an even lighter gui like LXDE or openbox? And how can I do that properly (I've tried it but I can't switch to an other session)? Start with Armbian server and install openbox or lxde (which I tried but didn't work so far)? Deinstall several services to make everything lighter? Hans
-
Alright I'll try that. If assigning IRQ help, I would gladly try that out. unfortunately it's not my faint heart (as far as I know of) that bothers me, but my infinite lack of knowledge when it comes to programming / setting up pc's. But I'm working on it... ;-) Hans edit: Found this thread showing how to update boot.scr edit 2: CPU 2 and 3 (starting from 0) are now isolated, which I verified by using: top and then pressing "1" Then in a terminal I use taskset -c 2,3 ProgramOfMyChoice to assign the programs to the right cores, Guitarix is still a bit buggy when I use the factory presets though.
-
That's a good tip! I've managed to use "taskset" to run Jackd and Guitarix on a specific core. I've did a search on where to place the "isolcpus=" argument, but haven't found the right place where I can put it. Where do I have to put it? And can I reserve two cores or would that be over the top? Hans
-
Thanks that did the trick. Thanks, screen is now setup fine. I've got Guitarix (build from source) up and running with a latency under 10ms (which is pretty decent), although it is a bit unstable (getting xruns) when using certain effects. Next step is to streamline the whole setup to minimize the xruns. Hans