Doylov Vasiliy

@NekoCWD
41 Followers
32 Following
161 Posts
Languages ru/en
I want to run @postmarketOS on all of my devices
Matrixhttps://matrix.to/#/@nekocwd:tedomum.net
Telegramhttps://t.me/NekoCWD
Age18
MeowMeow
🌠 Big Singularity update:

Singularity now renamed to SingNeko to avoid name conflict

SingNeko - simple adaptive GTK4+Adwaita GUI for singbox written in @vala_lang.
You can use it to easily connect to proxy servers from subscription files.

Updates:
- Singularity renamed to SingNeko
- Added desktop layout (with logs in sidebar)
- Restyled bottom sheet in mobile layout
- Started work on splitting singbox wrapper to dedicated library

And yes! First release should be in a few weeks
🐱 Meow!
I'm not so good in archery, but at least my WIP
#libcamera patches for autofocus works great :D

Let's make some promo of it

Shot with
EyeNeko camera app on OnePlus 6 (oneplus-enchilada) running @postmarketOS

#ShotOnMainline #linuxonmobile
🐱 Miau! I took some photos on front camera of my Xiaomi Redmi 4 (xiaomi-prada) running @postmarketOS.

With some tweaks photos looks really great
😻

#ShotOnMainline #linuxonmobile
🎉 @postmarketOS now works on my Mobvoi TicWatch Pro 3 LTE 🎉

The battery life is not that great, but now I can listen to music without my phone using bluetooth headphones.

Rei really likes it

🎉 Beautiful Media Player plugin update!

This is a @phosh plugin written in @vala_lang that makes media player in quick settings/lock screen beautiful 😻

Features:
- Ambient background 🌠
- Control multiple players in single widget (thanks to @WildPowerHammer for inspiration) 🎶
 - Ability to use slider to set playback position  

I'm going to make final changes, make first release and package it in @alpinelinux to make @postmarketOS users happy

https://gitlab.com/NekoCWD/phosh-media-player

#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

🎉 🐱 @phosh media plugin update!

Now we can control multiple players (swipe to switch)

Thanks to
@WildPowerHammer for idea

Plugin sources:
https://gitlab.com/NekoCWD/phosh-media-player

Hay! I'm done with beautiful player for @phosh written in @vala_lang

Make your @postmarketOS #linuxonmobile experience more 🐱 meow'ish

https://gitlab.com/NekoCWD/phosh-media-player

#ui #gtk

UPD for my previous post: cool design from people from "pmos in Russian" tg chat

🐈 Hehe, now we can make @phosh plugins in @vala_lang.

Made plugin that replaces default phosh player to amberol'ish one