T42 | Diego Lopes %lastname% was added by: Diego Lopes %lastname% | 01:05 |
---|---|---|
*** phdeswer_ is now known as phdeswer | 06:34 | |
Mister_Magister | can i instead of whole gui run just single app? | 08:06 |
T42 | <DylanVanAssche> I have a working back camera on `/dev/video1` which can be controlled through `/dev/media1`. It works in `gstreamer` already (taking a picture) with `v4l2src`. However, I don't how to proceed further from here. | 08:19 |
T42 | <DylanVanAssche> The Camera app displays the wrong input (`/dev/video0`). I checked some ports with the `jolla-hw-camera-configuration.txt` but nothing is available there to configure this. | 08:19 |
T42 | <jgibbon> @DylanVanAssche is it possible to swap video0 and video1 with custom udev rules? I know, possibly the worst idea, I'll shut up now. ;) | 09:29 |
T42 | <DylanVanAssche> hmmmm maybe, that's worst case :D | 09:31 |
mal | @DylanVanAssche what is video0 on device? | 09:32 |
T42 | <DylanVanAssche> Cederus thing of the A64 | 09:32 |
T42 | <DylanVanAssche> mal: Credus: https://linux-sunxi.org/Cedrus * | 09:36 |
T42 | <DylanVanAssche> *Cedrus , difficult name :D | 09:36 |
mal | @DylanVanAssche so the codec device? | 09:41 |
T42 | <DylanVanAssche> mal: Yes | 09:42 |
saidinesh5 | Mister_Magister: sure. i think you have to disable systemd unit for lipstick | 10:03 |
saidinesh5 | and then set the environment variables that lipstick uses.. (the one for selecting the QPA plugins and the correct input device) | 10:04 |
saidinesh5 | hi krnlyng. how goes it | 10:07 |
Mister_Magister | saidinesh5: hmm like setup wizardo? | 10:15 |
saidinesh5 | not sure what that is.. | 10:16 |
saidinesh5 | i mean EGL_PLATFORM=hwcomposer | 10:17 |
saidinesh5 | QT_QPA_PLATFORM=hwcomposer | 10:17 |
saidinesh5 | # Determine which node is your touchscreen by checking /dev/input/event* | 10:17 |
saidinesh5 | LIPSTICK_OPTIONS=-plugin evdevtouch:/dev/input/event3 -plugin evdevkeyboard:keymap=/usr/share/qt5/keymaps/droid.qmap | 10:17 |
saidinesh5 | those will tell qt to load the appropriate platform plugin | 10:17 |
saidinesh5 | the lipstick_options - you gotta pass them as command line arguments to your app | 10:18 |
Mister_Magister | saidinesh5: just like startup wizard | 10:18 |
saidinesh5 | i think | 10:18 |
Mister_Magister | setup wizard* | 10:18 |
saidinesh5 | not sure about lipstick_options actually | 10:18 |
Mister_Magister | saidinesh5: when you boot sfos phone after install firt shows up setup wizard | 10:19 |
Mister_Magister | it's before lipstick | 10:19 |
saidinesh5 | I see.. i thought that is part of lipstick.. interesting | 10:19 |
saidinesh5 | that is part of lipstick | 10:20 |
saidinesh5 | $ pwd | 10:21 |
saidinesh5 | /usr/share/lipstick-jolla-home-qt5/compositor | 10:21 |
saidinesh5 | $ ls | 10:21 |
saidinesh5 | ApplicationCloseGestureHint.qml ApplicationWallpaper.qml BlurredBackground.qml BlurSource.qml DebugButton.qml DebugWindow.qml GlassBackground.qml HardwareKeyHandler.qml HomeWallpaper.qml RotatingItem.qml Sailfish3WelcomeScreenLoader.qml Sailfish3WelcomeScreen.qml UnresponsiveApplicationDialog.qml WallpaperDimmer.qml Wallpaper.qml | 10:21 |
Mister_Magister | saidinesh5: you are psting too much ;-; | 10:21 |
Mister_Magister | saidinesh5: it's not | 10:22 |
Mister_Magister | /usr/bin/jolla-startupwizard-pre-user-session and /usr/bin/jolla-startupwizard | 10:22 |
Mister_Magister | weldome screen is when lipstick is started | 10:23 |
Mister_Magister | that's after wizards | 10:23 |
saidinesh5 | I see | 10:23 |
Mister_Magister | hmm lemme try stopping gui | 10:23 |
krnlyng | saidinesh5, everything alright, how about you? | 10:24 |
saidinesh5 | oh not much.. back to porting world.. so thought to say hi! | 10:25 |
krnlyng | very cool :) | 10:25 |
krnlyng | what are you porting? | 10:25 |
saidinesh5 | Oh just a top secret device :P | 10:26 |
Mister_Magister | saidinesh5: you see it can't be done QPA-HWC: There can only be one window, someone tried to create more. in createNativeWindow | 10:29 |
Mister_Magister | but lipstick is fine | 10:30 |
saidinesh5 | interesting. on raspberry pi/other devices i used to use QT_QPA_PLATFORM=eglfs and run a single app on full screen | 10:31 |
saidinesh5 | iirc i remember running a single app even on my cancro port while porting | 10:31 |
Mister_Magister | saidinesh5: that ain't installed | 10:33 |
saidinesh5 | eglfs? sure not. | 10:34 |
Mister_Magister | hwc won't work ;-; | 10:34 |
saidinesh5 | systemctl disable lipstick (or the whole user part) | 10:36 |
T42 | <DylanVanAssche> mal: I created a simple QML app that shows the camera input. I get the same thing as with the Jolla Camera app. | 10:36 |
T42 | <DylanVanAssche> Using `GST_DEBUG=3`, I found this: https://bin.disroot.org/?ea75fa290ecf4123#7EADMePWozLN11BU1KLC2EkcrWH0MsYadWt7eX84vDg= | 10:36 |
T42 | <DylanVanAssche> So it's trying to use v4l2 but with the wrong device. Applying this env var doesn't help either: `export QT_GSTREAMER_CAMERABIN_VIDEOSRC_DEVICE="/dev/video1"` to force Gstreamer into using the right device | 10:36 |
saidinesh5 | and then reboot and start? | 10:36 |
Mister_Magister | saidinesh5: i don't have gui running i'm not idiot | 10:37 |
saidinesh5 | no i mean if gui tried to start before there maybe some "unfree'd" resources | 10:37 |
saidinesh5 | messing things up | 10:37 |
Mister_Magister | i'm not idiot. | 10:37 |
T42 | <elros34> You can't use ApplicationWindow {} without compositor. Install "simplecompositor" or use application which have Item/ Rectangle {} as root element. | 10:42 |
saidinesh5 | Ah interesting.. | 10:45 |
Mister_Magister | @elros34 whoa awesome thanks | 10:49 |
ghosalmartin | mal: if test_hwc2 works, i guess most things should click into place? | 10:50 |
Mister_Magister | i thought i can make shimple jukebox from random device lying around | 10:50 |
Mister_Magister | ghosalmartin: yes | 10:50 |
Mister_Magister | but actually no | 10:50 |
ghosalmartin | its odd, I have to run the android services first even though there running | 10:50 |
ghosalmartin | they seem to silently die | 10:50 |
ghosalmartin | these are also my mountup points | 10:51 |
ghosalmartin | https://github.com/ghosalmartin/hybris-boot/blob/master/fixup-mountpoints#L19 | 10:51 |
ghosalmartin | but /dev seems to be omitted when generated | 10:52 |
ghosalmartin | i had to hardcode it in the init-script | 10:52 |
Mister_Magister | @elros34 and how do you use that simplecompositor? | 10:52 |
T42 | <elros34> install lipstick-qt5-simplecompositor, go to /usr/share/*simplecompositor and then start it same way like lipstick: so EGL_PLATFORM and plugins, then export correct WAYLAND_DISPLAY and start for example csd --platfrom wayland | 10:54 |
mal | ghosalmartin: well those are just wrong | 10:54 |
ghosalmartin | mal: fantastic :P | 10:54 |
mal | ghosalmartin: if you check the other entries those do not have dev/ | 10:55 |
ghosalmartin | ah I don't need the intial dev/ | 10:55 |
ghosalmartin | yeahh | 10:55 |
ghosalmartin | I did those like a year ago :P | 10:55 |
mal | ghosalmartin: usually a good idea to check the existing ones first :) | 10:55 |
ghosalmartin | mal: also this commit i made | 10:55 |
ghosalmartin | https://github.com/ghosalmartin/droid-config-marlin/commit/816e407fc267d21a17eb98df792574cadcf7db3c | 10:55 |
Mister_Magister | @elros34 thanks | 10:55 |
ghosalmartin | any idea why disabled_services.rc doens't make it to device | 10:55 |
mal | ghosalmartin: it should, are you sure it installs correct version of the rpms, and that you rebuilt it correctly | 10:57 |
mal | check also the contect of the rpms | 10:57 |
ghosalmartin | mal: ill force a rebuild since it seems like the libexec folder isn't there | 10:57 |
Mister_Magister | @elros34 damn it's working | 11:03 |
Mister_Magister | volumecontrol is not working but i gues it's up to app to handle it | 11:05 |
ghosalmartin | mal: did you ever find a fix for this http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2019-04-30.log.html#t2019-04-30T21:30:49 | 11:11 |
mal | ghosalmartin: not yet | 11:16 |
mal | ghosalmartin: I have device(s) which I can use to test that, I just need to find time | 11:16 |
ghosalmartin | mal: is the issue that its not copying to the folder by default? why does it have to be vendor folder? why doesn't it just copy to normal root? | 11:17 |
mal | ghosalmartin: for some reason certain files are not copied anymore if those would end up to vendor or system/vendor | 11:17 |
ghosalmartin | mal: okays ill take a look | 11:18 |
mal | some issue in the build minimizing | 11:18 |
ghosalmartin | ahhh okays | 11:18 |
mal | ghosalmartin: are you using 15.1? | 11:22 |
ghosalmartin | mal: yep | 11:23 |
mal | ghosalmartin: so probably a combination of https://github.com/mer-hybris/android_build/commits/hybris-15.1 and things below this https://github.com/mer-hybris/hybris-boot/blob/master/Android.mk#L270 | 11:24 |
ghosalmartin | mal: could indeed | 11:25 |
ghosalmartin | mal: $(filter ueventd%, $(product_MODULES)does that include or exclude | 11:28 |
mal | ghosalmartin: fstab is also often a problem, one issue is that sometimes those are not a separate target but instead just copy file thing in device repo | 11:29 |
ghosalmartin | mal: ive just replicated what I could from the device.mk | 11:34 |
spiiroin | review/testing appreciated: https://git.merproject.org/mer-core/mce/merge_requests/127 | 11:37 |
spiiroin | ^ compositor/brightness tweaking mostly relevant for devices using kms/drm instead of fbdev | 11:37 |
ghosalmartin | this seems like an issue | 12:33 |
ghosalmartin | Adreno-GSL: <ioctl_kgsl_driver_entry:767>: open(/dev/kgsl-3d0) failed: errno 2. No such file or directory | 12:33 |
ghosalmartin | but the file is there so? | 12:33 |
mal | ghosalmartin: pretty sure your don't have proper ueventd*.rc files in out | 12:34 |
ghosalmartin | god damn it | 12:34 |
ghosalmartin | cause I didn't rename it | 12:35 |
ghosalmartin | fml | 12:35 |
ghosalmartin | gotta do the whole rebuild process again haha | 12:35 |
mal | oops | 12:35 |
ghosalmartin | ah wells i can regenerate while i manually copy and paste the sucker | 12:40 |
ghosalmartin | mal: still same issue, its weird since the file exists | 12:54 |
ghosalmartin | and the permissions are correct | 12:54 |
mal | ghosalmartin: how did you manually copy things? | 12:59 |
ghosalmartin | mal: transfered via filezilla | 13:00 |
ghosalmartin | am going through what you said to osum4est and i maybe missing the qualcomm flag | 13:00 |
ghosalmartin | has anyone fixed up the faq? | 13:01 |
ghosalmartin | this sucker actually still occurs | 13:06 |
ghosalmartin | kgsl kgsl-3d0: |_load_firmware| request_firmware(a530_pm4.fw) failed: -2 | 13:06 |
ghosalmartin | even though ive mounted vendor/firmware at lib/firwamre | 13:07 |
mal | ghosalmartin: I mean which files did you copy to device? | 13:15 |
mal | ghosalmartin: faq went away, unfortunately there were no recent backups | 13:15 |
mal | some backups from months ago probably exist | 13:15 |
mal | ghosalmartin: oh, you are missing firmware | 13:16 |
mal | ghosalmartin: where is that a530_pm4.fw ? | 13:16 |
mal | ghosalmartin: did you change default mounting of firmware stuff? | 13:17 |
ghosalmartin | mal: i think i have a recent backup | 13:18 |
ghosalmartin | mal: 999-android-system.rules | 13:19 |
ghosalmartin | mal: its in /lib/firmware/a530_pm4.fw | 13:19 |
ghosalmartin | which is really /vendor/firmware | 13:19 |
ghosalmartin | no i didnt change the default mounting, should i? | 13:20 |
mal | ghosalmartin: https://github.com/mer-hybris/droid-hal-configs/blob/master/sparse/usr/bin/droid/droid-load-firmware.sh#L3 | 13:23 |
mal | ghosalmartin: do you see anything from that loader in logs? | 13:23 |
mal | ghosalmartin: do you have the fw loader thingy enabled in kernel config? | 13:23 |
ghosalmartin | mal: nahh | 13:24 |
ghosalmartin | mal: dont know | 13:24 |
mal | ghosalmartin: https://github.com/mer-hybris/mer-kernel-check/blob/master/mer_verify_kernel_config#L188 | 13:24 |
ghosalmartin | https://github.com/ghosalmartin/android_kernel_google_marlin/blob/hybris-15.1/arch/arm64/configs/lineageos_marlin_defconfig#L1068 | 13:25 |
mal | enable that | 13:25 |
ghosalmartin | okays | 13:26 |
ghosalmartin | kgsl: _read_fw2_block_header: GPMU unknown header ID 6 | 13:32 |
ghosalmartin | mal: well test_hwc2 now works | 13:33 |
ghosalmartin | the appropriate android services are staying alive as well | 13:38 |
ghosalmartin | https://pastebin.com/DkB3MHBd | 13:48 |
ghosalmartin | thats were things are going wrong now | 13:48 |
ghosalmartin | Unknown hwcomposer API: 0x3/0x2000001/0x2000001 | 13:50 |
ghosalmartin | mal: also this is the version of the faq i had | 13:56 |
ghosalmartin | https://pastebin.com/Yjuwvc0S | 13:56 |
mal | ghosalmartin: are you sure it builds hwc2 ? https://github.com/mer-hybris/qt5-qpa-hwcomposer-plugin/blob/025bd87abde8ba67ffafa0c704cdaa4ca9fcad19/hwcomposer/hwcomposer.pro#L52 | 14:11 |
mal | ghosalmartin: verify you have suitable libhybris version in either hybris/mw/libhybris or external/libhybris | 14:12 |
ghosalmartin | mal: yes because test_hwc2 works fine | 18:29 |
mal | then why does it fail to find correct version | 18:31 |
mal | ghosalmartin: are you sure you have rebuilt qt5-qpa-hwcomposer-plugin properly? | 18:31 |
T42 | <PacoLanciano> hi, i builded up sailfish 3.1.0.12 for my device, but it's stuck on bootloader... led blinks white and dmesg says this https://pastebin.com/8AuxS74r | 18:33 |
mal | can you telnet in ("telnet 192.168.2.15 23" or 2323)? which android base and device? | 18:37 |
T42 | <PacoLanciano> oh, yes 2323 | 18:38 |
T42 | <PacoLanciano> i have to look at init.log? | 18:38 |
mal | if 2323 works then dmesg and possibly journalctl | 18:40 |
mal | and depending on whether booting has gone far enough also output of /usr/libexec/droid-hybris/system/bin/logcat | 18:43 |
T42 | <PacoLanciano> dmesg: https://pastebin.com/z3BeKicQ | 18:44 |
T42 | <PacoLanciano> journalctl: https://pastebin.com/rjH3cBxe | 18:49 |
T42 | <PacoLanciano> logcat https://pastebin.com/9Wvtr5Wb | 18:52 |
mal | which android base? | 19:03 |
mal | logcat is a command not a log file | 19:03 |
mal | but based on dmesg logcat won't work | 19:03 |
mal | you probably are missing *_context files from straggler files define in droid-hal spec | 19:04 |
T42 | <PacoLanciano> @mal [which android base?], cm14.1 | 19:05 |
T42 | <PacoLanciano> @mal [but based on dmesg logcat won't work], yes it gives me read failure | 19:06 |
mal | so find folder root in $ANDROID_ROOT/out/ and check all files named *_context* | 19:13 |
mal | do you find any? | 19:13 |
T42 | <PacoLanciano> should there be a root directory in hadk/out? | 19:30 |
mal | not directly under it but somewhere under some subfolder | 19:31 |
mal | "find out/ -name root" | 19:32 |
Mister_Magister | jusa: about easier fix. When loudspeaker mic is redirected to earspeaker mode caller says i'm quiet. Can i increase mic volume in that mode somehow? | 19:33 |
Mister_Magister | that would be another ugly hack but at lest something | 19:33 |
T42 | <PacoLanciano> i have file_contexts.bin | 19:37 |
T42 | <PacoLanciano> property_contexts | 19:37 |
T42 | <PacoLanciano> seapp_contexts | 19:37 |
T42 | <PacoLanciano> service_contexts | 19:37 |
mal | add those to straggler files define to your droid-hal-$DEVICE.spec which is in ANDROID_ROOT/rpm/ like this https://github.com/mer-hybris/droid-hal-sony-ganges-pie/blob/master/rpm/droid-hal-common.inc#L17 | 20:00 |
mal | just replace the files with correct ones | 20:00 |
Mister_Magister | mal: lol i updated dcd submodule and phone still boots xd | 20:01 |
Mister_Magister | droid-hal-init service is seriously broken | 20:03 |
Mister_Magister | it doesn't do mount --bnid | 20:03 |
Mister_Magister | hmm maybe because of ProtectSystem=full? | 20:04 |
Mister_Magister | yeah one of the modes break it | 20:07 |
T42 | <PacoLanciano> ok seapp_contexts is missing in .spec file i added it | 20:07 |
Mister_Magister | mal: https://github.com/mer-hybris/droid-hal-configs/blob/379b517b5bf14c1d2fa46289900ae5a32d5dcb75/sparse/lib/systemd/system/droid-hal-init.service#L17 this is breaking mount --bind | 20:08 |
Mister_Magister | in droid-hal-early-startup.sh | 20:08 |
ghosalmartin | mal: lemme check in obs, that seemed to fail to rebuild my conf as well | 20:12 |
ghosalmartin | mal: yep thats the problem, ill rebuild it tomorrow but it seems obs isn't rebuilding everything as it claims | 20:12 |
ghosalmartin | https://build.merproject.org/package/show/home:mgrover:devel:hw:google:marlin/qt5-qpa-hwcomposer-plugin | 20:12 |
mal | ghosalmartin: isn't that also very old repo | 20:14 |
ghosalmartin | mal: it is, but when I update droid-hal it tells me everything is rebuilding, so I assume it would also reclone | 20:15 |
mal | ghosalmartin: that version didn't yet have hwc2 | 20:15 |
mal | ghosalmartin: it doesn't fetch sources again, just rebuilds | 20:15 |
ghosalmartin | well that explains a lot, anyway I can trigger a refetch | 20:15 |
mal | ghosalmartin: so better edit each _service file so it fetches new versions | 20:16 |
ghosalmartin | yah am doing that now | 20:16 |
ghosalmartin | actually... | 20:16 |
ghosalmartin | that could explain my bullhead problems as well... | 20:16 |
mal | ghosalmartin: probably does | 20:16 |
mal | ghosalmartin: a good reminder to check my fp2 project if in doubt which versions to use :D | 20:17 |
Mister_Magister | mal: actually no | 20:17 |
Mister_Magister | all 3 options need to be removed | 20:17 |
Mister_Magister | to get it working | 20:17 |
ghosalmartin | mal: i think if I remove the meta from obs, and put it back, it refetches everything | 20:17 |
mal | ghosalmartin: I think editing _service is needed | 20:18 |
mal | ghosalmartin: btw, you can removed the vibrator middleware from that project, ngfd and qtfeedback | 20:18 |
mal | *remove | 20:18 |
mal | ghosalmartin: native vibrator packages are available in jolla repos | 20:19 |
mal | Mister_Magister: hmm, strange | 20:20 |
Mister_Magister | mal: not strange. pretty normal | 20:20 |
Mister_Magister | droid-hal-early-startup is currently not working on any phone | 20:20 |
mal | Mister_Magister: how does it work for others | 20:21 |
Mister_Magister | how does it not work? | 20:21 |
mal | I mean it was added and it did work | 20:21 |
Mister_Magister | not working on pro1, 5z, x2 and i can put it on any of my ports and it will not work | 20:21 |
Mister_Magister | it was never working | 20:21 |
mal | https://github.com/mer-hybris/droid-config-sony-ganges-pie/blob/master/sparse/usr/bin/droid/droid-hal-early-init.sh | 20:23 |
Mister_Magister | mal: that source is broken i said it's not working | 20:23 |
mal | how do you explain that it worked on x10 | 20:24 |
Mister_Magister | how do you explain that it doesn't work on 5 phones | 20:24 |
Mister_Magister | well 3 | 20:25 |
mal | what error do you see in logs? | 20:25 |
Mister_Magister | there is no error | 20:25 |
mal | very strange because it did work | 20:26 |
Mister_Magister | not strage it never worked | 20:26 |
mal | this is going no where so I'll go away | 20:27 |
mal | you really think x10 would have had non-working thing | 20:28 |
Mister_Magister | no | 20:28 |
Mister_Magister | i think that it's working only for x10 | 20:28 |
mal | how would it only work for one device | 20:28 |
Mister_Magister | don't ask me, ask your company | 20:29 |
ghosalmartin | ill deal with it tomorrow, spent the day trying and failing to fix a dishwasher, mal: thanks for the help | 20:29 |
mal | ghosalmartin: you missed couple of package updates, sensorfw at least maybe | 20:36 |
Mister_Magister | mal: try it on your fp2 binding any file to system | 20:37 |
piggz_ | mal: thoughts? https://github.com/mer-hybris/bluebinder/pull/7 | 21:27 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!