Sunday, 2022-05-01

voidanix[m]@b100dian tried the patch last night, nothing changed09:01
voidanix[m]does jolla-gallery also crash when playing videos for other devices without that patch?09:01
voidanix[m]camera and video recording works for some reason09:02
voidanix[m]here's a log in case somebody cares: https://paste.opensuse.org/4664368909:04
T42<elros34> lbt: can you fix OBS packages stuck in "dod" mode?09:22
T42<b100dian> voidanix[m] that gmp droid change was for when gallery playing worked but browser did not11:08
T42<b100dian> Though you seem to have color format error in that log - is it from gallery?11:10
voidanix[m]well yes when trying to play the video11:35
voidanix[m]when trying to open the video like 10 times in a row it will sometimes open and playback is perfectly fine11:35
voidanix[m]it's spamming the absolute heck out of dmesg with `kernel: binder: 9617 RLIMIT_NICE not set` too11:43
voidanix[m]like 20 times a second11:43
voidanix[m]@b100dian fixed my issue by downgrading droidmedia to https://github.com/sailfishos/droidmedia/commit/6e16d063cf0be365e417151bccb1f36d8e36e35313:59
voidanix[m]actually let me try w/ a commit behind https://github.com/sailfishos/droidmedia/commit/7a6f5e17732e4dfab97afacf4966bdb3c192c79b, this one might be the problematic one14:00
voidanix[m]^^^ can confirm that works too14:10
T42<elros34> so with latest droidmedia instead recommended version did you rebuild also droidmedia-devel and gst-droid against it?14:46
voidanix[m]Nope, just droidmedia14:49
T42<elros34> so there is a chance that commit is fine but issue was in version mismatch14:51
voidanix[m]wdym with that? droidmedia is at 20220211 and gst-droid is at 20211101 on the device currently14:59
T42<elros34> but droidmedia-devel is probably at different version and gst-droid is rebuild in jolla servers against droidmedia-devel15:02
T42<elros34> in 4.4.0.x droidmedia-devel is 0.20211101.015:06
voidanix[m]but how is droidmedia-devel relevant though? i have droidmedia-devel 20220213 on my build machine because gmp-droid required a newer one and updating it ended up being useless anyways15:08
T42<elros34> like I said it can be (but doesn't have to) because you did not build gst-droid.  Jolla did it against older version of droidmedia sources than you use. If there were some changes in headers then they can affect gst-droid -> jolla-gallery15:10
voidanix[m]oh gotcha15:12
poetasterpiggz, is erlos34's droid-media devel verion 0.20211001.0 relevant for volla?19:58
piggzpoetaster: go on20:17
poetasterah, well, the question is if our jolla builds are simply using a droidmedia that's too recend and subsequently ...20:20
poetasters/jolla/volla/20:21
poetasterpiggz, what caught my attention was  but droidmedia-devel is probably at different version and gst-droid is rebuild in jolla servers against droidmedia-devel20:24
poetasterpiggz, I'm also trying to figure out just exactly what version of opengl es we have. shade syntax diffs are a pita.20:27
poetasters/shade/shader/ (fragement,vertex)20:28
poetasterpiggz, I noticed a compositing error (using Canvas QML element) which @attah confirmed does not happen on 'official'20:29
poetasterpiggz, but the issue is confounded by the the 'official' images havin similar compositing errors20:30
poetasterwtf do I know. what is gst-droid?20:33
piggzgstreamer ontop of droidmedia20:34
poetasterpiggz, ah, I feel better now.20:34
poetastergstreamer dirty or evil on top?20:35
poetasterI don't know if you'd had time for the video capture issue, but it does seem like a gst onna droidmedia issue?20:36
poetasterpiggz, I'm just looking at >=9 stuff in droidmediarecorder.cpp and co. It occured to me > 4 is on >=10 ...20:42
poetasterANDROID_MAJOR, I mean.20:43
poetasterhmm. well, the lipstick capture and camera capture things might be related, but I don't see it.20:53
T42<b100dian> What camera capture problem is there on the volla, just curious?20:57
poetasternoop.20:58
poetasterI'm also debugging opengl compositing where it seems that volla has issues that the sony devices don't20:59
poetaster2 issues, camera makes photos, but no video recording AND lipstick crashes (reboot) on trying to screen capture.21:00
poetasterBut I don't think they are related while reading https://github.com/sailfishos/lipstick/blob/master/src/compositor/lipstickrecorder.cpp#L6321:01
T42<elros34> by screen capture do you mean screen recording or screenshot?: https://github.com/sailfishos/lipstick/blob/master/src/screenshotservice.cpp#L177.21:06
poetasterscreen shot.21:07
poetastercamera app one shot is ok. video recording, the jolla app (or advanced camera) just sit there and do nothing.21:07
T42<elros34> so look at screenshotservice.cpp instead lipstickrecorder.cpp. IIRC grabWindow() also use glReadPixels internally similar to lipstick recorder21:09
poetasteryo.21:09
poetasterthe closer I get to compositor, the more fear I feal.21:10
poetasters/feal/fear/21:10
poetasters/fear/feel/21:11
poetasterIt's not here. It's lower.21:12
T42<elros34> yeah I have never figured out my screenshot issue, By changing some parameters in glreadpixels I was able to make some random patterns in screenshots ant that is all so I just rebuild lipstick for every release with workaround21:12
poetasterah, jeez. I think you pointed out your workaround before?21:13
poetasterI'm trying to figure out why the compositor does color model foo.21:14
T42<elros34> yeah but I hope you will figure out your issue so maybe I will be able to learn something from it:)21:14
poetasterheh.21:14
poetasterok, I have some ideas. tomorrow.21:15
T42<elros34> have you tried to play with qtscenegraph-adaptation? It has some rendering code which I do not get. Maye simply removing plugin will change something?21:16
poetasterah.21:20
poetasterI'm going down that well:         view->setPersistentOpenGLContext(true);21:20
poetaster        view->setPersistentSceneGraph(true);21:20
poetasterneeded to keep backgrounding the app from destroying the GL context. there be gremlins.21:21
poetasterwhich port are you building?21:22
T42<elros34> some very old device, currently stuck on OBS "dod"21:23
poetasterargh. probably my fault for building too many old apps :)21:24
poetasterok, must sleep. gotta get up a 6.21:24
T42<elros34> I think this obs issue is not related to your building. Take care21:25
*** attah_ is now known as attah22:08

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