Jump to content

Shades_aus

Members
  • Posts

    7
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Shades_aus reacted to JMCC in RK3328 Media Script (Rock64, Renegade)   
    THE MEDIA SCRIPT IS NOW DEPRECATED, IN FAVOR OF THE OFFICIAL MULTIMEDIA FRAMEWORK. PLEASE REFER TO THIS TOPIC:
     
     
    And, for last,  the first version of:
    The UN-official, UN-supported, UN-expected
    RK3328 MEDIA TESTING SCRIPT
     
    This is the first release of the RK3328 media testing script. The script provides a functionality similar to its RK3288/3399 equivalents, except for the OpenCL related stuff, which is not supported by the SoC. So it includes:
    Installing all the libraries and system configurations necessary for GPU accelerated X desktop, Chromium WebGL, full VPU video play acceleration up to 4k@60 10-bit HEVC (the maximum supported by the SoC), and GLES 2.0 support. Three video players supporting full VPU acceleration (RKMPP) and KMS display (GBM or a X11 DRM "hack", as described by the authors), namely: MPV, Gstreamer and Kodi. A library that will act as an OpenGL to OpenGL-ES wrapper, allowing you to run programs that use OpenGL 1.5-2.0. Two additional features, that have no big interest from the Armbian development prospective, but I find them interesting to play with: Chromium browser with support for Flash and DRM-protected commercial web video streaming (tested with Amazon Prime, should also work with Netflix, Hulu, etc.), and a simple Pulseaudio GTK equalizer using LADSPA.  
    Here is a more thorough documentation:
     
     
     
    >>> DOWNLOAD LINK <<<
     
    Prerequisites:
    You need a fresh Armbian Bionic desktop image with default kernel installed. 
     
    Instructions:
    Download the file above Untar it: tar xvf media-rk3328_*.txz cd media-script ./media-rk3328.sh  
    Notes:
    This script is not officially supported by the Armbian project. It is just a community effort to help the development of the main build, by experimenting with a possible implementation of the media capabilities of this particular SoC. Therefore, questions about the script should not be laid out as support requests, but as commentaries or community peer-to-peer assistance. That being said, all commentaries/suggestions/corrections are very welcome. In the same way, I will do my best to help solve any difficulty that may arise regarding the script.  
    Enjoy!
  2. Like
    Shades_aus got a reaction from NicoD in RK3328 Media Script (Rock64, Renegade)   
    Just to recap for those that don't want to watch the video, here are my findings.
    Using board - Rockchip 3328 4GB DD4 Renegade (ROC-RK3328-CM) by FireFly.
    OS - Armbian_5.75_Renegade_Debian_stretch_default_4.4.174_desktop.7z
    https://dl.armbian.com/renegade/Ubuntu_bionic_default_desktop.7z
     
    Steps taken:
    - Install default Armbian image as seen above.
    - Download and extract JMCC's media Enhancement script ready for installation.
    - Update Armbian 5.75 image with apt-get update and sudo apt-get upgrade
    - Re-Ran media-script and firstly, only selected System and installed Glamor.
    - Re-ran media-script again, selected ALL applications except System (because I did it in previous step)
    - reboot the device
    Results:
    - Icon corruption has now been fixed. The desktop is still nice and snappy. (Compositing is ON)
    - MVP player now plays 1080p sample video with CPU to spare. (acceleration seems to be working)
    - MVP works well in window resized mode or full screen. Both seem fine with CPU to spare!
    *- MVP 4k video is still not working properly in either Windowed or Full screen.
    - Chromium seems smoother in 720p mode, still a bit flakey, however, instead of crashing a refresh can be done. (CPU usage too high.)
    - Chromium is no good in 1080p or above in full screen or windowed. (CPU usage is too high, HW acceleration must be not working.)
  3. Like
    Shades_aus got a reaction from JMCC in RK3328 Media Script (Rock64, Renegade)   
    Just to recap for those that don't want to watch the video, here are my findings.
    Using board - Rockchip 3328 4GB DD4 Renegade (ROC-RK3328-CM) by FireFly.
    OS - Armbian_5.75_Renegade_Debian_stretch_default_4.4.174_desktop.7z
    https://dl.armbian.com/renegade/Ubuntu_bionic_default_desktop.7z
     
    Steps taken:
    - Install default Armbian image as seen above.
    - Download and extract JMCC's media Enhancement script ready for installation.
    - Update Armbian 5.75 image with apt-get update and sudo apt-get upgrade
    - Re-Ran media-script and firstly, only selected System and installed Glamor.
    - Re-ran media-script again, selected ALL applications except System (because I did it in previous step)
    - reboot the device
    Results:
    - Icon corruption has now been fixed. The desktop is still nice and snappy. (Compositing is ON)
    - MVP player now plays 1080p sample video with CPU to spare. (acceleration seems to be working)
    - MVP works well in window resized mode or full screen. Both seem fine with CPU to spare!
    *- MVP 4k video is still not working properly in either Windowed or Full screen.
    - Chromium seems smoother in 720p mode, still a bit flakey, however, instead of crashing a refresh can be done. (CPU usage too high.)
    - Chromium is no good in 1080p or above in full screen or windowed. (CPU usage is too high, HW acceleration must be not working.)
  4. Like
    Shades_aus got a reaction from JMCC in RK3328 Media Script (Rock64, Renegade)   
    Using 5.75 image
     
    Glamor: The tweaked X server that you included is just as snappy IF you turn compositing back ON in the windowing settings.
    This is the opposite setting for armsoc. If you leave it disabled, the screens are horribly delayed when dragging.
    I have just tested both and Glamor is as fast as Armsoc on my 4GB renegade when the compositing is enabled.
     
    Chromium is still having issues playing anything 1080p from youtube (Just running chromium-streaming from GUI)
    Trying to change settings in Chromium-streaming makes it crash (probably known, as you stated some web pages will be broken)
     
    Audio out from the audio jack is still not working. HDMI audio works fine.
     
    - Bottom USB2 sometimes doesn't work. Unplug / replug keyboard fixes this once the OS has finished loading.
     
    Thank you for your efforts here. :-)
    This device is almost usable because of this. Once browsing is fixed, I'tgoing to be my daily Linux box!
  5. Like
    Shades_aus got a reaction from lanefu in RK3328 Media Script (Rock64, Renegade)   
    Using 5.75 image
     
    Glamor: The tweaked X server that you included is just as snappy IF you turn compositing back ON in the windowing settings.
    This is the opposite setting for armsoc. If you leave it disabled, the screens are horribly delayed when dragging.
    I have just tested both and Glamor is as fast as Armsoc on my 4GB renegade when the compositing is enabled.
     
    Chromium is still having issues playing anything 1080p from youtube (Just running chromium-streaming from GUI)
    Trying to change settings in Chromium-streaming makes it crash (probably known, as you stated some web pages will be broken)
     
    Audio out from the audio jack is still not working. HDMI audio works fine.
     
    - Bottom USB2 sometimes doesn't work. Unplug / replug keyboard fixes this once the OS has finished loading.
     
    Thank you for your efforts here. :-)
    This device is almost usable because of this. Once browsing is fixed, I'tgoing to be my daily Linux box!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines