Posts
1788
Following
90
Followers
167
Riding horses, hacking computers, phones and smartwatch.
So I can take photos from "Clicks Machine"... So far, they are in 4cc format containing either rgb or raw bayer inside. #librem5
0
0
0
Fixing bug by one-byte change is not that unusual, but this bug only needed one-bit change to fix :-).
0
0
3
sdilej.cz prestal byt pouzitelny. Ale kdyz date to prohlizece sdilej.to ... :-).
1
0
0
Jo, rostou. A z koni se snadno hledaj. Jen je divny, ze jsou videt vzdycky jen cestou od domova, kdy je clovek linej slezat, a cestou domu uz tam najednou nejsou...?
0
0
1
If you think about using rust + cargo + gtk... maybe just don't. That ecosystem is not ready.
1
0
2
Pacha Izrael valecne zlociny v Gaze? Odpoved je bohuzel... ano :-(.

Is Israel commiting war crimes in Gaza? Yes, unfortunately. yt: Is\ Israel\ Committing\ A\ War\ Crime\ in\ Gaza?\ \[wdCctSUpPHM\]
0
0
2
Today it is clear that Meta/Facebook is breaking the law again. "You have to agree". "Pay or okay". No, it is not okay. Find me at https://social.kernel.org/pavel .
0
1
2
What are the best games for #mobilelinux?
9
1
0
Modra neni dobra, modra je kriterium

Kdysi jsem vyrazil ke zlutakovi v modrym cyklodresu. Nenechal na sebe sahnout, pohyboval se tak, aby byl centimetr od moji ruky. Musel jsem se jit prevlict.

Dneska jsem k nemu vyrazil v modry (nepromokavy) bunde. Jako jo. Na zavolani prisel, jen velmi, velmi, velmi opatrne. Mrkev si vzal a nasledoval me, ale dal dost jasne najevo ze ven z vybehu se mnou nepujde. Proste se choval jako pred rokem? lety? Pry me nezna a nikam se mnou nejde. Zda se, ze modra je kriterum.
0
0
0
Trump je placeny a/nebo vydirany Putinem.

Trump is paid and/or extorted by Putin.
22% Ano / Yes
44% Ano a za 10 let to bude obecne uznavane / Yes and it will be common knowledge in 10 years
33% No
2
2
0
Jak uklidnit povercivou pribuznou

(telefonni hovor) "Neboj, zadna tma nebude, co je to za nesmysl? Svetlo nemuze jen tak zmizet."

(jako kdyby mluvil k nekomu jinemu) "Belial!"

(pauza)"Fakt planujete nejaky zatmeni pristi ctvrtek? Jakyho c****a to napadlo?"

"Ta k**va bohorodna. Ne, to nepujde, mam rande a taky je koncert Zombiero Martin."

"Jak ze to nemuzes zrusit?"

(chvili pauza, pak temnym, autoritativnim hlasem) "Lorem ipsum dolor sit amet,
consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua.

(zase do telefonu) "Ne teticko, nepotrebujes svecenou svicku, prece bys neverila na nesmysly."

(spis pro sebe) "A taky jsem to zaridil."

[A kdybyste chteli vedet "ktera sekta", tak pry se to siri mezi katolickyma oveckama.]
1
0
0
#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
3
6
9
Tak hnusny pocasi ze i holuby chodej pesky

Vyjizdku jsme stihli, ale ted se venku zacinaj dit nepekny veci. Vypada to na bourku a neprijenou. A koukam, na strese boxu sedi holub, a vypada min plachej nez obvykle. A taky ze jo, na nohach krouzky. "Kamo, let radej jinam, tady je to sama kocka..."
0
0
1
Wargame podcast -- je na yt, "False Flag | The Wargame Ep 1 [9LEbjMAkU4I]", protrpel jsem za vas, abyste vy nemuseli. 5 hodin dramatu, kde rusove prekroci hranici pro atomovou odvetu v prvnim kroku, a vedeni UK je tak nekompetentni, ze neodpovi. To, ze se v poslednich 10ti minutach dozvime, ze by to takhle proste byt nemohlo, to nezachrani.

Wargame podcast -- ignore it. Not nearly realistic, not worth watching.
0
0
1
Subject: Sasha Levin is halucinating, non human entity, has no ethics and no memory

Hi!

So... I'm afraid subject is pretty accurate. I assume there's actual human being called "Sasha Levin" somewhere, but I interact with him via email, and while some interactions may be by human, some are written by LLM but not clearly marked as such.

And that's not okay -- because LLMs lie, have no ethics, and no memory, so there's no point arguing with them. Its just wasting everyone's time. People are not very thrilled by 'Markus Elfring' on the lists, as he seems to ignore feedback, but at least that's actual human, not a damn LLM that interacts as human but then ignores everything.

Do we need bot rules on the list?

Oh, and if you find my email offensive, feel free to ask LLM to change the tone.

Best regards,
Pavel
1
0
1
@NekoCWD Hi! libcamera people told me you are working on autofocus for libcamera. I got that to work with great hacks at Librem 5 at one point: https://lists.libcamera.org/pipermail/libcamera-devel/2025-April/049734.html . Is your code public somewhere? What hardware are you using?
1
0
0
How to install librem5 without an installer?

root@pureos:~# mount / -oremount,ro
mount: /: mount point is busy.
root@pureos:~# echo u > /proc/sysrq-trigger
root@pureos:~# mkdir /bar
mkdir: cannot create directory ‘/bar’: Read-only file system
root@pureos:~# cat /dev/sda > /dev/mmcblk0
root@pureos:~# sync
bash: /usr/bin/sync: cannot execute binary file: Exec format error
root@pureos:~#
1
0
0
Hey, world. I need Mobian installer for Librem 5, but the directory where it should be is empty. What is going on?
0
0
1
https://www.seznamzpravy.cz/clanek/zahranicni-trump-mluvil-se-zelenskym-o-jeho-malem-problemu-summit-nato-2025-280240

Ještě pár dní před summitem nebylo jasné, zda ukrajinský prezident Volodymyr Zelenskyj vůbec přijede. Bez jistoty, že si na něj americký prezident Donald Trump najde čas, totiž cesta nedávala smysl. V podobné situaci se ocitl i na začátku měsíce, kdy kvůli G7 letěl do Kanady – jen aby zjistil, že Trump ze summitu odjíždí dřív, než k setkání dojde.

Tentokrát bývalý prezident USA oznámil možné setkání jen neurčitě – během ranního letu na palubě Air Force One, který mířil do Nizozemska.

Byvaly prezident USA? Uniklo mi neco duleziteho? :-)
0
0
0
Zlutymu zachutnal nejakej plevel, tak se promenil v horskou kozu.
0
0
3
Show older