| T42 | <nightishaman> mal: test_hwcomposer segfaults | 00:33 |
|---|---|---|
| Mister_Magister | @nightishaman you're experiencing porting back in circa 2015 | 00:36 |
| Mister_Magister | took me half a year to get to gui | 00:36 |
| T42 | <nightishaman> how much coding experience do you have | 00:37 |
| Mister_Magister | I'm pro | 00:37 |
| T42 | <nightishaman> yeah how long and what | 00:38 |
| Mister_Magister | I've been backend web developer since like highschool but started porting way before i started working but like 8 years of professional backend php developer | 00:39 |
| Mister_Magister | and porting since over a decade | 00:39 |
| Mister_Magister | and i'm still dumb as shit | 00:40 |
| T42 | <nightishaman> thats a lot | 00:41 |
| Mister_Magister | well time does that weird thing that it marches on | 00: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 kernel | 00:43 |
| Mister_Magister | doing c++, is hobby developer for me | 00:45 |
| Mister_Magister | mal 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 :P | 00:46 |
| Mister_Magister | oh 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_Magister | shatgpt says something about wayland version but since we built it on sfos sources that shouldn't be a problem | 00:56 |
| Mister_Magister | let's see if cheeky 4 -> 3 in the code will solve this | 01:06 |
| Mister_Magister | would be cool if it did | 01:06 |
| Mister_Magister | wl_registry@27: error 0: invalid version for global wl_seat (9): have 3, wanted 4 | 01:24 |
| Mister_Magister | i've changed the version but it still yells that | 01:24 |
| Mister_Magister | hmmmmmmmmmmm | 01:24 |
| Mister_Magister | oh 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.c | 01:29 |
| Mister_Magister | one cheeky gst-plugins-base build in order | 01:31 |
| T42 | <nightishaman> can i somehow install the debug symbols for test_hwcomposer | 01:33 |
| Mister_Magister | which package provides test_hwcomposer? | 01:35 |
| Mister_Magister | @nightishaman libhybris-debuginfo | 01:36 |
| Mister_Magister | and debugsource i guess | 01:36 |
| T42 | <nightishaman> zypper in doesnt find them | 01:45 |
| Mister_Magister | you sure? it sure as hell does find them on my device | 01:47 |
| Mister_Magister | but you're not building on obs are you? | 01:47 |
| T42 | <nightishaman> nope | 01:47 |
| Mister_Magister | try finding them in droid-local->epo | 01:47 |
| Mister_Magister | repo* | 01:47 |
| Mister_Magister | AY gst-plugins-base rebuild move worked! | 01:49 |
| T42 | <nightishaman> https://paste.ubuntu.com/p/S2WPBcQfFK/ | 01:49 |
| Mister_Magister | i think you need droid-hal-device-devel | 01:51 |
| Mister_Magister | hmm now both test app and my app just segfault when playing video | 01:58 |
| Mister_Magister | Thread 28 "droidvdec0:src" received signal SIGSEGV, Segmentation fault. lovely | 01:58 |
| Mister_Magister | only notable thing is that it cannot find libI420colorconvert.so | 02:02 |
| Mister_Magister | so anyway I disabled hw decoding and it segfaults anyway | 02:06 |
| Mister_Magister | wait | 02:07 |
| Mister_Magister | it's playing now | 02:07 |
| Mister_Magister | but I only hear audio see nothing | 02:07 |
| Mister_Magister | IT WORKS | 02:08 |
| Mister_Magister | in test app not my app but that's 99% QML fail | 02:08 |
| Mister_Magister | i have suspecion that libI420colorconvert.so is the culprit | 02:09 |
| Mister_Magister | ayy got it to show in picoplayer, i knew its just qml things | 02:12 |
| Mister_Magister | IT WOOOOOOOOOOOOOOOOOOORKS | 02:18 |
| Mister_Magister | SUBTITLES OVERLAY! | 02:18 |
| Mister_Magister | that's why i wante dit! | 02:18 |
| Mister_Magister | now every type of subtitles that gst supports will work and will just overlay themselves! | 02:18 |
| Mister_Magister | huuuuuh | 02:42 |
| Mister_Magister | so i built gst-droid on obs against my deveice in order to get debuginfo and… it just… works now | 02:43 |
| Mister_Magister | my app segfaults but test app doesn't | 02:43 |
| T42 | <nightishaman> still getting no backtrace in gdb for test_hwcomposer | 02:44 |
| Mister_Magister | ok picoplayer doesn't segfault under gdb which is even more fun | 02:48 |
| Mister_Magister | no still, if i install gst-droid from adaptation-common it breaks | 02:58 |
| Mister_Magister | hmm | 03:02 |
| Mister_Magister | it randomly stopped working on either version of gstdroid | 03:03 |
| Mister_Magister | it apparently segfaults here https://github.com/sailfishos/gst-droid/blob/0.20240806.0/gst/droidcodec/gstdroidvdec.c#L126C7-L126C11 | 03:04 |
| Mister_Magister | doesn't seem like it should segfault at all | 03:07 |
| Mister_Magister | now it broke completely it just hangs | 03:10 |
| Mister_Magister | it just hangs also on my other device hm | 03:16 |
| Mister_Magister | maybe 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_Magister | and when i launch different media it segfaults again | 03:22 |
| Mister_Magister | so it either segfaults or hangs | 03:22 |
| Mister_Magister | yeah it segfaults on out0[x] = row[0]; | 03:22 |
| Mister_Magister | p out0[312] returns 2 = 0 '\000' (x is 312) | 03:23 |
| Mister_Magister | on the other hand row[0] is Cannot access memory at address 0x7f7e504000 | 03:24 |
| Mister_Magister | i feel like this is way beyond my comprehension | 03:29 |
| Mister_Magister | but i feel like mal will be able to help now | 03:31 |
| Mister_Magister | hmm some format plays just fine, other format, segfaults, some other format, hangs | 03:31 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!