Posts
1861
Following
92
Followers
172
Riding horses, hacking computers, phones and smartwatch.
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
Computer not fast enough? Do if(!fork()) and you have two computers! :-)
0
0
0
@mirabilos @eevee Actually, you'd be surprised. I ran the modem locally on a cellphone, so I know the power consumption.
1
0
0
@mirabilos @eevee Yeah, because LLM clearly use more resources than human doing same job would.
2
0
0
I believe I have 1024x768 recording on Librem 5. Will it last?
0
0
1
re: uspol
Show content
@karolherbst Nah. How would that work? Is there any other country where they have majority system and more than two parties?
0
0
0
Hi!

I asked for help with ISP...

Can you program GPUs and do you want to become a HERO? #linuxphone
community needs your help.

[...]

and I got help. Both from humans and from language models. Quickly it
turned out Librem 5's GPU is fast enough for debayering at 24fps,
0.8MP and data can be transfered enough fast enough. Soon, it turned
GPU can use full 13MP image as a source, scaling it down to 0.2MP for
gstreamer mp4 recording.

This opens possibility to do phase-detection AF and digital
zoom. Librem 5 is not fast machine, its CPU/GPU/RAM is slower than
Thinkpad X220, for example.

Then I set out to investigate "how much of an ISP can I do" and it
turned out I did not yet find a limit.

So far I did black level, some attempt at denoise, three matrix
multiplies and gamma correction. (CPU could do black level + gamma +
one matrix multiply, almost, if I did vector instructions and a lot of
care). I don't know how much my GPU is loaded, but at the moment I
believe ISP on the GPU is the way to go.

Yes, I'm doing simpler debayer than usual, through not as simple as
explained below. I believe that's right choice when 13MP image is
available.

Code is at
https://gitlab.com/tui/tui/-/tree/master/icam?ref_type=heads . It has
some pretty rough edges. But get Librem 5, it is worth it :-).

Special thanks to @dos Sebastian Krzyszkowiak and @datenwolf.

Best regards,
Pavel
0
0
2
@dos Yep, that helps. Thanks! :-)
0
0
0
@dos Heh. Is my guess correct that it should be stride * HO, not WO * HO * 4? :-)
0
0
0
@dos I don't have much experiences with GUI programming, so I was looking for suggestions. I've got dma-buf handle but would not know what to do with it in gtk, and maybe SDL is better match. Or perhaps stick to original plan and do user interface ("take picture" button etc) in another process.
1
0
0
@dos There are at least two threads in this code: main one, and whatever runs "on_buffer_released". I don't yet know what causes the segfaults, but I suspect gstreamer.
1
0
0
@janantos @sesivany No a taky cim pozdejc to cloveku reknou, tim mensi sance je ze couvne, ze? :-)
1
0
0
@janantos @sesivany No, porad by to slo zlepsit (informuji az po zadani pinu a castky; kdybych to vedel, tak pin nezadavam), ale ano, je to lepsi nez to byvalo.
1
0
1
@sesivany @janantos Segre takhle (kdysi) proste nauctovali 100Kc. Bankomat nic nerekl, zjistila to az na vypisu. Na stiznost reagovali "to je normalni". :-(.
1
0
2
@mkyral smrskflaci. Pekne nove slovo :-). Podekujme vyrobcum cokolad co ... no v podstate podvadej zakazniky tim ze odeberou par gramu tak aby si nikdo moc nevsimhl.
1
0
0
@ozzelot That's... quite clever and true. But often having some code is better than having no code...
0
0
0
@eevee I used LLM to translate into czech and get summary. Should I feel bad? :-). There are good uses for LLM, and yes, that includes "startrek", but someone will have to do that. And yes, I tried to start (but did not get far, so far).
1
0
0
@sesivany @dodo1095zd @mcepl V prenosove siti se problemy siri rychlosti svetla. Proto byva zvykem sit shodit do konfigurace "po jednom selhani" uz ve chvili, kdy se o tom dozvim.

Coz vlastne moc nevysvetluje. Pockal bych na nejake vysetrovani.
0
0
0
@dos That gstreamer code in C is scary. Multiple threads, no locking, what could go wrong?
1
0
0
Show older