Tuesday, 2020-08-18

r0kk3rz Mister_Magister works from cli for me00:18
Mister_Magisterit doesn't to me, can u send rpm?00:19
r0kk3rzhttps://build.sailfishos.org/package/show/home:r0kk3rz/gstdroid-player00:19
Mister_Magisterr0kk3rz: doesn't work here00:20
r0kk3rzi also get that 'failed to obtain egl display' error, and then it plays the video00:20
Mister_Magisteroh?00:21
r0kk3rzyeah idk00:21
r0kk3rzim running it without arguments00:22
Mister_Magisterit doesn't play video, only audio00:22
Mister_Magistersame00:22
r0kk3rzok00:23
Mister_Magisteri have black screen with buttons and audio00:23
r0kk3rzthis is on jolla c00:23
r0kk3rzwith 3.3.0.1600:23
Mister_Magisterhere is 5z on 3.3.0.16 and x2 on 3.3.0.1600:24
T42<edp_17> Thanks @elros34 , I got the cursor working! 👍07:10
T42<kabouik> In LXC or Chroot @edp_17? I plan on testing on LXC later today07:43
T42<kabouik> Illyria is ready to merge if we confirm it works07:43
T42温渊荔 %lastname% was added by: 温渊荔 %lastname%08:37
T42上官晶雁 %lastname% was added by: 上官晶雁 %lastname%10:38
N-Mihmmm... I can't run Sailfish SDK installer on Debian Sid : seems it needs libssl1.0-dev, but Sid only provides OpenSSL 1.1.13:11
N-MiIs there a workaround or will I need to run the SDK inside a chroot ?13:12
T42<elros34> I guess this is related: https://forum.sailfishos.org/t/installing-the-sdk-on-ubuntu-20-04/91413:19
T42<elros34> Recently I had to reinstall sdk in ubuntu 20.04 but I didn't have any issues. I used offline installer13:22
N-Mielros34: thanks, I used this package : http://ftp.fr.debian.org/debian/pool/main/o/openssl1.0/libssl1.0.2_1.0.2u-1~deb9u1_amd64.deb13:51
T42<ankaos> ı calling my friend. but not have sound15:21
T42<ankaos> use "sh-3.2# zypper in telepathy*"15:26
T42<ankaos> @edp_17 please loog log15:49
T42<ankaos> where is problem? and how fix problem?15:49
kalubeCan someone make https://gitlab.com/sailfishos-porters-ci/enchilada-ci public? Even though I'm a maintainer I don't seem to have permission to change visibility...15:56
kalubeI think perhaps only the owner can, I made the project by pushing an it defaulted to private... My mistake, I think I'll just recreate it instead15:57
kalubeI can't delete it either oh dear15:58
malkalube: I think it was r0kk3rz who is doing that ci stuff16:54
kalubeThanks, hopefully he'll see your ping and fix it for me :D16:55
T42<edp_17> @kabouik [In LXC or Chroot @edp_17? I plan on testing on …], I have started the container, then attached it, then started the desktop. So, I guess it was in the chroot. 😜17:48
T42<kabouik> No but I meant your tried it with your L18:33
T42<kabouik> I will try it on LXC tonight too, just need to dig what is the command to manually launch X again18:34
T42<edp_17> I have tried with lxc. I don't use elros' chroot.20:55
T42<kabouik> Can you remind me the command to launch X with the latest qxcompositor @edp_17? Just want to try it on Pro¹ too, if you still have it in history?21:04
T42<kabouik> Probably this: https://github.com/sailfish-containers/lxc-templates-desktop/issues/3#issuecomment-664171363 but with `qxcompositor`instead of `qxdisplay`, and `-o portrait` argument21:06
T42<kabouik> Ok started with qxcompositor, now let's find a mouse21:12
T42<edp_17> Yeah, I did exactly that: replaced qxdisplay with qxcompositor in that command. 👍21:13
T42<kabouik> By the way it's started in portrait but i3 is still showing in landscape for me (using just half of the screen), as opposed to the built-in portrait option for qxdisplay, but I think that's normal because those are some of the changes in the qxdisplay fork21:13
T42<kabouik> Oh no I'm wrong sorry, it's just that my keyboard was open21:13
T42<kabouik> So, finding a mouse.21:13
T42<edp_17> In portrait the cursor coordinates were ok, but in landscape that was not right.21:15
T42<edp_17> You'll see a little circle (big dot) as a cursor.21:15
T42<elros34> do you have correct mouse coords in landscape mode in lipstick?21:16
T42<kabouik> No, portrait too Elros21:16
T42<kabouik> Ok I see the cursor show up too! However its position is only refreshed when clicking, same as what I described yesterday with the lightdm/xephyr install21:17
T42<kabouik> It always feels great to see the cursor moving as if my Pro¹ was a tiny pc. :')21:17
T42<elros34> What do you mean? mouse coords are incorrect in home screen in both portrait and landscape mode?21:18
T42<kabouik> They are correct in portrait21:18
T42<kabouik> Can easily be tested with the Gallery app, and trying to scroll the move the thumbnails view21:18
T42<ankaos> call sound not work. camera is black screen21:19
T42<kabouik> What I described above is the cursor shows up in qxcompositor, but the icon does not move live unless I maintain right click  or left click while moving. If I don't hold click, the coordinates probably change live, but the icon will only update at the next click21:20
T42<elros34> @kabouik try this: https://github.com/elros34/qtbase/releases. Make sure you have same version already installed. Do you use latest version or 2 days old?21:20
T42<kabouik> Really good work on making the cursor show only when a mouse is connected Elros, that's pretty cool21:21
T42<kabouik> I downloaded the rpm from OBS last night; let me check qtbase21:21
T42<kabouik> Any risks with installing it? If yes, I will try that on another device where I have LXC/Chroot ready too21:21
T42<elros34> Sure as any core rpm21:22
T42<kabouik> What I was thinking, let me fetch the other and boot21:22
T42<elros34> It's hard to believe that mouse is visible only when you press button unless you use old version or I forget to update something21:23
T42<kabouik> I probably use the system qtbase on 3.3.0.16, I never changed that21:24
T42<kabouik> And qxcompositor-0.0.5+cursor_test2.20200817210502.261ad2a-1.4.1.jolla.armv7hl.rpm21:25
T42<kabouik> Damn, I forgot the other device is using the lightdm/xephyr install, I need to change that21:28
T42<elros34> you dont need to start anything but nested compositor for test21:29
T42<elros34> it works correctly both for portrait and landscape on my native landscape device (3.1.0.x)21:30
T42<edp_17> How can I start that nested compositor?21:31
T42<kabouik> THis lightdm/xephyr install already has cursor working with qxdisplay Elros, so I can't try your implementation if I use it. I just need to fix the script that start X to revert to the vanilla version that doesn't use xephyr21:32
T42<elros34> I don't get it. How is that related? Start qxcompositor and that is all you need to test wheteher it work or not21:33
T42<edp_17> I think what Kabouik is trying to do is what I did. Start the desktop linux in lxc and test the cursor in there.21:34
T42<edp_17> And as he already configured his desktop to use lightdm/xephyr, he need to revert that first.21:35
T42<edp_17> I think.21:35
T42<edp_17> @elro21:36
T42<elros34> I still not get it as this is not related at all. Cursor is painted in compositor not in chroot/lxc/ nor xwayland.21:37
T42<elros34> currently no but qml code is simple so it can be replaced with image21:37
T42<edp_17> I see. Thanks. Don't get me wrong, I like the current image too. 😊21:39
T42<kabouik> @elros34 [I still not get it as this is not related at a …], Unless I am missing something (likely), it may not be related but the issue is I already have a cursor on this device when I start my container, so I want to make sure I revert that so that the cursor I see is the qxcompositor one. Don't want to have both showing and bia21:40
T42sing the test21:40
T42<kabouik> Done, sorry that was long.21:44
T42<kabouik> So I can reproduce the same issue with cursor updating just with clicks, but I just installed the rpm. I didn't understand yesterday that I need qtbase too. Will install it now if it is needed.21:44
T42<elros34> qt base evdev plugin is only for landscape coords21:45
T42<kabouik> Oh you found a way for that too? Awesome. I'm sorry I missed several bits of information.21:47
T42<kabouik> So I take it that the cursor should be updating live. @edp_17 is that the case on your devices?21:47
T42<elros34> it's dirty hack in evdevmouse, not sure how to do this properly. Also I tested it on native landscape deviec so it might works incorrectly portrait one21:48
T42<kabouik> I am happy to try after this cursor update minor issue21:49
T42<kabouik> I didn't proceed with the installation yet because of this: https://p.teknik.io/Simple/ponRu so figured it would be best to first fix the cursor refresh before digging that too21:51
T42<elros34> not sure whether is minor, I install filter on main qquickwindow and I get all mouse events on my device (3.1.0.x sfos) so I have no idea why it fails for you). about evdev you need to force install it21:52
T42<kabouik> Ok, just ignore the broken dependencies warning, good21:52
T42<kabouik> About the cursor, let's see if @edp_17 had it live refreshed21:53
T42<kabouik> I'm happy to report that the evdev trick works fine on Pro¹ in landscape Elros21:59
T42<kabouik> I needed to reboot (probably just restart lipstick, but better safe than sorry), and this reboot was unusually long, but it works21:59
T42<kabouik> @elros34 [not sure whether is minor, I install filter on …], Could you please elaborate the "filter on main qquickwindow" part? This doesn't ring a bell for me, so it's likely there's something I didn't do22:04
T42<elros34> no, you don't need to do anything it just mean that that I intercept all events (including mouse) which comes to window22:06
T42<kabouik> It's really cool how it dynamically switches between touch (and taping-sliding scrolls the view in FF) and cursor (click-dragging selects text in FF)22:07
T42<elros34> are you sure you see white circle not something you installed yourself :)22:08
T42<kabouik> And you just added "-plugin evdevmouse" in `/var/lib/environment/compositor/droid-hal-device.conf`, nothing else?22:08
T42<kabouik> Yup I see the white circle, and it's not something I installed myself22:09
T42<elros34> yes22:09
T42<kabouik> Nice, I see coordinates are dynamically handled depending on how the device is orientated too; I initially thought it would depend on the qxcompositor -o option22:21
T42<kabouik> Works even in inverted portrait and inverted landscape22:22
T42<elros34> but they are updated based on device orientation not window orientation so sometimes it might cause issues22:23
T42<kabouik> If I run `xev`, I can confirm coordinates are not updated when I don't hold click22:24
T42<kabouik> From my laptop's touchpad, I see xev reports coordinate changes without events22:24
T42<kabouik> Elros you use < Android 8 device, right?22:43
T42<kabouik> Illyria is wondering if the cursor position refresh issue could be due to HWC2 backend on Lipstick, but he says he is not sure at all22:43
T42<elros34> I use old allwinner a31 device (android 4.4) and it has nothing to hwcomposer. Maybe something changed in 3.3.0.16. I still didn't update it to latest22:45
T42<kabouik> Okay, thanks, edp_17's test will probably help22:46

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!