Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,505
» Latest member: wonghammer
» Forum threads: 16,202
» Forum posts: 116,908

Full Statistics

Latest Threads
Giving away a Pinebook Pr...
Forum: Pinebook Hardware and Accessories
Last Post: tuxifan
Yesterday, 04:16 AM
» Replies: 3
» Views: 1,364
Goolge banning Sideloaded...
Forum: General Discussion of PinePhone Pro
Last Post: zetabeta
08-27-2025, 11:59 AM
» Replies: 1
» Views: 858
What's stopping you from ...
Forum: General Discussion of PinePhone Pro
Last Post: teekay
08-26-2025, 11:48 PM
» Replies: 8
» Views: 1,375
Pinephone (Pro) Keyboard ...
Forum: PinePhone Accessories
Last Post: zetabeta
08-26-2025, 06:06 AM
» Replies: 3
» Views: 2,710
keyboard pogo pins part n...
Forum: General Discussion on PineTab
Last Post: starpp
08-26-2025, 04:34 AM
» Replies: 0
» Views: 939
google will take control ...
Forum: General
Last Post: zetabeta
08-25-2025, 03:14 PM
» Replies: 22
» Views: 10,490
Booting Issues
Forum: PineNote Software
Last Post: serenopolveroso
08-25-2025, 11:14 AM
» Replies: 19
» Views: 6,116
PINETAB-V doesn't boot.
Forum: Getting Started
Last Post: Woazboat
08-23-2025, 02:58 PM
» Replies: 1
» Views: 1,262
PinePhone Pro: Camera App...
Forum: General Discussion of PinePhone Pro
Last Post: teekay
08-22-2025, 11:23 PM
» Replies: 3
» Views: 3,271
PinePhone Pro discontinue...
Forum: General Discussion of PinePhone Pro
Last Post: teekay
08-22-2025, 11:19 PM
» Replies: 9
» Views: 1,934

 
Bug mpph264enc output doesn't work on bionic
Posted by: rompelstompel - 04-30-2018, 01:35 PM - Forum: Linux on Rock64 - Replies (11)

Hi 

I'm trying to use the rock64's hardware encoding capabilities. I'm super impressed with the decoding which has incredible performance! But encoding at this stage only works superficially and trying to decode it again fails.

The following produces unusable h264 (yes sudo is needed):

Code:
sudo gst-launch-1.0 -e videotestsrc is-live=false num-buffers=500 \
! video/x-raw,format=NV12,width=1280,height=720 \
! mpph264enc ! filesink location=1280.h264
Setting pipeline to PAUSED ...
mpi: mpp version: Without VCS, under bleeding
Pipeline is PREROLLING ...
h264e_api: h264e_config MPP_ENC_SET_RC_CFG bps 3456000 [3240000 : 3672000]
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:13.884810768
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

When trying with ffprobe:
Code:
ffprobe -hide_banner 1280.h264
[h264 @ 0x55a113f730] Format h264 detected only with low score of 1, misdetection possible!
[h264 @ 0x55a1140710] sps_id 32 out of range
[h264 @ 0x55a1140710] missing picture in access unit with size 7208704
[h264 @ 0x55a1140710] sps_id 32 out of range
   Last message repeated 2 times
[h264 @ 0x55a1140710] no frame!
[h264 @ 0x55a113f730] Stream #0: not enough frames to estimate rate; consider increasing probesize
[h264 @ 0x55a113f730] decoding for stream 0 failed
[h264 @ 0x55a113f730] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, h264, from '1280.h264':
 Duration: N/A, bitrate: N/A
   Stream #0:0: Video: h264, none, 25 tbr, 1200k tbn, 50 tbc
[h264 @ 0x55a1141950] sps_id 32 out of range
Could not open codec for input stream 0

I'm using a recent bionic build from ayufan:
Code:
Linux rock64 4.4.120-rockchip-ayufan-213 #1 SMP Sun Apr 29 20:27:33 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux

Software versions:
Code:
$ dpkg -l | egrep '(ffmpeg|rockchip|gstreamer)'
ii  ffmpeg                                    7:3.5~git20180113-1ayufan2        arm64        Tools for transcoding, streaming and playing of multimedia files
ii  gir1.2-gstreamer-1.0                      1.14.0-1                          arm64        GObject introspection data for the GStreamer library
ii  gstreamer1.0-libav:arm64                  1.14.0-1                          arm64        libav plugin for GStreamer
ii  gstreamer1.0-omx-bellagio-config          1.12.4-1                          arm64        OpenMax plugins for GStreamer
ii  gstreamer1.0-omx-generic                  1.12.4-1                          arm64        OpenMax plugins for GStreamer
ii  gstreamer1.0-plugins-bad:arm64            1.14.0-1ubuntu1                   arm64        GStreamer plugins from the "bad" set
ii  gstreamer1.0-plugins-base:arm64           1.14.0-2ubuntu1                   arm64        GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-good:arm64           1.14.0-1ubuntu1                   arm64        GStreamer plugins from the "good" set
ii  gstreamer1.0-plugins-ugly:arm64           1.14.0-1                          arm64        GStreamer plugins from the "ugly" set
ii  gstreamer1.0-rockchip1                    1.10-5ayufan12                    arm64        The Gstreamer plugins for Rockchip RK3xxx platform.
ii  gstreamer1.0-rockchip1-extra              1.10-1                            arm64        The Extra Gstreamer plugins for Rockchip platform.
ii  gstreamer1.0-tools                        1.14.0-1                          arm64        Tools for use with GStreamer
ii  gstreamer1.0-vaapi:arm64                  1.14.0-1                          arm64        VA-API plugins for GStreamer
ii  libdrm-rockchip1:arm64                    2.4.89-1ayufan1                   arm64        Userspace interface to msm/kgsl kernel DRM services -- runtime
ii  libffms2-4:arm64                          2.23-2                            arm64        Cross platform ffmpeg wrapper library
ii  libgstreamer-gl1.0-0:arm64                1.14.0-2ubuntu1                   arm64        GStreamer GL libraries
ii  libgstreamer-opencv1.0-0:arm64            1.14.0-1ubuntu1                   arm64        GStreamer OpenCV libraries
ii  libgstreamer-plugins-bad1.0-0:arm64       1.14.0-1ubuntu1                   arm64        GStreamer libraries from the "bad" set
ii  libgstreamer-plugins-bad1.0-dev           1.14.0-1ubuntu1                   arm64        GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-base1.0-0:arm64      1.14.0-2ubuntu1                   arm64        GStreamer libraries from the "base" set
ii  libgstreamer-plugins-base1.0-dev          1.14.0-2ubuntu1                   arm64        GStreamer development files for libraries from the "base" set
ii  libgstreamer-plugins-good1.0-0:arm64      1.14.0-1ubuntu1                   arm64        GStreamer development files for libraries from the "good" set
ii  libgstreamer-plugins-good1.0-dev          1.14.0-1ubuntu1                   arm64        GStreamer development files for libraries from the "good" set
ii  libgstreamer1.0-0:arm64                   1.14.0-1                          arm64        Core GStreamer libraries and elements
ii  libgstreamer1.0-dev                       1.14.0-1                          arm64        GStreamer core development files
ii  librockchip-mpp-dev                       1.4.0-1ayufan3-2                  arm64        Media Process Platform
ii  librockchip-mpp1                          1.4.0-1ayufan3-2                  arm64        Media Process Platform
ii  librockchip-vpu0                          1.4.0-1ayufan3-2                  arm64        Media Process Platform
ii  linux-headers-4.4.120-rockchip-ayufan-209 0.6.31                            arm64        Linux kernel headers for 4.4.120-rockchip-ayufan-209 on arm64
ii  linux-headers-4.4.120-rockchip-ayufan-213 0.6.34                            arm64        Linux kernel headers for 4.4.120-rockchip-ayufan-213 on arm64
ii  linux-image-4.4.120-rockchip-ayufan-209   0.6.31                            arm64        Linux kernel, version 4.4.120-rockchip-ayufan-209
ii  linux-image-4.4.120-rockchip-ayufan-213   0.6.34                            arm64        Linux kernel, version 4.4.120-rockchip-ayufan-213

The MPP stuff don't work at all with the mainline kernel which I also tried.


  USA manufacturing possibilities?
Posted by: Rustproof - 04-30-2018, 12:46 PM - Forum: News - Replies (3)

Any consideration on going with a US distribution company for the Rock64Pro or the other boards? There is a company out of California that specializes in quick-turn Printed Circuit Board Assembly.
https://www.laritech.com/


  Pinebook 14'' on sale
Posted by: milkaca - 04-30-2018, 12:18 PM - Forum: General Discussion on Pinebook - Replies (2)

Hi, I decided to sell my very little used 14'' Pinebook. It has one dead pixel, but I received it like that and it's very hard to spot it, I see it only during the boot on a totally black screen. Can ship world wide. Please contact me.


  gcc-multilib on ayufan's builds
Posted by: Malmgren - 04-30-2018, 10:55 AM - Forum: Linux on Rock64 - Replies (3)

Hi.
I'm trying to compile some 32 bit binaries on my Rock64, running ayufan's stretch-minimal 0.6.32. I'm stuck on the following:


Quote:Package gcc-multilib is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc-multilib' has no installation candidate

Anyone knows what to do?

The reason I'm doing this is because openhab only works well on 32 bit Java on arm, so I have to run openhab and all it's dependencies in 32 bits. Java is up and running, what I need to do now is build telldus-core.

I've found threads with Raspberry users having the same problem, so I guess this is in some way arm related?

edit: Ok, looks like I'm completely stuck. Maybe it isn't possible compiling armhf binaries on arm64 anyway? Found this: https://stackoverflow.com/questions/4497...v8-machine


Smile [Archived] ANNOUNCING RECALBOX FOR THE ROCK64 - ALPHA RELEASE
Posted by: Mrfixit2001 - 04-30-2018, 04:43 AM - Forum: Linux on Rock64 - Replies (95)

ANNOUNCING RECALBOX FOR THE ROCK64 - ALPHA RELEASE


After many efforts with much teamwork, collaboration, and testing, we are very excited to provide the ALPHA release of RECALBOX for the ROCK64 board!

DOWNLOAD HERE: https://github.com/mrfixit2001/recalbox_rock64/releases

Details on the ROCK64 SoC can be found here: https://www.pine64.org/?page_id=7147

For those of you unfamiliar with the software: https://www.recalbox.com/ 
"Recalbox offers a wide selection of consoles and game systems. From the very first arcade systems to the NES, the MEGADRIVE, 32-bit platforms (such as the Playstation) and even Nintendo64. With Kodi already includeed, Recalbox also serves as a Media Center. By connecting it to your home network, you will be able to stream videos from any compatible devices (NAS, PC, External HDD, etc.)."

Please do keep in mind that this is an ALPHA release, which means you should EXPECT some things not to work. We have done a fair amount of testing on our own to try and resolve as many issues as we can before this release, but now you get to help! (Lucky you!) So if/when you do find things that don't work right, please use the link in github to report the issue.

When reporting issues:

  • Provide logs or screenshots of the issue so that we can see the error(s) you are seeing

  • Provide detailed steps for us to follow in order to reproduce the issue
A few things you can expect not to work or be included (yet):
  • Amstrad (Caprice) Emulator

  • Dreamcast (Reicast) Emulator

  • SPI booting from USB
Some things we have added:
  • Upgraded Kodi (and addons) from Krypton to Leia

  • InputStream.Adaptive Kodi Addon

  • Multiple N64 cores so that you can select which core works best for you on each ROM!

  • Overclocked the CPU and the GPU by default
Some things we have tested:
  • Bluetooth and Wifi adapters from the Pine store have been tested and work for sure

  • N64 core named "n64" is "GLES2N64" and runs Mario Kart pretty smoothly
Some important notes:
  • You can only boot this image only from an SD card (eMMC and USB currently do not work out of the box). To boot from eMMC you need to set root=/dev/mmcblk1p2 in extlinux.
  • Sometimes when the image first boots there can be a delay. Please be patient and let this complete. It should not happen on every boot.

  • We highly recommend that you install a heatsink on the board with this image! The temp without a heatsink sit at 76C when in EmulationStation - which is just 4C under thermal throttling. With a heatsink - even a poor one - the temps are at approx. 66C and around 73C when playing mariokart (24*C ambient temp).
"Where's the source code?"
The alpha release is just the compiled image at this time while the source is cleaned up and organized in preparation to be made available for the recalbox team to maintain. The source code will be added to this same repository as soon as possible.

Lastly, please remember this is a community build, and just something I've worked on in my free time. There's no pressure at all, but if you appreciate the work then feel free to send me a buck on paypal: mrfixit2001 at gmail.


Special thanks go out to Substring at Recalbox and LukasZ at Pine64 for all their efforts in testing and feedback!

- Mr Fix-IT


  [PROBLEM SOLVED] Distcc Help
Posted by: cooker - 04-30-2018, 03:43 AM - Forum: Linux on Rock64 - Replies (2)

I want to enable AppArmor on 4.4.77-rockchip-ayufan-136 on Rock64.  To do that, I need to compile into kernel two more lines:

Code:
CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1
CONFIG_DEFAULT_SECURITY_APPARMOR=y

For learning purpose, I use distcc this time.  It will also enhances the usability of Rock64 if (test) compile of kernel can be a bit easier job.
For easy execution, I freshly build a Stretch VM on PC as distcc helper.  Because
1. it has exactly the same gcc --version as of the 136build : "gcc (Debian 6.3.0-18+deb9u1)"
2. no firewall on both VM and Rock64

I follow exactly the recipes here
https://github.com/ayufan-rock64/linux-b...-distcc.md
but things do not happen magically.

When running "top" on the VM, one or two "distcc" blinks shortly on the list around every 5 mins.
The /var/log/distccd.log consists a long list of
Code:
distccd[399] (dcc_job_summary) client: 192.168.0.52:54524 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:412ms cc drivers/base/devcoredump.c

While on the terminal to Rock64 where I fired
Code:
make -j 9 CC=distcc
it is fluid with
Code:
distcc[32589] (dcc_build_somewhere) Warning: failed to distribute, running locally instead

Can I conclude that network connection is established but something else is wrong?  Or, there is still some permission issues or what?

Or there is some compiler-related outstanding settings on the VM to fulfill the magic?
(gentoo and some other tutorials do quite some soft-link for gcc,..,g++;  not on the recipe here.)
When I run gcc -v, VM shows Target: x86_64-linux-gnu on VM, while Rock64 shows Target: aarch64-linux-gnu.  Do I need to align them, or output of gcc -v does not matter here?  If I do, what exactly should I do?  Run on VM a "export CROSS_COMPILES=??" or what?

Or, what else should I look into?

Thanks for your help.


  Write SPI Flash don't work
Posted by: djukonline - 04-29-2018, 01:09 PM - Forum: Linux on Rock64 - Replies (19)

Hi All,

I can not manage to write uboot to SPI with the installation procedure "flashing and procedure" on github.
I downloaded the latest u-boot-flash-spi.img.xz image and write on µSD with Etcher.
I boot from my µSD and I see the led flashing but there is no display on my screen. 
I left it all night, without result.

To test, I install xenial-minimal-rock64-0.6.33-211-arm64.img.xz image on micro sd but it does not work.
I reinstall xenial-minimal-rock64-0.5.15-136-arm64.img.xz image on micro sd but it work. If i update to v0.6.33, at reboot, it does not work anymore.

An idea?


Star ROCK64 FAQ
Posted by: danboid - 04-29-2018, 06:52 AM - Forum: General Discussion on ROCK64 - Replies (1)

Hi rock64 users!

I only found out about the rock64 a few days ago and couldn't believe it when I discovered it has been available for almost a year now! I'm a longtime ARM Linux fan. I got interested in ARM Linux by reading about Corel's Netwinder on Slashdot many moons ago but my ARM Linux journey didn't really begin until I got a SHARP Zaurus SL-3000 in about 2005. That was my 'second Amiga'. I still have it and it works great. I was the first person to get Arch Linux running on the 3000. I also own a Bananapi, a Pandaboard which I housed in the case of an Amiga 600 and an iMX6 SABRE lite board, amongst other devices.

The rock64 seems to be almost everything I've being waiting for in an affordable SBC - mainly due to the USB3 bus and gige combo. I know a lot of people are disappointed that rock64 doesn't have integrated wifi or BT or camera support but for me the only real letdown is the use of Mali graphics, which cannot be used without non free drivers. I would love to see pine64 with either a Tegra X1 GPU (or K1 or anything that has working open drivers) or alternatively any of the Adreno GPUs supported by Freedreno.

I've had a look over these forums and the rock64 wiki but I still have a number of questions:

* I can't see a rock64 FAQ anywhere. Am I missing it or does it really not exist?

* I've read a few reports of people having issues such as kernel freezes/crashes or connectivity dropouts when trying to use SATA drives via the USB3 port. Is it possible to power a spinning 2.5" HD using only USB bus power on the rock64 or not? How about using SSDs via USB SATA adapters using only bus power? I have read that disabling UAS (SATA over USB) can help improve things but is that still necessary? Are USB3 disks reliable if using external power?

* What is the deal with the Xorg graphics driver? Will it only work with a specific kernel or kernel versions? Is it known to work with the latest stable mainline kernel?

* Is there any proper 2D X/DDX driver for the Mali version used in the rock64, closed or otherwise? Any plans for an open source 2D X driver?

* I've read about ayufan's kernels which made me wonder, does the latest mainline kernel support all of rock64's hardware or not? What only works using the blessed rk kernel versus mainline latest?

* I see mpv has been patched to include support for using rock64's hardware video decoder (MPP?). Has anyone tried playing any 4K, 30fps h264 or mp4 files using the MPP patched mpv?

Thanks!


  Boot Problems, LEDs lit continuously
Posted by: Facecreator - 04-28-2018, 10:53 AM - Forum: General Discussion on ROCK64 - Replies (22)

Hello, please excuse my bad english, come from germany. I got my ROCK64 today, with original power supply. Have written several images on different SD cards. But he just does not boot. All 3 LEDS are lit continuously and the TV says "no signal". (have tried different HDMI cables). Can you help me?
 Many Thanks


  [SOLVED] stuck at emmc
Posted by: dr_dre - 04-28-2018, 09:46 AM - Forum: General Discussion on ROCK64 - Replies (10)

Hello all,

ill try tell my problem.

I used u-boot-flash-spi-rock64.img.xz on microsd to flash spi and be able to boot from emmc. 
I used android tv as my emc image.
I played with it for some time ( worked okish btw) 
ANd now im lost.
I cant find my emmc ( I lost it) ( yeah blame me Tongue )
how will i be able to boot from micro sd . 
As soon as i turn on power all 3 leds all are lit bright and are not doing anything. neither will he boot from usb or from microsd. ( tried several sd cards and boot imgs)

Any help is appreciated.

Cheers.
Dre