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: 146
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: mara
04-05-2026, 03:03 AM
» Replies: 19
» Views: 8,686
Finally got Kali working ...
Forum: General Discussion on Pinebook Pro
Last Post: qingss0
04-04-2026, 08:00 AM
» Replies: 0
» Views: 239
Charging problem
Forum: General Discussion on Pinebook Pro
Last Post: RicTor
04-04-2026, 07:30 AM
» Replies: 0
» Views: 110
Latest firmware for PineP...
Forum: PinePhone Software
Last Post: baptx
04-03-2026, 08:37 AM
» Replies: 106
» Views: 216,896
Updates have gotten me ex...
Forum: General Discussion on PineNote
Last Post: bills2002
04-02-2026, 05:16 PM
» Replies: 0
» Views: 195
Voidlinux working on eMMC
Forum: General Discussion on PineTab
Last Post: tllim
04-01-2026, 04:14 PM
» Replies: 1
» Views: 280
Pinecil V2 doesn’t power ...
Forum: General Discussion on Pinecil
Last Post: Juptin
03-28-2026, 02:37 AM
» Replies: 1
» Views: 2,076
dead Pinebook - help plea...
Forum: General Discussion on Pinebook Pro
Last Post: williamcorlin
03-26-2026, 04:22 PM
» Replies: 3
» Views: 936
BT PAN - we need iptables...
Forum: Mobian on PinePhone
Last Post: biketool
03-25-2026, 12:57 PM
» Replies: 1
» Views: 602

 
  mainline kernel hardware acceleration
Posted by: xmixahlx - 02-14-2020, 05:12 PM - Forum: Linux on Pinebook Pro - Replies (33)

collecting information and projects regarding hardware acceleration in mainline kernel, ffmpeg, and vaapi.

STATUS:
drm hwaccel working with hantro (mpeg2, vp8, h264) and rkvdec (vp9, h264 8+10bit, h265 8+10bit)
ffmpeg 4.2.3 with v4l2-request-hwaccel-4.2.2-rkvdec patch working well, except decoders listing is broken (i.e. mpv and others will be broken)
kodi supports all hantro and rkvdec hwaccel, including plugins (youtube and jellyfin confirmed) *see kodi-git thread*
gstreamer supports vp8 and h264 via v4l2codecs in gstreamer-plugins-bad
vaapi hwaccel working with hantro (mpeg2)
firefox 75 supports initial vaapi on wayland, v76 expands vaapi support to all supported codecs, no X11 support
chrome supports vaapi with unofficial patch that will never be upstreamed, but included in some linux distros (fedora, etc.)

PBP-TOOLS

pinebook pro tools, including installation scripts, patches, and configs, now on git. also see forum thread.
https://github.com/xmixahlx/pbp-tools
https://forum.pine64.org/showthread.php?tid=10190

REFERENCES

linux patchwork - linux-media:
https://patchwork.kernel.org/project/linux-media/list/

linux patchwork - linux-rockchip:
https://patchwork.kernel.org/project/lin...chip/list/

libreelec/kwiboo mainline kernel patches:
https://github.com/LibreELEC/LibreELEC.t...ux/default

libreelec/kwiboo mainline kernel testing patches:
https://github.com/Kwiboo/LibreELEC.tv

kwiboo's rockchip-linux repos:
https://github.com/Kwiboo/linux-rockchip/

bbrezillon's rockchip-linux repos:
https://github.com/bbrezillon/linux/

ph5's libva patch:
https://github.com/intel/libva/pull/332

libva-v4l2-request;
https://github.com/bootlin/libva-v4l2-request/

ph5's libva-v4l2-request patches:
https://github.com/bootlin/libva-v4l2-request/pulls

kwiboo's ffmpeg v4l2-request branch:
https://github.com/Kwiboo/FFmpeg/tree/v4...ccel-4.2.2
https://github.com/Kwiboo/FFmpeg/tree/v4...2.2-rkvdec

gstreamer v4l2codecs:
https://gitlab.freedesktop.org/gstreamer...uests/1141

gstreamer vaapi:
https://gitlab.freedesktop.org/gstreamer...quests/171

firefox vaapi:
https://bugzilla.mozilla.org/show_bug.cgi?id=1610199

chrome vaapi:
https://chromium-review.googlesource.com...c/+/532294
https://github.com/saiarcot895/chromium-...an/patches
https://aur.archlinux.org/packages/chromium-vaapi/

OTHER

allwinner cedrus hwaccel project:
https://linux-sunxi.org/Sunxi-Cedrus

LibreElec - Early Mainline Images for <...> RK3399:
https://forum.libreelec.tv/thread/17540-...nd-rk3399/

LibreElec - Not Official LE Version for <...> RK3399
https://forum.libreelec.tv/thread/20823-...28-rk3399/

Armbian - early VPU work:
https://forum.armbian.com/topic/4806-the-vpu-driver/

Armbian - Mainline VPU
https://forum.armbian.com/topic/13622-mainline-vpu/


  Cube Desktop on Pinebook Pro
Posted by: decisivedove - 02-14-2020, 05:10 PM - Forum: General Discussion on Pinebook Pro - Replies (1)

Did anyone manage to get cube desktop on KWin or compiz on the Pinebook Pro? If so, how did it perform? Was the performance usable?


  Phone not charging
Posted by: ya_man - 02-14-2020, 02:40 PM - Forum: PinePhone Hardware - Replies (1)

Hi,

I was playing around with the phone for a bit and left it charging over night. I was already wondering why there is no indication of charging. Today I eventually noticed that the battery level hasn't changed.

So I hooked the USB cable onto my lab power supply, to check whether there is current or not. Indeed there was - right at the limit ... which was set to 2 amps. So I guess a short or something...

I narrowed the issue down to the daughter board (ZQ01_SUB_V10). I disconnected everything except the flex board to the speaker. Still, the current limiter of my PSU 
immediately kicked in as soon as the USB cable was connected.

Any idea how to fix this or getting a replacement?

Cheers, ya


  Very long lag time using SSH via Wifi in factory Debian OS
Posted by: Redbeard - 02-14-2020, 12:49 PM - Forum: Linux on Pinebook Pro - Replies (4)

When I SSH into my PBP everything runs like it is in super slow motion.  Logging in is slow, but where the lag really stands out is even a single keystroke takes 10-30 seconds to register after logging in.  This is the case ssh'ing in from both my linux desktop and using an SSH client on my android tablet.  From the web searching I've done I gather that the issue is usually due to the local network.  However, I don't have the same issue ssh'ing into my raspberry pi on the same network, or to my linux desktop from my tablet.  After poking around for a while, I've narrowed it down some.  I made a bootable SD card with Manjaro (Manjaro-ARM-xfce-pbpro-19.12.1.img.xz).  Using Manjaro I can connect to the PBP via SSH with the PBP connected either via wifi or via a usb to LAN adapter and I don't experience the lag.  I've also found that the lag goes away in the factory version of Debian if I am connected via usb/LAN.  

Interestingly, I can SSH into the PBP running Debian over wifi if the PBP is also connected to the USB/LAN adapter*.  For example, with the PBP disconnected  from the USB/LAN adapter, I can SSH into the IP address for the PBP wireless connection.  The connection has the normal lag, until I connect the USB/LAN adapter.  Then after the PBP is connected to both network connections, SSH responds normally, without the extreme lag.  If I disconnect the USB/LAN adapter, the SSH connection remains open, but the lag returns.  

I was able to duplicate the issue booting from an SD card with a fresh image of the latest Debian stock build (pinebookpro-debian-desktop-mrfixit-191123.img).  I booted from this image and without making any changes hand typed in my wifi password to connect it to the network (to rule out if my using a wired connection first was part of the issue).  The lag was there when I connected from my linux desktop.  Here is the output from when I did this.  Obviously it doesn't show the lag, but it shows that I'm connecting via the wireless IP address of the PBP, confirmed by the output of "ip a" (Note, I've replaced my desktop user name with "redbeardsdesktop"):


Code:
redbeardsdesktop@redbeardsdesktop-TH67B:~$ sudo rm /home/redbeardsdesktop/.ssh/known_hosts
[sudo] password for redbeardsdesktop:               
redbeardsdesktop@redbeardsdesktop-TH67B:~$ ssh rock@192.168.254.205
The authenticity of host '192.168.254.205 (192.168.254.205)' can't be established.
ECDSA key fingerprint is SHA256:hHR69CVU/VgxLl3RJdmQx0renmV3P0F/uZ1HWXL2D/c.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.254.205' (ECDSA) to the list of known hosts.
rock@192.168.254.205's password: 
Linux Debian-Desktop 4.4.202 #1 SMP Thu Nov 21 20:47:27 EST 2019 aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
rock@Debian-Desktop:~$ ls
Desktop  Documents  Downloads  Music  Pictures  Public  Templates  Videos  smplayer
rock@Debian-Desktop:~$ ls
Desktop  Documents  Downloads  Music  Pictures  Public  Templates  Videos  smplayer
rock@Debian-Desktop:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether c0:84:7d:25:1b:46 brd ff:ff:ff:ff:ff:ff
    inet 192.168.254.205/24 brd 192.168.254.255 scope global dynamic wlan0
       valid_lft 14219sec preferred_lft 14219sec
    inet6 fe80::a8fe:eb59:341f:1e31/64 scope link 
       valid_lft forever preferred_lft forever
rock@Debian-Desktop:~$ 


At this point, I was able to connect but had the previously mentioned lag.  Then, I connected my USB/LAN adapter and waited until the PBP had established a wired network connection as well.  In the same SSH session (over wifi), the lag then went away.  Again during the same session, I unplugged the wired connection and the lag reappeared.  Here is the remainder of the output from the SSH session:


Code:
rock@Debian-Desktop:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether c0:84:7d:25:1b:46 brd ff:ff:ff:ff:ff:ff
    inet 192.168.254.205/24 brd 192.168.254.255 scope global dynamic wlan0
       valid_lft 14143sec preferred_lft 14143sec
    inet6 fe80::a8fe:eb59:341f:1e31/64 scope link 
       valid_lft forever preferred_lft forever
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:e0:4c:68:04:1e brd ff:ff:ff:ff:ff:ff
    inet 192.168.254.19/24 brd 192.168.254.255 scope global dynamic eth0
       valid_lft 14390sec preferred_lft 14390sec
    inet6 fe80::fb0d:8281:2421:80fc/64 scope link 
       valid_lft forever preferred_lft forever
rock@Debian-Desktop:~$ echo "now it is fast"
now it is fast
rock@Debian-Desktop:~$ echo "removing wired connection now"
removing wired connection now
rock@Debian-Desktop:~$ echo "now it is very slow"
now it is very slow
rock@Debian-Desktop:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether c0:84:7d:25:1b:46 brd ff:ff:ff:ff:ff:ff
    inet 192.168.254.205/24 brd 192.168.254.255 scope global dynamic wlan0
       valid_lft 13972sec preferred_lft 13972sec
    inet6 fe80::a8fe:eb59:341f:1e31/64 scope link 
       valid_lft forever preferred_lft forever
rock@Debian-Desktop:~$ ls
Desktop  Documents  Downloads  Music  Pictures  Public  Templates  Videos  smplayer
rock@Debian-Desktop:~$ ls
Desktop  Documents  Downloads  Music  Pictures  Public  Templates  Videos  smplayer
rock@Debian-Desktop:~$ ls
Desktop  Documents  Downloads  Music  Pictures  Public  Templates  Videos  smplayer
rock@Debian-Desktop:~$ exit
logout
Connection to 192.168.254.205 closed.

Can anyone else duplicate this issue?  If you SSH into your PBP running the factory Debian with only a wireless connection, do you experience a long lag time?  Any suggestions?

Thanks!

*I didn't know it was possible to have more than one active network connection/IP address at any given time.


  Multi Display on Manjaro KDE
Posted by: binholz - 02-14-2020, 11:12 AM - Forum: Linux on Pinebook Pro - Replies (6)

Has anyone experienced problems connecting an external displays to their PBP in KDE?  Mine just mirrors the desktop and I don't see any options to extend it or change the resolution.  Is there any applications I can install on Manjaro to make configuration of the second (or third) display easy?

Thanks,
Karl


  Which OS to choose?
Posted by: Zweitaktmotor - 02-14-2020, 09:31 AM - Forum: PinePhone Software - Replies (6)

After several days of juggling SD cards, I feel it is time to make a decision (at least for now, I can always change my mind).
It is just not sustainable that I have to open and close my phone all the time. With hindsight, we might have been better off with an external card slot.

Here are my impressions of the different OS options:

Ubuntu Touch
Admittedly the most advances OS. I like the fact that they even have a little app store running already. But it is also the slowest software. I find it unacceptable that it takes 3 minutes to start my Pinephone up and 1 whole minute to start a simple application such as Calculator or Settings. Unless they can do something to speed things up, I may conclude that my Pinephone is just not powerful enough for this.

Manjaro Plasma
I may be wrong, but this feels more like a tinkerer's OS than a user's one. I'll be watching it.


Sailfish
Much talked about, but I find the installation procedure too awkward. Most other distributions can easily be installed on an SD card using Linux Mint's "USB Image Writer". If I want to enlarge the partition, I can do so with GParted (it will end with an error message, butthis doesn't cause any problems).

LuneOS
This comes as a WIC file and I have not found out yet how to install it.

Neon Plasma / Postmarket Plasma
Somebody commented that these look quite "polished". But look a bit closer and you'll find they are mostly just just mock-ups. I am not interested in fancy screen elements, backgrounds etc. I want functionality.


AND THE WINNER IS...

Postmarket Phosh
First of all, I am quite impressed with the speed of it. The system will start up in 30 seconds and simple apps such as Calculater and Settings take an incredible 3 seconds to load (Compare that with Ubuntu!). PM Phosh also can already do things that the others can't, such as switch from portrait to landscape, handle SMS and even run Firefox. I don't mind the simple screen layout, this is all I need.
Where it falls short at the moment is that the moblie data modem is always on, draining the battery, and some screens have not yet been adjusted to the Pinephone screen size, leading to situations when essential buttons such as "Done" are off the screen. But I am sure over time these issues will be addressed.


I will of course keep an eye on the other options, but for now, PM Phosh stays in my phone until the next version comes out.


  How to install Ubuntu Touch over USB?
Posted by: PinePhoneCoder - 02-14-2020, 05:14 AM - Forum: UBPorts on PinePhone - No Replies

You can install Ubuntu Touch via a bash script from the SD card on the internal memory like this:


Code:
#!/bin/bash
wget https://ci.ubports.com/job/rootfs/job/rootfs-pinephone/lastSuccessfulBuild/artifact/ubuntu-touch-pinephone.img.gz -q -O -| gunzip | sudo dd of=/dev/mmcblk2 bs=4M
sudo parted /dev/mmcblk2p1 resizepart 1 100%
sudo resize2fs /dev/mmcblk2p1


But how do you install Ubuntu Touch via a USB cable?

From another thread (https://forum.pine64.org/showthread.php?...0#pid60260):

(02-14-2020, 04:58 AM)dukla2000 Wrote:
(02-14-2020, 04:43 AM)PinePhoneCoder Wrote:
(02-13-2020, 02:25 PM)Goddard Wrote: Anyone played with installing over USB?

No, but do you have an idea where to start?

Unless I am very much mistaken you have to use FEL mode. And, again unless I am mistaken, the PinePhone has no magic button key sequences to boot into FEL mode (although I am curious about the reset button ...) so you either have to use the special SDcard image or ensure there is no bootable image on both the SDcard and the eMMC.


  Pentesting my wifi
Posted by: FeMike - 02-14-2020, 04:29 AM - Forum: General Discussion on Pinebook Pro - Replies (4)

A few years back I bought a Alfa awus036h USB WiFi adapter with the intent to learn how to pentest my wifi to use on old xp laptop. Fast forward to now I no longer have that machine but do have the Pinebook Pro. Upon plugging in the USB it freezes the p64 to the point it wont work unless I unplug the card and reboot machine. Anyone with experience with this type of stuff kindly share what they used and if it worked or if the same thing happened to them? I tried finding specs on power consumption for the card assuming it draws to much power but to no avail.


Bug Braveheart motor buzzes with pinch
Posted by: Charims - 02-14-2020, 12:27 AM - Forum: PinePhone Hardware - Replies (7)

If I gently but firmly pinch slightly above the lower left corner of pinephone braveheart, it starts to buzz. Sometimes I have to take the back cover off or power it down to get it to stop. It easily triggers from a pocket or when picking it up. Sometimes even putting the back cover on triggers it.

I would be happy to upload a video of it.

Seems as if maybe something is making contact that shouldn't. If this is a widespread issue, hope we can get it resolved for future builds.

Otherwise, everything hardware seems to be checking out. Love the device! I want to pass along my thanks to the Pine64 team.


  Youtube audio stopped fuctoning
Posted by: Moon1 - 02-14-2020, 12:12 AM - Forum: General Discussion on Pinebook Pro - No Replies

Audio in Youtube  stopped working.  I've had the PBP for about three weeks now.  A noob at Linux but having fun with this device and learning.  The PBP is very fast browsing using firefox.  Youtube was playing perfect but for now reason I can deduce, there is no more audio.  any suggestions to help unravel?  Audio on other websites is working fine.

Thanks