JayVii

Question to the #LinuxPhone/#PostmarketOS/#PinePhone community: I still have the OG Pinephone from 2020 in a drawer and was playing around with the idea of using it as a semi-#dumphone / less distraction riddled device for day to day usage.

How is the current state of Linux on a Phone and what about this particular device? The PmOS wiki page looks promising,, so does the Debian wiki (which was my main phone OS back then) but I am unsure how well this is maintained. IIRC, it became somewhat abandoned when the #PinePhonePro arrived.

#PMos #Debian #Mobian #UBports #Linux

PINE64 PinePhone (pine64-pinephone) - postmarketOS Wiki

wiki.postmarketos.org
Linux G. Fossman

@simplex I think that statistics for even Linux desktop users are not too reliable as they generally dislike/distrust #telemetry and tracking, so Linux phone user count could be difficult.

If follower count here on the fediverse is anything to go by, the largest #LinuxPhone-related accounts @pine64, @purism, @postmarketOS appear to have around 13-10k followers. If app download count can give as a hint, the Gnome Calls app (originally made by Purism) was downloaded over 50k times from Flathub flathub.org/apps/org.gnome.Cal

As for devices, phones sold with Linux preinstalled include the #Librem5, #LibertyPhone, #PinePhone, #PinePhonePro, #Flx1 and #JollaC2.

Some older Android devices repurposed to install Linux include #OnePlus6, #Pixel3a and #Fairphone5.

Jul 21, 2025, 22:31 · · · 2 · 0
Pavel Machek
#phonecamera #linuxphone #librem5

Librem 5 camera/kernel can do three possible resolutions, ~1024x768 @ ~24fps, ~2048x.. @ ~31 fps and ~4096x.. @ ~15fps. Debayering is actually easier and better quality if we downscale at the same time, and that allows best framerate, so we do that (2048x.. resolution).

ARM has problems with cache coherency w.r.t. DMA, and kernel solution is to simply disable cache on DMAbufs for userspace, which means accessing video data is 10x slower than it should be on the CPU. Which means debayering on GPU is attractive, and that's what we do. (gold.frag). GPU can do more image signal processing functions easily, too, so we do some of that.

Unfortunately, we hit the same uncached memory problem at the GPU output. So we use separate thread to copy. All this unfortunately does not fit on one core, so we need two threads, one controlling GPU debayer on frame n+1, while the other one copies video data from frame n. (heart.c). We save resulting RGBA data to ramdisk. This all costs maybe 80% of one core.

From there, Python scripts can pick them up: ucam.py displaying the viewfinder and mpegize.py handling the video encoding via gstreamer. There's basically 0% cpu left, but I can encode ~1024x.. video. Unfortunately that's without audio and with viewfinder at 1fps. Plus, combination of C + Python is great for prototyping, but may not be that great for performance.

Code is here: https://gitlab.com/tui/tui/-/tree/master/icam?ref_type=heads .

At this point I'd like viewfinder functionality merged into the rest of GPU processing. Ideally, I'd like to have a bitmap with GUI elements, combine it with scaled RGBA data, and rendering it to screen. I know SDL and Gtk, SDL looked like better match, but I could not get SDL and GPU debayering to work in single process (template SDL code is here https://gitlab.com/tui/debayer-gpu/-/blob/master/sdl/main.c?ref_type=heads ).

If you can integrate main.c and heart.c, that would be welcome. If you have example code that combines SDL with processing on GPU, that would be nice, too. If you know someone who can do GPU/SDL, boost would not be bad, I guess.

@datenwolf
@NekoCWD
@dcz
@martijnbraam
@reiver ⊼ (Charles) :batman:

Uh oh 🫤

There is an issue with the production of the next wave of FuriLabs FLX1 Linux phones (due to geo-politics).

I wonder how different this altered FuriLabs FLX1 will be from what I thought I was ordering.

Will it end up being a phone that I can use on a daily basis as my main phone — which was my hope, when I ordered it.

Or, will it end up being an expensive "toy" I try a few times, and then never bother using again.

RE: mastodon.social/@reiver/114552

#FLX1 #FuriLabs #FuriPhone #LinuxPhone

Pavel Machek
Can you program GPUs and do you want to become a HERO? #linuxphone
community needs your help.

We are trying record video, and have most pieces working, but one is
missing: fast enough debayering. That means about 23MB/sec on #librem5.

Debayering is not hard; camera images have subpixels split on two
lines, which need to be corrected. They also use different color
representation, but that's fixable by some table lookup and two matrix
multiplies.

Librem 5 has Vivante GPU, 4 in-order CPU cores and 3GB RAM. My feeling
is that it should be fast enough for that. If task is for some reason
impossible, that would be good to know, too.

Image data looks like this

RGRGRG...
xBxBxB...
.........
.........

Task is to turn that into usual rgbrgb.... format. rgb = RGB * color
matrix, with table lookups for better quality. I can fix that once I
get an example.

I'm looking for example code (#pinephone would work, too), reasons it
can not be done... and boosts if you have friends that can program
GPUs. #gpu #opensource
Pavel Machek
GPU on Librem 5 is actually faster than on X220? Good. I proved to myself that 1Mpix/30fps is possible. Now for the boring task of actually getting it to work... #linuxphone #librem5
Pavel Machek
@martijnbraam Yeah, robot was suggesting PBOs. It would be great if someone with GPU experience could chime in, ideally saying "no, Librem 5 GPU can't handle 30MB/sec data flow" or better "yes, Librem 5 GPU can handle that easily, here is how" :-). Or maybe "No, can't work on Librem 5, but OnePlus 6 with this example ..."

Anyway, if someone has GPU experience, please chime in. If you know someone, you can show them the post or maybe boost :-).

#linuxphone#librem5
Pavel Machek
debayer-gpu (git@gitlab.com:tui/debayer-gpu.git) tries to do debayering on GPU. But it seems OpenGL 2.1 is ... really not meant to do the computation. glReadPixels() can be used to get data off the GPU, but that does not have great performance. On PinePhone, you can only get RGBA out, but we really need RGB. Doing RGBA->RGB on CPU is easy, but it degrades performance further. I believe problem is that ISP produces a lot of data.

On Thinkpad X220, converting 400 images is like 12 seconds. If I do no processing in the fragment shader, it is still 10 seconds. X220 is able to process ~20Mpix/second on GPU. I don't believe Librem 5 will be significantly better.

If you believe GPU can be useful for task like debayering (mostly rearranging data with some additions and 2 matrix multiplies per pixel), let me know. 30Mpix/second on Librem 5 would be useful performance. #linuxphone
TronNerd82

As much as I like the existing Linux phones, and am hopeful for the @Liberux, I'm kinda miffed that there isn't a good Linux phone in the general form factor of a #BlackBerry Leap, the all-time greatest smartphone form factor.

Like, give me some venture capital and I'd be up in that shit. I'd give it awesome specs, and have a tailored version of #Slackware with #Phosh on it. Maybe even #NetBSD for shits and giggles.

#Linux #FOSS #OpenSource #LinuxPhone #LinuxPhones #Yapping

Nick (Alatar the Blue)

Does anyone daily drive #postmarketOS or any similar #linuxphone that is not an AOSP derivative?

How’s the experience?

Björn :startrek: :bash: 🇪🇺

Calling all analog film photographers! 🎞️ I've been working on Filmbook, an open-source app to help you keep track of your film usage. It's built with Rust & GTK4/libadwaita for a smooth & modern experience – and it even runs on Linux phones like the Librem 5 and Pinephone Pro! 📱

The first version is ready for testing, and I'd love your input on what features would make it even better! Join the community & help shape Filmbook:
https://codeberg.org/bjawebos/filmbook ✨ #filmphotography #analogphotography #rustlang #gtk #opensource #community #testing #featureideas #librem5 #pinephone #linuxphone

DansLeRuSH ᴱᶰ

OK, I can understand that this is a niche market and that there won't be as many sales for a #LinuxPhone as for an Android/IOS ... but €1,300 (minimum) for the first backers for the #LiberuxNEXX !? 🤯

indiegogo.com/projects/liberux

Liberux NEXX

THE LINUX PHONE YOU’VE BEEN WAITING FOR. | Check out…

Indiegogo
lorenzo
For me too. I was waiting for, but 1.300€ is too much.

#FOSS #Linux #LinuxPhone