JMCC

Members
  • Content Count

    579
  • Joined

  • Last visited


Reputation Activity

  1. Like
    JMCC got a reaction from qblueRed42 in Tablet suggestions   
    There are currently no tablets supported by Armbian, so don't expect any to work out-of-the-box. If you are up to tinkering with things such as u-boot, wifi drivers, etc., in order to make it work yourself, then just look for some tablet with a SoC supported by Armbian, or with WIP images (RK3288 or RK3399 come to my mind as possible candidates).
  2. Like
    JMCC got a reaction from bubbadestroy in [Development] RK3399 media script   
    So finally we have the first version of:
    The UN-official, UN-supported, etc...
    RK3399 MEDIA TESTING SCRIPT
     
    This is the first release of the RK3399 media testing script. The script provides a functionality similar to its RK3288 equivalent:
    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 3.2 / OpenCL 1.2 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. Two example programs using the OpenCL functionality: Examples form the Arm Compute Library, and a GPU crypto miner (an old version, but small and simple). 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 legacy kernel installed.  
    Instructions:
    Download the file above Untar it: tar xvf media-rk3399_*.txz cd media-script ./media-rk3399.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!
  3. Like
    JMCC got a reaction from manuti in [Development] RK3399 media script   
    So finally we have the first version of:
    The UN-official, UN-supported, etc...
    RK3399 MEDIA TESTING SCRIPT
     
    This is the first release of the RK3399 media testing script. The script provides a functionality similar to its RK3288 equivalent:
    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 3.2 / OpenCL 1.2 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. Two example programs using the OpenCL functionality: Examples form the Arm Compute Library, and a GPU crypto miner (an old version, but small and simple). 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 legacy kernel installed.  
    Instructions:
    Download the file above Untar it: tar xvf media-rk3399_*.txz cd media-script ./media-rk3399.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!
  4. Like
    JMCC got a reaction from gounthar in Which boards to get a VPN server and a VPN client?   
    I am getting excellent results with an Odroid HC1. I use it as an OpenVPN server at home, and with my laptop as roadwarrior I get about 80-90 Mbps over my 100 Mbps connection. And also, since now it is on sale, you can get a HC1/MC1 Solo/XU4Q for about $50 at Ameridroid.
     
    Other than that, anything with crypto extensions and good single-thread performance would do good, like some RK3399 for example (though it will be more expensive). Avoid boards with many slow cores but no big ones, since OpenVPN is single-threaded.
  5. Like
    JMCC got a reaction from qblueRed42 in [Development] RK3399 media script   
    So finally we have the first version of:
    The UN-official, UN-supported, etc...
    RK3399 MEDIA TESTING SCRIPT
     
    This is the first release of the RK3399 media testing script. The script provides a functionality similar to its RK3288 equivalent:
    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 3.2 / OpenCL 1.2 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. Two example programs using the OpenCL functionality: Examples form the Arm Compute Library, and a GPU crypto miner (an old version, but small and simple). 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 legacy kernel installed.  
    Instructions:
    Download the file above Untar it: tar xvf media-rk3399_*.txz cd media-script ./media-rk3399.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!
  6. Like
    JMCC reacted to Myy in RK3288 Media Script (TinkerBoard)   
    I need to understand what V4L2 changes are made between the branch used in the "Rockchip-linux" talk (it seems to be mmind one, but I'm not entirely sure). Then, I could try Ayaka and Kwiboo patches again.
  7. Like
    JMCC reacted to TonyMac32 in RK3328 Kernel   
    Cleaned up the default kernel patches, clock frequencies for additional video modes, also /proc/board_info exists again (can tell if Tinker or S, might be used by some ASUS software)
     
    Also if you build a dev image you have a working kernel 5.1
     
  8. Like
    JMCC reacted to Shades_aus 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.)
  9. Like
    JMCC got a reaction from NicoD in RK3328 Media Script (Rock64, Renegade)   
    Cool one! It is the first time I see myself quoted on a YouTube video LOL. Good job.
  10. Like
    JMCC reacted to NicoD in RK3328 Media Script (Rock64, Renegade)   
    @JMCC The video is ready.
    I don't think it will get too many views. But it can help other frustrated users
    Thanks for the help.
     
  11. Like
    JMCC reacted to NicoD in RK3328 Media Script (Rock64, Renegade)   
    @JMCC Progress.
    I downloaded the image again. I downloaded the script again, I used another 4A PSU, an SD-card instead of eMMC, another wifi dongle. But still the same. After I installed the script, I reboot, open Chromium and play a video. After 2 minutes hard crash and the system reboots.

    Then I noticed the only thing I didn't change was my usb hub. I can't use my wifi dongles when they're plugged into the Rock64(can't find my network, but it finds all the others(also weird)), but they work external plugged in a usb hub. So I switched the hub for an extension usb-chord.
    I haven't had any crash since then. +3 hours now. I can't hardly believe this usb hub is the cause, and why that one kernel doesn't have the reboot with that hub. The hub does have a problem, when the Rock64 reboots, it doesn't turn on the usb devices at boot. So I had to replug them every time.
    Now I don't have this with the extension cable.

    I do still sometimes have the "aw snap". But not much. Mostly when it's on 1080p. 720p 30 is perfect(Youtube), 720p 60fps also doesn't work well. Some 1080p works perfect, most doesn't.
    I'll keep testing to see what happens. It's looking good now. The few "aw snap"'s are acceptable. I've watched multiple videos now.

    If anyone could try this script on his rock64 and see how Youtube plays in 1080p with Chromium/Firefox, that would be awesome.

    Sorry for the hassle. I hope it's ok now. The video is comming in a couple of days now. Thank you. Cheers.
  12. Like
    JMCC got a reaction from NicoD in RK3328 Media Script (Rock64, Renegade)   
    It's been a while since I don't test this setup. I'll have it a look.
  13. Like
    JMCC reacted to NicoD in RK3328 Media Script (Rock64, Renegade)   
    Hi again. I've been testing things. I've had a few problems. Now I think I've got most fixed. But I don't get the performance others have.
    First a recap.
    With : Armbian_5.75_Rock64_Ubuntu_bionic_default_4.4.174_desktop (from downloadpage) : Chromium is very unstable after installing the script. I constantly get "aw snap". It plays up to 720p, but crashes during playing. Firefox the same. Plays 720p but sometimes crashes(less than Chromium) Also had hard crashes with resets. Very unstable.
    I then build : Armbian_5.77_Rock64_Ubuntu_bionic_default_4.4.176_desktop : The same issues, but no hard crashes of the system. Then I changed to nightly and reinstalled your script. Chromium was a bit more stable, Firefox and Vivaldi couldn't boot anymore, they couldn't show anything in their window.

    So today I started reading everything again in this thread. Until I came upon
     

    So I thought, lets try with kernel 4.4.167. Everything is stable. Chromium plays Youtube well, only in 720p. 1080p seems to play ok, but it continuesly rebuffers. Firefox works again, but without vpu now.
    I've now played almost an hour of different content on youtube and it hasn't crashed yet. Even different browsers together.

    So it seems to me there is a problem with your script and the kernel that's used now in default build. I'm sorry I'm not more knowledgeable to know what the problem is. I just want to let you know.

    Another small thing, when I choose to install streaming in the script, I can't choose arm soc or glamour anymore. You get that warning it takes xxxMB space, and after that it starts installing.

    Any idea how I could improve 1080p? I'm using eMMC, and wifi connection is ok. (wifi works only with a USB hub, and I've got to replug every time it boots, I tought this was fixed. But that's another topic )

    Chromium 32-bit works on none of the kernels. It always crashes, and there's no VPU support either.

    I'm happy with what I've got now. It's a lot better than default where even 480p is unwatchable. If it could be improved then it's a bonus.
    Here is my walktrough until now.
    sudo apt update && sudo apt upgrade sudo armbian-config -> system -> other -> linux-image-rockchip=5.70 4.4.167-rockchip64 reboot sudo armbian-config -> system -> freeze enable sudo nano /etc/default/cpufrequtils MAX_SPEED -> 1520000 (it clocks to 1.39Ghz at 1510000) Download script : https://forum.armbian.com/topic/9310-rk3328-media-script-rock64-renegade/ Install script : sudo ./media-rk3328.sh <- ARM SoC Disable compositing : Windows Manager Tweaks -> compositor -> disable display compositing sudo reboot I'll do more tests, in a few days I'll make my video. Cheers.
  14. Like
    JMCC got a reaction from NicoD in RK3328 Media Script (Rock64, Renegade)   
    I have no 4K monitor either. In theory, the SoC supports 4K@60. Can anyone confirm if this actually works with Armbian?
  15. Like
    JMCC reacted to NicoD in RK3328 Media Script (Rock64, Renegade)   
    @JMCC First of all, great job done.
    I'll make a video about the desktop useability of the Rock64 these days. This with Armbian Bionic + your media script. I've red many complaints of novice Rock64 owners that they can't make things to work well(Pine64 forum, my YT channel...).
    So I think this video is needed for many.

    I've red all the posts here and I'll add the info I've learned. Can you confirm the display refresh rate must be 30Hz in 4K to make it work well? I don't have a 4K monitor.
    I'll say it's not officially supported by Armbian. If there's anything else you find important to mention, please let me know.

    I'll also show how to set it to 1.51Ghz because this has changed since my first Rock64 video.
    Thanks for all the work. Next month I'll do the same with the NanoPi M4 and RockPi4B. Hopefully Radxa can improve things a bit by then for their software.
    Cheers.
  16. Like
    JMCC got a reaction from qblueRed42 in RK3288 Media Script (TinkerBoard)   
    The UN-official, UN-supported, UN-necessary, UN-popular, UN-precedented...
    RK3288 MEDIA TESTING SCRIPT [2.0: Bionic update]
     
    So here is the final release of the RK3288 media testing script. Basically, the script provides the following functionality:
    Installing all the libraries and system configurations necessary for GPU accelerated X desktop, Chromium WebGL, full VPU video play acceleration up to 4k@30 HEVC (the maximum supported by the SoC), and GLES 3.1 / OpenCL 1.2 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 18.0 alpha preview. Two example programs using the OpenCL functionality: Examples form the Arm Compute Library, and a GPU crypto miner (an old version, but small and simple). 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 small packages, that have no big interest from the developer prospective, but I find them interesting to play with: Support libraries for commercial web video streaming (tested with Netflix), and a simple Pulseaudio GTK equalizer using LADSPA.  
    Here is a more thorough documentation:
     
    Version 2.0 (Bionic):
     
    Version 1.0 (Xenial):

    >>> DOWNLOAD LINK (2.0, FOR BIONIC DESKTOP) <<<
     
    > Older Download link (1.0, for Xenial) <
     
    Instructions:
    Download the file above Untar it: tar xvf media-rk3288_*.tar.xz cd media-script ./media-rk3288.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!
     
     
     
  17. Like
    JMCC reacted to Shades_aus 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!
  18. Like
    JMCC reacted to pokkecon in RK3328 Media Script (Rock64, Renegade)   
    JMCC: You'd asked for a follow-up, I have been using a 4GB Rock64 as a primary desktop machine for about six weeks now using Armbian + your script.

    Thank you very much for the script, being able to use sites like YouTube etc with streaming video and have it work (in full screen) is very nice.

    Chromium is horribly unstable for me, I find that it works well for the first while, but eventually locks up the box almost completely. I ran vmstat on a console to try and figure out what the issue is, I think it is because I have a microSD card for storage and that is basically not a long-term solution, I need an eMMC.

    I was never able to get to get the Rock64 to talk properly to my 27" screen, I always experienced severe tearing and flickering -- I believe I will have fewer problems with a newer screen, so that is another solution I want to try, in the meantime I use a small screen with low resolution -- I will provide more feedback when I have a better storage device and screen, in the meantime I get by and the script helps a lot with getting this SBC to where I need it to be.
  19. Like
    JMCC reacted to pokkecon in RK3328 Media Script (Rock64, Renegade)   
    Running Deluge also causes similar to behaviour to Chromium with half a dozen tabs open -- the machine locks up for a few minutes at a time, with maybe ten seconds of normal responsiveness between slow periods.  At the console with vmstat, I see large swaps right before the GUI becomes responsive again, so I believe it may be thrashing. It seems that any use of swap at all with a microSD card is very bad for performance. 
  20. Like
    JMCC reacted to TonyMac32 in RK3328 Kernel   
    @jpegxguy  For the mainline ethernet tx/rx delays, were those just copied from the Rock64 or were they empirically determined?  They're caused by trace impedance/etc, so they're tied to the specific hardware.  I'll dig up the thread/tool Ayufan and Tkaiser were using and see what I get, there might be some more to gain there, since obviously the default ones are fairly bad.
     
    @Igor Any argument against moving Ayufan's RK3328 mainline to "next" and putting true mainline at "dev"?  I think it's to the point that 5.1/5.2 are nearly to RK3288 levels of support in mainline.
     
    [edit]  Fixed the lower USB port on Renegade.
  21. Like
    JMCC got a reaction from Igor in RK3328 Kernel   
    Okay, I just had a look at the commit history, and the history of "/patch/kernel/rockchip64-default/Add_dts_rk3328-roc-cc.patch" was lost when it was merged into a commit for creating the rockchip64 family: now only the tiny LED patch that I applied recently is appearing. So it will be harder to figure out which patches I applied in the first place to make the board work. I'll try to figure it out.
     
    [EDIT]: Nevermind, I just figured out the directory containing the patches changed the name. Now I found the original DTS. @Igor please ignore the question I just deleted, in case you got to read it.
  22. Like
    JMCC got a reaction from lanefu in NanoPi Neo 2, memory leak in proftpd, even worse if SSL encrypted   
    Debian people are very good at backporting security fixes. Why not just make a bug report there?
  23. Like
    JMCC reacted to Igor in New administrator   
    @lanefu will help around admin duties.
  24. Like
    JMCC reacted to NicoD in Orange Pi Lite 2 H6 1GB Quad Core Development Board   
    What did you try yet?
    Did you connect the camera? Did it show up?
    You can check this with : ls -ltrh /dev/video*
    If it shows up, download mjpg_streamer. Set it up, and ready.
    Here how to set up mjpg_streamer: https://www.acmesystems.it/video_streaming
    If it doesn't show up, then....... another story.
  25. Like
    JMCC got a reaction from NicoD in Orange Pi Lite 2 H6 1GB Quad Core Development Board   
    In addition to @NicoD's response, there is also a snap package for mjpg-streamer. So, once you get an Ubuntu Bionic running on your board, all you have to do is:
    $ sudo apt update $ sudo apt install snapd $ sudo service snapd start $ sudo snap install mjpg-streamer $ sudo snap connect mjpg-streamer:camera $ snap run mjpg-streamer You can get some more instructions with "snap info mjpg-streamer"