IRC logs for #automotive for Thursday, 2018-07-05

*** leon-anavi has joined #automotive04:32
leon-anavimorning04:32
*** toscalix has joined #automotive04:50
*** toscalix has quit IRC05:22
*** kbroulik has joined #automotive06:18
*** fredw has joined #automotive06:24
*** fredw has quit IRC06:59
*** jobol has joined #automotive07:03
*** jlrmagnus has joined #automotive07:12
*** robertmarshall has joined #automotive07:29
*** fredw has joined #automotive07:31
*** gunnarx has joined #automotive07:35
*** gunnarx has joined #automotive07:35
*** [AD]Turbo has joined #automotive07:38
*** jacobo has joined #automotive08:05
*** mfritzsch has joined #automotive08:09
*** kylox has joined #automotive08:27
*** toscalix has joined #automotive08:37
*** toscalix has quit IRC08:44
*** toscalix has joined #automotive08:46
*** toscalix has quit IRC08:51
*** toscalix has joined #automotive08:53
*** tpollard has joined #automotive08:58
*** jlrmagnus has quit IRC09:12
*** fredw has quit IRC09:50
*** narmstrong has joined #automotive10:07
narmstronghi, I'm trying to run the agl-platform-demo on an iMX6q platform running Linux 4.14 with etnaviv with mesa10:07
narmstrongbut the display stays full black with weston and ivi-shell10:08
narmstrongI switched back to desktop-shell and display is OK10:08
narmstrongI tried the EEL release and the actual flounder master, same result10:09
narmstrongI also applied the fix-ivi-layout-for-IMX6-fbdev.patch to weston, same result10:10
tpollarddo you have your weston.ini file?10:12
narmstronghttps://www.irccloud.com/pastebin/aFunbMSX/10:13
*** jlrmagnus has joined #automotive10:23
*** jlrmagnus has quit IRC10:30
*** jlrmagnus has joined #automotive10:44
*** [AD]Turbo has quit IRC10:48
*** jlrmagnus has quit IRC11:11
*** toscalix has quit IRC11:15
narmstronghere is the weston.log is this can help... http://termbin.com/imjz11:16
*** jlrmagnus has joined #automotive11:26
*** luneff has joined #automotive11:29
*** mfritzsch has quit IRC11:36
jobolnarmstrong, i don't see trouble in the log. have you compared with the version desktop-shell? Have you activated WAYLAND_DEBUG?11:39
narmstrongjobol: where is the best place to activate it ?11:40
jobolnarmstrong, perhaps in the service file using Environment=WAYLAND_DEBUG=... (don't remember exact usage of that variable)11:42
*** gunnarx has quit IRC11:54
*** SebD has joined #automotive12:16
narmstrongjobol: running weston with debug enabled https://www.irccloud.com/pastebin/Rp9FCYfe/12:16
jobolnarmstrong, ok i'll check in some time (a little busy)12:24
jobolbut if someone else, more in use with display, have time to check...12:24
smurraynarmstrong: afaik, ivi-shell not working with that combination is a known issue12:27
*** fredw has joined #automotive12:27
narmstrongsmurray: it's a DRM or Mesa issue ? because modesetting with GLES in Mesa should be a pretty standard platform12:29
smurraynarmstrong: I'm not sure what the issue is, but I know that it's previously been tried and did not work12:30
narmstrongsmurray: is there a jira issue I can track down ?12:30
smurraynarmstrong: not that I'm aware of.  AGL doesn't use that combination by default12:32
smurraynarmstrong: mdp would maybe have a better idea, but he's off for the holiday in the US12:32
*** jacobo has quit IRC12:33
narmstrongsmurray: thanks12:37
luneffhey guys! what does one do when he sees vc4 memory errors on AGL@Raspberry Pi 3? https://pastebin.com/cTeukVMj . I've already tried updating to the latest meta-raspberrypi, pyro branch. AGL is 5.0.312:39
luneffcan't really tell what those numbers mean; previously, I have played with vcmem_hi and _lo parameters to no success12:41
*** dravine has joined #automotive12:45
luneffit definitely seems like this issue: https://jira.automotivelinux.org/browse/SPEC-390 , but the proposed solution isn't too relevant for my case :-(12:46
smurrayluneff: at this point we just mostly accept that there's not enough video memory on the rpi3 to open more than a few apps12:50
luneffdidn't it work fine before vc4 with proprietary broadcom drivers?12:52
luneffalso, can't we just tune up the cma allocator to get even 500+ megs of GPU memory, if we want?12:54
smurraysure, doesn't help12:54
luneff256 is definitely not enough for a raspberry, back in days I'd use gpu_mem=51212:54
smurrayin my experiments a year ago, that allowed opening another app or two at the expense of system performance12:54
smurrayafaik the only real fix would be to have the AGL windowmanager free up surfaces of inactive apps12:56
smurraywhich has been discussed, but not implemented12:56
luneffdoes deactivateSurface() free any resources? I could use that in tapping away from my app handler12:57
smurrayafaik, no12:57
smurraybut I've not looked closely12:57
luneffand so quitting the app when it's switched away won't help either?12:58
luneffas the surface would be kept by the window manager?12:59
smurrayatm, that's the case afaik12:59
smurrayI think there's an open issue about trying to clean up if an app crashes, but nothing implemented afaik12:59
luneffsounds horrible :-( I assume, things for better on the Renesas hardware?13:00
luneff*work13:00
smurrayyes13:00
smurraythings are exacerbated on rpi due to vc4 not doing compression13:01
luneff"The kernel-side validation needed for ETC1 texture compression in the VC4 DRM driver should happen for Linux 4.10."13:04
luneffoh, indeed that's anholt himself :-)13:05
luneffhttps://anholt.livejournal.com/52574.html says I could try 4.13+ kernel and more CMA memory to try to workaround my case13:06
smurrayI think AGL is picking up 4.14 now13:07
narmstrongsmurray: switching to fbdev-backend with pixman does the same result: black screen13:09
narmstrongsmurray: dumb question, but is there something I forgot to setup for the agle-platform-demo ?13:09
narmstrong*agl-platform-demo13:09
smurraynarmstrong: tbh, it's hard to say.  Have you tried a stock imx6 build with the default Freescale video driver?13:10
jobolsmurray, let me check because a review pretended the WM to cleanup things when application craches13:15
luneffsmurray, big thanks on the hints!13:15
smurrayjobol: okay, might have missed something going by13:15
*** toscalix has joined #automotive13:16
*** toscalix has quit IRC13:21
jobolsmurray, I haven't found what i spoke about after quick search and stops. so I'm perhaps wrong...13:25
*** toscalix has joined #automotive13:31
*** jacobo has joined #automotive13:36
shoragannarmstrong: if you have follow-on questions, you can also ask me here14:03
*** toscalix_ has joined #automotive14:03
*** toscalix has quit IRC14:07
*** toscalix_ has quit IRC14:34
*** toscalix_ has joined #automotive14:34
*** toscalix_ has quit IRC14:45
*** toscalix_ has joined #automotive14:57
*** kbroulik has quit IRC15:14
*** robertmarshall has quit IRC15:46
*** fredw has quit IRC15:49
*** AlisonChaiken has quit IRC15:58
*** kylox has quit IRC16:09
*** toscalix_ has quit IRC16:22
*** altendky has quit IRC16:38
*** jobol has quit IRC16:38
*** altendky has joined #automotive16:40
*** luneff has quit IRC16:49
*** SebD has quit IRC17:05
*** jlrmagnus has quit IRC17:43
*** AlisonChaiken has joined #automotive17:52
*** thaytan has quit IRC18:28
*** leon-anavi has quit IRC18:43
*** jacobo has quit IRC19:04
*** praneeth has quit IRC19:25
*** praneeth has joined #automotive19:26
*** SebD has joined #automotive19:38
*** thaytan has joined #automotive20:02
*** RzR has quit IRC20:02
*** SebD1 has joined #automotive20:28
*** SebD has quit IRC20:30
*** SebD1 is now known as SebD20:30
*** RzR has joined #automotive20:44
*** dravine has quit IRC21:24
*** SebD has quit IRC22:23
*** dravine has joined #automotive22:25
*** fredw has joined #automotive23:06
*** fredw has quit IRC23:18
*** claneys has quit IRC23:23
*** claneys has joined #automotive23:35

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!