JMCC

Members
  • Content Count

    572
  • Joined

  • Last visited


Reputation Activity

  1. Like
    JMCC got a reaction from chwe in Armbian v20.05 (Kagu) Planning Thread   
    Not if we put all RK3399 boards in rk3399, and all RK3328 in rockchip64. In that case, we could just keep our current kernel config and that would work.
  2. Like
    JMCC reacted to _r9 in [Moderation] Dealing with subtle spammers placing "tiny little ads"   
    So I read through this thread and there are a few thoughts that came up.

    I believe when you want to solve a spam problem efficiently one needs to focus on the spam itself and not on the spammers.
    I'm dealing with lots of spam on my mailservers and manually blacklisting is the least efficient way to solve this problem. In my case 2000 - 10000 Spam mails a month.
    The main reasons why this is not a good practice are already described in a few posts inside this thread. Automated mail creation for example.

    So what are the real problems with spam posts?
    I think the most potential thread, if we focus on security, is that a user could get mislead to a dangerous URL.
    There is also the problem that the Armbian Forum could get misrelated to porn pages or other ugly stuff through google searching or other online indexes.
    Worst case would be if someone types porn stuff into the google search box and gets the Armbian forum as a result
    or someone finds a post that should help him and this post is full off ads. This would harm the forums image.

    So IMO the real problem is related to the URLs the spammers uses. So maybe there's a function like "URL registering"?
    So if a user wants to add a URL which is not known by Armbian he needs to register it with a small form or so and a moderator needs to approve the URL.
    Another concept could be that posts with unknown URLs needs to be approved even if they are changed after a while.
    So the system needs to run the approval recognition not only on new posts but on each change to.

    What's with the existing spam URLs?
    I don't know if such functions exists but if we could run through all posts with URLs (maybe inside the database) and disapprove all posts with unknown URLs then we have a list we can score.
    Moderators would need to approve all this posts again and register the URLs if they are valid. Maybe we should do this with a small amount of posts each.
    So we would need a function like "disapprove the first 100 posts with unknown URLs". May be we could assign each moderator a few posts automatically so he can approve 10 posts a week or so.
    11 Moderators would solve 110 posts a week. I don't know how big the problem is but the year has 52 weeks so we could to a lot of work without really doing anything.

    I'm absolutely new to this forum so maybe this is all nonsense but hiring volunteering spamfilters does not seem to be the smart way.

     
  3. Like
    JMCC got a reaction from TonyMac32 in Armbian 20.02 (Chiru) Release Thread   
    Well, I don't want to point out something that went wrong, but on the contrary I want to emphasize all the things that went well. Having been disconnected from Armbian for some months, I can see a major improvement in the project's organization. Things like a predictable release cycle, tagged repo with all the releases, scheduling and coordinating, bug tracking... I can see a lot of work has been put into it, and IMO the results are excellent. 
     
    So a big congrats to everyone who took part on it! Great job! 
  4. Like
    JMCC got a reaction from lanefu in Armbian 20.02 (Chiru) Release Thread   
    Well, I don't want to point out something that went wrong, but on the contrary I want to emphasize all the things that went well. Having been disconnected from Armbian for some months, I can see a major improvement in the project's organization. Things like a predictable release cycle, tagged repo with all the releases, scheduling and coordinating, bug tracking... I can see a lot of work has been put into it, and IMO the results are excellent. 
     
    So a big congrats to everyone who took part on it! Great job! 
  5. Like
    JMCC got a reaction from 062621AM in Any remote desktop solution working over Internet?   
    Still, RDP and VNC are not secure enough to open a port directly to Internet.

    I rather suggest x2go, which is much more secure (works over ssh), and also a lot faster. Plus, it allows forwarding of sound, local folders and printers.

    http://wiki.x2go.org

    Enviado desde mi Aquaris M mediante Tapatalk
     
  6. Like
    JMCC reacted to martinayotte in using the RTC connector Nanopi R1.   
    Although the battery connector allows to keep the RTC running while board is powered off, there is no PMIC to control power of the board from some kind of WakeUp Alarm.
  7. 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!
  8. Like
    JMCC got a reaction from Igor in Armbian 20.02 (Chiru) Release Thread   
    No, I mean for the future. When focal is released, still leave Bionic for rockchip legacy desktop as an available download in the main page. Only for legacy desktop, not current
  9. Like
    JMCC got a reaction from TRS-80 in Armbian 20.02 (Chiru) Release Thread   
    Here is an update about multimedia integration: I have been trying to make all the Rockchip-legacy stuff work on Buster, and I am not able to get accelerated X desktop. I cannot find the exact cause, apparently something is making eglInitailize() fail. My guess is it has something to do with mesa libs, but could not debug the exact cause.
     
    In Rockchip, they are working in a completely new approach, using exa instead of glamor acceleration. They need to use for that another particular feature of their SoC's, called Rockchip-rga, which in turn needs its special kernel driver and userspace libs (similar to their rk-mpp). So far, it does not seem to be working in the 'stable-4.4-rk3288-linux' branch we are using, and the stable-v2 branch does not compile ATM. I wasn't even able to make it work with their own linaro image.
     
    So my proposal is that we keep the download option of Bionic Legacy Desktop for all the rockchips, with the link to the media-script thread, for those who need to use some of the features that are still only available in legacy kernels. ( @Igor would it be possible to keep it for a while? Bionic still has three years of support ).
     
    With newer releases (Buster, Focal), we will focus on mainline, and hopefully at some point legacy won't be necessary at all.
     
  10. Like
    JMCC got a reaction from mar0ni in [Development] RK3399 media script   
    Yes, it is a known issue with glamor, that instead of "accelerating" it slows down certain 2D operations. In the case of Rockchip's modified glamor to work with OpenGL-ES, It is even worse. It is the trade-off for having the possibility of an accelerated canvas for 3D, video playing, browser, etc.
     
    However, in the mainline kernel and current X server, they are tweaking glamor to be much more efficient. Hopefully we can see a stable version soon.
  11. Like
    JMCC reacted to TonyMac32 in RK3328 Kernel   
    The media script is only functional with the rockchip 4.4 kernel.  The upstream decoder support is incomplete, and incompatible with the Rockchip driver.
  12. Like
    JMCC got a reaction from Redferne in Armbian 20.02 (Chiru) Release Thread   
    Well, they have backported mesa to bionic-updates, up until 19.2 so far. So it is very likely that in the near future they will backport 19.3 too.
     
    Maintaining our own package for mesa 19.3 would be a source for trouble, IMO.
    I propose to disable glamor in /etc/X11/xorg.conf.d/01-armbian-defaults.conf, by adding something like this:
    Section "Device" Identifier "Default Device" Driver "modesetting" Option "AccelMethod" "none" ### "glamor" to enable 3D acceleration, "none" to disable. EndSection This will do the trick for the time being, and will make it very easy to enable acceleration when the necessary libs are available.
  13. Like
    JMCC got a reaction from lanefu in Armbian 20.02 (Chiru) Release Thread   
    I'll try to make it for Jan 25 with the integration of multimedia support into the build script
  14. Like
    JMCC got a reaction from TRS-80 in Daily (tech related) news diet   
    Run for your life...!!!
  15. Like
    JMCC reacted to _r9 in Help on forum moderating   
    Hi Igor,
     
    it would be an honour to help you on your project. I highly respect this forum and I'm really interested in ARM Technologies and Debian based distributions. My hat's off to the guys at Armbian to manage a huge project like this
    Besides that I'm using SBCs for server solutions another attempt to get a deeper look into ARM technology was to deal with Banana Pi products on Amazon. This attempt cost me a lot of time and in the end I almost lost my company too. The product line of SinoVoip or Bipai Keji (HK) Limited got messier each month. After they fired my main supporter anything got worse. Since then I'm seeking for a new opportunity for my company to get a footstep into the ARM world. Especially the Armbian Forum.
     
    I ceased the Amazon sales last week. Therefore I have a few hours left each week for a new project. So the time would be perfect to support an opensource project. If you're interested, I'd looking forward to get to know each other on the Armbian Forum.
    What might interests you as well is that I worked as a first level supporter, almost for elder people, for 3 years. So I know my place if something gets out of control and people gets angry or confused.

    The only problem I may see is if you need moderators with short reaction times or too much hours each day. I think I can handle work like once, maybe twice, a day for something around an hour or so - 12/5.

    I'm looking forward to read you
    Best Regards, _r9
     
  16. Like
    JMCC reacted to balbes150 in OFTOPIC Growing popularity of the Armbian resource.   
    Now I paid attention to the numbers of visitors
    I have never seen such an influx of guests ....
     
    14 Members, 0 Anonymous, 1208 Guests (See full list)
  17. Like
    JMCC got a reaction from manuti in [HOWTO]: Emby Server with hardware transcoding in XU4/HC1/HC2 Armbian Stretch   
    As a result of all the work that Armbian developers put into the upgrade to kernel 4.14 for the XU4 board family, now we can enjoy many new features. One of them is the access to the SoC video encoding capabilities.
     
    Emby Media Server can take advantage of the Exynos 5422 MFC video engine for transcoding. That means lower CPU usage, lower temperatures, and the possibility of encoding in real time higher resolutions or more simultaneous streams. In my tests, I've been able to transcode one HEVC 1080p and one 480p at the same time, or five 480p (though it will depend on the bitrate of the source material).
     
    However, the ffmpeg version shipped with official Emby is quite unstable when using this feature. For that reason, I compiled a better and more stable version from @memeka's repo. I've been using it for over a month without a single crash.
     
    So this is a step-by step guide on how to make everything work:
     
    0. [PREREQUISITE]: You must be running an Armbian Strech XU4 "Next" image, like the one you can download here.
     
    >> DOWNLOAD the emby and ffmpeg packages from this link << Install them (Note: this will install Emby Server version 3.5.3, which is the last at the writing of this tutorial. It has been tested to work with this version, and may or may not work with any other): $ tar xvf emby-server-stretch-xu4_1.0.tar.xz $ sudo dpkg -i ffmpeg/*.deb $ sudo dpkg -i emby-server/*.deb $ sudo apt -f install  
    Hold the ffmpeg packages, so they don't get upgraded:  
    $ sudo apt-mark hold ffmpeg-doc ffmpeg libavcodec-dev libavcodec-extra libavdevice-dev libavfilter-dev libavfilter-extra libavformat-dev libavresample-dev libavutil-dev libmysofa-dev libmysofa-utils libmysofa0 libpostproc-dev libswresample-dev libswscale-dev  
    Add the user "emby" to the video group, so it can have access to the transcoding engine: $ sudo usermod -aG video emby  
    Modify the emby executable, to use our custom ffmpeg (Note: you will need to repeat this step every time you update the emby deb package): $ sudo nano /opt/emby-server/bin/emby-server # Change the following line: ffmpeg $APP_DIR/bin/ffmpeg \ # to: ffmpeg /usr/bin/ffmpeg \  
    Restart the service:
    $ sudo service emby-server restart  
    Now, you can open the web browser, point to your Emby server (e.g. http://odroidxu4.local:8096), and configure it as described in the official tutorial (https://github.com/MediaBrowser/Wiki/wiki/Installation).
    For last, you need to enable Hardware video transcoding in the web interface. The option is under the "Transcoding" submenu. Don't forget to click on "Save" when you are done:
     
     

     
    And that's it!
     
    As an additional tip, I recommend disabling UPnP in Emby, because it causes the program to crash frequently when enabled (this is just a general recommendation, it has nothing to do with hardware encoding).
     
    Enjoy! And please, share your experiences and comments here.
  18. Like
    JMCC got a reaction from manuti in Exynos 5422 (Odroid XU4, HC1, HC2) Media Testing Script   
    The ffmpeg provided in the thread above should work, if you are using Debian Stretch. Please follow these steps:
    Install the ffmpeg packages, and hold them to avoid upgrades, as described in the thread above Make sure your user is part of the "video" group: sudo usermod -aG video <yourusername>  
    Then reboot, and try the following command line: ffmpeg -i <infile> -an -vcodec h264_v4l2m2m -b:v 2M -pix_fmt nv21 <outfile>.mp4  
    Post here the results. 
  19. Like
    JMCC got a reaction from manuti in Exynos 5422 (Odroid XU4, HC1, HC2) Media Testing Script   
    The UN-official, UN-supported, UN-timely, UN-derrated...
    Exynos 5422 MEDIA TESTING SCRIPT
     
    Yes, the script is somewhat untimely, because it comes when including kernel 4.14 in Armbian next images is getting troublesome. And underrated, because this old SoC seems to be losing the focus of attention in favor of some more modern powerful ones. But it is still a great SoC, and it is worth trying to get the best out of it.
     
    The script will provide the installation of all the libraries and system configurations necessary for GPU accelerated X desktop, Chromium WebGL,VPU decoding/encoding acceleration through MFC, and GLES 3.1 / OpenCL 1.1 support.
    It will also install two media players (MPV and Kodi stable) and FFmpeg, all of them using VPU acceleration.
    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).
    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.
     
    Since all the features require the 4.14 kernel to work, the script will also give the option to install an archived 4.14.43 Armbian kernel, in case some other version is detected in the system. Of course, the best option is to use armbian-config to perform a kernel upgrade, but we are providing the archived version just in case the 4.14 packages disappear temporarily from Armbian repos.
     
    Also, this script can be tailored for desktop or headless installation, by selecting the appropriate options in the main menu.
     
    Here is a more thorough documentation:
    >>> DOWNLOAD LINK <<<
    Instructions:
    Download the file above
    Untar it: tar xvf media-exynos5422_1.0.tar.xz
    cd exynos5422
    ./media-exynos5422.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!
  20. Like
    JMCC got a reaction from Werner in web browser running as root   
    It should run as your regular user. Can you launch the browser from console (as your regular user), and post here the output?
  21. Like
    JMCC got a reaction from qblueRed42 in Why can not we run armbian on all of the android phones?   
    Besides, you can already install linux on Android phones, using apps such as Linux Deploy.
  22. Like
    JMCC got a reaction from gounthar in Arm board with hardware accelerated AES out-of-the-box in Armbian?   
    You're right, now I remembered there are some arm64 SoC's that don't have crypto extensions because the manufacturer didn't pay the license. For example, Amlogic S905 (though S905X has the extensions). So we can also discard Odroid C2 and Nanopi K2.
  23. Like
    JMCC got a reaction from gounthar in Big sale on Odroid MC1   
    Wow, the discount is huge. Though, since shipping and toll fees will be much more than the board itself, you need to order several units to make it worth.
     
    Good choice!
  24. Like
    JMCC got a reaction from NicoD in [Development] RK3399 media script   
    Let's see if I get a chance to look at it. Thanks!
  25. Like
    JMCC reacted to balbes150 in [Development] RK3399 media script   
    Maybe it's time to try creating a set with HW acceleration of full screen video playback based on the new kernel 5 ?
    All necessary components are already working (tested using LE images with kernel 5 for rk33xx and HW).