Jump to content

Nixes

Members
  • Posts

    5
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Nixes reacted to Adrian Cuzman in Moonlight Embedded on Orange Pi   
    I managed to compile moonlight on an OrangePi PC (but it's has 1G ram) and the good news is that it works out of the box with VDPAU acceleration, it works well even 1080 with 60fps. Also, had to compile ffmpeg  and used the vdpau driver provided by apt-get, so no need to compile from source. Another idea is to compile ffmpeg by subcomponents, like libavutil, but I don't know if it can be done easy... anyway, I've attached my version of compiled ffmpeg on OrangePI PC.
     
    The dependencies needed by moonlight on OrangePi besides the ones from the github wiki, these are specific to OrangePi:
     
    sudo apt-get install vdpau-driver-all
    sudo apt-get install libvdpau-dev
     
    -- compile ffmpeg (version x.y.z - latest available from releases)
    sudo apt-get install pkg-config
    wget http://ffmpeg.org/releases/ffmpeg-x.y.z.tar.bz2
    tar xjvf ffmpeg-x.y.z.tar.bz2
    cd ffmpeg-x.y.z
    ./configure --enable-shared
    make
    sudo make install
    --- end
     
    --also missing dependencies for moonlight
    sudo apt-get install libegl1-mesa-dev
    sudo apt-get install libmali-sunxi-dev
    sudo apt-get install libenet-dev
     
    .. and finally, the moonlight source has a small bug, even if VA acceleration is not available, the code is used and you get a link error, I've added a fix with this in my fork, nothing complicated just added the missing #ifdefs:  https://github.com/adriancuzman/moonlight-embedded
     
    The compiled ffmpeg version: https://wetransfer.com/downloads/a9d1eb073ded6448552773a7d9767ee120170726095854/c95368541c802e6e94437504f28527ab20170726095854/e5d737
     
     
  2. Like
    Nixes reacted to farrukh in Orange Pi Zero went to the market   
    Designed a case for it. Available on thingiverse if anyone interested - http://www.thingiverse.com/thing:1918590
     





  3. Like
    Nixes reacted to Antwan in Armbian wallpaper remake   
    Minimalistic Flat Design
     
    Minimalisti, yet complex, this wallpaper represents a CPU on a silicon wafer with a PCB design. 
    The design has infinite background color possibilities as shown in the GIF below:
     

     
     

     
     
     
    Designed by: AntwanDesign
     
    EDIT: Here is a .zip with 8 color variations in ALL resolutions: DOWNLOAD HERE!
  4. Like
    Nixes reacted to Dre0x in Armbian wallpaper remake   
    I made this on Corel Draw, hope you like it. I called it Armbian Minum (If you want some modifications just tell me).


    Zip: https://www.dropbox.com/s/zx2ju6feu802rh3/Armbian%20Minum.zip?dl=0
  5. Like
    Nixes reacted to Miike in Armbian wallpaper remake   
    Hi to all! I'm just here to say thanks for your work with armbian and contribute with some wallpapers. 
     
    Pd. Do you think in armbian logo redesign? 
     

  6. Like
    Nixes got a reaction from Igor in More proper testing - better Armbian experience   
    So I just tested the "Armbian_5.24.161115_Orangepipc_Ubuntu_xenial_3.4.113_desktop" image on my OrangePiPC
     
    Tests:
        mali-triangle: worked
        es2gears: worked (250fps)
     
    Observations:
    Firefox was MUCH smoother then last time I used it in an armbian desktop package. I think more hardware acceleration is kicking in than in previous builds.
     
    I still have the install running if there are any other tests wanted.
  7. Like
    Nixes reacted to tahaea1 in Armbian wallpaper remake   
    Heres my try. Instead of one fixed colorset I chose some different colors too, can be used for alfa-beta-stable, release versions etc.
     

     
    Recreation of Tux is under Public Commons.
     
    RGB codes for different colors are included. Can be used for branding in general.
     
    https://dl.dropboxusercontent.com/u/49778084/armbian.zip
  8. Like
    Nixes reacted to AndrewK in S/PDIF output on NanoPI M1   
    Here is a short instruction how to enable S/PDIF digital audio output on NanoPI M1 board running Debian Jessie with legacy kernel.  This instruction can be applied to other H3 based boards but connect S/PDIF output hardware to GPIOA17 can be tricky (soldering miniature camera connector pins). Operations can be done over serial console or ssh.   Login as root Get a .fex file and open it in editor: bin2fex /boot/script.bin /tmp/script.fex nano /tmp/script.fex Search a csi0 (camera) section an disable it: [csi0] vip_used = 0 Search a S/PDIF section and enable it: [spdif0] spdif_used = 1 Get the name of the file pointed by the /boot/script.bin link and convert modified .fex to it: ls -la /boot/script.bin ----- /boot/script.bin -> bin/nanopim1.bin fex2bin /tmp/script.fex /boot/bin/nanopim1.bin Open /etc/modules to instruct Jessie to load S/PDIF modules at boot: nano /etc/modules Add module names near the end of file: sunxi_spdif  sunxi_spdma   sndspdif   sunxi_sndspdif Reboot system: sync reboot After reboot login as root again Get the list of ALSA devices available: aplay -l **** List of PLAYBACK Hardware Devices **** card 0: audiocodec [audiocodec], device 0: SUNXI-CODEC sndcodec-0 []   Subdevices: 1/1   Subdevice #0: subdevice #0 card 1: sndhdmi [sndhdmi], device 0: SUNXI-HDMIAUDIO sndhdmi-0 []   Subdevices: 1/1   Subdevice #0: subdevice #0 card 2: sndspdif [sndspdif], device 0: SUNXI-SPDIF sndspdif-0 []   Subdevices: 0/1   Subdevice #0: subdevice #0  
    To connect board S/PDIF output to my favorite DAC i use an optical S/PDIF module soldered out from dead DVD player:
     

     
    There are 3 wires connected to board 40-pin connector: GND (pin 6), VDD_5V (pin 2) and SPDIF-OUT/GPIOA17 (pin 26)
     

     
    Module pinout can be found in datasheet http://www.mouser.com/catalog/specsheets/totx177(f,t).pdf
     
    Modules come in 2 types: 6-MBit (up to 24 bit / 96KHz) and 15-MBit (up to 24 bit / 192KHz). Most likely from DVD or SAT receiver You get the 6-MBit module. 15-MBit modules can be purchased at Digikey, etc.
     
    When listening to music, I faced with spontaneous fadings. This is due to some problem of the CPU speed switching. To this do not happen, I banned the clock frequency of 240 MHz in the /etc/default/cpufrequtils:
    MIN_SPEED=480000
  9. Like
    Nixes reacted to tkaiser in OPI PC: Run script on power button push?   
    Regarding leds there's a bit more to say. In Armbian we define the leds in a different way than most if not all of the other available OS images for Orange Pis (OpenELEC being the other exception). With our led definition (see ssvb's commit) we can use different triggers, eg. let the green led blink, switch it off or on you would do:
    echo heartbeat >/sys/class/leds/*green*/trigger echo none >/sys/class/leds/*green*/trigger echo default-on >/sys/class/leds/*green*/trigger Adjusting brightness is also possible and in case you set the timer trigger two more sysfs nodes appear you can use to set on/off interval:
    root@orangepiplus2e:/sys/class/leds/green_led# echo timer >/sys/class/leds/*green*/trigger root@orangepiplus2e:/sys/class/leds/green_led# ls -al total 0 drwxr-xr-x 3 root root 0 Jan 1 1970 . drwxr-xr-x 4 root root 0 Jan 1 1970 .. -rw-r--r-- 1 root root 4096 May 25 13:59 brightness -rw-r--r-- 1 root root 4096 May 25 14:00 delay_off -rw-r--r-- 1 root root 4096 May 25 14:00 delay_on lrwxrwxrwx 1 root root 0 May 25 13:59 device -> ../../../leds-gpio -r--r--r-- 1 root root 4096 May 25 13:59 max_brightness drwxr-xr-x 2 root root 0 May 25 13:55 power lrwxrwxrwx 1 root root 0 May 25 13:59 subsystem -> ../../../../../class/leds -rw-r--r-- 1 root root 4096 May 25 14:00 trigger -rw-r--r-- 1 root root 4096 Jan 1 1970 uevent To get a list of all available triggers simply do a 'cat /sys/class/leds/*green*/trigger'.
  10. Like
    Nixes reacted to tkaiser in OPI PC: Run script on power button push?   
    The button is configured here and by default it is defined to enter suspend to RAM state. Unfortunately I forgot how to define the action (must have been back in February when we changed that). You could try to test acpid out and report back.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines