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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,968
» Latest member: MichelleKonzack
» Forum threads: 16,334
» Forum posts: 117,438

Full Statistics

Latest Threads
Looking for engineer for ...
Forum: PinePhone Pro Hardware
Last Post: Andrey_voce
04-06-2026, 08:44 AM
» Replies: 0
» Views: 144
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: mara
04-05-2026, 03:03 AM
» Replies: 19
» Views: 8,682
Finally got Kali working ...
Forum: General Discussion on Pinebook Pro
Last Post: qingss0
04-04-2026, 08:00 AM
» Replies: 0
» Views: 238
Charging problem
Forum: General Discussion on Pinebook Pro
Last Post: RicTor
04-04-2026, 07:30 AM
» Replies: 0
» Views: 109
Latest firmware for PineP...
Forum: PinePhone Software
Last Post: baptx
04-03-2026, 08:37 AM
» Replies: 106
» Views: 216,856
Updates have gotten me ex...
Forum: General Discussion on PineNote
Last Post: bills2002
04-02-2026, 05:16 PM
» Replies: 0
» Views: 194
Voidlinux working on eMMC
Forum: General Discussion on PineTab
Last Post: tllim
04-01-2026, 04:14 PM
» Replies: 1
» Views: 278
Pinecil V2 doesn’t power ...
Forum: General Discussion on Pinecil
Last Post: Juptin
03-28-2026, 02:37 AM
» Replies: 1
» Views: 2,075
dead Pinebook - help plea...
Forum: General Discussion on Pinebook Pro
Last Post: williamcorlin
03-26-2026, 04:22 PM
» Replies: 3
» Views: 935
BT PAN - we need iptables...
Forum: Mobian on PinePhone
Last Post: biketool
03-25-2026, 12:57 PM
» Replies: 1
» Views: 601

 
  Hardware accelerated video encoding
Posted by: PinePhoneCoder - 02-19-2020, 04:39 PM - Forum: PinePhone Hardware - Replies (4)

According to the user manual (http://files.pine64.org/doc/datasheet/pi...l_V1.0.pdf) of the Allwinner A64, it supports Hardware accelerated video encoding.


Quote:A64 provides almostfull  motion  playback  of  up  to 4K high-definition  video,and  supports H.265 decoder by 4K@30fps ,H.264 decoder by 1080p@60fps, MPEG1/2/4 decoder by 1080p@60fps, VP8 decoder by 1080p@60fps, AVS/AVS+   decoder   by   1080p@60fps,VC1   decoder   by   1080p@30fps,   H.264   encoder   by 1080p@60fps with dedicated hardware.


Can anyone guide me in the right direction how to encode video hardware accelerated?

The following script records 10 seconds of video, but it uses raw video and after the recording it converts it to mp4:
Code:
#!/bin/bash
sudo chmod 777 /dev/media1
sudo chmod 777 /dev/video1
NAME=$(date +"%Y%m%dT%H%M%S")
media-ctl -d /dev/media1 --set-v4l2 '"ov5640 2-003c":0[fmt:UYVY2X8/1280x720]'
ffmpeg -f rawvideo -pixel_format yuv420p -s 1280x720 -f video4linux2 -i /dev/video1 -vcodec copy -t 10  ~/Videos/$NAME.yuv
ffmpeg -f rawvideo -pixel_format yuv420p -s 1280x720 -i ~/Videos/$NAME.yuv ~/Videos/$NAME.mp4
rm ~/Videos/$NAME.yuv

Or see here: https://github.com/dirkjanbuter/pinephon.../bin/video


  Apps for doing Research in Linux
Posted by: AstraAdria4Ari - 02-19-2020, 04:20 PM - Forum: General - No Replies

On the topic of research and apps that help document research and write research papers in Linux (Fedora Workstation 31) this is my experience and opinion:

LibreOffice is most compatible with the all formats for research conferences and journal paper publication, it even supports LaTex format. https://www.libreoffice.org/download/download/

Gnome Latex works great and is one of the best apps for Latex format. https://github.com/GNOME/gnome-latex

Zotero is a great application for research for references and bibliographies organization, supports Open ID login by OpenID Foundation https://www.zotero.org

Atom is one of the best text editors for code writing, you can “hack it” (legally and supported by FOSS licence) and make it your own to best suite you + post it on github https://atom.io

(I hope Microsoft will not change that and give priority to their VSCode text editor)

DataHub (Guthub for datasets) CLI tool works in Linux, website works fine, they should have a graphical tool soon (not sure if CLI works in other Operating Systems) https://datahub.io

(Get Archive https://github.com/datopian/data-cli.../data-linux.gz

unzip archive, make file executable “chmod +rwx data-linux” or “chmod 777 data linux” and start from terminal.)

Joplin is great note taking to do list app, supporting markdown format https://joplinapp.org syncing with NextCloud https://nextcloud.com (other sync options supported).

Firefox one of the best browsers that respect privacy and is not chromium based. https://www.mozilla.org/en-US/firefox/new/

My Recommended Linux Operating system is Fedora Workstation with software from https://labs.fedoraproject.org or just use Fedora Labs from start.
My Recommendation based on experience for doing research in Linux (Fedora Workstation) is:
LibreOffice + Gnome Latex + Zotero + Atom (and github) + datahub CLI + Joplin + Firefox.


Any comments or advice are welcome here, I am always happy to learn about new FOSS (free and open source software) applications that are used in research today.

I plan to get a PineBook Laptop soon any recommendation on what Linux OS is best supported?

Regards, Alex


Exclamation Unresolved issues with rk3399 UART and PBP adapter voltage
Posted by: z4v4l - 02-19-2020, 04:04 PM - Forum: General - Replies (3)

I hate to be that guy, annoyingly reminding about inconvenient to hear things, but still, I need to, since this silence and lack of reaction is a bit frustrating.

As we know, it turned out, rk3399's UART2 (or all of them) is put by Rockchip in the non-standard 3.0V power domain. This affects RockPro, PBP and future HardRock. Literally every USB-UART adapter is 3.3/5V but not this 3.0V and even though the difference can seem insignificant, still, rk3399's datasheet claims maximum of 3.15V for the domain, so it is rather questionable if it is safe to use.
Farther, to make things worse, it turned out, that the UART to earphone jack adapter for PBP being sold on the official Pine64 store, has inside the controller with IO lines set to 5V! without switching capabilities. This difference is already enough to make at least it cause instabilities when used.
This brings up two questions:
1) Is it possible to provide (for the newer revisions of RockPro and upcoming HardRock boards) onboard mechanisms, that will overcome troubles created by Rockchip and make using 3.3V adapters connected to 3.0V SoC lines safe? and if it is, is it planned?
2) why is the dangerous, incompatible UART-earphone jack adapter still being sold without even warning of its incompatibility? and are there plans to fix it?

sorry, I understand, that this may cause inconveniences, but the above issues are certainly inconvenient themselves. I am more than surprised about this silence on both sides. it's so often needed to use that UART, still there are such problems with this, doesn't it require attention or I missed something?


  Error importing PyQt5
Posted by: bunburya - 02-19-2020, 03:15 PM - Forum: PostmarketOS on PinePhone - Replies (9)

Hi everyone,

I am looking into building GUIs with Python on postmarketOS.  I am (currently) using plasma-mobile so I figured it would make sense to use PyQt5, maybe with Kirigami.  So I installed py3-qt5 (version 5.13.1-r1) from the community repository using APK.  However, when I go to import QtGui from PyQt5 in python3 I get the following error:


Code:
Python 3.8.1 (default, Jan 19 2020, 11:48:03)
[GCC 9.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt5 import QtGui
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
ImportError: Error relocating /usr/lib/python3.8/site-packages/PyQt5/QtGui.so: _ZNK17QOpenGLTimerQuery16waitForTimestampEv: symbol not found

Trying to import QtWidgets gives the same error.

As well as the required dependencies for py3-qt5, I also installed py3-opengl to see if it would solve the problem (given the content of the error message) but it didn't help.  I also installed qutebrowser and its dependencies and, although I can't see the full error message it returns, it appears to have the exact same problem.  The full list of packages I have installed can be found at https://pastebin.com/HmgzaNPm.

Can anyone shed any light of what is wrong here?  Googling around doesn't really yield any relevant results.  I am reasonably familiar with Python but less so with Qt or C++.  So I'm not sure if I am missing something here.

Thanks!


Big Grin Standing on the shoulders of giants - my first Pine call
Posted by: dukla2000 - 02-19-2020, 12:56 PM - Forum: PostmarketOS on PinePhone - Replies (3)

This is meant as the thank you thread. So many names, probably 99% of whom I don't even know.

But having just made my first Pine call (on pmOS/phosh as per this thread ) it is thank you to everyone who has got us this far. So many I am well aware and not just limited to Martijn, TL, the pm guys, the phosh guys, Lukasz, Megi, Bhushan, MoeIcenowy, Smaeul, Bart, ... Thank you all for amazing efforts.

To the folks in China and Hong Kong I am aware things are tough - your past efforts are bearing fruit, be strong!

Onwards and upwards. Cool


  My observations for ubuntu touch on Pinephone
Posted by: p1trson - 02-19-2020, 12:08 PM - Forum: UBPorts on PinePhone - Replies (9)

Hello all,

on the same day when my Pinephone arrived, I straightly installed Ubuntu touch. My impression/experience is ..hard to explain since I didn't know what to expect.

I've installed most recent build available on 17/02/2020 CET evening using the Sandisk Extreme A1 Class 10 UHS-1. I didn't use SIM yet, I rather wanted to test basic things. Apart from everything which is known / reported not to work I have taken note of:
- using supplied usb cable, the battery didn't seem to charge or it was so slow that it wasn't noticeable (connected to laptop Lenovo T540p usb port) - even though battery indicator reported charging
- while having it connected to laptop via provided usb cable, screen sometimes activated on random basis (I didn't touch the phone) for few seconds
- while having it connected to laptop via provided usb cable, charging indicator changed on random basis, sometimes it showed it's charging sometimes not (I ensured I didn't touch cable nor phone at that time) this seems to be related to the point above
- I can hear strange "knocking" sound  when the phone is booting, seems to be from the speaker
- when I left the phone powered on during the night, I couldn't "wake" it up by pushing / holding the button on the next morning. I had to remove the battery and put it in again. It worked and booted afterwards
- wifi signal strength (as reported by indicator) is 25-50% lower than on e.g Iphone SE at the same place



I guess I'll fire up issues on git as soon as I have some energy left for it.

What are your observations when it comes to the basic device functionality with ubuntu touch ?


  Braveheart Reorder?
Posted by: cmoadmin - 02-19-2020, 11:43 AM - Forum: General Discussion on PinePhone - No Replies

Hello,

I haven't found a post on a possible reorder list.

Is there a list to join or known date for a chance to order the Pine64 Phone?

thanks!


  Dear community, please help
Posted by: Luke - 02-19-2020, 11:33 AM - Forum: General Discussion on PinePhone - Replies (12)

Hi everyone,

We need your help. We need two things

1) creating a document based on feedback from one of the EU customs, so that issues with importing production PinePhones into the EU are averted in the future. FYI, production phones will have the necessary certificates, including CE RED. If one of you has any experience in writing such blurbs/ documents, or wants to have a shot at writing it, please do so in English so we can all have a look at it.

2) Once we have a submission in English and we're happy with it, then I'll ask you to translate it into your native tongue (any EU language is appreciated).

Consider this a working thread, where we ping-pong ideas and anyone can contribute, building and changing the phrasing of what others have written. Perhaps the wiki or some other utility would be better for this purpose? if yes, then do not hesitate to set up such an instance.


Quote:The placing on the market is prohibited. It is a non-compliant product. A re-export can be approved.
Details / risk assessment:
For these reasons, the provision, commissioning or use is not permitted [FuAG §7].
The EC Declaration of Conformity (KE) or its location is missing. For products relevant to FuAG, the declaration of conformity must be enclosed with the device. Alternatively, a declaration by the manufacturer on compliance with the basic requirements of RED Directive 2014/53 / EU can be given in conjunction with a reference to request the declaration of conformity [FuAG §20 (2)].
Instructions for use (in particular the instructions for initial start-up) in native language are missing and the safety-related information (e.g. warnings about the batteries) is not in German - this means that important information for safe and intended use is withheld from the user [FuAG §20 (1)].


  Updating UB-ports
Posted by: Mangled - 02-19-2020, 09:51 AM - Forum: UBPorts on PinePhone - Replies (6)

Hey,
If you run "sudo apt-get update && apt upgrade -y "
Does it upgrade the OS to the latest build? Or do we have to flash a new build img every time? If it is recommended to flash a new image, can you do this with keeping the data on the device?


  cache/apt/archives FULL
Posted by: canadien666 - 02-19-2020, 07:23 AM - Forum: UBPorts on PinePhone - Replies (3)

Hi all,

I've running UT on my (BH) PinePhone (off the SD card) for a week or so.  

I run apt update && apt upgrade every few days, but when I ran it today I got an error message after I ran apt upgrade: E: You don't have enough free space in /var/cache/apt/archives/

I installed the image using "Rufus" on a clean/new SD card.  Haven't had any issues running Update/upgrade until now.

Any ideas for a fix other than wiping the SD card and starting over???

Thanks.