Friday, 2020-10-09

T42<Coltor %lastname%> @rinigus [Coltor, Herrie1982: …], Does sfos's qtwebengine support hardware acceleration now ?02:35
T42<Coltor %lastname%> it seems sfos the 3.3.4 version switch to Gecko Engine,not use qtwebengine ?03:13
r0kk3rzsailfish has never used qtwebengine for anything03:20
r0kk3rzsailfish browser was always gecko03:20
T42<Coltor %lastname%> i got it~~ it seems 3.4 updates Gecko Engine
r0kk3rzemail client used qtwebkit before, now also uses gecko03:21
T42<Coltor %lastname%> However, the WebView widget used by other apps is still qtwebengine?03:23
r0kk3rzit was never qtwebengine03:25
r0kk3rzits probably still qtwebkit, with maybe an option to move to gecko03:27
T42<Coltor %lastname%> @r0kk3rz [sailfish browser was always gecko], After upgrading gecko, I found that the fps was improved a lot. It seems that gecko already supports hardware acceleration03:30
rinigusColtor: not sure which bug report do you refer to in qt. Assuming that it's one that I filed regarding webengine, it is when running from flatpak on hybris. It is partially hw accelerated, as described in the issue04:47
T42<edp_17> Good morning.08:27
T42<edp_17> I have one more outstanding and annoying problem on my treltexx. The USB is set to 'Always ask' but when I plug the cable in, the selection doesn't pop up. If I restart the usb-moded service, the question pops up. Do you have an idea how to fix it? Thanks.09:29
T42<edp_17> Journal:
T42<edp_17> Dmesg:
T42<edp_17> There is nothing in logcat.09:34
T42<Darcy %lastname%> (Photo, 702x628) 推广,炸群,拉人,增粉,推特/脸书关注 ,联系上方图片10:05
T42<Anton %lastname%> How do we do audio nowadays? Do we still use audioflingerglue? I seem to have troubles building it?14:41
maldo not use that14:42
malwe use now14:43
malthose are built automatically by build_packages.sh14:44
T42<Anton %lastname%> So, it shouldn't be in patterns then?14:45
malno, read the instructions in that the repo I linked15:11
malit says "For new adaptations audioflingerglue (and pulseaudio-modules-droid-glue) should not be used"15:12
T42<Anton %lastname%> Here's a marvelous revelation for you all. Apparently starting /vendor/bin/sensors.qti and restarting sensorfwd fixes sensors, camera and sound. Wonder why it didn't start automatically. Permissions to the file are 755 system system, should I throw a 777 on it?16:48
T42<Anton %lastname%> My concern is that it's on vendor partition and I can't remember how to do it gracefully (I recall something about udev, but that was a whole another story)16:55
malAnton which android base are you using?17:18
T42<Anton %lastname%> Android 9, hybris-16, full treble support17:20
malwhich .rc file has the sensors.qti ?17:22
malmost likely in /vendor/etc/init/ or something17:22
T42<Anton %lastname%> Found it in /vendor/etc/init/hw/init.qcom.rc17:27
malso why is that not starting it17:31
malcheck dmesg or journal to see if that was loaded17:31
malI assume you setup the needed things to /usr/libexec/droid-hybris/system/etc/init/ ?17:32
T42<Anton %lastname%> It's trying to start it, but says something about unsufficient permissions17:36
malhmm, can you pastebin the relevant part of the rc file, also check the permissions of the sensors.qti file17:39
T42<Anton %lastname%> There are files in that directory, but none related to that specific one17:39
T42<Anton %lastname%> Is it that codeword about service being disabled?
T42<Anton %lastname%> Please don't tell me it is17:43
malit's possible some other part in .rc files is starting that, grep for sensors.qti in all .rc files17:44
malin both /system and /vendor17:44
T42<Anton %lastname%> Well, it's the only one "find" could find17:46
T42<Anton %lastname%> "cat $(find /system -name "*.rc") | grep sensors.qti" if you're curious17:46
malbtw, easier way is "grep -RI --include=*.rc sensors.qti /system"17:48
T42<elros34> its probably in the same file init.qcom.rc in /vendor. Something like init.qcom.sensors.sh17:48
malthat is also possible17:48
T42<Anton %lastname%> Only one line returns sensors.qti, so unlikely17:49
T42<Anton %lastname%> But there is17:49
malbut you said there is some permission error?17:49
T42<elros34> because you are searching in .rc files but this can be started in .sh script17:50
T42<elros34> so just grep whole device repo17:50
T42<Anton %lastname%> Yes, indeed. The service is started from /vendor/bin/, which is 755 root shell17:51
T42<Anton %lastname%> here it is17:52
malso where was the error you were talking about17:53
T42<Anton %lastname%> something along these lines17:57
T42<elros34> Anton Klimanov I bet this is because nemo is no longer in system group. Add it back to confirm it18:17
T42<Anton %lastname%> Isn't nemo being in system group a bad practice?18:18
malyes, that's why it was removed, some device might need to small fixes to udev rules for example18:20
T42<elros34> yes that is why it was removed recently but IMHO adding it back to confirm issue is just a matter of 1 minute test18:20
T42<Anton %lastname%> Didn't make a difference18:22
T42<elros34> did you reboot?18:22
T42<Anton %lastname%> Yep18:22
T42<elros34> ah ok18:22
T42<Anton %lastname%> At least one thing's for sure. It's definitely because nemo starts it and not root18:35
T42<Anton %lastname%> And if it is run by nemo, it crashes with "Diag_LSM_Init: Failed to open handle to diag driver, error = 13"18:37
T42<elros34> based on some random kernel source this function check for net_raw group19:16
T42<elros34> I mean msm_ipc_router_bind19:19
T42<Anton %lastname%> Could I take a look at that source?19:29
T42<Anton %lastname%> There is a possibility of it being unable to open the third and last MSM_IPC19:30
T42<elros34> search for that function in your kernel, I don't know what device you use19:31
T42<Anton %lastname%> I got it, but it's useless19:33
T42<Anton %lastname%> That'd be so great to know which exact pipe or file is denying19:33
T42<elros34> how about you add net_raw group to sensors.qti in init.qcom.rc?19:40
T42<Anton %lastname%> Excuse me, but how do you get that? Surprisingly, that worked!19:46
T42<elros34> like I said msm_ipc_router_bind check for that group and fail with "Do not have permissions" same as in your logs. Better question is why is that even needed if it works in android19:50
malmaybe something in /dev has wrong permissions?19:51
maljust a theory19:51
malbut that would have been solved by system group19:52

Generated by 2.17.1 by Marius Gedminas - find it at!