| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 29,766
» Latest member: lystar
» Forum threads: 16,285
» Forum posts: 117,303
Full Statistics
|
| Latest Threads |
Window Maker Live for Pin...
Forum: Linux on Pinebook Pro
Last Post: vajak
4 hours ago
» Replies: 2
» Views: 353
|
Rrkisp issue with CSI cam...
Forum: Linux on Quartz64
Last Post: lystar
7 hours ago
» Replies: 1
» Views: 3,678
|
bookworm vs trixie discus...
Forum: Mobian on PinePhone
Last Post: Kevin Kofler
10 hours ago
» Replies: 80
» Views: 45,435
|
Fedora + Phosh for PinePh...
Forum: PinePhone Software
Last Post: shanehill@mail.com
Yesterday, 09:12 PM
» Replies: 75
» Views: 200,143
|
Trixie - bring up the On ...
Forum: Mobian on PinePhone
Last Post: grump_fiddle_reinstall
Yesterday, 04:34 AM
» Replies: 0
» Views: 43
|
On-Screen Keyboard Arrow ...
Forum: Mobian on PinePhone
Last Post: grump_fiddle_reinstall
Yesterday, 04:25 AM
» Replies: 11
» Views: 6,005
|
Armbian has been released...
Forum: News
Last Post: ArmbianForSBCs
Yesterday, 01:36 AM
» Replies: 21
» Views: 32,194
|
Alarm clock doesn’t work
Forum: Mobian on PinePhone
Last Post: biketool
Yesterday, 12:12 AM
» Replies: 14
» Views: 24,396
|
Diagnosing and fixing fai...
Forum: PinePhone Pro Software
Last Post: biketool
12-22-2025, 11:59 PM
» Replies: 7
» Views: 583
|
No phone call audio, logs...
Forum: PinePhone Pro Hardware
Last Post: biketool
12-22-2025, 05:09 PM
» Replies: 12
» Views: 808
|
|
|
| phosh 11 stops dead at login after update |
|
Posted by: Rainer - 07-06-2021, 07:29 PM - Forum: Manjaro on PinePhone
- Replies (2)
|
 |
Hello,
After, I believe, the second update on phosh 11 the system hangs at the manjaro login screen with the tiny characters before the numerical pad usually comes up. I haven't found any similar problems yet. Thanks for any advice or pointers towards resolving this problem.
|
|
|
|
| sudo broke - "/usr/bin/sudo must be owned by uid 0 and have the setuid bit set" |
|
Posted by: cowsay - 07-06-2021, 04:55 PM - Forum: PostmarketOS on PinePhone
- Replies (2)
|
 |
I don't have half a clue how this happened. I was trying to install BitWarden desktop app from source and ran into a few snags with node-gyp during build
Below is just some random stuff I was doing in the terminal.
On the first line below, sudo worked. On the last line, sudo suddenly failed and has been broken ever since. Either something I did in the log below somehow broke sudo, or something in the background of PMOS broke it.
Any idea what's going on here? Is there any way to recover other than wiping my phone and reinstalling?
This is a mostly clean install.. PMOS only on the device for about 1 hour, and I only installed some dev libs, git.. basic stuff.
PMOS 21.03.1
Code: pine64-pinephone:~/Source/desktop$ sudo npm install node-gyp -g
added 91 packages, and audited 92 packages in 25s
3 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
pine64-pinephone:~/Source/desktop$ node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@8.1.0
gyp info using node@14.16.1 | linux | arm64
gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/user/Source/desktop/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/user/.cache/node-gyp/14.16.1/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/user/.cache/node-gyp/14.16.1',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/user/.cache/node-gyp/14.16.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/user/Source/desktop',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp: binding.gyp not found (cwd: /home/user/Source/desktop) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/node-gyp/lib/configure.js:353:16)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Linux 5.11.0
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/user/Source/desktop
gyp ERR! node -v v14.16.1
gyp ERR! node-gyp -v v8.1.0
gyp ERR! not ok
pine64-pinephone:~/Source$ cd ..
pine64-pinephone:~/Source$ find . -name "binding*"
./node-gyp/docs/binding.gyp-files-in-the-wild.md
./node-gyp/test/node_modules/hello_world/binding.gyp
pine64-pinephone:~/Source$ cd node-gyp/test/node_modules/hello_world/
pine64-pinephone:~/Source/node-gyp/test/node_modules/hello_world$ node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@8.1.0
gyp info using node@14.16.1 | linux | arm64
gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/user/Source/node-gyp/test/node_modules/hello_world/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/user/.cache/node-gyp/14.16.1/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/user/.cache/node-gyp/14.16.1',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/user/.cache/node-gyp/14.16.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/user/Source/node-gyp/test/node_modules/hello_world',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
internal/modules/cjs/loader.js:883
throw err;
^
Error: Cannot find module 'nan'
Require stack:
- /home/user/Source/node-gyp/test/node_modules/hello_world/[eval]
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at [eval]:1:1
at Script.runInThisContext (vm.js:133:18)
at Object.runInThisContext (vm.js:310:38)
at internal/process/execution.js:77:19
at [eval]-wrapper:6:22
at evalScript (internal/process/execution.js:76:60) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/home/user/Source/node-gyp/test/node_modules/hello_world/[eval]' ]
}
gyp: Call to 'node -e "require('nan')"' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/node-gyp/lib/configure.js:353:16)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Linux 5.11.0
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/user/Source/node-gyp/test/node_modules/hello_world
gyp ERR! node -v v14.16.1
gyp ERR! node-gyp -v v8.1.0
gyp ERR! not ok
pine64-pinephone:~/Source/node-gyp/test/node_modules/hello_world$ sudo apk add g++
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
Code: pine64-pinephone:~$ ls -l /usr/bin/sudo
-rwxr-xr-x 1 root 1000 141224 Jan 26 19:06 /usr/bin/sudo
Any help appreciated. Thanks
|
|
|
|
PINEBOOK Pro USB-C Docking Deck issues |
|
Posted by: pawzy - 07-06-2021, 04:34 PM - Forum: Pinebook Pro Hardware and Accessories
- Replies (3)
|
 |
Heyoh, I had purchased the PB-Pro Docking Deck recently and seem to be having some issues with it. Primarily, I can't seem to charge my Pinebook Pro off of it, and secondarily, It's not connecting to the plugged in ethernet...
The dock didn't come with any extra charging cables, so I just plugged in the PB-Ps charger directly into the docking bar, then the dock into the PB via the USB-C cable (in the one and only usb-c port). The PB does appear to be able to read SSDs that are plugged into the bar, so I feel like the USB-C itself is fine. The ethernet port is blinking as if it is transferring data, but only WiFi options appear. I'm using Manjaro ARM XFCE 21.04 atm, if that plays into it. Thanks in advance!
|
|
|
|
| Kernel crash on Manjaro ARM |
|
Posted by: mfashby - 07-06-2021, 03:17 PM - Forum: Linux on Pinebook Pro
- No Replies
|
 |
Hi! I run manjaro ARM on my pinebook pro. After the latest `pamac upgrade`, I've started to get regular lockups. Checking `journalctl` I have this kernel error in there:
https://pastebin.com/dw1T8x1z
Relevant error messsage seems to be 'Unable to handle kernel NULL pointer dereference', and the call stack looks like this
Jul 06 21:24:57 pinebook kernel: Call trace:
Jul 06 21:24:57 pinebook kernel: drm_ioctl+0x280/0x44c [drm]
Jul 06 21:24:57 pinebook kernel: __arm64_sys_ioctl+0xa8/0xec
Jul 06 21:24:57 pinebook kernel: invoke_syscall+0x48/0x114
Jul 06 21:24:57 pinebook kernel: el0_svc_common.constprop.0+0xbc/0xcc
Jul 06 21:24:57 pinebook kernel: do_el0_svc+0x24/0x90
Jul 06 21:24:57 pinebook kernel: el0_svc+0x2c/0x54
Jul 06 21:24:57 pinebook kernel: el0_sync_handler+0x1a4/0x1b0
Jul 06 21:24:57 pinebook kernel: el0_sync+0x198/0x1c0
Jul 06 21:24:57 pinebook kernel: Code: 35000575 a94573fb 17ffff79 f9401a80 (b940e800)
Jul 06 21:24:57 pinebook kernel: ---[ end trace fe4cd6ccb18f59e7 ]---
It seems the kernel is now version 5.13.0-1, I might try downgrading that.
hmm, `downgrade linux` starts downloading x86 version, that's not gonna work.
|
|
|
|
| A real ATX-ish ARM64 workstation |
|
Posted by: konradybcio - 07-06-2021, 02:49 PM - Forum: General
- Replies (1)
|
 |
To date, there are only 3 meaningful types of performant and readily available ARM64 desktop workstations:
- M1 Mac Mini / iMac
- Nvidia Xavier NX/AGX
- Honeycomb LX2
All other "look at me, I haz arm" devices are either laptops, puny tablets trying to imitate laptops or plain devboards with an Android image or a quarter-functional, outdated Debian..
They mostly use smartphone chips, sometimes higher frequency-binned and with a more liberal power limit. And they lack HW documentation. Or they are discontinued.
What is truly needed to kickstart the ARM64 ecosystem further is a good desktop workstation.
In such a board, I reckon there should be:
- some kind of ATX standard form factor to mount it in a regular PC case with a regular PC power supply
- socketed RAM
- PCIe, USB, SATA, 3.5mm jack, RJ45..
- a power and a force reset button
- a chip to keep the bootloader on, so as to make the OS installation simpler
- targetting Arm SystemReady certification, which given enough work on proper UEFI, would allow for installing OSes like on a normal PC, from a livecd etc..
- an OSS-friendly SoC that can heat up as much as it wants - performance is key in this form factor! (without a broken PCIe implementation, I'm looking at you, Raspberry Pi...)
- Intel-/AMD-compatible mounting holes for a cooler
- DC/PWM fan headers (may be on a separate controller)
I was thinking, perhaps Pine could be a good vendor to tackle this? Of course, this is a complicated problem to solve, but discussion is a good thing.
|
|
|
|
| (Gnome) Maps won't start on Mobian? |
|
Posted by: TRS-80 - 07-06-2021, 01:59 PM - Forum: Mobian on PinePhone
- Replies (3)
|
 |
I am still in early exploration phases, but I am pretty sure I was able to open and look around in Maps (the default program, which is apparently Gnome Maps) before. But not lately.
I don't recall doing much (if anything) out of the ordinary. Also I have been upgrading via terminal with apt update && apt upgrade (after reading of some problems updating via GUI).
Just curious if anyone else have also noticed this?
|
|
|
|
| How to check if video decode acceleration is active |
|
Posted by: maxjrh - 07-06-2021, 01:02 PM - Forum: Pinebook Pro Tutorials
- Replies (2)
|
 |
Hello all,
I would like to utilize the video decoding capabilities of the RK3399, but so far I had no success. Many people seem to underestimate how difficult this is and just assume it works without effort.
Here is how to verify whether it works, using mpv, chromium and firefox:
(the pictures are taken on my x86_64 PC)
1. mpv
CTRL + H toggles hardware decoding. If it can't use cuda/vdpau/vaapi then it will just say 'no' all the time.
2. chromium
open the developer panel with F12, open the Media tab
![[Image: ME74NTY.png]](https://i.imgur.com/ME74NTY.png) ![[Image: rZs9xaT.png]](https://i.imgur.com/rZs9xaT.png)
as you can see, VDA is hardware accelerated. Other decoders (Vpx, Dav1d, FFmpeg) are used for the VP9, AV1, and Theora codecs. Neither my Radeon nor the RK3399 have hardware support for these codecs.
3. firefox
run
Code: MOZ_LOG=PlatformDecoderModule:5 firefox 2>&1| grep VA
![[Image: kUuvNKK.png]](https://i.imgur.com/kUuvNKK.png)
note: it says VA-API disabled by platform during startup, but when I actually try to open a video it successfully initializes.
As far as I can tell, no distro on the PineBook Pro has support for hardware video decoding. If somebody can get it to work, I'd love to hear about it.
|
|
|
|
| Pinebook Pro Critique |
|
Posted by: KABA - 07-06-2021, 12:45 PM - Forum: Pinebook Pro Hardware and Accessories
- No Replies
|
 |
So far my major complaint is the touch pad, really keeps me form using it more, largely the need to really press the right/left click buttons (I'm used to ez/soft touch buttons) but the sensitivity's not been something I've been able to dial in to be happy either,
I've had wireless issues as well, lots of connectivity/dropping and poor streaming, but I don't know that that's not software related
Just feedback I hope helps with future developments
|
|
|
|
| PinePhone Hardware Critique |
|
Posted by: KABA - 07-06-2021, 12:39 PM - Forum: PinePhone Hardware
- Replies (2)
|
 |
Number one dislike for me on the hardware is the speaker is too close to the mic, good speaker, but on speaker phone I have to keep the volume pretty low so the caller doesn't hear themselves echo, if the next version chosen could employ a different design, speaker located at the top for instance, that would be great
|
|
|
|
| Decrypting Luks FDE using a smartcard |
|
Posted by: SuperMonkey - 07-05-2021, 07:13 PM - Forum: Mobian on PinePhone
- Replies (1)
|
 |
Hi,
since I haven't found a tutorial on how to use a usb smartcard (like f.e. Nitrokey/Librem Keys) to unlock the Luks encrypted volume on a Pinephone, I had a look at it myself and found a way to do it (at least on Mobian).
If someone else wants to try this, I've modified the Luks gpg fde configuration script from Purism (https://source.puri.sm/pureos/packages/s...d-key-luks) to automate the configuration on the PinePhone with Mobian.
Feel free to have a look: https://github.com/sam-m7/smartcard-luks-osk
It works by using a modified version of the gnupg-sc keyscript (/usr/lib/cryptsetup/scripts/decrypt_gnupg-sc). The modified version uses the on-screen keyboard (osk-sdl that is also used for normal fde) and forwards the output to gpg (PIN). After 90 seconds there is a fallback and the keyboard pops up, also if no smartcard was detected. You can then type in a passphrase from a different keyslot (without gpg being called). But there is no feedback (at least not on the screen, a little bit on the serial console).
The recognition of the USB Device sometimes takes long. As far as I would say there is a problem with the anx7688 kernel module, because if it doesn't work, this is printed in the serial console (UART adapter) all the time (not only in the initramfs stage):
Code: anx7688 1-0028: OCM firmware loaded (version 0x2312)
[ 160.278615] anx7688 1-0028: timeout waiting for the message queue flush
[ 161.258358] anx7688 1-0028: fw loaded after 40 ms
The positive side was, thanks to these messages I found out I needed to add the anx7688 kernel module to the initramfs to make USB work for decryption But if someone has an idea on how to fix this, I would be happy to hear it. It's not happening every time, sometimes it works instantly.
I've tested it with a Nitrokey and a USB-A to USB-C adapter on a fresh Mobian eMMC installation with encryption.
I hope this might help someone.
|
|
|
|
|