**** BEGIN LOGGING AT Wed Nov 16 02:59:57 2022 Nov 16 06:28:58 Morning! Nov 16 06:29:16 Tofe: But you get the same issue right? I thought you did something about the handling of Qt apps recently? Nov 16 07:20:59 morning Nov 16 08:11:35 Tofe: I don't have a dedicated GPU, so I care a bit less about the usage. Good PSU will do magic as well with only supplying what you need in terms of power as well Nov 16 08:12:15 Morning Nov 16 08:37:58 Herrie: well, it's a bit both for the PSU (I have a good 300W PSU, but it's really not much power) and by principle too Nov 16 08:38:34 Anyway, the Ryzen 7 7500X (which is 65W) is now ordered, so we'll see how this goes Nov 16 08:39:10 for the moment I haven't ordered any RAM, but my 16GB will be too tight for a real 16 thread build Nov 16 08:39:40 at least for chromium anyway Nov 16 08:39:42 Tofe: Ryzen 9 3900 might be an option too, same TDP but a bit older and harder to find I guess, but more cores and threads ;) Nov 16 08:39:55 16GB is not a lot no ;) Nov 16 08:41:47 Herrie: too late for switching now :) if it's not optimal, I'll have to live with it :p Nov 16 08:42:17 PSU's improved a lot in recent years, old 300W PSU might not be as efficient as newer modular ones, but you cna always switch Nov 16 08:42:36 Memory is more critical vs PSU I guess :D Nov 16 08:42:43 yup Nov 16 08:43:29 I'm a bit lazy when it comes to selling parts, so if I can avoid selling too many separate things that's good as well Nov 16 08:43:43 Tofe: Same here ;) Nov 16 08:43:55 I have a whole collection of old HD's laying around LOL Nov 16 08:45:23 ahah :) well for me it's a bit the same, though I have 4 of them in my PC (2 x 500Gb SSD, 1 x 120Gb "slow" SSD, 1Tb HDD) Nov 16 08:45:27 But I thought you had Intel box before? So you have a new MB + CPU coming? Nov 16 08:45:38 exactly Nov 16 08:46:02 I switch so often that the chipset doesn't exist anymore anyway Nov 16 08:46:39 That's also why I didn't bother wait for the new AM5: when I'll switch CPU again, AM5 will be long gone for sure Nov 16 08:46:50 Tofe: Same here usually... Nov 16 08:51:20 https://www.qt.io/blog/qt-6.4.1-released should I update webos-ports-setup? Nov 16 08:53:35 JaMa: yes, good idea Nov 16 08:58:18 ok, pushed Nov 16 08:58:30 thanks Nov 16 08:59:28 I'll kick off a new build then ;) Nov 16 08:59:54 well, I'm not at home anyway, so I'll kick one too Nov 16 09:01:01 too bad I have to wait a whole week for my new CPU :p Nov 16 09:01:43 Tofe: for RAM 16G will really limit you if you don't want to build in swap, even 2G per core isn't enough nowadays for webruntime/nodejs Nov 16 09:01:56 Tofe: and 7500X is a typo for 5700X, right? :) Nov 16 09:02:25 JaMa: right, it's 5700X Nov 16 09:02:48 and right, 16Go will not do, I'm just doing the change step by step Nov 16 09:03:34 Tofe: Like I said, happy to donate my spare 2TB m.2 SSD to you ;) Nov 16 09:03:53 So you can use that € for memory instead :D Nov 16 09:04:24 right 7700X is almost double the price of 5700X here, otherwise I would upgrade ram to DDR5 at the same time as MB+CPU Nov 16 09:05:28 Herrie: well, if you insist, I won't say no :) Nov 16 09:06:26 JaMa: I'm going with AM4 here; there's no 65W CPU on AM5 (yet); I could have waited for 7700, but not sure it's a big difference anyway Nov 16 09:06:30 Herrie: how did you end with unused spare 2TB m.2? :) Nov 16 09:07:25 JaMa: Had a good deal on a 4TB m.2 one ;) My OS runs on a 1TB one and it's enough really and I'm too lazy to move everything to the 2TB one ;) Nov 16 09:07:48 Got a 1TB SATA one for Halium but that one is slow, so I prefer Tofe to have something quicker ;) Nov 16 09:08:05 Tofe: yes, it's reasonable for you (when doing builds is not your main source of income :)) Nov 16 09:10:47 Herrie: which models are these? I bought another 2TB Aorus 6000s and it's getting full again :) Nov 16 09:11:29 oh, great, webruntime doesn't need a rebuild, so it'll be a quick one Nov 16 09:11:33 (even for me ;) ) Nov 16 09:12:00 but even with DIMM.2 slot it's annoying how inaccessible some slots on MB are, so I've bought 4xPCIE4 expansion card as well Nov 16 09:14:02 is there any benefit or choosing 4x16 over 2x32 for RAM, these days ? parallel channels or so ? Nov 16 09:14:08 of* Nov 16 09:14:47 5700X is dual channnel, so go with 2x32 Nov 16 09:14:48 JaMa: Well I got a WD Black SN850X 4TB one. The 2TB "spare one" is a Samsung 980 Pro. My main OS M.2 SSD is a Sandisk Extreme 1TB one from 2018. The Halium one is a budget Crucial 1TB SATA-600 m.2 SSD. Nov 16 09:14:58 JaMa: ok thanks, good remark Nov 16 09:15:57 I used to have that Crucial SATA-600 one in my Asus router, upgraded that to a 2TB one. Nov 16 09:16:05 So it's now in my builder for Halium builds Nov 16 09:16:06 Tofe: with all 4 slots populated you might lower freq if you decide to overclock your RAM a bit (or issus with compatibility even if you don't overclock) Nov 16 09:20:34 Herrie: nice, 4TB SN850X is still around tripple the price of 2TB version here in Czechia Nov 16 09:20:56 but if you got a good deal than nice choice :) Nov 16 09:22:29 JaMa: EUR 390,99 ;) Nov 16 09:22:38 Which I think was a good deal for it Nov 16 09:23:15 compared with the prices here, yes :) Nov 16 09:25:24 Normal prices here are EUR 550 for it too ;) Nov 16 09:26:00 Ah wait that's Amazon Marketplace. Regular stores start @ 680 Nov 16 09:27:04 This was from WD themselves and with some trick was able to get a 10% "student" discount added to it so it worked out cheap ;) Nov 16 09:27:39 Ah 15% even Nov 16 09:28:23 :) Nov 16 09:29:01 Seems there are some services where you can create a temporary .edu mailbox to get the discount code :D Nov 16 09:29:20 hehe Nov 16 09:31:38 So it was 469 @ WD - 15% Nov 16 09:44:10 JaMa: do you think something like CMK32GX4M2E3200C16 (2x32Gb, 3200Mhz) would fit ? or should I aim for 3600Mhz ? (there's Corsair Vengeance LPX 64GB for both) Nov 16 09:44:38 my mobo supports whatever I throw at it, it seems Nov 16 09:45:03 Tofe: You might get some black friday deals soon ;0 Nov 16 09:45:04 ;) Nov 16 09:45:15 Herrie: ah yes, right Nov 16 09:45:26 let's keep an eye on the prices then :p Nov 16 09:46:27 200$, but 250€ in France ? tsss Nov 16 09:47:00 anyway, let's see if some deal appears during the week Nov 16 09:56:30 Tofe: I've put some alerts in our local NL deals app for Corsair, Kingston and Crucial, in case something pops up ;) Nov 16 09:56:45 Tofe: $200 + TVA = EUR 250 ;) Nov 16 09:56:51 More or less Nov 16 09:56:56 Exchange rate is 1:1 nowadays Nov 16 09:57:38 Tofe: as this might be the last DDR4 ram you're buying then I would try to get some 3600Mhz Nov 16 09:59:34 JaMa: I agree Nov 16 09:59:58 https://www.corsair.com/us/en/Categories/Products/Memory/VENGEANCE-LPX/p/CMK64GX4M2E3200C16 shows only 10USD extra for 3600 which is IMHO worth it Nov 16 10:30:02 Tofe: FWIW I was to track down the issue with App Museum to "palmGetResource" call somehow. Will debug a bit further. If I simply comment out https://github.com/enyojs/enyo-1.0/blob/52886009e73b665a94a65c5a66b5f285d2cf321d/framework/source/palm/system/system.js#L9 it seems to work OK Nov 16 10:31:30 Herrie: for this method, iirc, I implemented a basic patch in webruntime Nov 16 10:32:34 or was it in wam, maybe Nov 16 10:33:22 ^ yes https://github.com/webOS-ports/wam/commit/3082dd5f13421bf41fe9310525563cd9f7442ea9 Nov 16 10:34:12 So that somehow doesn't work fully Nov 16 10:34:40 ah least it'll be easy to debug :p Nov 16 10:34:48 This is what we had in our old webappmanager: https://github.com/webOS-ports/luna-webappmanager/blame/b95d031f27eebee0deb7c9660a8080e487738c9b/src/extensions/PalmSystem.js Nov 16 10:36:14 Herrie: and C++ side: https://github.com/webOS-ports/luna-webappmanager/blob/master/src/extensions/palmsystemextension.cpp#L284 Nov 16 10:37:12 Herrie: do you know what resource URI is passed to palmGetResource ? Nov 16 10:37:44 maybe there's some file:// which gets in the way, something else Nov 16 10:37:51 +or Nov 16 10:39:30 Tofe: "file:///media/cryptofs/apps/usr/palm/applications/com.palm.app-museum2/appinfo.json" Nov 16 10:40:17 ok, looks usual Nov 16 10:40:46 did you try doing a manual call to palmGetResource from the console, with this value ? Nov 16 10:41:05 if I debug it on my side, that would be my starting point Nov 16 10:42:13 Tofe: Silly question, but how I do that in console? Nov 16 10:42:18 Not using console that much Nov 16 10:43:20 with the inspector in chromium, port 9998, on an app Nov 16 10:43:39 then something like PalmSystem.getResource("file://blabla") Nov 16 10:44:16 or maybe webOSSystem.palmGetResource; I would have to check what the API really is Nov 16 10:52:34 Tofe: If I do without the "file://" prefix, so just "/media/,,./.." etc it's OK Nov 16 10:54:45 https://tinypic.host/i/fileprefix.S2b7B Nov 16 11:36:12 Tofe: Same with webOSSystem.getResource by the way Nov 16 11:36:22 Doesn't like the file:// prefix Nov 16 11:57:53 well, easy enough to handle Nov 16 12:02:25 Tofe: In general yes, questions is where is the best place Nov 16 12:07:42 I'd say, in C++ in WAM; we already have some custom code there Nov 16 12:08:38 Tofe: Or we patch Enyo framework... Nov 16 12:09:06 I.e. makeAbsoluteUrl function Nov 16 12:10:21 I.e. issue is here: https://github.com/enyojs/enyo-1.0/blob/52886009e73b665a94a65c5a66b5f285d2cf321d/framework/source/dom/util.js#L356 Nov 16 12:11:26 but isn't an "Url" supposed to begin with "schema://" ? Nov 16 12:12:13 The issue might actually be that Chromium somehow doesn't like the file:// prefix even though we pass flags that should allow it to be used Nov 16 12:13:03 ah, Cors and all that Nov 16 12:13:09 Yeah Nov 16 12:13:09 could very well be Nov 16 12:13:33 Stripping out the file:// prefix might work, but then again, it might not be the best solution Nov 16 12:14:29 right... but is there something about cors in the console, when you try in the inspector ? Nov 16 12:15:39 Nope.... Nov 16 12:16:00 It might be just we're using edge cases with legacy non-supported JS frameworks that LG doesn't run into somehow Nov 16 15:18:56 Tofe: The issue gets more weird...... Nov 16 15:19:10 If I pass the string without "file://" into the function I get no reply Nov 16 15:19:39 However if I pass it like that in console I do get a reply.... Nov 16 15:21:06 So I'm a bit puzzled about what's going on Nov 16 15:35:14 there must be a check in between ? Nov 16 15:38:36 Tofe: I'm really not sure... I have code calling "return palmGetResource(inFile, "const json");" Nov 16 15:41:44 Tofe: https://bpa.st/PZUA Nov 16 15:42:42 "Herrie e" shows the contents of the JSON there in console while running the app Nov 16 16:51:05 OK got something that works Nov 16 16:51:08 Not pretty but works Nov 16 17:08:01 Tofe: This works for me: https://github.com/webOS-ports/enyo-1.0/commit/03d04037912924f3efdf9396feb0bc1e9bd8af8f Nov 16 17:08:05 Happy for suggestions of course Nov 16 17:42:58 ok back home, now let's see Nov 16 17:46:05 Herrie: about "Newer Chromium/WAM doens't like an unparsed JSON": do you mean we used to return a parsed JSON in LunaWebAppManager whenever possible? Nov 16 17:47:14 Ah, yes, here: https://github.com/webOS-ports/luna-webappmanager/blob/master/src/extensions/PalmSystem.js#L340 Nov 16 17:47:35 so I suggest we do the same, and only parse if b == "const json" Nov 16 17:48:02 and same for length==0 etc, we could just copy/paste Nov 16 17:48:17 not sure how to insert that kind of treatment in WAM directly Nov 16 17:48:28 (instead of Enyo) Nov 16 17:52:09 https://github.com/webosose/chromium91/blob/master/src/neva/injection/renderer/webossystem/webossystem_injection.cc#L590 looks like it would be here, so C++ in the middle of nowhere... let's patch enyo :) Nov 16 17:54:16 though I wonder where palmGetResource is provided Nov 16 17:55:07 ooh https://github.com/webosose/chromium91/blob/master/src/neva/injection/renderer/resources/webossystem_injection.js#L18 but we can easily patch that one Nov 16 17:56:27 let me propose something here Nov 16 18:04:27 Herrie: untested proposal: https://github.com/webOS-ports/meta-webos-ports/pull/543 Nov 16 18:33:07 Tofe: OK testing Nov 16 18:33:39 Looks straight forward enough **** ENDING LOGGING AT Thu Nov 17 02:59:57 2022