/srv/irclogs.ubuntu.com/2015/03/13/#ubuntu-mir.txt

=== chihchun_afk is now known as chihchun
=== marcusto_ is now known as marcustomlinson
alan_galf_: answered? https://code.launchpad.net/~alan-griffiths/mir/update-libmirserver-symbols/+merge/25256809:42
alf_alan_g: yes, thanks09:43
zzarrhello!  I need guidance to get 3D acceleration to work with the mir display server with the help of libhybris with a mali 400 gpu10:13
zzarrI have a pcduino3 board with a AllWinner A20 SoC10:14
zzarrthere's an Android image for the device10:14
alan_gzzarr: you'll likely get the best help from kdub or AlbertA who are on USA time - they know most about bringing up android based devices.10:17
zzarrokey, what dose USA-time mean in CET?10:19
alan_gyes.10:23
anpok_zzarr: hm expect them to arrive between 14:00 and 15:0010:24
zzarris it -6 or -7 hours?10:24
zzarrthanks :)10:25
anpok_dunno... thats when they start to show up usually10:25
alan_gUTC-610:25
zzarrthanks :)10:25
zzarrI love this community :)10:26
=== chihchun is now known as chihchun_afk
ogra_zzarr, you will most likely want to read the ubuntu-touch porting guide10:56
ogra_to get a shrunk down android container working that provides the necessary hybris setup10:56
zzarrI'll look in to it10:57
zzarrI'm about to port Ubuntu to a Android phone to... but that's next chapter10:57
ogra_right, but i guess the setup you need will be the same in both cases10:58
ogra_(or at least pretty close to each other)11:00
zzarrI think so too :)11:06
alan_gWhy is mir_connection_create_spec_for_input_method() in mir_surface.h?12:23
kdubzzarr, yes, you have to have that porting guide followed so that the android container is set up properly, but after that, the mali 400 should work with mir12:33
=== alan_g is now known as alan_g|lunch
zzarrthanks kdub :)13:48
greybackkdub: hey, I was testing qtmir with duflu's favourite: a client which renders as fast as possible (mir_demo_client_egltriangle -n). I'm relying on mir's frame-dropping ability - so when qt renders, it just grabs a buffer with compositor_snapshot and releases it after swap & flip. However flip is taking >270ms in this case!!14:02
greybackwould you have any ideas on why that is/where to start looking?14:02
greybackthere is not such a high flip time with a client that respects vsync14:04
=== dandrader is now known as dandrader|afk
kdubgreyback, so I guess the defaulte frame dropping in mir kicks in after 100ms, so that could account for some of it14:05
kdubhah, defaulte, that's the english spelling, right?14:06
greybackye olde spelling perhaps :)14:06
greybackmir's framedropping timer causes it's own compositing to block?14:07
kdubit shouldn't but maybe that compositor_snapshot that's in the loop is causing the blockage?14:07
greybackI put a timer around mg::DisplayBuffer::flip()14:08
kdubhmm, and android or mesa platform?14:08
greybackmesa14:08
=== alan_g|lunch is now known as alan_g
kdubgreyback, so duflu and I are looking into these bugs, https://bugs.launchpad.net/mir/+bug/1377872, and https://bugs.launchpad.net/mir/+bug/142926414:11
ubot5Ubuntu bug 1377872 in Mir "Double-buffered compositing performance is very poor (30 FPS) on intel" [Medium,Confirmed]14:11
ubot5Ubuntu bug 1377872 in Mir "duplicate for #1429264 Double-buffered compositing performance is very poor (30 FPS) on intel" [Medium,Confirmed]14:11
kdubI think there's something amiss with the switch to double buffering... if its easy to reproduce, probably best to file a bug and we can dig further14:11
greybackit must be something I'm doing wrong, as mir_proving_server doesn't behave so badly14:12
greybackyou would have noticed 4fps as being broken :)14:12
alan_ggreyback: mir proving sever does weird shit - like compositing in an input event handler14:13
greybackalan_g: eee okay14:13
kdubwe're just proving how robust we are? :)14:13
kdubgreyback, at any rate, I think either me or duflu would be interested in seeing if we can reproduce and figure out what's going on14:15
greybackkdub: ok, I'll email with a branch & instructions14:15
kdubgreyback, thanks14:18
=== chihchun_afk is now known as chihchun
=== dandrader|afk is now known as dandrader
mptDefining default window position is doing my head in15:00
mpt“Cascaded relative to another window means positioned one title-bar height lower than the other window, and one title-bar height to the right in an LTR language, or one title-bar height to the left in an RTL language — unless this would result in any part of the window being off-screen or in shell space, in which case the window should be shrunk the minimum amount to avoid this if that would not make it smaller than its minimum width/height, or otherwise15:03
mptshould be placed at the top left (LTR) or top right (RTL) of the display’s biggest non-shell space.”15:03
=== dandrader is now known as dandrader|lunch
=== dandrader|lunch is now known as dandrader
=== alan_g is now known as alan_g|EOD
mlankhorstdoes mir handle pure KMS devices?19:04
mlankhorstI'm running ubuntu on a tegra device that has a separate drm node for display and rendering19:05
kgunnmlankhorst: what do you mean by pure KMS ?19:37
mlankhorstI don't think there is a corresponding egl device for it19:37
mlankhorstso it's a similar case to a displayport external usb19:38
kgunnmmm, tegra w/o an egl19:39
kgunnvogons ^19:39
mlankhorstshrug I'm testing with nouveau19:39
mlankhorstitt's a jetson tk119:40
kdubeh, we probably need gbm/egl at some point of the initialization19:40
mlankhorstso if I plug in a displaylink it won't work?19:41
kdubnot sure19:42
mlankhorstdisplaylink is a pure USB display that works with the modesetting driver in xorg19:43
mlankhorstbut there's no mesa driver for it since it has no acceleration19:54
racarrI think it wont work19:56
mlankhorstthought as much19:56
racarrBecause theres no GBM backend19:56
racarrrather than thelack of GL so to speak19:57
racarrthe GL could be software19:57
racarrI guess we'vebeen hoping19:57
racarrthat SimpleDRM/GBM (having a total blank...people from redhat are working on it...) or whatever its called19:57
racarrwill solve this for us as iirc it includes19:57
racarra software GBM backend19:57
mlankhorstdumb GBM?19:57
racarrI think it's not dumb gbm haha19:58
mlankhorstI mean that would be what you need there19:58
mlankhorstusing the 'dumb' interface :p19:58
racarroh no but I mean I think19:58
racarrthat interface doesn't quite do enough19:59
racarrthats what we use for software buffers on mesa (or I think...used to use?)19:59
racarrI think that doesn't provide a fake/software GBM 'device' though?19:59
racarrsorry it's been months and months since I've thought through this.20:00
racarrtl;dr; things without mesa bits wont work as it stands20:00
mlankhorstbleh20:00
racarrwe are kind of expecting someone else to provide themissing piece?20:00
racarrbut that was months ago20:00
mlankhorstwhy isn't the dumb interface sufficient?20:01
racarrmlankhorst: Hmm well the first problem is how would you even get gbm_device20:03
mlankhorstsame way? :p20:05
racarrmlankhorst: iirc though the dumb buffers are a feature of the20:08
racarrGBM DRI backend20:08
racarrbut the DRI backend will fail to open a device20:08
racarrwithout20:08
racarrmesa bits20:08
racarrobv20:08
mlankhorstyou have a swrast gallium driver though? :P20:09
mlankhorstwhy wouldn't that one work?20:09
racarrI dunno lol, you'd have to try20:10
racarrI guess the first point of failure would be mir only enumerating dri devices via udev (probably true?)20:10
mlankhorstthat's fine, it's a dri device..20:11
racarrI guess I don't know whatI am talking about then :)20:12
racarrI thought it would be a DRM device but not a DRI device?20:12
racarrI now refer you to alf or raof :p20:13
mlankhorstoke20:13
racarrMaybe it will work lol20:14
racarrthere's some stuff about loading the swrast driver in20:14
racarrthe gbm dri backend now that I dont remember20:14
mlankhorstI think that's kms-swrast20:27

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