/srv/irclogs.ubuntu.com/2016/08/30/#ubuntu-mir.txt

=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
MirvRAOF: lpotter is wondering whether the mir code for inputconfig queries would work under Unity 7 or needs active Mir session?05:41
lpotteror specifically, does that get compiled with CONFIG+=mirclient ?05:44
lpotterlooks like it should run only on mir. so would need different builds for unity7 and unity805:47
duflulpotter: Everything Mir needs a Mir server (MirConnection). Although you could skip that and defer to libinput which we now use for everything05:50
dufluOh, no you can't under Unity7. You'd end up with duplicate and sync issues with the X input05:51
dufluAs we have done before05:51
duflulpotter, Mirv: Put another way: No there are no significant public bits of Mir that work without being connected to a Mir server05:59
Mirvright, that's what I was guessing06:06
lpotterhmm. it was contains(QT_CONFIG,mirclient)06:17
dufluI'm guessing that refers to mirclient.pc06:26
duflulpotter: what is "it"?06:27
dufluUnity7?06:27
* duflu looks06:27
Mirvlpotter: on yakkety Unity 8 desktop I'm btw still getting '0' with ./inputinfo but 1 keyboard (no touchpad or touchscreen) when running the qml-inputinfo.qml06:27
Mirv"AT Translated Set 2 keyboard QVariant(::QInputDevice::InputTypeFlags) 2", "number of mouse and keyboard devices: 1", "row count 1", "Button, Keyboard,"06:28
Mirvduflu: oh btw my Chromebook is now almost completely usable, with 4.8rc1 kernel. booting from internal ssd works, touch works, keyboard works.. only the sound doesn't work which I'm workarounding with a bluetooth headset06:30
dufluMirv: Well digital output has better sound anyway06:30
dufluMirv: Don't you get the prompt at start-up?06:31
dufluOr did you change the default in firmware?06:31
Mirvduflu: oh yes I do get that since I haven't unlocked r/w, it's just RW_LEGACY flashed still. so that's another minus.06:32
dufluMirv: Ok, be careful... If you forget Ctrl+L then the firmware will clobber Ubuntu and render it unbootable06:32
Mirvlpotter: and since now I'm able to reproduce the cli version's crash on desktop, it's easier to get a backtrace too: http://pastebin.ubuntu.com/23110601/ -  0x00007ffff6f55be4 in mir_connection_create_input_config () from /usr/lib/x86_64-linux-gnu/libmirclient.so.906:32
Mirvduflu: I know, then I'll reinstall06:33
dufluHa. Living dangerously06:33
duflu^^^ mir_connection_* means a valid MirConnection is required :)06:33
Mirvduflu: this is from running in terminal app on unity8 session06:34
Mirvmaybe the connection is not initialized correctly by QInputInfoManagerMir06:34
dufluMirv: Try the 'mirin' tool which should do the same thing06:35
dufluMirv: Or for Unity8:   mirin -- --desktop_file_hint=unity806:35
Mirvduflu: ok! I'm getting 6 devices on my chromebook and 3 on my krillin. that's good to know.06:40
=== chihchun is now known as chihchun_afk
duflualf_: Launchpad is complaining that USC has no releases made in the 0.7 series (https://launchpad.net/ubuntu/+source/unity-system-compositor). But also the ones that were made recently are not marked as released yet07:59
duflualf_: But to be fair that still makes it a better managed project than many others08:03
alf_duflu: Well, I just added a release, but LP still complains that 0.7.1 is older than the package 0.7.1+...08:04
duflualf_: That complaint is normal. Always happens08:04
dufluI think it's backwards08:05
duflualf_: Still some old "unreleased": https://launchpad.net/unity-system-compositor/+series08:07
=== chihchun_afk is now known as chihchun
lpotterMirv: patch set 3 is working09:30
Mirvlpotter: great! I'll update the PPA again.09:34
=== hikiko is now known as hikiko|afk
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== JanC_ is now known as JanC
=== hikiko|afk is now known as hikiko
=== dandrader_ is now known as dandrader
dandraderanpok, was trying out ~andreas-pokorny/mir/nested-hardware-cursor yesterday (will continue today)14:31
dandraderanpok, commented out all code in qtmir related to hiding the mir cursor. but still couldn't see the mir cursor. anything I should check? or any tips?14:31
dandraderfunny that in the past I had trouble hiding it. now it's the other way around :)14:32
dandraderanpok, that's on my test laptop, btw14:32
anpokdandrader: hm14:45
anpokcan you show me what you have right now?14:46
dandraderanpok, lp:~dandrader/qtmir/controlMirCursor14:53
dandraderanpok, it's mixed with code updating qtmir to mir's latest API14:53
TheKitso EGL_BAD_DISPLAY happens right after eglCreateContext(egl_display, egl_config, EGL_NO_CONTEXT, default_egl_context_attr) call on my device15:05
dandraderanpok, isn't usc configured to not show a cursor on desktop or something like that?15:06
anpokyes it is .. but thats fine since the nested server shows the cursor image with an overlayed buffer stream15:09
anpokTheKit: so try a different egl_config ...15:09
dandraderanpok, I did call the_cursor()->show() in qtmir. Are you saying I should call the show() that takes an image as a parameter?15:11
anpokdandrader: in other words the branch - when working as expected - also does everything to disable the usc-cursor15:12
anpokhmm15:12
anpokif you dont there would be a default arrow it would use15:12
dandraderanpok, you mean ~andreas-pokorny/mir/nested-hardware-cursor?15:13
=== dandrader is now known as dandrader|afk
anpokdandrader|afk: you need to enable the host cursor control mode..15:17
=== chihchun is now known as chihchun_afk
=== dandrader|afk is now known as dandrader
dandraderanpok, ok, didn't do that yet15:38
dandraderanpok, still nothing16:04
=== dandrader is now known as dandrader|afk
anpokdandrader|afk: wasnt there also  code in qtmir that sets a 0x0 sized CursorImage(s)17:44
=== dandrader|afk is now known as dandrader
dandraderanpok, I also had that commented out18:02
=== JanC is now known as Guest64850
=== JanC_ is now known as JanC
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader

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