IRC logs for #automotive for Wednesday, 2020-10-14

*** skz81 has quit IRC03:06
*** skz81 has joined #automotive03:07
*** thaytan has quit IRC04:56
*** leon-anavi has joined #automotive06:43
*** thaytan has joined #automotive06:50
leon-anavihi06:51
*** leon-anavi has quit IRC06:51
*** leon-anavi has joined #automotive06:51
*** anjumkaiser has joined #automotive07:02
*** thaytan has quit IRC07:13
*** eska has quit IRC07:18
*** eska has joined #automotive07:20
*** thaytan has joined #automotive07:21
*** anjumkaiser has quit IRC07:44
*** jbpons has joined #automotive07:49
*** leon-anavi has quit IRC07:51
*** leon-anavi has joined #automotive07:51
*** anjumkaiser has joined #automotive07:59
*** anjumkaiser has quit IRC08:16
jbponsHi all ! I comeback with my problem which I mentioned last week : https://irclogs.baserock.org/automotive/%23automotive.2020-10-08.log.html08:20
jbponsTo sum up, I want to test the “camerabin” plugin of gstreamer with the command “gst-launch-1.0 camerabin”. This command return me the following message (there is no logs in journalctl) : https://framabin.org/p/?c7c283c27e40b37d#S5GyndU2RfzbdL/pKfHR/qdjLQqpCxowEN4/sypZA2o=08:20
jbponsThanks to strace (https://framabin.org/p/?9906b999cd0fe242#lSuWSOFH1Em7Q4CC4ZZvGqtyyEwADMs2sSEYQQ0OW3E=) I found the source of the problem which seems to be a syscall connect : connect(28, {sa_family=AF_UNIX, sun_path="/run/user/0/pipewire-0"}, 25) = -1 ENOENT (No such file or directory)08:20
jbponsThis syscall seems to try to access the pipewire-0 socket of the /run/user/0/ depository but this one is located in /run/user/1001/.08:21
jbponsDo you know how can I fix this ?08:21
*** anjumkaiser has joined #automotive08:35
*** jbpons has quit IRC09:01
*** jbpons has joined #automotive09:04
*** jbpons has quit IRC09:41
*** leon-anavi has quit IRC09:51
*** leon-anavi has joined #automotive09:51
*** jbpons has joined #automotive09:51
mvladjbpons: are you running it as agl-driver?09:59
jbponsYes and I have the same issu : https://framabin.org/p/?ea64fadb73f7d8ba#rKO/4yU39iTwe7w2Obk0RPDO2QATCFrM/ykMCDdXuoE=10:08
jbponsstrace gave me that : connect(23, {sa_family=AF_UNIX, sun_path="/run/user/0/pipewire-0"}, 25) = -1 EACCES (Permission denied)10:08
jbponsBut I just find this with strace : openat(AT_FDCWD, "/dev/video0", O_RDWR|O_LARGEFILE) = -1 EACCES (Permission denied)10:09
jbponsIt could be linked with what smurray told me last week about udev rules ?10:09
mvladyes, for the video one for sure10:18
*** anjumkaiser has quit IRC11:23
jbponsOk ! Thank you mvlad !11:32
*** leon-anavi has quit IRC11:51
*** leon-anavi has joined #automotive11:51
*** jbpons has quit IRC11:51
*** jbpons has joined #automotive12:04
*** eduardas has joined #automotive12:57
*** Newami has joined #automotive13:42
*** jbpons has quit IRC13:46
*** jbpons has joined #automotive14:25
jbponsmvlad: I don't solve my issu with my "camerabin" gstreamer plugin but my Qt application finaly works. I think it works since the beginin but I have a very very low contrast that's why my viewfinder seemed all black.14:27
jbponsAnd for the udev rules : in meta-agl/meta-agl-profile-graphical/recipes-graphics/wayland/westin-init.bbappend there is a rule for add "display" group to the "videol4linux"14:29
jbponsThis allows my app to read the /dev/video0 device14:30
jbponsmvlad: I have another little question : I have a touchscreen (connected to my RPI with a HDMI and a USB) and a mouse cursor is displayed. How can I disable it ? I tried to add the line "app.setOverrideCursor(QCursor(Qt::BlankCursor));" but it doesn't hide it.14:33
jbpons*add the line to all apps14:33
smurraymight take something in weston.ini14:35
dl9pfjbpons: https://gerrit.automotivelinux.org/gerrit/c/src/agl-compositor/+/2530414:55
*** eduardas has quit IRC14:57
jbponsThanks dl9pf but I'm still working with Halibut, I should upgrade my system one day15:12
*** tgamblin_ has joined #automotive15:26
*** tgamblin has quit IRC15:27
*** tgamblin_ is now known as tgamblin15:29
*** jbpons has quit IRC15:40
*** bn_mobile has joined #automotive16:57
mvladwell, another option would be to compile it out from qt entirely.17:13
*** anjumkaiser has joined #automotive18:38
*** bn_mobile has quit IRC19:27
*** anjumkaiser has quit IRC20:59
*** toscalix has joined #automotive21:27
*** toscalix has quit IRC23:24

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