mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

#librem5

4 posts4 participants0 posts today

Any here with a #Librem5 get terrible WiFi reception with their device? A Purism rep suggested it might be something with my router config. I've now tested with about 5 different routers in and out of my control, and see the same thing with all: I basically need line-of-sight to the router to maintain signal, 5G networks can sometimes do slightly better, maintaining a signal through a single interior sheetrock wall. Other devices, even much older devices, seem to hold connections on these networks just fine. Recommendations?

Replied in thread

@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.

Calls
Flathub - Apps for LinuxInstall Calls on Linux | FlathubMake phone and SIP calls
#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

Google to Pay Texas $1.4 Billion to End Privacy Cases

Users who rely on Google’s Android ecosystem—phones, tablets, search engines, browsers—are exposed to monitoring, tracking, and data harvesting by design, not by accident.

Unlike Google and Android-based platforms, Purism’s #Librem5 smartphone and #PureOS operating system are built for privacy, security, and user freedom.

puri.sm/posts/google-to-pay-te

Purism · Google to Pay Texas $1.4 Billion to End Privacy Cases – PurismPurism makes premium phones, laptops, mini PCs and servers running free software on PureOS. Purism products respect people's privacy and freedom while protecting their security.
Continued thread

I'm currently in the process of cleaning up all the hacks I used to upstream this as quickly as possible. Along the way, I also fixed some issues with 3d, cube, and 2d_array support 😎

dEQP-GLES3.functional.texture.format.sized.*.rgba32*

Test run totals:
Passed: 24/24 (100.0%)
Failed: 0/24 (0.0%)
Not supported: 0/24 (0.0%)
Warnings: 0/24 (0.0%)
Waived: 0/24 (0.0%)

I was not getting mobile data while at #DebConf25 (Brest, France) on #Librem5. My home network is vi India. Another provider airtel worked, and the same Vi sim worked on an android phone as well as pinephone pro running mobian. On #FLX1 also vi failed but airtel worked.
I manged to get it working after installing a patched ModemManager that uses ppp instead of qmi for data connection. Thanks to @dos for maintaining these patches source.puri.sm/sebastian.krzys

GitLabCommits · bearers · Sebastian Krzyszkowiak / ModemManager · GitLabFork of https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git with SIM7100 support patches
Replied in thread

@ronnylam I have suspend enabled when on battery power. This works pretty well, although it is officially still considered experimental. In general, I keep the #Librem5 connected to a charger whenever possible, so I do not know exactly how long the battery lasts. But for sure there has been a lot of progress in how long you can use the phone on one battery charge. Maybe not up to par with other phones, but workable for me.

Did you ever have a look at the excellent #documentation of #Purism products?

docs.puri.sm/

One of the products of Purism is the #Librem5. The Librem 5 is a #Linux phone that runs the #PureOS operating system.

This phone is built up from the bottom to provide #privacy and software #freedom. No #surveillance by the manufacturer, free and #opensource (#FOSS) is their standard.

I use a Librem 5 as my daily phone.

docs.puri.smHome - Purism user documentation
Replied in thread
@datenwolf I believe I'm limited to OpenGL ES 2.0. Presumably hardware can do more but our current drivers can not, so we are stuck there.

On the other hand... #librem5 main sensor can not do 10bpp at the moment, due to missing drivers. So maybe we can focus on 8bpp, first. Probably ineffecient conversion is "good enough" too, as GPU is a bit overpowered for this job.