techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users

#librem5

8 posts7 participants2 posts today

When regulators say #Microsoft’s AI ecosystem could undermine competition and transparency, they’re voicing what many in the #opensource community have warned for years: proprietary platforms consolidate power by obscuring their internal operations, locking users into dependency, and integrating #surveillance through seamless updates masked as “productivity enhancements.”

puri.sm/posts/germany-puts-mic

Purism · Germany Puts Microsoft on Watch—Why PureOS Offers a Safer, More Transparent Alternative – 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.

Tonight I was looking at a segfault found during CTS testing. We run out of command stream space and trigger a force flush that then tries to update derived states... but that only works if we're actually in draw_vbo().

The fix isn't straightforward since etna_draw_vbo() has many early returns, so I went with __attribute__((cleanup(..))).

As usual, here's the Mesa MR fixing it: gitlab.freedesktop.org/mesa/me

GitLabetnaviv: Do not update derived states during non-draw force flush (!36506) · Merge requests · Mesa / mesa · GitLab What does this MR do and why? etnaviv: Do not...
Continued thread

Another tuesday, another 13KM group bike ride in Lisbon :)

This time the #librem5 GPS lost it's fix in 3 small areas of the city with narrow streets and buildings. But in overall the track is quite accurate.

The return home was another 5KM.

Replied in thread

@paulk Thanks. Ik gebruik de #Librem5 nog steeds als mijn dagelijkse telefoon. Waarschijnlijk komt er over niet al te lange tijd weer een volledige upgrade van het besturingssysteem (#PureOS). Misschien is het tijd om er weer eens een actueel blogje over te schrijven.

Funny… I'm investigating some wide_line CTS failures, and for some unknown reason, the blob driver does a second draw with line width 1 after the normal wide line draw. etnaviv does not know about the existence/need of this special draw, which causes the CTS tests to fail.

Starting to question my life choices 🙃

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.