FWIW, don't mind the stripes on the bottom or right edge on some of these photos. It was just me poorly rotating and noticing too late ๐
And the great thing is that you can take your past photos and re-develop them again with whatever code you have available now. No need to be picky, it's fast enough to just go through them all.
There are still some crucial things missing, such as profiled denoising or proper highlight recovery, but since the performance budget for a still photo is much higher than for a 30 FPS video, there's plenty of room to add more stuff - and most of these 2 seconds are spent reading DNG and saving JPG anyway.
Unlike Glowup, which takes about 30 seconds and lots of RAM to process, this is still just as fast - the photo is developed within 2 seconds from shooting.
To pass some time in a train yesterday, I've copy'n'pasted my recent GPU ISP into Millipixels' postprocessing code to see how it compares with what was already there. Before/after:
By the way, with just a one-line change (commenting out mp4mux/filesink, uncommenting flvmux/rtmpsink and adjusting the URL) you can stream online rather than to a local file ๐
(fwiw this screenshot is from before autofocus, white balance and most of image processing stuff was there)
#linuxmobile #mobilelinux #linuxphones #camera #librem5 #shotonlibrem5
I have published the snippet of code that implements a GPU-based ISP with bunch of corrections and encodes video in real time on the Librem 5. Feel free to take parts of it and use in your apps and frameworks... or record your cats ๐ผ
https://source.puri.sm/-/snippets/1223
#linuxmobile #mobilelinux #linuxphones #camera #librem5 #shotonlibrem5
Librem 5 protip: listening to music on a cheap pair of tiny in-ear headphones in a noisy environment? Enable HD Bass to wake the bass guitarist up:
amixer -D hw:L5 sset 'HD Bass' on
#librem5 #mobilelinux #linuxmobile #linuxphone #shotonlibrem5
So yesterday I saw a @postmarketOS toot about their web flasher for Android devices, and I thought - how hard would it be to make one for L5? Turns out - not hard at all. Here it is booting Jumpdrive.
Some caveats:
- requires permission setting on Linux ๐ I may work out-of-box on other platforms though
- it's sloooow, but there's hope: https://github.com/WebAssembly/design/issues/1271
- asks 5 times to allow access to the device. Could go down to 3, but no less than that.
That's all I can think of on the spot. Of course there's still the camera and GPU stuff, but these would need their own dedicated threads ๐ Feel free to hit me up if you want to hack on some of these things, I could likely offer some help and guidance.
The Librem 5 (and mobile GNU/Linux in general) has matured a lot over the years, but there are still some areas where the software stack is behind the hardware capabilities. Some of them are often talked about, such as camera quality or GPU (GLES3/Vulkan/OpenCL), but there are also lesser known ones in need of some plumbing and middleware infrastructure. Maybe you'll find something interesting to hack on there?
1/N ๐งต
For those interested, Iโve pushed the firmware that implements the necessary alt-mode dance to get UART out of the #Librem5's USB-C port to #Debuboโs repository.
It wasnโt pushed before because it was very crude and I wanted to clean it up before pushing. It still is, but I decided to actually get it out regardless rather than risk having it sit and wait for even more months ๐
How to speed up your phone for free - tested guide, it works!
1. Enable KASAN and other kinds of instrumentation while debugging your phone's kernel.
2. Notice how it makes things slower, but not slow enough to be unusable.
3. Keep using the phone this way.
4. Get used to it and forget that these things are enabled.
5. Many months later, get back to stock kernel config while doing something unrelated and enjoy your newly unlocked extra performance! ๐
#mobilelinux #linux #librem5 #shotonlibrem5
Purism has released the Librem 5's mechanical design, adding to already available schematics and PCB layouts.
https://source.puri.sm/Librem5/3D_designs/-/blob/master/Librem5-Chassis/librem-5.step
I think that may make it the first proper Open Hardware smartphone out there.
#purism #librem5 #linuxmobile #linuxsmartphones #openhardware #oshw #cad
Seems like nobody was reaching for this low-hanging fruit, so I did it myself:
"Glowup" is a quickly hacked up thing that lets you glow your Librem 5 photos up with one click right on the phone, using #darktable and about 30 seconds of processing.
https://gitlab.com/dos1/glowup
#librem5 #mobilelinux #linuxmobile #linuxsmartphones #shotonlibrem5 #catsofmastodon (late)#caturday #myfirstlibadwaitaapp ๐
The hardware design is now released at https://gitlab.com/dos1/debubo
#debubo #kicad #diy #electronics #librem5 #stm32 #usbpd #oshw
Took me 3 days of soldering, but it works!
I can connect it to a Librem 5 and it automatically does all the needed PD stuff to expose its UART over USB-C ๐ It's also capable of a lot of other PD magic as a USB PD analyzer / injector / filter.
However, while these solder joints made a good job lasting till I got the firmware PoC working, it doesn't seem like they're going to last much longer... More soldering ahead ๐ซ
#debubo #kicad #stm32 #usbpd #librem5 #shotonlibrem5 #diy #electronics #oshw
Hi, I'm dos. Silly FLOSS games, open smartphones, terrible music and more. 50% of @holypangolin; 100% of dosowisko.net. he/him/any. I don't receive DMs.