**** BEGIN LOGGING AT Tue Nov 15 02:59:56 2022 Nov 15 08:21:12 Morning! Nov 15 08:29:13 Morning! Nov 15 08:45:46 Tofe: I still somehow have a black screen on my qemux86-64 with latest fixes Nov 15 08:46:26 I hear sound, but no UI, I do get mouse pointer Nov 15 08:46:29 Let me check logs Nov 15 08:46:46 com.webos.surfacemanager.json has valid JSON syntax, just checked that Nov 15 08:51:13 that's weird, it's the main change I did regarding qemux86 Nov 15 08:51:41 Tofe: https://pastebin.ubuntu.com/p/7F7KpJ2myM/ This is my log Nov 15 08:51:49 It doesn't look really weird to me Nov 15 08:53:43 I see bootanimation, hear sound, quickly see cardshell in background and then a black screen when FirstUse should be there Nov 15 08:57:36 Shoudl I share my image? Nov 15 09:00:23 Herrie: well I'm not at home today Nov 15 09:00:37 but yes, I'll need it tonight Nov 15 09:00:53 it must be something easy I guess Nov 15 09:07:05 I guess so, but it's weird Nov 15 09:07:16 I'm rebuilding my image, just in case Nov 15 09:07:24 Removed a few dirs with recipes and refetched them Nov 15 09:15:16 And now it works Nov 15 09:15:25 Could have been just a VBox or timing quirk somehow Nov 15 09:15:30 Image didn't change 1 byte Nov 15 09:21:03 :) Nov 15 09:27:33 Anyway good it fixed itself. Found a minor wam fix that needed to be applied for notifications. Was getting "unable to access file" for the sounds in the notifications from Testr app. https://github.com/webOS-ports/wam/pull/9 Nov 15 09:28:06 Our notifications and dashboards need work still though, they don't appear anymore at the top right next to system menu, but as new windows it seems Nov 15 09:30:53 well the "dashboard" card type doesn't exist anymore Nov 15 09:32:53 basically, what we have now is https://github.com/webosose/wam/blob/master/src/core/web_app_manager.cc#L600 Nov 15 09:34:38 I guess dashboard comes close to "overlay" Nov 15 09:34:45 Or "floating" Nov 15 09:35:28 iirc, the wayland window management differs slightly from one to the other Nov 15 09:38:54 ^ I saw things like this in the webruntime code: https://github.com/webosose/chromium91/blob/master/src/ozone/wayland/display.cc#L571 Nov 15 10:12:54 Tofe: Seems for Testr another solution would be to set "trustLevel" to "trusted" in appinfo.json instead of changing wam's security_config.json. Not sure what has your preference? I guess trustLevel on app level is less invasive Nov 15 10:15:37 Seems we add "trustLevel": "trusted" to some of our other apps to work around similar issues Nov 15 10:25:05 yes, I prefer at app level Nov 15 10:29:05 I guess we should fix it generally for our apps in SAM somehow Nov 15 10:29:18 There's "trusted" and "privileged" it seems Nov 15 10:29:41 https://github.com/webOS-ports/sam/blob/webOS-ports/webOS-OSE/src/base/AppDescription.h#L232-L247 Nov 15 10:30:26 And some funny logics as well by the looks of it: https://github.com/webOS-ports/sam/blob/webOS-ports/webOS-OSE/src/base/AppDescription.h#L322-L347 Nov 15 10:30:44 I guess we would want to make all our com.palm and org.webosports apps "trusted" Nov 15 10:30:54 And not only "privileged" Nov 15 10:31:11 It's not helping that LS2 and appinfo.json both have a trustLevel :P Nov 15 10:31:18 Makes it harder to track down Nov 15 11:19:02 Also question if SAM or WAM is leading here Nov 15 11:19:09 Seems WAM does it's own parsing of appinfo.json Nov 15 11:19:33 https://github.com/webosose/wam/blob/13faf6c1f5249dd3f6159df6b329a30f321c2f38/src/core/application_description.cc#L135 Nov 15 11:19:44 Herrie: if I understood correctly, the appinfo content is passed down to WAM Nov 15 11:19:51 and, yes, re-parsed Nov 15 11:21:08 unfortunately they didn't put ApplicationDescription C++ class in a separate common lib Nov 15 11:24:42 Tofe: OK so we need trusted in trustLevel anyway, no matter what we do in SAM and try to hack there? Nov 15 11:24:53 At least that's my understanding because we're reparsing @ WAM level? Nov 15 11:25:28 it could well be, I didn't look at it carefully yet Nov 15 11:27:24 Seems so... It reads it and then simply checks it... Nov 15 11:29:13 https://github.com/webosose/wam/blob/13faf6c1f5249dd3f6159df6b329a30f321c2f38/src/core/application_description.cc#L151 and then https://github.com/webosose/wam/blob/13faf6c1f5249dd3f6159df6b329a30f321c2f38/src/core/application_description.cc#L262-L263 Nov 15 11:29:39 And https://github.com/webosose/wam/blob/13faf6c1f5249dd3f6159df6b329a30f321c2f38/src/core/application_description.cc#L32-L40 Nov 15 12:07:15 Tofe: BTW FirstUse still doesn't "end" properly here on Qemux86-64. I do get the gesture bar, so I can re-open and manually close it Nov 15 17:36:17 Tofe: It seems that somehow the Enyo call to fetching AppInfo.json doesn't work properly. It's probably a flag somewhere in the WAM/app-shell .sh Nov 15 17:36:26 https://github.com/enyojs/enyo-1.0/blob/52886009e73b665a94a65c5a66b5f285d2cf321d/framework/source/palm/system/system.js#L119 Nov 15 17:36:42 Web console doesn't give me much useful for npow Nov 15 17:36:53 Logs also don't seem to give any clues.... Nov 15 17:37:59 It's used by App Museum 2 app, and many other apps. We could "work around it" by replacing it by a LS2 call but that's not ideal I guess Nov 15 17:38:04 It makes the call here: https://github.com/webOSArchive/webos-catalog-frontend/blob/main/init/updater.js#L151 Nov 15 17:38:10 Any suggestions as how to debug? Nov 15 19:06:08 Herrie: can you share your qemu image ? Nov 15 19:07:14 Herrie: also, I'm not sure about which bug you are talking about ? FirstUse not closing ? something else related to update ? Nov 15 19:12:47 Tofe: Ah this was Enyo AppInfo fetch from apps Nov 15 19:13:00 Different bug from FirstUse not closing Nov 15 19:13:35 The Enyo appInfo might be some CORS or file-access related issue and possibly related to cookies not working in Enyo apps too Nov 15 19:13:48 I tried some flags but to no avail there Nov 15 19:13:59 Will upload my image after shower :P Nov 15 19:29:47 Tofe: luneos-dev-emulator-qemux86-64-0-0-20221115.tar.gz on the usual place in about 30 seconds ;) Nov 15 19:30:33 Tofe: It's uploaded Nov 15 19:32:17 thanks Nov 15 19:34:07 in parallel, I'm currently looking at upgrading my rig a little Nov 15 19:34:59 I'm thinking, maybe a Ryzen 7 5700X, as I'd like to stay on a 65W cpu Nov 15 19:35:09 Nice Nov 15 19:35:23 I have a m.2 SSD for you if you're interested I can send Nov 15 19:35:26 2TB or so ;) Nov 15 19:36:32 aren't you using it for something ? I could expand the storage dedicated to the luneos builds, 500Gb SSD is a tad short for multiple builds Nov 15 19:36:49 But not a heavy need anyway :) Nov 15 21:53:13 I don't see anything obvious regarding closing the firstuse app **** ENDING LOGGING AT Wed Nov 16 02:59:57 2022