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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,700
» Latest member: runongw
» Forum threads: 16,260
» Forum posts: 117,188

Full Statistics

Latest Threads
Volumio (PINE A64-LTS / S...
Forum: Linux on PINE A64-LTS / SOPINE
Last Post: kapqa
Yesterday, 02:02 AM
» Replies: 8
» Views: 15,528
Reinstallation Arch Linux...
Forum: General Discussion on PineTab
Last Post: rth
11-22-2025, 08:25 PM
» Replies: 1
» Views: 212
Old Danctnix server in Pa...
Forum: PineTab Software
Last Post: brorean
11-21-2025, 08:45 PM
» Replies: 1
» Views: 141
PinePhone, PinePhone Pro,...
Forum: PinePhone Hardware
Last Post: brb78
11-20-2025, 04:15 PM
» Replies: 0
» Views: 115
Recycling pinephone as ho...
Forum: PinePhone Hardware
Last Post: biketool
11-20-2025, 09:04 AM
» Replies: 5
» Views: 616
Light Sensor / Proximity ...
Forum: General Discussion on PinePhone
Last Post: WhiteHexagon
11-18-2025, 03:07 PM
» Replies: 1
» Views: 179
How to stop it turning on
Forum: General Discussion on PinePhone
Last Post: biketool
11-18-2025, 02:30 PM
» Replies: 3
» Views: 481
8/24 status of JumpDrive
Forum: PinePhone Software
Last Post: biketool
11-18-2025, 01:27 PM
» Replies: 5
» Views: 2,177
Questions about running U...
Forum: General Discussion on PineTime
Last Post: alicesphere
11-18-2025, 12:48 AM
» Replies: 0
» Views: 109
Difficulty with openSUSE ...
Forum: PinePhone Software
Last Post: danm1988
11-17-2025, 07:49 AM
» Replies: 0
» Views: 106

 
  Looking for some guidance
Posted by: FeMike - 02-05-2020, 02:31 PM - Forum: Linux on Pinebook Pro - Replies (12)

So i  borked my os a few times and have reflashed the Debian without issue. But as I'm still new to this it takes me a bit to get back to my setup. I've tried timeshift with some success but would like to learn the process without any apps. What I'm trying to do is set my machine up the way I like it and make an image of that setup for ease of restore. 
1st- I take an image with
     sudo DD if=/dev/mmcblk1 | gzip -c > /media/FeMike/sdcard1 backup.img.gz
Then I take that card bring it to my windows pc and use balena etcher to flash it to another sdcard. I power down my pb64 plug the card in them turn it back on and it is still booting from Emmc. What strep am I missing or is this the wrong way to go about it? Thank you


  Pinebook pro will not run a long stress test of OpenCL
Posted by: gal_shalif - 02-05-2020, 01:48 PM - Forum: Linux on Pinebook Pro - Replies (1)

Summary:

  • A stress test of SGEMM (matrix multiplication) using OpenCL will slow down after 150 iterationbs.
    • Details:
      • Test is running fine during the first 100 iterations (multiply two matrix of 512 x 512). It will slow down to 1/2 speed after about 150 iterations, and will slow down farther to about 1/4 speed after 200 iterations, etc.
      • Note: test is running fine if sleeping for 20 seconds after every 100 iterations
Question:
  • Do the Pinebook pro GPU has a hardware problem (ex: over heating) that prevent running a long OpenCL stress test?
Details:
  1. Pinebook pro setup highlights:

    1. Ubuntu 18.04 64bit (based on the root file system from: https://github.com/ayufan-rock64/linux-b...m64.img.xz)
    2. Compiler: gcc 8.3
    3. OpenCL 1.2 (wget --timestamp https://github.com/rockchip-linux/rk-roo..._arm64.deb)
    4. ARM Compute Library 19.11.1 (native compile of sources from https://github.com/arm-software/ComputeLibrary)
  2. [size=undefined]OpenCL is verified with:[/size]
  3. [size=undefined]Stress test:[/size]
    • SGEMM (matrix multiplication) using OpenCL of the ARM Compute Library 19.11.1 - the test code is appended below
Code:
// Example code is based on:
// * https://github.com/ctuning/ck-math/tree/master/program/acl-sgemm-opencl-example
//
// #ifndef ARM_COMPUTE_CL /* Needed by Utils.cpp to handle OpenCL exceptions properly */
// #error "This example needs to be built with -DARM_COMPUTE_CL"
// #endif /* ARM_COMPUTE_CL */

#include <arm_compute/core/Types.h>
#include <arm_compute/core/Helpers.h>
#include <arm_compute/core/ITensor.h>
#include "arm_compute/core/CL/CLKernelLibrary.h"

#include <arm_compute/runtime/Tensor.h>
#include "arm_compute/runtime/CL/CLFunctions.h"
#include "arm_compute/runtime/CL/CLScheduler.h"

#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iostream>

#include <cctype>
#include <cerrno>
#include <iomanip>
#include <string>
#include <sys/time.h>

using namespace arm_compute;

// (MM, MN, MK) can be override from compiler options
#ifndef MM
#define MM 512
#endif
#ifndef MN
#define MN 512
#endif
#ifndef MK
#define MK 512
#endif

int main(void)
{
 long num_repetitions=1;
 struct timeval before, after;

 unsigned int m=MM;
 unsigned int n=MN;
 unsigned int k=MK;

 if (getenv("NUM_REPETITIONS")!=NULL) num_repetitions=atol(getenv("NUM_REPETITIONS"));
 if (getenv("MM")!=NULL) m=atol(getenv("MM"));
 if (getenv("MN")!=NULL) n=atol(getenv("MN"));
 if (getenv("MK")!=NULL) k=atol(getenv("MK"));
 printf("NUM_REPETITIONS = %lu\n", num_repetitions);
 printf("m = %u\n", m);
 printf("n = %u\n", n);
 printf("k = %u\n", k);

 TensorShape AShape(k,m);
 TensorShape BShape(n,k);
 TensorShape OShape(n,m);

 CLTensor ATensor;
 CLTensor BTensor;
 CLTensor OTensor;
 CLScheduler::get().default_init();

 ATensor.allocator()->init(TensorInfo(AShape,Format::F32));
 BTensor.allocator()->init(TensorInfo(BShape,Format::F32));
 OTensor.allocator()->init(TensorInfo(OShape,Format::F32));

 CLGEMM gemm;

 gemm.configure(&ATensor, &BTensor, NULL, &OTensor, 2.0f, 2.0f);

 ATensor.allocator()->allocate();
 BTensor.allocator()->allocate();
 OTensor.allocator()->allocate();

 gettimeofday(&before, NULL);
 for(int r = 0; r < num_repetitions; ++r) {
   gemm.run();
   CLScheduler::get().sync();
 }
 gettimeofday(&after, NULL);
 double total_time = (after.tv_sec - before.tv_sec) + 1e-6*(after.tv_usec - before.tv_usec);
 
 double flops = 2.0*m*n*k;
 double gflops = 1e-9 * flops;
 double avg_time = total_time / num_repetitions;
 double avg_gflops_per_sec = gflops / avg_time;

 printf("M = %u\nN = %u\nK = %u\n", m, n, k);
 printf("TIME_TOTAL = %lf\n", total_time);
 printf("TIME_AVG = %lf\n", avg_time);
 printf("GFLOPS_AVG = %lf\n", avg_gflops_per_sec);

 printf("------------- CLBLAST-STYLE_OUTPUT\n");
 printf("m = %u\nn = %u\nk = %u\n", m, n, k);
 printf("ms_1 = %lf\n", avg_time*1000);
 printf("GFLOPS_1 = %lf\n", avg_gflops_per_sec);

 return 0;
}


  My first attempt at a wrap
Posted by: MIchael - 02-05-2020, 12:58 PM - Forum: General Discussion on Pinebook Pro - Replies (2)

Just a cheap wrap from Amazon and it's my first ever attempt. It is VERY FAR FROM perfect but it's ok. No experience with wrap but I believe it's too thick and not sticky enough to wrap around the edge correctly.. Anyway, if you want to see;

I actually used the Sharpie to darken the edges as it was white when trimmed.

https://imgur.com/4sE8BfQ
https://imgur.com/HjOngaz
https://imgur.com/9Nz3ZoJ
https://imgur.com/Blfb0zd
https://imgur.com/ZqZsrRt

I'll be replacing it when I can find a better wrap material.


  NAS v2 hardware?
Posted by: mystic221 - 02-05-2020, 11:33 AM - Forum: General - Replies (8)

I was hoping to see an announcement of a more robust NAS solution from Pine64 at FOSDEM, unfortunately no such luck. By chance is a solution similar to the Helios64 by Kobol in the development pipeline? 

cheers on all the great products released and coming soon!


  Is it possible to start a Linux X11 Server using the 7" DSI LCD?
Posted by: jfevang - 02-05-2020, 10:42 AM - Forum: General Discussion on PINE A64-LTS / SOPINE - No Replies

The problem: I cannot start an Xorg server with startx or xinit, and I never get past Xorg being unable to find a screen to display to.

Hardware: SoPine64, 7" LCD(https://store.pine64.org/?product=7-lcd-...reen-panel)
OS(output of uname -a): Linux sopine 3.10.105-bsp-1.2-ayufan-140 #1 SMP PREEMPT Tue Oct 30 14:21:35 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
Downloaded from https://github.com/ayufan-pine64/linux-b...tag/0.7.30 > assets > bionic-minimal-sopine-bspkernel-0.7.30-140.img.xz

I am using this specific OS because this is the only one I could find that enables using the 7" LCD with Linux

What I can do:
I can connect the display to the DSI port, connect a keyboard via usb and access the terminal on the lcd screen after enabling the lcd display via /boot/uEnv.txt
But I cannot start an Xorg server

Log file after running startx 
~/.local/share/xorg/Xorg.0.log

Code:
X.Org X Server 1.19.6
Release Date: 2017-12-20
[  2670.852] X Protocol Version 11, Revision 0
[  2670.853] Build Operating System: Linux 4.4.0-148-generic aarch64 Ubuntu
[  2670.855] Current Operating System: Linux sopine 3.10.105-bsp-1.2-ayufan-140
#1 SMP PREEMPT Tue Oct 30 14:21:35 UTC 2018 aarch64
[  2670.855] Kernel command line: console=ttyS0,115200n8 enforcing=0 cma=384M no
_console_suspend androidboot.serialno=041078918210181d070f androidboot.hardware=
sun50iw1p1 androidboot.selinux=permissive earlyprintk=sunxi-uart,0x01c28000 logl
evel=8 root=/dev/mmcblk0p2 eth0_speed=auto
[  2670.862] Build Date: 03 June 2019  08:11:53AM
[  2670.865] xorg-server 2:1.19.6-1ubuntu4.3 (For technical support please see h
ttp://www.ubuntu.com/support)
[  2670.867] Current version of pixman: 0.34.0
[  2670.871]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  2670.872] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2670.882] (==) Log file: "/home/pine64/.local/share/xorg/Xorg.0.log", Time: T
ue Feb  4 23:45:50 2020
[  2670.886] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  2670.889] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2670.889] (==) No Layout section.  Using the first Screen section.
[  2670.889] (==) No screen section available. Using defaults.
[  2670.889] (**) |-->Screen "Default Screen Section" (0)
[  2670.889] (**) |   |-->Monitor "<default monitor>"
[  2670.890] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[  2670.890] (**) |   |-->Device "Allwinner A10/A13 FBDEV"
[  2670.890] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  2670.890] (==) Automatically adding devices
[  2670.890] (==) Automatically enabling devices
[  2670.890] (==) Automatically adding GPU devices
[  2670.890] (==) Automatically binding GPU devices
[  2670.890] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2670.891] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  2670.891]    Entry deleted from font path.
[  2670.891] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  2670.891]    Entry deleted from font path.
[  2670.891] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  2670.891]    Entry deleted from font path.
[  2670.891] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[  2670.891]    Entry deleted from font path.
[  2670.891] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  2670.891]    Entry deleted from font path.
[  2670.891] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  2670.891]    Entry deleted from font path.
[  2670.891] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        built-ins
[  2670.891] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2670.891] (II) The server relies on udev to provide the list of input devices
.
        If no devices become available, reconfigure udev or disable AutoAddDevic
es.
[  2670.891] (II) Loader magic: 0x557678d010
[  2670.891] (II) Module ABI versions:
[  2670.891]    X.Org ANSI C Emulation: 0.4
[  2670.891]    X.Org Video Driver: 23.0
[  2670.891]    X.Org XInput driver : 24.1
[  2670.891]    X.Org Server Extension : 10.0
[  2670.893] (++) using VT number 1

[  2670.896] (II) systemd-logind: took control of session /org/freedesktop/login
1/session/c1
[  2670.897] (II) no primary bus or device found
[  2670.897] (II) LoadModule: "glx"
[  2670.898] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2670.901] (II) Module glx: vendor="X.Org Foundation"
[  2670.901]    compiled for 1.19.6, module version = 1.0.0
[  2670.901]    ABI class: X.Org Server Extension, version 10.0
[  2670.901] (II) LoadModule: "fbturbo"
[  2670.902] (WW) Warning, couldn't open module fbturbo
[  2670.902] (II) UnloadModule: "fbturbo"
[  2670.902] (II) Unloading fbturbo
[  2670.902] (EE) Failed to load module "fbturbo" (module does not exist, 0)
[  2670.902] (==) Matched modesetting as autoconfigured driver 0
[  2670.902] (==) Matched fbdev as autoconfigured driver 1
[  2670.902] (==) Assigned the driver to the xf86ConfigLayout
[  2670.902] (II) LoadModule: "modesetting"
[  2670.902] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  2670.903] (II) Module modesetting: vendor="X.Org Foundation"
[  2670.903]    compiled for 1.19.6, module version = 1.19.6
[  2670.903]    Module class: X.Org Video Driver
[  2670.903]    ABI class: X.Org Video Driver, version 23.0
[  2670.903] (II) LoadModule: "fbdev"
[  2670.903] (WW) Warning, couldn't open module fbdev
[  2670.903] (II) UnloadModule: "fbdev"
[  2670.903] (II) Unloading fbdev
[  2670.903] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  2670.903] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  2670.903] (WW) Falling back to old probe method for modesetting
[  2670.904] (EE) open /dev/dri/card0: No such file or directory
[  2670.904] (WW) Falling back to old probe method for modesetting
[  2670.904] (EE) open /dev/dri/card0: No such file or directory
[  2670.904] (EE) No devices detected.
[  2670.904] (EE)
Fatal server error:
[  2670.904] (EE) no screens found(EE)
[  2670.904] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  2670.904] (EE) Please also check the log file at "/home/pine64/.local/share/x
org/Xorg.0.log" for additional information.
[  2670.904] (EE)
[  2670.934] (EE) Server terminated with error (1). Closing log file.

What I've tried:
Running startx
Running xinit
Running X -configure
Modifying the existing X configuration files to reference what I think are the proper drivers for the LCD
The X configuration files are hosted online here: https://github.com/ayufan-pine64/linux-b...org.conf.d
Analyzing the hardware configuration using lspci(nothing), lsusb, lshw, lsmod, modinfo disp
Trying to install other drivers xf86-video-fbdev, xf86-video-modesetting, xf86-video-vesa

Any help is greatly appreciated. If anyone has started an X server before in a similar environment let me know


  The pineboard on the Pinebook Pro, is it replaceable? can it be replaceable?
Posted by: Dr.Uv@ - 02-05-2020, 10:41 AM - Forum: General Discussion on Pinebook Pro - Replies (1)

Hi,

As far as I understand the pinebook pro is running on a pineboard. I was wondering that if you can make it upgradable? If it is not already... I mean for this, to be able to replace the board in the Pinebook Pro 64 for a new Pineboard that is more powerful and can keep the demands. In this way, I can unplug the board, install the new one, plug everything on the board and I have an instant powerful upgrade! In the worst scenario, can you make the SoC chip upgradable? I am just saying!

For me it is important to evolve the laptop, without requesting a new one with the new board inside. It is better for me and better for the planet!

Please let me know if this is or it is not the case already. 

Thanks and regards,


  lol touchpad causes mouse to move all over the place when using in a car
Posted by: james64 - 02-05-2020, 08:16 AM - Forum: General Discussion on Pinebook Pro - No Replies

This was so funny, but I'm guessing I may not be the first to see this issue. But wanted to mention here in case no one else has.

This morning on my way to airport I was using in the Taxi and noticed every time his car vibrated the mouse shifted a lot on screen. 

I try to replicate now by jerking it with my hands but does not. Something about the vibrations in the car were different. Even with hands off the laptop the mouse moved all over the place. 

I enabled the disable while typing feature but does not affect.

Hopefully this is an easy fix with a patch or something to ignore vibrations or as I'm leaning toward a simple brain fart moment....

THAT SAID: I will test one more time later today to make sure that my wireless mouse was not turned on. Because it usually times out and turns off itself overnight but who knows, that would be a good explanation, because I cannot repeat the issue with shaking laptop. lol

Either way I'm loving my PBP. Today it has replaced my work laptop officially. I've had no crashes in about a week of uptime. (standy only no shutdowns) and fiting nicely into 4GB of RAM even with 40+ tabs open and other apps.

EDIT: You can read my initial review here: https://haydenjames.io/pinebook-pro-my-f...etup-tips/
...I will update this shortly and include some more tips and tricks.

I've tried Debian, Manjaro, Ubuntu and Armbian and I highly recommend sticking with Debian and Armbian and hope that PBP team don't get too caught up into the Manjaro coolness factor. Debian is worth the effort to keep as the official distro at first boot.


  How to turn Bluetooth radio off by default
Posted by: SageFox - 02-05-2020, 06:05 AM - Forum: Linux on Pinebook Pro - Replies (6)

Hello I was wondering how the Bluetooth radio can be configured so it is off by default every time the system starts up? Thanks.


  PBP for SteamLink Streaming?
Posted by: Cephas - 02-04-2020, 04:09 PM - Forum: Linux on Pinebook Pro - Replies (3)

Howdy, I've been working on finding a way to get the SteamLink software up and running on the PBP with no luck. I'm very much a Linux beginner, so I'm hoping that someone can help me out with this as I don't know where to turn next. 

I've tried to compile the software from Valve's github with no luck. I'd really like to be able to use the PBP as a SteamLink - the hardware should do it fine since the actual Steam Link was an ARM board and they've also ported the Steamlink software to the Raspberry Pi and phones.

Can anyone point me in the right direction? I appreciate the help and patience!


  New orders for Pinebook
Posted by: rgeorge1 - 02-04-2020, 02:12 PM - Forum: General Discussion on Pinebook - Replies (1)

Hi - the Pinebook is showing as out of stock at the moment. Does anyone know when the next manufacturing run is scheduled to take place? I'm interested in getting a Pinebook