/srv/irclogs.ubuntu.com/2015/10/05/#ubuntu-mir.txt

RAOFFun fact! mg::DisplayConfigurationOutput will be full of unititialised values if connected=false!03:58
bschaeferRAOF, yup ran into that before04:20
* bschaefer just assumed it was undefined behavior 04:20
=== balloons is now known as Guest87130
=== chihchun is now known as chihchun_afk
anpokalan_g: the needs fixing in https://code.launchpad.net/~andreas-pokorny/mir/probe-libinput-platform/+merge/273046 was for the update of the symbols.map, the not yet existing am-i-root check or the mircommon pormotion discussion?11:33
alan_ganpok: the "Needs Fixing" one was the the symbols.map comment. The others are just comments.11:35
=== alan_g is now known as alan_g|lunch
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
dandraderalan_g|lunch, "[...] probably better to call override_the_cursor() [...]" you mean overriding mir::Server::the_cursor()?12:58
=== alan_g|lunch is now known as alan_g
alan_gdandrader: I mean calling mir::Server::override_the_cursor()13:12
dandraderalan_g, mir::Server doesn't have a override_the_cursor() method (at least not in version 0.16).13:12
alan_gdandrader: oh. (It takes so long for a release to hit archive I sometimes lose track)13:15
alan_gdandrader: BTW the only reason hide() is working for you at all is that you're bypassing Mir input and as a result that doesn't e.g. update the cursor position.13:19
dandraderalan_g, well, I see the mir cursor moving around13:20
dandraderalan_g, any way I can override the cursor in mir 0.16?13:21
alan_gnot with the published APIs. You need -c 295313:21
alan_gdandrader: I'll have a think. But we may want to roll a 16.2 with -c 2953 (and some other stuff)13:24
dandraderalan_g, ok, thanks13:24
=== davmor2_ is now known as davmor2
alan_gdandrader: I was wrong. The reason it seems to work is that the cursor never changes (e.g. by mouse over a surface that has set the cursor) - there's an optimization that avoids the show() I was thinking of. Not quite sure why your hot-plugging scenario leads to an update. Calling hide() again might be a workaround.14:32
dandraderalan_g, pushed a workaround for it some minutes ago. I call hide() on compositor::start()14:40
dandraderalan_g, which happens everytime you connect or disconnect a monitor14:40
dandraderalan_g, or so it seems14:40
alan_gdandrader: yes. we (currently) restart compositing on display config changes.14:43
=== dandrader is now known as dandrader|afk
alan_gdandrader|afk: on a related point, why can't you use the Mir cursor? Is there functionality missing?15:03
alan_ggreyback: do you know? ^15:06
greybackalan_g: missing functionality. Not major things, but a bunch of minor things we'd like, e.g. pointer barrier, better rotation support, pointer trapped on a single screen in multimonitor case...15:17
greybackwe had thought to implement pointer acceleration ourselves too, but libinput will fix that15:18
=== dandrader|afk is now known as dandrader
anpokgreyback: will you really need to imeplement pointer barrier .. or added friction to screen boundaries?15:36
greybackanpok: not in the recent future15:37
alan_ggreyback: so that leaves "better rotation support" and "pointer trapped on a single screen" as the key issues currently?15:44
greybackalan_g: yes, those are only things coming to mind short-term15:45
greybackdandrader: did I forget anything? ^^15:46
dandradersound ok15:48
dandradersounds15:48
alan_gWhat does "better" mean for rotation support?15:48
alan_g90 degree rotations to match orientation?15:49
dandraderalan_g, when shell ui rotates, mouse pointer should rotate accordingly (rotate image and movement axes)15:55
dandraderalan_g, we get it for free and pretty neatly when the mouse pointer is just another qml item in shells scene15:56
dandraderalan_g, but with he mouse pointer being an extraneous element, it's a bit of a pain15:56
greybackrotating mouse in mir right now requires display configuration update, which is hard for unity8 to deal with at runtime15:57
greybackas it resizes the scene15:58
alan_gOK, I'm not yet familiar with all the issues, but have something to go on.15:58
anpokdandrader, alan_g: afaik rotation does not work with drm/mesa... while with android the cursor is done as a scene element so there rotation should work..17:10
anpok(rotation of the cursor ..)17:10
=== alan_g is now known as alan_g|EOD
dandraderanpok, so on android mir does not provide a hardware cursor?17:11
dandraderanpok, (or android doesn't have hardware cursors)17:11
anpokdandrader: it is using overlay hardware for the cursor when possible17:17
anpokit is just already present as scene content.. hence the scene rotation will take care of the detail.. (either by rotating when falling back to gl, or by applying the attributes to the overlays)17:18
anpokfor mesa drm it is just something separate.. but yes some day we will switch to drm planes and the same will be true there17:18
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
robert_ancellSaviq, what video card did you have for bug 1501941?19:58
ubot5`bug 1501941 in xserver-xorg-video-intel (Ubuntu) "Screen turned off after X server exits" [High,Triaged] https://launchpad.net/bugs/150194119:58
robert_ancellolli, also for you?19:58
ollirobert_ancell, we have the same XPS1220:03
robert_ancellolli, can you paste the result of "grep Intel /var/log/Xorg.0.log"20:05
robert_ancellolli, thanks. You have a 4400 like me.20:07
=== ljp is now known as lpotter

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