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

=== c74d is now known as Guest62930
=== c74d3 is now known as c74d
=== chihchun_afk is now known as chihchun
=== c74d3 is now known as c74d
=== mibofra is now known as Guest6635
=== chihchun is now known as chihchun_afk
dandraderIs mir packaging borked or is my system messed up? -> http://paste.ubuntu.com/11431212/11:53
dandraderIn /usr/lib/x86_64-linux-gnu/mir I've only a client-platform subdir11:54
anpok_something is borked11:55
anpok_so you do not have mir-graphics-drivers-desktop installed?11:57
dandraderanpok_, no11:59
=== chihchun_afk is now known as chihchun
anpok_hm no I think thats ok.. the package that adds mir_demo_server / mir_proving_server requires neither the android driver nor the desktop/mesa drivers..11:59
dandraderI tried to remove all mir pacakges from my system, but for some reason it would bring along a whole lot of other packages such as xchat, update-manager, totem, etc :/12:05
dandraderI fail to see the connection between them12:06
seb128dandrader, likely because libgtk has a mir backend so link to libmirclient12:06
seb128trying to remove the lib removes gtk12:06
seb128which takes the gtk rdepends with it12:06
dandraderseb128, sounds right12:07
seb128dandrader, why do you need to uninstall libmir? it doesn't force you to have the mir server installed12:07
seb128it's just a small lib12:07
seb128like you have libwayland and others installed for the same reason12:07
dandraderseb128, just to get back to a clean slate and start over. I don't really need to remove it12:08
seb128k, I guess keep the lib then12:08
dandraderyeah12:08
seb128or install --reinstall /vivid|wily12:08
dandraderjust found it curious that the system already relies on mir packages, even though it doesn't use them12:08
=== mibofra is now known as Guest5770
kdubalf_, any more thoughts on: https://code.launchpad.net/~kdub/mir/surface-buffer-access/+merge/259049 ?13:10
=== chihchun is now known as chihchun_afk
alf_kdub: let me remember what was going on there...13:28
kdubalf_, basically, I just want to break ms::Surface : ms::SurfaceBufferAccess, because the streams provide the buffers13:30
=== dandrader is now known as dandrader|afk
alf_kdub: so, I guess I am ok with getting rid of the narrower interface at this point, and hopefully we can remove the with_most_recent_buffer() function in the future, when snapshotting is not needed anymore14:13
kdubalf_, I think it can even move to the private compositor::BufferStream inferface before the snapshotting is removed14:15
kdubonce we root out the concept of the default_surface from the session14:15
anpok_regarding daniels complaints.. have we discussed using buffer streams as-is for decoration purposes?14:16
anpok_but I also do not see any problems to add that later14:17
kdubanpok_, in the context of ~kdub/mir/surface-buffer-access? or somewhere else14:18
anpok_i was refering to yesterdays stuff.. um add-streams-to-surface14:18
kdubah, so I think we're coming around on that one in general14:19
kdubbut we have discussed it as a future possibility14:20
anpok_ok14:21
kdubalf_, I think I'll collapse it then, seems everyone who has weighed in would be okay with that, thanks for the look14:22
alf_kdub: np14:23
=== dandrader|afk is now known as dandrader
=== dandrader is now known as dandrader|paperw
=== dandrader|paperw is now known as dandrader|bbl
=== mibofra_ is now known as mibofra
kgunnvogons so for those keeping score on the qtubuntu/libmircommon snafu....silo 19 passed testing, but they just locked vivid17:04
kgunnagain... :-/17:04
kdub:\17:05
kgunnso it'll land in wily and then robru said he'd create another silo to stick the pkgs for vivid17:05
kgunnalready passed qa as well...so should just be ok17:05
kgunnjust a little outta sync17:05
=== davmor2 is now known as davmor2_hols
=== mibofra is now known as Guest52528
=== Guest52528 is now known as mibofra
=== dandrader|bbl is now known as dandrader
bschaeferracarr, running into an interesting issue. I cant seem to hold a key down with the new mir stuff?19:42
bschaeferie. if i press and hold LEFT arrow, then press RIGHT UP DOWN, then release LEFT19:42
bschaeferall i get is LEFT down/up RIGHT down/up UP down/up DOWN down/up19:42
bschaefersame if i hold a, or b... it gets the release as soon as i press a new key19:43
bschaefer(or it possibly gets the release as soon as a press a key down)19:43
bschaeferracarr, the code that handles key events: http://paste.ubuntu.com/11438311/19:45
* bschaefer gets a timestamp of the events19:59
racarrbschaefer: processing19:59
bschaeferracarr, its a  bit strange... i dont see a mir demo that really has key events19:59
bschaeferlike moving an object around per say19:59
racarrMIR_CLIENT_INPUT_RECEIVER_REPORT=log or mir_demo_standalone_input_filter19:59
racarruh19:59
bschaefero that works as well20:00
bschaeferracarr, where does it log to?20:00
bschaeferstdout?20:00
racarrstdout yeah20:00
bschaeferok20:00
* bschaefer looks up code for LEFT/RIGHT20:01
bschaeferracarr, mir looks like its doing it right hmm20:03
bschaeferracarr, http://paste.ubuntu.com/11438557/20:03
bschaeferholding a down while pressing b c d20:03
racarrbschaefer: I bet I know whats happening20:04
racarraction == mir_keyboard_action_repeat ;)20:04
racarrand you arne't handling it20:04
racarrso key_state is left as20:04
racarr020:04
racarrwhich must be20:05
racarrSDL_RELEASED20:05
bschaeferooo20:05
bschaeferracarr, i didnt have to handle this before :)20:05
racarrTricky :(20:05
bschaeferhmm20:05
racarrYeah...20:05
racarrwell there was20:05
racarrrepeat_count before20:05
racarryou should use switch20:05
bschaeferright, which i could ignore20:05
racarrfor things like this20:05
racarrso the compiler will warn you20:05
bschaeferi should beable to just skip these events20:05
bschaeferIIRC20:05
racarrbut20:05
bschaefermaybe...20:05
racarrlol20:05
racarryeah this seems a little like a trap20:06
racarr(on our end)20:06
bschaeferas i think the client handles the repeat20:06
bschaeferie. KEY IS DOWN KEEP MOVING20:06
racarrThat's always an option yeah20:06
bschaeferand it waits for a release...but i should keep the count...20:06
bschaefermaybe... idk if sdl1.2 handles that20:06
* bschaefer looks had headers20:06
bschaeferracarr, yeah sdl1.2 doesnt even have a repeat option for the key event20:07
bschaeferracarr, thanks for pointing that out!20:08
racarrbschaefer: np :)20:08
racarrHappy friday :D20:08
bschaeferracarr, ill have to poke you about sdl2 :)20:08
bschaeferracarr, and happy friday to you as well20:08
bschaeferfor sdl2...i might have to keep track of the repeat count...20:08
bschaeferor rather...maybe it just asks if its repeating20:09
* bschaefer will have to worry about that another time20:09
racarrMm. yeah thats what most people seem to do (just bool is_repeat)20:09
bschaeferyeah ill have to double check that ... if thats the case that would be sooo much easier20:10
* bschaefer assumes it is for now20:10
bschaeferconfirmed fix my issue :), thanks again!20:17
racarrYay :D20:18
* bschaefer needs to stop playing etracer20:19
racarrbschaefer: you mean "testing SDL"20:23
bschaeferracarr, yes :)20:24
bschaeferhello soo unity8 desktop seems to be crashing in -proposed:20:52
bschaeferhttp://paste.ubuntu.com/11439219/20:52
anpokbschaefer: hm i think you should have a graphics-mesa.so.2 instead21:19
bschaeferanpok, i see, installing now :)21:20
bschaeferit didnt remove so.1 soo hopefully it doesn't pick thatone21:20
* bschaefer relogs21:20
bschaeferanpok, sweet thanks! Now it works21:23
anpokstill curious why this is not picked by defaut21:30
bschaeferyeah that is an interesting point, as i've done many update/upgrades21:30
bschaefersince adding -proposed21:30
bschaeferracarr, sooo now another fun question... holding a key down works on a server i run my self23:05
bschaeferbut if i run etracer on unity8 desktop hold right/left23:06
bschaeferdoes not work23:06
bschaefererr it works if i make my own server, but does not work when running through untiy8... idk if theres any differences between the layers there though...which i strange23:06
* bschaefer adds a log23:06
bschaeferracarr, this time it does look like mirs fault23:12
bschaeferinstead of sending repeat, its sending up23:12
bschaeferhttp://paste.ubuntu.com/11441144/23:13
bschaeferracarr, maybe...im some how running the wrong version of the lib? (i was somehow running the wrong platform graphics lib...)23:13
bschaeferalso the server im running my self is built from trunk mir23:14
bschaeferon the plus side etracer on unity8 desktop: http://i.imgur.com/TVS8bSr.jpg23:18
bschaefer(ignore bad phome camera)23:18
anpokbschaefer: and when you take an installed mir server?23:52
bschaeferanpok, if i use the one from mir_demos23:53
bschaeferit works fine23:53
bschaeferwhich should use the same libraries that unity8 desktop uses23:54
anpokhm for unity8 events get fed into qt and dispatched through the scene23:58
anpokand then converted back and sent to clients23:58
bschaeferanpok, i bet qt isn't handling the new repeat then23:59
bschaeferaction23:59
bschaeferanpok, what package would that be in?23:59
bschaeferqtmir?23:59

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