Friday, 2026-10-02

Mister_Magistermal: so I asked claude if sharpening and denoising can be disabled on camera1 api and it litearlly did it in like 8 lines of code, so now I don't even need camera2 api01:19
Mister_Magisteri thought it was not doable01:36
*** n2klb_ is now known as n2klb02:01
T42<elros34> @Mister_Magister  I have impression this is same as @the_hiktor isse few weeks/monts ago. If you remove selinux policy then these journal socket error might dissappear but that will probably cause other errors. No idea how he fixed it02:42
T42<Mister_Magister> I fixed it thanks02:43
T42<elros34> how?02:43
T42<Mister_Magister> ^ (re @SailfishFreenodeIRCBridgeBot: <Mister_Magister>som...)02:43
T42<Mister_Magister> Check miami droid-configs repo02:44
T42<Mister_Magister> Its 5am i ought eel02:44
T42<Mister_Magister> Eep02:44
T42<elros34> "mount -o context=system_u:object_r:tmp_t:s0 userdata.img tmp" in image creation script. ok that could explain, IIRC he also used this custom scripts02:48
malMister_Magister: I thought it was not possible, can you show what would be needed10:33
T42<b100dian> Yeah, I remember searching for sharpening and noise controls in camera1 too. Are there any?11:18
Mister_Magistermal: basically camera1 on new enough android goes through camera2 to camera1 converter and you can change the parameters in that converter13:45
Mister_Magistermal: in here https://github.com/LineageOS/android_frameworks_av/blob/lineage-23.2/services/camera/libcameraservice/api1/client2/Parameters.cpp#L2418 it added this https://paste.opensuse.org/pastes/52f1f4c097dc13:47
Mister_Magisterit's not universal fix cause it needs said converter so like android 10+13:48
Mister_Magisterbut maybe i'll bother claude to figure it out for older ports, my op6 is android 913:49
Mister_Magisterbut the difference in quality is night and day13:49
malyeah, I did some testing with android apps on jolla phone and the noise reduction affected a lot, edge mode also but not as bad effect14:14
malMister_Magister: good way to test the effect is to take a picture of a tree with leaves14:19
Mister_Magisterso you're now believer in no sharpening and denoising by default14:20
malwell it seems to be different per device14:20
T42<abranson> tbh all cmos cameras need a bit of that in the firmware because they're not very good. but it's got to be done properly.14:28
Mister_Magistertrust me 99% cameras are better off with those two disabled14:30
Mister_Magisterthat's what my camera guru said14:30
T42<b100dian> "basically camera1 on new enough android goes through camera2 to camera1 converter"14:58
T42<b100dian> somehow I knew that14:58
T42<b100dian> but never crossed my mind to change the sources14:58
T42<b100dian> like adding it as a patch and be done14:58
T42<NotKit> I don't know if it goes through converter on newer MTKs, but it can be changed in HAL for Jolla Phone as well14:59
T42<NotKit> though I did see some weird artifacts in viewfinder with edge sharpening turned off15:00
T42<b100dian> jp2 really removes details, not only noise. Sake was sharpening like crazy. Should try this when updating to 5.2 ;)15:01
T42<K31j0> Why does the polish pope remove details (re @b100dian: jp2 really removes d...)15:02
T42<K31j0> Oh sorry this is no MichaƂ's group shouldn't be joking15:02
T42<K31j0> Excuse me15:02
T42<b100dian> root cause may be polish though:)15:04
T42<abranson> first time i've heard that. might have to start calling it the polish pope15:09
T42<Mister_Magister> jp2 is acronym for John Paul 2 not for jolla phone 2 sorry15:16
*** Mister_Magister_ is now known as Mister_Magister15:16
T42<K31j0> It's not yellow enough (re @abranson: first time i've hear...)15:22
T42<abranson> why-not-both.gif15:22
T42<Mister_Magister> because SEO gets confusing and annoying with both15:23
T42<Mister_Magister> like D programming language, try to find anything15:24
T42<Mister_Magister> to find anything using jp2 you'll have to write jp2 phone15:24
T42<Mister_Magister> https://jambophone.xyz/products/jp2 JAMBO PHONE15:24
T42<abranson> i guess i'm not catholic enough to understand15:24
T42<Mister_Magister> long story short its taken15:24
T42<Mister_Magister> so its better to use jp2615:25
T42<abranson> yeah. it's never actually been called the 'jolla phone 2'15:25
malyeah, jp2 is wrong in every way, jp is more accurate15:52
maljp2601 is the internal codename, nothing to do with 215:53
T42<abranson> the only really correct way to refer to it is JOLLA PHONE (2026) in all caps.15:59
T42<abranson> but i just call it 'the deck' now16:00
T42<TheVancedGamer> jolly phone is better16:36
T42<Mister_Magister> jp26 broskis16:49
Mister_Magistermal: aaand claude also fixed wide angle camera that was not present on camera1 api for me. Say what you want about LLMs but they're freakishly useful little buggers xd18:40
malwhat was the reason for that?18:50
Mister_Magisterhold18:51
Mister_Magistermal: don't be insulted by llm response but https://paste.opensuse.org/pastes/3ea93fc2e2e518:54
Mister_Magisteryo mister @b100dian if you apply same fix for disabling denoising and sharpening on mi note 10, according to my guy you'll have best camera on any sfos device currently ported18:55
Mister_MagisterIf that entices you contact me for further information xd18:55
T42<b100dian> Your buddy should get a Mi Note 10 Pro, port should work ;)18:56
T42<b100dian> but yes, that's also too denoised, but not in JOLLA PHONE (2026) TM league:)18:57
Mister_Magister@b100dian i can explain you the patches if you interested18:59
Mister_Magisterhttps://paste.opensuse.org/pastes/18d4df7cddbe19:00
T42<b100dian> first, I'd like to know if your friend got the device and really needs it, or it is just because I bragged on portslists about 1/1.33" sensor ;)19:00
T42<b100dian> (really needs the patches)19:00
Mister_Magisterno he doesn't, but don't you want to improve camera for users?19:01
T42<b100dian> Nobody complained:) But I shall test that, thanks for the diff, and if it is unlocking some real difference, of course. Otherwise, the camera1 defaults on tucana look fine-ish19:02
Mister_Magisterofc nobody will complain because they don't even know they're missing out19:03
Mister_Magister@b100dian it will be night and day19:03
Mister_Magisterayayay it messed up viewfinder on op619:07
Mister_Magisterbut its fine when taking pictures so ill just apply it when its taking picture xd19:08

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!