Thursday, 2026-06-04

T42<nightishaman> mal: test_hwcomposer segfaults00:33
Mister_Magister@nightishaman you're experiencing porting back in circa 201500:36
Mister_Magistertook me half a year to get to gui00:36
T42<nightishaman> how much coding experience do you have00:37
Mister_MagisterI'm pro00:37
T42<nightishaman> yeah how long and what00:38
Mister_MagisterI've been backend web developer since like highschool but started porting way before i started working but like 8 years of professional backend php developer00:39
Mister_Magisterand porting since over a decade00:39
Mister_Magisterand i'm still dumb as shit00:40
T42<nightishaman> thats a lot00:41
Mister_Magisterwell time does that weird thing that it marches on00:42
T42<nightishaman> ive been hobby developer since 2010/11, doing my bachelor thesis in computer science security and my bachelor thesis probably will include working on my own kernel00:43
Mister_Magisterdoing c++, is hobby developer for me00:45
Mister_Magistermal just gets angry at me because i've been bothering him for close to a decade and he had enough of me and doesn't believe how dumb I am :P00:46
Mister_Magisteroh also mal about qmlglsink, I've tried this https://github.com/dv1/qmlglsink-example and it exhibits same issue as my app, https://paste.opensuse.org/pastes/03b27af63736 problem with wayland :/00:53
Mister_Magistershatgpt says something about wayland version but since we built it on sfos sources that shouldn't be a problem00:56
Mister_Magisterlet's see if cheeky 4 -> 3 in the code will solve this01:06
Mister_Magisterwould be cool if it did01:06
Mister_Magisterwl_registry@27: error 0: invalid version for global wl_seat (9): have 3, wanted 401:24
Mister_Magisteri've changed the version but it still yells that01:24
Mister_Magisterhmmmmmmmmmmm01:24
Mister_Magisteroh that seems like it's in the gst-plugins-base because the path is ./subprojects/gst-plugins-base/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c01:29
Mister_Magisterone cheeky gst-plugins-base build in order01:31
T42<nightishaman> can i somehow install the debug symbols for test_hwcomposer01:33
Mister_Magisterwhich package provides test_hwcomposer?01:35
Mister_Magister@nightishaman libhybris-debuginfo01:36
Mister_Magisterand debugsource i guess01:36
T42<nightishaman> zypper in doesnt find them01:45
Mister_Magisteryou sure? it sure as hell does find them on my device01:47
Mister_Magisterbut you're not building on obs are you?01:47
T42<nightishaman> nope01:47
Mister_Magistertry finding them in droid-local->epo01:47
Mister_Magisterrepo*01:47
Mister_MagisterAY gst-plugins-base rebuild move worked!01:49
T42<nightishaman> https://paste.ubuntu.com/p/S2WPBcQfFK/01:49
Mister_Magisteri think you need droid-hal-device-devel01:51
Mister_Magisterhmm now both test app and my app just segfault when playing video01:58
Mister_MagisterThread 28 "droidvdec0:src" received signal SIGSEGV, Segmentation fault. lovely01:58
Mister_Magisteronly notable thing is that it cannot find libI420colorconvert.so02:02
Mister_Magisterso anyway I disabled hw decoding and it segfaults anyway02:06
Mister_Magisterwait02:07
Mister_Magisterit's playing now02:07
Mister_Magisterbut I only hear audio see nothing02:07
Mister_MagisterIT WORKS02:08
Mister_Magisterin test app not my app but that's 99% QML fail02:08
Mister_Magisteri have suspecion that libI420colorconvert.so is the culprit02:09
Mister_Magisterayy got it to show in picoplayer, i knew its just qml things02:12
Mister_MagisterIT WOOOOOOOOOOOOOOOOOOORKS02:18
Mister_MagisterSUBTITLES OVERLAY!02:18
Mister_Magisterthat's why i wante dit!02:18
Mister_Magisternow every type of subtitles that gst supports will work and will just overlay themselves!02:18
Mister_Magisterhuuuuuh02:42
Mister_Magisterso i built gst-droid on obs against my deveice in order to get debuginfo and… it just… works now02:43
Mister_Magistermy app segfaults but test app doesn't02:43
T42<nightishaman> still getting no backtrace in gdb for test_hwcomposer02:44
Mister_Magisterok picoplayer doesn't segfault under gdb which is even more fun02:48
Mister_Magisterno still, if i install gst-droid from adaptation-common it breaks02:58
Mister_Magisterhmm03:02
Mister_Magisterit randomly stopped working on either version of gstdroid03:03
Mister_Magisterit apparently segfaults here https://github.com/sailfishos/gst-droid/blob/0.20240806.0/gst/droidcodec/gstdroidvdec.c#L126C7-L126C1103:04
Mister_Magisterdoesn't seem like it should segfault at all03:07
Mister_Magisternow it broke completely it just hangs03:10
Mister_Magisterit just hangs also on my other device hm03:16
Mister_Magistermaybe it had cached hw decoding disabled or smth, but it's werid, originally it would straigth segfault on both now it just… hangs…03:19
Mister_Magisterand when i launch different media it segfaults again03:22
Mister_Magisterso it either segfaults or hangs03:22
Mister_Magisteryeah it segfaults on out0[x] = row[0];03:22
Mister_Magisterp out0[312] returns 2 = 0 '\000' (x is 312)03:23
Mister_Magisteron the other hand row[0] is Cannot access memory at address 0x7f7e50400003:24
Mister_Magisteri feel like this is way beyond my comprehension03:29
Mister_Magisterbut i feel like mal will be able to help now03:31
Mister_Magisterhmm some format plays just fine, other format, segfaults, some other format, hangs03:31
Mister_Magisterwhen playing twitch stream which is like bone standard h264 stuff, it plays one frame and then dies03:40
Mister_Magistersometimes 0 frames03:41
Mister_Magisteri feel like qmlglsink is unearthing demons in gstdroid that it itself did now know it had03:41
Mister_Magisterand i think now that we got qmlglsink those demons have to be exorcised03:42
Mister_Magisterbut we're close03:42
Mister_Magisterand yes it works without qmlglsink if you were pondering03:43
Mister_Magisteralso it's normal that behaviour differs with qmlglsink because it does one thing that i wanted that no other software in sfos currently (i don't think so) does, converts droidmedia specific output to standard output03:46
Mister_Magisterso let me explain, currently gst-droid outputs in custom droidmedia format, that, my apps just make sink specific for that format, and also if i remember correctly, sfos has plugin for qtmultimedia that does the same, so if I'm not mistaken no other software ever in sfos's history used this codepath to convert droidmedia custom output format to standard format and thats why it has issues03:51
Mister_Magisterbut if we squash the issues, sfos qill go into whole new era of video playback03:51
Mister_Magisternow i just need mal to 1. wake up, 2. be willing to help 3. report my findings to him cause aint no soul reading this backlog03:52
Mister_Magisteranyone reading this rambling should be over the moon excited03:54
Mister_Magisterin simplest terms, it's 2026 and NO sailfish app can play video with subtitles. None of them. Only my app can play srt subtitles but those are most basic ones. With these changes my app will be able to play every subtitle that gstreamer supports period.03:56
Mister_Magisterand what's most strange seemingly only I am trying to get us subtitles xd04:05

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