Monday, 2023-10-02

*** rdr_ is now known as rdr02:42
piggzmal: funny ... apparently the PPP will sleep the CPU mid-call08:02
piggzid have thought pa-modules-keepalive would have stopped that?08:03
T42_<rosettanongrata> nice to see you guys still remember me :) (re @b100dian: Wonder if @k1gen had...)08:09
T42_<b100dian> Do you have these files https://github.com/mer-hybris/pulseaudio-modules-droid-hidl/blob/master/src/hidl/module-droid-hidl.c#L356 ?08:12
T42_<rosettanongrata> @b100dian I did, search for "vintf" here, you'll find my struggle back from April08:38
T42_<b100dian> I think you have to read the above discussion, this was about iQcRilAudio presence in those files, not airbrush or droid-hal-init related08:57
malpiggz: I would think that also11:36
T42_<adampigg> mal: ill have to check which locks are active during a call11:42
UmeaboyDoes Sailfish build on Silicon based Mac since they're ARM based?12:32
T42_<K31j0> Umeaboy: I do not think that there are native arm targets for building it. And even then you would need a Linux VM. What do you exactly want to build it on?12:37
UmeaboyK31j0: Asahi Linux already runs natively on the Silicon based Macs. :)12:39
T42_<K31j0> I meant the targets for building sailfish, most of us crosscompile on x86 hardware. I don’t know your setup ¯\_(ツ)_/¯12:40
T42_<K31j0> I have an M1 MBA and even if I could build on it I would not because it’d become very hot and probably would not succeed.12:40
T42_<Mister_Magister> i doubt its exact same arch12:42
T42_<Mister_Magister> still it would be more work than its worth12:42
T42_<K31j0> Apple’s chips are armv8a IIRC12:42
rinigusUmeaboy: you could use https://github.com/sailfishos-open/docker-sailfishos-builder . I have used it with qemu for aarch64, but it should probably work on arm machines as well16:55
Mister_Magistermal: mind if i bother you, any idea why https://build.sailfishos.org/package/show/home:mister:pulseaudio-soxr/pulseaudio pulseaudio doesn't build? version is correct, repo is correct, doesn't build19:09
malMister_Magister: interesting20:02
malMister_Magister: it's building now, you were using too old version20:10
T42_<Mister_Magister> but it had correct brach20:10
malyes but it was using old tag20:10
T42_<Mister_Magister> you literally lowered tag20:10
malwhich one did it have before20:11
T42_<Mister_Magister> aoh no20:11
T42_<Mister_Magister> it was 620:11
malyeah20:11
T42_<Mister_Magister> current one is 820:11
T42_<Mister_Magister> i thought 6 was 820:11
T42_<Mister_Magister> common mistake20:11
malyes, 8 is just meson changes20:11
T42_<Mister_Magister> welp thanks20:11
T42_<b100dian> mal: thanks for pushing your camera2 updates, this is exactly what I wanted, appreciated20:18
T42_<Mister_Magister> are his patches out yet20:18
T42_<Mister_Magister> g2 is making better pics than zenfone 8 no joke20:18
Mister_Magistermal: goddamnit the mason changes disabled what i wanted to achieve20:20
T42_<b100dian> https://forum.sailfishos.org/t/camera2-api-development/14491/29 (re @Mister_Magister: are his patches out ...)20:24
T42_<Mister_Magister> @b100dian two words20:25
T42_<Mister_Magister> do it20:25
T42_<b100dian> Imma going to disable edge detection and noise processing, but it takes a village to grow video recording and the rest. But it's an awesome starting point, thats why I appreciate mal publishing it20:28
malMister_Magister: what did those disable?20:28
T42_<Mister_Magister> soxr20:28
mal@b100dian are those enabled by default?20:28
T42_<Mister_Magister> previously it was untouched and pa just picked it up if it was available20:28
T42_<Mister_Magister> now it's specifically disabled for god knows what reason20:29
T42_<b100dian> On zenfone 8 at least20:29
T42_<Mister_Magister> it does not fail if it doesn't detect soxr20:29
T42_<Mister_Magister> and smoothing (re @b100dian: Imma going to disabl...)20:29
mal@b100dian I didn't really check yet what things are enabled by default and should be disabled by default by us20:29
T42_<Mister_Magister> imma ask tadi what to disable20:29
mal@b100dian btw, flash works fine if you first tap the screen once20:30
T42_<Mister_Magister> mal flash doesn't even work right now20:30
Mister_Magisteri mean it does it just can't sustain the flashlight20:30
malMister_Magister: you mean in video mode?20:31
maltorch flash?20:31
T42_<b100dian> mal: this was also the case with camV1 on zenfone, that's why the pics are worse. But with V2 we can tweak them20:31
Mister_Magisternah in normal torch mode it goes off periodically xd20:31
malstrange20:31
Mister_Magistermal: how about screen never ever turning off20:31
Mister_Magisterthats even more strange20:31
Mister_Magisterthere's a lot strange things about this phone xd20:31
mal@b100dian ok, could be device specific then20:32
malbut anyway we should have some sane defaults in droidmedia20:32
T42_<b100dian> Yes20:32
Mister_Magisterugh for some reason pa doesn't want to pick up soxr20:32
mal@b100dian does that screen tap (manual focus) fix flash for you20:33
malMister_Magister: did you add it to spec as requirement?20:33
Mister_Magisterit didn't need it previously20:33
Mister_Magisterit just picked it up20:33
malobs doesn't install packages unless spec pulls them in20:34
Mister_Magisteryeah but i'm telling u it was working previously20:34
Mister_Magisteri'll fix it dw20:35
malthat is very odd20:35
Mister_Magisterstory of my life20:35
T42_<b100dian> No, flash fires in a way it is all white20:35
malsomething has to force installation of the package20:35
malMister_Magister: you had commented out the Requires from project config20:36
malthat is why it got installed before20:36
Mister_Magisterohh20:36
Mister_Magisterim dumb20:36
Mister_Magisterthank20:36
Mister_Magisternow we know why it was disabled20:38
malheh20:38
Mister_Magisteractually its weird20:39
Mister_Magister../libtool: line 7488: cd: lib: No such file or directory20:39
Mister_Magistershould be building its neither pulseaudio's not soxr's fault as soxr is widely used with pa20:40
mallet's try meson20:40
malMister_Magister: meson worked, I updated to 820:41
Mister_Magisterhow did u do it this fast20:41
Mister_Magisteri'm trying to check out tag xd20:41
maleasy to just change one number in _service file20:42
Mister_Magisterah you jsut changed revision20:42
Mister_Magisteryeah thats not gonna work20:42
Mister_Magister  -Dsoxr=disabled \20:42
malhmm20:42
malso fork and change it20:42
Mister_Magisterthats why i'm trying to do20:42
malah20:42
Mister_Magisterim 5 steps ahead20:42
malI forgot we had that in spec, not sure why20:43
Mister_Magisterbut for the life of me i can't checkout 14.2+git820:43
malmust have been some reason20:43
Mister_Magisterffs its sailfish/14.2+git820:43
Mister_Magistermal: probably just to spite me building pa with soxr20:44
malor maybe there was issue that it didn't want to build with the autodetection20:45
Mister_Magisterwe'll find out soon20:45
Mister_Magisterin reality jolla should be building soxr themselves it's not huge lib it doesn't even need updating20:45
Mister_Magisterand build pa against soxr20:45
Mister_Magisterlike literally every other distro including debian 820:45
Mister_Magisterinstead of going out of their way to remove it20:45
Mister_Magisterguess what https://build.sailfishos.org/package/show/home:mister:pulseaudio-soxr/pulseaudio it was just to spite me20:47
malwhat does soxr even do?20:48
Mister_Magisterbest resampling available on the market to date20:48
malok20:48
malwhat is the license of soxr?20:48
Mister_Magisterjolla is still having shitty super low resampling because anything higer was taking 10% of cpu on JOLLA PHONE20:48
Mister_MagisterTHAT WAS 9 YEARS AGO MOVE ON20:49
Mister_Magisterhttps://github.com/chirlu/soxr20:49
malok, maybe need to discuss that20:49
Mister_Magistermal: i would be very greatful20:49
Mister_Magisterat least AT LEAST20:49
Mister_Magisterchange default to speex-float-1020:50
Mister_Magisterplease20:50
Mister_Magisterusers will thank me20:50
malwhere is that default defined?20:50
Mister_Magister /etc/pulse/daemon.conf20:50
Mister_Magisteryou have speex-float 120:50
Mister_Magisteradd 020:50
Mister_Magisterthe diff is insane20:50
Mister_Magisterit's literally the lowest because 4 was eating 10% on jolla 1 and thats too old now phones handle soxr-vhq like its nothing20:51
Mister_Magisteralso mal yeah autodetection doesn't work with mason20:52
Mister_Magisterit just fails, thats why it was disabled20:53
Mister_Magisterbut if you want poc argument https://build.sailfishos.org/project/show/home:mister:pulseaudio-soxr20:53
malMister_Magister: it works in some cases, maybe pulseaudio uses it wrong20:53
Mister_Magisteridk20:53
malI remember there being some default value fallback, maybe that is missing20:53
Mister_Magistermayhaps20:53
Mister_Magisterstill real solution is just to add soxr, set float-10 to default, and i'll set soxr-vhq for myself20:54
Mister_Magisterthats default behaviour and it would be perfect20:54
malstill needs to be reasonable on all currently supported devices work well with any changed resampling method, jolla c is the slowest now20:54
maleven it should be faster than jolla 120:54
Mister_Magisteri'm sure float-10 will be plenty reasonable20:55
Mister_Magisteri have soxr on g220:55
Mister_Magisterat least 4 please20:56
Mister_Magister4 i think is default and it's reasonable20:57
Mister_Magister10 uses like 15% cpu on snap845 instead of 520:58
Mister_Magisterah no correction, currently jolla is using speex-fixed-2 which is even lower20:59
Mister_Magisterhttps://paste.opensuse.org/pastes/7b9b8bb43b8420:59
Mister_Magisterhere you go20:59
Mister_Magisterit's /etc/pulse/daemon.conf.d/50-sfos.daemon.conf20:59
Mister_Magistertoo heavy for jolla 1 lol20:59
Mister_Magisteroh and tahts 5 vs 15% of single core only so it's basically negligible21:01
malok21:11
Mister_Magistersorry for spam :P i get very passionate21:11
Mister_Magistermy anger towards jolla burs as hot as my desire to make apps21:12
Mister_Magistermal: https://github.com/sailfishos-on-sake/droid-config-sake/commit/520bb199e274517324ee83a19bd20c0637a60d92 :)))))21:22
Mister_Magister80 should override jolla's 5021:22
Mister_Magisteri think21:22

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