Jump to content

Allfifthstuning

Members
  • Posts

    29
  • Joined

  • Last visited

Posts posted by Allfifthstuning

  1. 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

  2. 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

  3. 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

  4. With buildroot you will get worse results for sure, forget about. Their tool is generic while we are specialised for those ARM boards, especially we know a lot about Allwinner chips. Additionally you have to expect much more troubles to make things together since the tool is complex.

     

    Our desktop is already as light as possible and you won't achieve any vivid (if any) speed improvements if you change window manager. XFCE is among the light ones. Furthermore our desktop build has build-in all possible acceleration methods: 3D and video playing but I guess they don't help your type of usage.

     

    If you installed system on eMMC you are already on the edge - you can only try some good SSD drive for system - via USB. If you are running our of memory, get an Opi +2e ... it has faster eMMC and 2GB of memory.

    Thanks Igor, that's sound advice.

     

    I haven't installed Armbian on eMMC yet, will do that.

    I've contacted the developer of Guitarix it there is still some tweaking within Guitarix possible so I'll try that also.

     

    Hans

  5. 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

  6. 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.

  7.  

    Just install another terminal programm :

    sudo apt-get install gnome-terminal
    

    Thanks that did the trick.

     

     

    http://forum.armbian.com/index.php/topic/752-tutorial-h3disp-change-display-settings-on-h3-devices (don't follow any advises found on other sites when using Armbian, there's no need to fiddle around with bin2fex/fex2bin unless you want to enable more exotic modes like AV out)

    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

  8. Alright got the OPi up and running with an HDMI to DVI adaptor.

     

    Steps I took:

    1. Flashing the newest Armbian version to a SD card

    2. editing the script.bin file (converting it first with bin2fex to script.fex ), by adding two lines at the end of [hdmi_para]:

    hdcp_enable = 0
    hdmi_cts_compatibility = 1
    

    (and convert it back using fex2bin) to make the HDMI to DVI adaptor work.

    3. boot the SD card and follow the instructions

    4. Installing jack2 and qjackctl and guitarix (first the standard version later building it from source)

    5. Adding myself to the audio group

    usermod -G audio your-user-name

    6. Tweaking limits.conf in/etc/security/limits.conf by adding:

    @realtime - rtprio 90
    @realtime - memlock unlimited
    

    7. Reboot

     

    8. Turning wifi of in a terminal:

    nmcli r wifi off

    Then I attached my usb soundcard and configured jack using qjackctl (48.000 / 3 periods / 256) and then fired up Guitarix: Working!

     

    A good start so far!

  9. THe OPiPC+ arrived and I'm trying to set it up. I can only use av output since I don't have HDMI.

    With the standard Android OS the OPi outputs video through av. With Armbian I can't get any output yet. I tried to modify the script.bin file as is written on the Orangepi site but with no luck.

    I'm using the latest Armbian version on a 16GB class 10 Samsung EVO.

     

    What can I do to check if the OPI boots at all?

    How can I make the OPi output video on the AV channel?

    Do I have to make a custom kernel?

     

    Hans

  10. Thanks Autostatic for joining!

     

    Alright I will go for a commandline setup, will Armbian server do or do you recommend another distro?

     

    The soundcard had some issues with pc's with usb 2.0 and usb 3.0 ports. The newer kernels have some kind of bug which makes for tons of xruns. On a fully usb 2.0 laptop the problem doesn't arise. I've fired up an old laptop recently and it works flawlessly.

     

    Hans

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines