| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 29,858
» Latest member: authorjaw
» Forum threads: 16,313
» Forum posts: 117,377
Full Statistics
|
| Latest Threads |
Pinebook Pro in EU for Sa...
Forum: General Discussion on Pinebook Pro
Last Post: Anthona
Yesterday, 12:50 AM
» Replies: 5
» Views: 7,343
|
New Pinetab- error when a...
Forum: PineTab Software
Last Post: authorjaw
02-08-2026, 08:19 PM
» Replies: 0
» Views: 45
|
What about a Pine digital...
Forum: General
Last Post: gwennelsonuk
02-08-2026, 08:11 PM
» Replies: 8
» Views: 8,043
|
Proposal: an open mp3/med...
Forum: General
Last Post: gwennelsonuk
02-08-2026, 08:08 PM
» Replies: 1
» Views: 53
|
Pinephone (Pro) Keyboard ...
Forum: PinePhone Accessories
Last Post: Ondy
02-08-2026, 07:41 PM
» Replies: 7
» Views: 14,812
|
Ethernet does not work
Forum: Ethernet Port
Last Post: zetabeta
02-06-2026, 11:58 PM
» Replies: 1
» Views: 77
|
Fitting new case
Forum: Pinebook Pro Hardware and Accessories
Last Post: RicTor
02-06-2026, 07:09 AM
» Replies: 0
» Views: 76
|
Rockchip gets DMCA'ed on ...
Forum: General Discussion on PinePhone
Last Post: hanmira
02-04-2026, 08:43 PM
» Replies: 3
» Views: 720
|
Advice on PineNote
Forum: General Discussion on PineNote
Last Post: LogicalAtomist
02-04-2026, 06:51 PM
» Replies: 0
» Views: 123
|
curious iPhone user here
Forum: General Discussion of PinePhone Pro
Last Post: zetabeta
02-03-2026, 03:18 AM
» Replies: 23
» Views: 9,802
|
|
|
| games |
|
Posted by: abrmx - 08-05-2017, 01:49 AM - Forum: General Discussion on Pinebook
- Replies (20)
|
 |
Hello
I have just installed to my pinebook the Xenial image. What games do you have tried?
I have just tested Openarena and is kind of slow....but playable. Maybe with some tweaks...
|
|
|
|
pdeclib pilib modules for Pine, Rock, Pinebook, Sopine |
|
Posted by: MarkHaysHarris777 - 08-04-2017, 10:46 PM - Forum: General Discussion on PINE A64(+)
- Replies (7)
|
 |
In March of 2014 I wrote a transcendental functions module for python ( in pure python ) which leverages the relatively new Decimal module; especially fast in Python3 on x86 machines.
As it turns out these routines are also especially fast in Python3 on the Rock64 and the Pinebook; although, I have used them to benchmark on the PineA64 also; fast in its own right.
The Decimal module is written and optimized in C. My module(s) live on pypi and are being made available here for others who may want to experiment with big-nums maths or who may specifically want to run my PI benchmarks themselves. The pdeclib pilib module(s) will run on python2 or python3 unchanged; they may be run in the REPL in "calculator" mode or they may be easily scripted. The module(s) provide transcendental functions to arbitrary precision as well provide several PI routines which converge relatively quickly -- particularly fast is piagm2(). These routines are also useful for those who want to study maths codes for convergent series.
The pdeclib package may be obtained here:
The package contains pdeclib.py (the main transcendental functions module) and pilib.py (several useful historical PI routines). I hope they are useful, but recognize that they may not be complete, nor free from bugs; however, they are intended to be used and studied, and they have been available on-line for several years.
To use the modules simply place the two files in a working directory (or in your PythonPath) and then run the python REPL of choice in that directory , or path. Then import the modules in the normal way:
>>> from pilib import *
The module pilib will import pdeclib; although pdeclib may be imported alone. The default number of digits used is 42. This may be changed with the function:
>>> dscale(1010)
The above will set the number of big-num Decimal places to 1,010. To compute PI run:
>>> piagm2()
Read through the source (header and readme files) for caveat(s) and to find the syntax of the various functions provided by the package. There are no blobs, and the source is 100% pure python code; what you see is what you get.
The following script is a Python3 example script for running the PI benchmark on any of the Pine boards and a gnu+linux image. Its a simple script which starts the Python interpreter, imports the requisite modules, and executes the piagm2() AGM PI routine, to 1010 places. This result will be accurate to +|- in the last two places. The signature digits for the 1000th place are 164201989. Also, at position 762 you will find six nines ... 999999.
PI-calc.sh
Code: #!/usr/bin/python3
from pilib import *
dscale(1010)
print(piagm2())
To run the codes above use the 'time' command with the script and the modules in your working directory:
time ./PI-calc.sh
Don't forget to make the script executable with : chmod 0754 PI-calc.sh
The above command will give you 1000+ correct digits of PI in a few hundred milliseconds, and will also tell you how much 'real' , 'system' , and 'user' time was used. You might find it interesting to compare the computations on our four platform boards for 1K, 5K, and 10K digits of PI !
These little SoC(s) particularly running aarch64 ArmV8 64bits are very fast; so, knock your SoC(s) off !
Note: It is interesting to run four or more terminals [ each running piagm2() ] to load the processor (all cores) for watching the temps in /sys/class/thermal/ or for experimenting with SMP.
Note: Other things affect the speed of these calcs, like gcc version and kernel version; experiment with different gnu+linux builds; try these codes and compare with different images. Hav'fun.
Note: Some believe this kind of bench-marking to be silly; to the contrary, this is a tool that provides valuable insight into the comparative operation of the SoC(s) for maths, as well for 32bit vs 64bit, as well for cache vs RAM. Its just one tool and only gives a partial picture, yet is a fun way to explore your SoC(s), and learn some maths and python at the same time !
Note: here is sample run from rock64 xenial minimal image 0.3.7:
Code: rock64@rock64:~/Python$ time ./PI-calc.sh
3.141592653589793238462643383279502884197169399375105820974944592307816406286208
99862803482534211706798214808651328230664709384460955058223172535940812848111745
02841027019385211055596446229489549303819644288109756659334461284756482337867831
65271201909145648566923460348610454326648213393607260249141273724587006606315588
17488152092096282925409171536436789259036001133053054882046652138414695194151160
94330572703657595919530921861173819326117931051185480744623799627495673518857527
24891227938183011949129833673362440656643086021394946395224737190702179860943702
77053921717629317675238467481846766940513200056812714526356082778577134275778960
91736371787214684409012249534301465495853710507922796892589235420199561121290219
60864034418159813629774771309960518707211349999998372978049951059731732816096318
59502445945534690830264252230825334468503526193118817101000313783875288658753320
83814206171776691473035982534904287554687311595628638823537875937519577818577805
321712268066130019278766111959092164201989380952572
real 0m0.263s
user 0m0.231s
sys 0m0.029s
Note: the signature digits for the 5,000th digit are : 132604721
Note: the signature digits for the 10,000th digit are : 256375678
|
|
|
|
| Download links not working |
|
Posted by: mustha - 08-04-2017, 09:10 AM - Forum: Accessories
- Replies (5)
|
 |
Hello!
I can't download the PineWifiServer.gz file from the wiki page.
All the links in the Program/Driver section of the Downloads except the first three are not working.
Is there any other place I can get the Wifi Server.
Best regards
|
|
|
|
| Read if you experience issues with screen flickering |
|
Posted by: Luke - 08-04-2017, 09:02 AM - Forum: General Discussion on Pinebook
- Replies (18)
|
 |
Edit (15/10/2017) Newest pre-release image allows you to set display mode to fix flickering. Check ayufan's git.
It seems that the newest batch (as of 04/08/2017) of Pinebooks shipped with an older Ubuntu image based on 3.10.105-bsp-1.2-ayufan-59 (you can check if your's is running this version by typing uname -a in terminal).
Some Pinebook's experience screen flickering while running this kernel version, which is solved by upgrading to newest release version.
To update your installation navitgate to /usr/local/sbin and run the following update scripts:
Code: sudo ./pine64_update_kernel.sh 0.6.2
sudo ./pine64_update_uboot.sh 0.6.2
sudo ./pine64_update_package.sh 0.6.2
Run all three and then reboot.
For those feeling adventures and who want to try out pre-release images with additional features but also bugs and broken settings please see ayufan's git releases with instructions on how to update.
|
|
|
|
| eta linux image?? |
|
Posted by: firosiro - 08-03-2017, 09:29 PM - Forum: Linux on Pine A64(+)
- Replies (1)
|
 |
Pine64 corp when will you have Ubuntu linux ready?
You promised I think in one of the videos a demonstration of Linux on pine64. It would be good to see it now, especially since the delays.
|
|
|
|
|