Monday, 2021-02-08

mighty17<T42 "<elros34> no, either get interne"> cant seem to get usb network working @elros34, but i did the sb2 thing on host pc now where is it on pc should i put it on device?07:58
T42<elros34> don't you get printed download location when zypper finished?08:12
mighty17<T42 "<elros34> don't you get printed "> Okay and where should I keep it in device08:13
T42<elros34> anywhere, then install: rpm -U /path/to/rpm08:14
mighty17<T42 "<elros34> don't you get printed "> the location dosent exist :/08:27
mighty17@elros34 with EGL_PLATFORM=fbdev test_hwcomposer (no minimer yet) i get none of those errors :?
mighty17@elros34 with EGL_PLATFORM=hwcomposer i get Framebuffer HAL errors
mighty17the dsscomp error was due to error in writing `EGL_PLATFORM=fbdev` instead of `EGL_PLATFORM=fbdev test_hwcomposer`08:57
T42<elros34> EGL_PLATFORM=something test_hwcomposer is test coomand you execute in terminal not put into any file08:58
mighty17ok i dont think i made myself clear08:59
mighty17what i did was 1) i had to reflash sfos 2)`vi /var/lib/environment/compositor/droid-hal-device.conf` 3) change EGL_PLATFORM=fbdev to EGL_PLATFORM=fbdev test_hwcomposer 4) reboot and i get this logcat
mighty17next was 5)vi /var/lib/environment/compositor/droid-hal-device.conf 3) change EGL_PLATFORM=fbdev to EGL_PLATFORM=hwcomposer 4) reboot and i get this logcat
mighty17i hope this clears unwanted issues09:01
T42<elros34> obviously 3 was wrong09:03
mighty17indeed i realised it yesterday before that i used to keep it as only fbdev my apologies09:05
mighty17 * next was 5)vi /var/lib/environment/compositor/droid-hal-device.conf 6) change EGL_PLATFORM=fbdev to EGL_PLATFORM=hwcomposer 7) reboot and i get this logcat
T42<elros34> also mask user@100000 and reboot before you use test_hwcomposer so lipstick start at the same time09:05
mighty17now with `fbdev test_hwcomposer` i cant find dsscomp or framebuffer hal errors09:06
mighty17<T42 "<elros34> also mask user@100000 "> will do that next time :) so should i keep using fbdev test_hwcomposer?09:06
T42<elros34> sorry so lipstick doesn't start at the same time*09:06
T42<elros34> I still don't know what is the result of running tets_hwcomposer. Does it hang, crash, shows something on screen?09:07
mighty17the screen is the same, no ui and on tapping/pressing power button i get backlight09:08
T42<elros34> did you mask user@100000?09:09
mighty17i am doing that but should i do with hwcomposer or fbdev test_hwcomposer?09:09
T42<elros34> both, running them is 5 secunds effort09:10
mighty17okay :) and send the logcat correct?09:10
mighty17@elros34 with hwcomposer09:17
T42<elros34> so where in log did you start it because I see no single line output from hwcomposer.09:19
mighty17i sent it too early here it is again
mighty17i cant see any error thought this is so confusing09:23
T42<elros34> There is only surfacflinger there, Did you start it? In which exact plase in logcat test_hwcomposer is running and I will repeat again when you run test_hwcomposer does it hang, crash or what?09:24
mighty17yes i started surfaceflinger manually09:25
mighty17<T42 "<elros34> There is only surfacfl"> @elros34 nothing changes on screen09:26
T42<elros34> so it fail with "failed to open the framebuffer module" what is corresponding line in logcat when that happens?09:28
mighty17 line 489?09:30
T42<elros34> Are you guessing or you opened 2 terminal windows and know for sure?09:32
* mighty17 uploaded an image: image.png (335KiB) < >09:34
T42<elros34> anyway now try: EGL_PLATFORM=fbdev strace -f test_hwcomposer to see if there are some acces denied errors becaue in logcat I do not see single error09:34
mighty17i did it again :v and yes with 2 terminals09:34
T42<elros34> and don't start surfaceflinger09:35
mighty17 @elros34 should i send logcat as well?09:36
T42<elros34> it will be same09:37
mighty17 * exactly!09:37
T42<elros34> do you have some /system/etc/powervr*.ini file. If yes the create symlink for it in /etc/09:42
mighty17indeed i have a powervr.ini file in /system/etc09:43
mighty17 make symlinks like this correct?09:48
T42<elros34> yes ln -s is for symlink09:56
mighty17<T42 "<elros34> do you have some /syst"> @elros34 and then reboot or EGL_PLATFORM=fbdev strace -f test_hwcomposer again?10:00
mighty17i ran `EGL_PLATFORM=fbdev strace -f test_hwcomposer`10:01
T42<elros34> it fails in same place10:03
mighty17:( what else does it need10:05
T42<elros34> who nows.. compare with hwcomposer platform otherwise you might need minimer10:06
T42<elros34> knows*10:06
mighty17so run `EGL_PLATFORM=hwcomposer strace -f` ?10:07
mighty17 * so run `sh-3.2# EGL_PLATFORM=hwcomposer strace -f test_hwcomposer` ?10:08
mighty17fk that is going like crazy in terminal10:09
mighty17lets just try minimer @elros3410:09
mighty17i cant find the output folder of sb2 -t target -m sdk-install -R zypper download qt5-qtdeclarative-qmlscene10:11
T42<elros34> path is probably different outside target10:19
mighty17@elros34 indeed i will have to search for it10:24
mighty17@elros34 the location it says dosent exist10:31
* mighty17 uploaded an image: image.png (38KiB) < >10:39
mighty17ermm @elros3410:39
*** Ischwitch is now known as Ingvix10:52
T42<elros34> find /srv/mer/targets/ -name qt5-qtdeclarative-qmlscene*10:54
mighty17yay found it! now unzip it and copy yo device, download minimer copy to device then what?10:55
T42<elros34> same as test_hwcomposer. Sometimes test_hwcomposer does not work. minimer is minimal qt application so it will use qpa-hwcomposer-plugin10:59
mighty17alright! will do11:02
mighty17@elros34 i get permission denied11:22
mighty17sh-3.2# EGL_PLATFORM=hwcomposer /data/media/0/0/usr/lib/qt5/bin/qmlscene -platform hwcomposer main.qml11:22
mighty17sh: /data/media/0/0/usr/lib/qt5/bin/qmlscene: Permission denied11:22
mighty17even as root11:23
mighty17[root@GalaxyTab2 /]# EGL_PLATFORM=hwcomposer /data/media/0/0/usr/lib/qt5/bin/qmlscene -platform hwcomposer main.qml11:23
mighty17bash: /data/media/0/0/usr/lib/qt5/bin/qmlscene: Permission denied11:23
T42<elros34> you were suppose to install qmlscene by rpm -U11:24
mighty17where is rpm location? /var/lib/rpm?11:24
T42<elros34> rpm is binary which you execute, you don't need it location11:25
mighty17<T42 "<elros34> anywhere, then install"> /path/to/rpm ?11:25
T42<elros34> yeah that is unclear in that?11:25
T42<elros34> what*11:26
mighty17what is the path supposed to be?11:26
T42<elros34> That depends on where you put qt5-qtdeclarative-qmlscene*.rpm11:26
mighty17there is no such file.... i downloaded from!AuDqiTFly4jxgxYNUdt16YluZn9011:27
mighty17im stupid11:27
mighty17<T42 "<elros34> That depends on where "> yup thats donw11:30
mighty17 related to this?/11:34
T42<elros34> yes, -14 was "Framebuffer HAL not opened before HWC" in logcat or I mixed it? try HYBRIS_EGLPLATFORM=fbdev EGL_PLATFORM=hwcomposer minimer11:36
mighty17<T42 "<elros34> yes, -14 was "Framebuf"> `sh: minimer: command not found`11:59
T42<elros34> HYBRIS_EGLPLATFORM=fbdev EGL_PLATFORM=hwcomposer /usr/lib/qt5/bin/qmlscene -platform hwcomposer main.qml12:02
mighty17display works12:03
mighty17i get the mer wallpaper @elros3412:03
T42<edp_17> @elros34 [HYBRIS_EGLPLATFORM=fbdev EGL_PLATFORM=hwcompos …], Can I try this on my S2 (i9100)? On there I needed to use EGL_PLATFORM=fbdev but the screen is very sluggish.12:04
T42<elros34> it will not hurt to test for sure12:06
mighty17so HYBRIS_EGLPLATFORM=fbdev EGL_PLATFORM=hwcomposer /usr/lib/qt5/bin/qmlscene -platform hwcomposer main.qml works! now next to get ui?12:07
T42<elros34> try as default user too, if that works then put those env to droid-hal-device.conf12:09
mighty17can u elaborate please. try as a default user?12:15
T42<elros34> su -l defaultuser then again same command12:16
mighty17oh that way ok12:17
mighty17@elros34 returned -13 error12:18
mighty17`QPA-HWC: hwc_module->methods->open(hwc_module, HWC_HARDWARE_COMPOSER, &hwc_device) in create returned -13`12:19
T42<elros34> 13 is permission so you should now already how to chek it12:20
mighty17change group of dss ?12:20
T42<elros34> check logcat for error and if nothing is there strace12:21
mighty17<T42 "<elros34> check logcat for error"> yuup logcat has failed to open dsscomp12:22
mighty17@elros34 with default user i cannot access the minimer folder thus i dont have main.qml file and so it fails12:29
T42<elros34> put minimer file in /home/defaultuser then12:31
T42<edp_17> mal: Thanks for the advise for the meta-packages! I was able to build sfos 4.0 for my treltexx! 👍😃12:39
mighty17@elros34 yes indeed it works12:45
mighty17once i copied minimer folder it worked12:45
mighty17even as defaultuser12:45
mighty17so like will the ui and things work now? what should i do?12:46
T42<elros34> it should, unmask user@100000 and you will see12:51
T42<edp_17> @elros34 : Can you take a look into this, please?
T42<edp_17> What should I change?12:51
T42<edp_17> I've added the HYBRIS_EGLPLATFORM=hwcomposer, but didn't help.12:51
T42<elros34> did you have /proc/pid/environ error at login?12:51
T42<edp_17> Yes, this: bash: /etc/profile.d/ can't open /proc/3544/environ: Permission denied12:52
T42<elros34> for now install psmisc-tools12:52
T42<elros34> mal: do you have any update about pidof systemd issue?12:53
T42<edp_17> Haha, the fun just starts: "Fatal error: busybox-symlinks-psmisc-1.31.0+git17-1.3.5.jolla.armv7hl conflicts with psmisc-tools provided by psmisc-tools-22.13+git1-1.2.1.jolla.armv7hl"12:53
T42<elros34> yeah that is expected, remove busybox symlinks12:53
T42<edp_17> You mean the package?12:54
T42<elros34> busybox-symlinks-psmisc replaces psmisc-tools12:54
T42<edp_17> Oh, okay. Thanks.12:55
mighty17<T42 "<elros34> it should, unmask user"> @elros34 then reboot?12:57
mighty17`lipstick[1451]: [F] unknown:0 - QPA-HWC: hwc_module->methods->open(hwc_module, HWC_HARDWARE_COMPOSER, &hwc_device) in create returned -14`12:59
mighty17do i need to change in droid-hal-config12:59
T42<elros34> obviously..13:01
T42<elros34> don't sorry, just try what you think might help13:02
mighty17yes yes13:02
mighty17what about `QT_QPA_PLATFORM=hwcomposer` should i leave it as it is or remove it?13:03
mighty17i got ui13:05
T42<edp_17> @elros34 : another question. Apps can be started from command line but fails to start from the app drawer (calculator, calendar, weather, etc...)13:05
mighty17thank you so very much elros34 im so grateful to you13:05
T42<elros34> QT_QPA_PLATFORM is always same for android based devices13:06
mighty17touch is broken but i have a fix but idk how to apply it13:06
T42willtanium was added by: willtanium13:06
T42<elros34> @edp_17 there is new thing: sailjail which starts jolla-apps. Maybe something fail13:07
mal@elros34 no idea yet why it's broken13:07
T42<edp_17> @elros34 [@edp_17 there is new thing: sailjail which sta …], Okay, I'll try to see the logs. Thanks.13:09
mal@edp_17 maybe you are missing some kernel options needed for sandboxing?13:12
T42<edp_17> mal: It could be as I haven't changed anything in kernel. I get this error:
* mighty17 uploaded an image: IMG_2021-02-08-18-46-08-835.jpg (75KiB) < >13:16
T42<edp_17> @SailfishFreenodeIRCBridgeBot [* mighty17: uploaded an image: IMG_2021-02-08- …], Congrats!13:17
T42<edp_17> Is it sfos 3.4?13:17
Mister_Magistermal: k, i'm on newest libhybris and ssh'd13:17
mighty17Thanks to elros for bearing with me and helping out13:17
T42<zinstack625> What's new in 4.0? Have they updated qt?13:18
malMister_Magister: strace some failing ui process13:18
mighty17btw this is my 1st ever port :D13:18
Mister_Magisteri know i'm on it13:18
Mister_Magistermighty17: been there… uh… 6 years ago, hell we are even debugging it rn with mal13:19
mal@edp_17 run the latest mer kernel against the config from the device13:19
mal*mer kernel checker13:19
T42<zinstack625> @mighty17, we've all been there, guilt of borrowing someone's time is awful13:20
mighty17i know :'(13:20
mighty17<Mister_Magister "mighty17: been there… uh… 6 year"> they are epic people13:20
Mister_Magistershite, i crashed paste.opensuse.org13:20
Mister_Magisterman i gotta selfhost some paste13:22
T42<edp_17> mal: Thanks. There is no error, only warnings:
Mister_Magistermal: strace
* Mister_Magister poor mal doing 3 things at once maybe 413:24
malMister_Magister: can you also try running with gdb13:26
T42<elros34> just a remainder in case you install only libhybris on device. You need to also install qt5-qpa-hwcomposer-plugin build against updated libhybris13:26
maland if possible with HYBRIS_TRACE_UNHOOKED=1 HYBRIS_TRACE_HOOKED=113:26
Mister_Magistersay no more! im on it13:26
Mister_Magistermal: is there debuginfo for startup wizard?13:30
T42<elros34> I think using minimer would generate easier to read logs, they will be huge anywa13:32
malMister_Magister: not sure, I think libhybris side is the important thing13:33
Mister_Magisteri can run test_hwc tho13:33
Mister_Magisteryeah i already got libhybris ones13:33
Mister_Magistermal: idk if thats helpful
malMister_Magister: where is the obs build of that?13:45
malfound it13:46
Mister_Magisteroh, sorry, i'm at work so can be bit slow13:47
Mister_Magisterye its thea13:47
malMister_Magister: I think we might have some idea, we are thinking the best way to fix it, might be a race-condition because of how mutex lock is done14:04
Mister_Magisteroh sorry14:05
malMister_Magister: install the libhybris from here and check how it works
Mister_Magisteryou modified it :D14:29
Mister_Magisteri wonder how is it to be an admin :D14:29
Mister_Magisterat least sledges is an user in that project, totally civilised :D14:30
Mister_Magistershite… i don't have wifi due to broken libhybris14:31
malMister_Magister: download the rpms from the repo and copy over ssh14:33
Mister_Magisteri know i'm not a total dumbfuck its just that there are lot of them and not all of them are needed its just pita14:33
Mister_Magisterhmm that sounded bit offensivce14:35
Mister_Magistersorry  for that14:35
Mister_Magisterso lipstick is currently stuck in activating state14:38
Mister_Magisteroh no, it just failed14:38
T42<willtanium> Hello every one.14:44
T42<willtanium> Any chance there is a guide or any success for porting Sailfish to a device like ZTE Z812 and if so, any chance you might share the ROM you have ?14:44
malMister_Magister: so that didn't help? or did help a bit?14:44
Mister_Magistermal: no difference14:45
mal@willtanium does that device have cyanogenmod or lineage os builds available?14:45
Mister_Magisterits still segfaulting14:45
malMister_Magister: does gdb show the same issue?14:45
T42<willtanium> @SailfishFreenodeIRCBridgeBot  I have not been able to find a Lineage os build for it, or Cyanogenmod for it.14:54
Mister_Magister@willtanium i don't think you are replying to real person14:55
T42<willtanium> <mal>  I have not been able to find a Lineage os build for it, or Cyanogenmod for it.15:03
malMister_Magister: did test_hwcomposer work?15:27
Mister_Magisteri don't have it15:27
Mister_Magisterit was test_hwcomposer  not hwc xd15:28
Mister_Magisterno it doesn't work15:28
malMister_Magister: I assume you did EGL_PLATFORM=hwcomposer test_hwcomposer15:29
malstrace that15:29
maland gdb15:30
malMister_Magister: does adding HYBRIS_TRACE=1 print more stuff15:32
T42<elros34> adding --enable-debug might be good idea15:35
malwasn't it that debug build was somehow different and didn't fail?15:36
T42<elros34> I just checked and I have --enable-trace in onl libhybris source so that was probably switch that help15:37
malMister_Magister: I'll give you a modified version with debug printing once I make it15:38
malMister_Magister: I triggered a build of a new version test it once it's ready16:02
Mister_Magistermal: no difference16:14
mighty17@elros34 for a proper build what do i need to do? like i changed dsscomp to graphics and changed droid-config-hal but now again i get same issue16:15
T42<elros34> So which file wasn't updated?16:20
mighty17wasnt? or was updated?16:20
mighty17we changed droid-hal-config to fbdev and minimer, changed dsscomp perms16:20
mighty17and i personally used patches to get touch working16:21
T42<elros34> I dont get. Did you change hybris/droid-configs/sparse/*/droid-hal-device.conf?16:21
mighty17@elros34 in device it is in /var/lib/environment/compositor/droid-hal-device.conf16:23
T42<elros34> yeah but did you change that file in your build environment?16:24
mighty17so yes16:24
mighty17<T42 "<elros34> yeah but did you chang"> yes i changed it :)16:24
T42<elros34> so what isse you have then16:24
mighty17<T42 "<elros34> so what isse you have "> adding minimer support in build env16:25
T42<elros34> you are misunderstand something, minimer was needed for debugging. Forget about it.16:26
mighty17ok now what should i do?16:27
malMister_Magister: crash happens still in the same place?16:27
mighty17HYBRIS_EGLPLATFORM=fbdev EGL_PLATFORM=hwcomposer /usr/lib/qt5/bin/qmlscene -platform hwcomposer main.qml this was added to droid-hal-device16:28
T42<elros34> no, you really need to read some basic guid about env variables. Only add env variables: HYBRIS_EGLPLATFORM=fbdev and EGL_PLATFORM=hwcomposer to droid-hal-device.conf16:29
mighty17oh okay16:30
mighty17<T42 "<elros34> no, you really need to"> thats it no other change needed?16:32
T42<elros34> in that file you also adjust your touchscreen node otherwise that is enough for -14 error16:33
mighty17<T42 "<elros34> in that file you also "> fixed touchscreen anyways16:35
mighty17@elros34 it dosent work with `HYBRIS_EGLPLATFORM=fbdev and EGL_PLATFORM=hwcomposer`16:38
T42<elros34> cat that file and show it16:38
Mister_Magistermal: yep16:39
Mister_Magisterhybris_gralloc_allocate (width=<optimized out>, height=height@entry=1280, format=format@entry=1, usage=usage@entry=6144, handle_ptr=handle_ptr@entry=0x13b3d8, stride_ptr=stride_ptr@entry=0x13b3c4) at gralloc.c:27216:39
mighty17 * @elros3416:41
T42<elros34> so what fails now?16:42
mighty17same issue no ui and backlight on touch16:43
T42<elros34> sorry but that answer is not enough for somebody who knows what to search in logs16:44
mighty17yup im checking logcat16:44
Mister_Magistermal: i'm gonna be away now but you can write to me it will be reminded to me later by znc16:46
mighty17ah found it16:49
kernlingMister_Magister, ping17:07
mighty17@elros34 ermm we have a problem it seems until i run HYBRIS_EGLPLATFORM=fbdev EGL_PLATFORM=hwcomposer /usr/lib/qt5/bin/qmlscene -platform hwcomposer main.qml the ui dosent run17:58
Mister_Magisterkernling: what18:57
malmighty17: just curious, do you droidmedia built and installed?19:34
malMister_Magister: he might want to help with libhybris debugging19:35
kernlingMister_Magister, does the crash still happen if you use HYBRIS_TRACE_HOOKED=1 HYBRIS_TRACE_UNHOOKED=1 ?19:40
malMister_Magister: there is a new build of libhybris now, it has possibility for some tracing and also had a debug print before the failing code20:17
kernlingMister_Magister, can you provide logs from the new libhybris build that mal did?20:36
Mister_Magisterkernling: ye mal gave me HYBRIS_TRACE_HOOKED etc didn't change anything21:25
kernlingMister_Magister, yes but the new libhybris that he built should print something if you specify it properly21:28
Mister_Magisteri know, chill man21:28
Mister_Magisteri would like if people stopped assuming that i'm noob im doing it for 5 years now :<21:28
Mister_Magistermal: kernling: normal run strace gdb
kernlingMister_Magister, hmm seems like the tracing didn't work21:31
kernlingbut i guess i can see what's wrong now21:31
Mister_Magisterfunny thing both u and mal have red nicks here :D21:32
malMister_Magister: new version ready soon on OBS22:03
malI think I will make a new version still22:07
Mister_Magisterdo you need some specific output22:07
maltest that current version how, check if it fails in the same place22:08
Mister_Magisterit does22:10
malso gdb is the same?22:10
kernlingMister_Magister, what does "getprop" print?22:39
Mister_Magisteri'm going to bed now but again you can leave your messages i'll see them tomorrow22:40
kernlingMister_Magister, are you sure 22?22:41
Mister_Magister[defaultuser@MotoG2ndGen ~]$ getprop
kernlingMister_Magister, can you still paste /system/build.prop ?22:41
kernlingthat's curious22:41
Mister_Magisterdw i'm here wanting to help u as much as you want to help me22:43
Mister_Magisterits mutual interest22:43
Mister_Magisterkernling: somethin's wrong with 22?22:52
kernlingMister_Magister, probably not i was just confused22:53
Mister_Magisterah okay22:54
Mister_Magistergood night  then22:54
malMister_Magister: try a new version when you have time23:08
T42<edp_17> Hi guys, Can somebody help me out please? On SFOS 4.0 why I cannot see the services I created? 'systemctl list-units -t service --all' doesn't show those.23:33
T42<edp_17> The other problem is no sensors. I've tried to downgrade sensorfw to 0.11.9, but it didn't help.23:50
T42<edp_17> Third issue: BT is not working. I've tried to build broadcom-bluetooth and bluetooth-rfkill-event that I used for sfos 3.4 but got this error:
T42<edp_17> It seems both requires bluez-libs-devel which requires bluez-libs and there are some conflicts. :(23:54

Generated by 2.17.1 by Marius Gedminas - find it at!