/srv/irclogs.ubuntu.com/2014/02/04/#ubuntu-mir.txt

=== RAOF_ is now known as RAOF
=== Wellark__ is now known as Wellark
alan_galf_: is this right? https://code.launchpad.net/~alan-griffiths/mir/suppress-tests-for-armhf/+merge/20462009:31
alf_alan_g: looks good09:32
alan_galf_: thanks09:33
alf_alan_g: perhaps, though, we should apply this to devel first and merge that?09:35
alf_alan_g: too late, doesn't matter :)09:35
alan_galf_: I'd rather do a reverse merge after the trunk gets tagged09:36
alf_alan_g: ok09:36
* alan_g thinks we should not be landing two months changes in one lump (but who listens?)09:37
alan_gdidrocks: I trust your changelog concerns are addressed? https://code.launchpad.net/~mir-team/mir/trunk-0.1.4/+merge/20170709:42
=== ogra_` is now known as ogra_
didrocksalan_g: swimming over the diff, it looks good to me10:04
alan_gdidrocks: surely a 32k diff is no cause for concern. ;^/10:06
didrocksalan_g: well, that's your process, if things can't land, we are going to revert your 32k of diff10:07
didrocksyou pick your risk10:07
alan_gdidrocks: kgunn already made that decision.10:08
didrocksyeah, so no need to argue on that more :)10:08
alan_gIs it ok to top-approve now? (Or are there other steps needed in the latest process?)10:10
didrocksalan_g: kgunn is the lander, he will handle that, so no top-approve (well, top-approve won't do anything anyway)10:10
* alan_g washes hands10:11
alf_alan_g: have you tried cross compiling recently?12:11
alan_galf_: can you suggest a cleaner approach to https://code.launchpad.net/~alan-griffiths/mir/refactoring-so-SwitchingBundle-can-control-completion-of-client_acquire/+merge/20424412:11
alan_galf_: no - can to though12:12
alan_g*do12:12
alan_g(Was probably friday I did it last)12:12
alf_alan_g: I am getting http://paste.ubuntu.com/6872683/12:13
alan_gTried zapping the "partial chroot"?12:15
alf_alan_g: no, just the build dir (while updating the chroot), will try from scratch12:16
alan_gHmm " #error This file was generated by an older version of protoc which is"...12:16
alf_alan_g: you need to update the host protobuf libraries and protobuf-compiler package12:18
alan_galf_: ack12:18
alf_alan_g: @switching bundle, I like the proposed approach, perhaps with the change that Kevin proposed to swap_client_buffers()12:21
alf_alan_g: i.e., returning the buffer in the callback12:22
alan_gthanks. Was thinking along those lines - but not feeling convinced it was the best of all possible solutions12:24
=== Trevinho_ is now known as Trevinho
* alan_g isn't convinced by the name "submit_produced_buffer_and_notify_on_available_buffer" though12:26
alf_alan_g: the other approach is to move to a push model for surface buffers, but that's more radical and needs further discussion12:28
alan_galf_: quite12:29
alan_gBBL12:29
alf_alan_g: cross-build ok from scratch, thanks12:29
=== alan_g is now known as alan_g|lunch
=== dandrader is now known as dandrader|afk
=== popey_ is now known as popey
=== dandrader|afk is now known as dandrader
=== alan_g|lunch is now known as alan_g
dandraderalan_g, trying to make unity8 do custom RPC over mir_socket, following test_protobuf.cpp example13:51
alan_gdandrader: yes?13:52
dandraderalan_g, I need to include mir/frontend/template_protobuf_message_processor.h13:52
dandraderalan_g, but that header, on its part, includes mir_protobuf_wire.pb.h13:52
dandraderalan_g, which is not exported by mir13:52
alan_gdandrader: you're right. That needs to be fixed.13:54
alan_gWant to log a bug? I'll get to it today13:54
dandraderalan_g, sure13:54
alan_gthanks13:59
dandraderalan_g, https://bugs.launchpad.net/mir/+bug/127616214:01
ubot5Launchpad bug 1276162 in Mir "libmirserver user is unable to #include <mir/frontend/template_protobuf_message_processor.h>" [Undecided,New]14:01
=== mterry_ is now known as mterry
=== alan_g is now known as alan_g|tea
=== dandrader is now known as dandrader|lunch
=== alan_g|tea is now known as alan_g
alf_mlankhorst: Hi! I think I have found a bug in Mesa, could you take a look?15:46
mlankhorstI guess15:46
alf_mlankhorst: So, the problem is that when unbinding a context, the driver unbind function is not called when there are no bound surfaces, but this break when we have a surfaceless context15:49
mlankhorstis this a bug in gallium only or is i915 affected?15:50
alf_mlankhorst: it's in dri_utils, a tentative fix is http://paste.ubuntu.com/6873664/ . Just that look plausible?15:51
alf_s/Just/Does/15:52
mlankhorstI really can't say15:54
alf_mlankhorst: np, thanks15:55
mlankhorstit seems like it's not called on purpose there15:55
mlankhorstso I don't know, put it on the mesa-dev list I guess15:57
mlankhorstor write a test15:57
alf_mlankhorst: will do thanks15:58
Saviqkdub, hey, could you maybe answer asac's question in "Landing team 31.01.2014" on ubuntu-phone ("How can we ensure that display is ready before trying to start?")?16:02
kdubSaviq, i'll take a look16:02
Saviqkdub, thanks16:02
=== dandrader|lunch is now known as dandrader
dandraderalan_g, so mir wire protocol has no concept of services. only functions, right?17:12
alan_gdandrader: correct17:12
dandraderalan_g, meaning that you can map a wire protocol function to any protobuf service you like, right?17:12
alan_gdandrader: correct17:12
dandraderok17:13
kdubwas there a problem with protobuf?17:16
alan_gkdub: bug 127616217:20
ubot5bug 1276162 in Mir "libmirserver user is unable to #include <mir/frontend/template_protobuf_message_processor.h>" [High,In progress] https://launchpad.net/bugs/127616217:20
kdubalan_g, what i'm seeing looks more like a version mismatch of protobuf on my setup17:22
kdubupgrading everything and hopefully that works17:22
alan_gkdub: yeah, theny just pushed protobuf8 in17:23
alan_g&they17:23
alan_gSorry, thought you were joining the conversation, not starting a new one17:24
kdubalan_g, np, upgrading things seemed to fix what i was seeing17:30
alan_gkdub: is this to your liking now? https://code.launchpad.net/~alan-griffiths/mir/refactoring-so-SwitchingBundle-can-control-completion-of-client_acquire/+merge/20424417:36
kdublooking17:37
alan_gkdub: thanks18:00
=== alan_g is now known as alan_g|EOD
=== dandrader is now known as dandrader|afk
ali1234i just read about SDL Mir backend23:17
ali1234don't most 3D games use GLX? how does that work then?23:17
bschaeferali1234, when it comes to a game that uses GLX, the mir video backend returns an opengl context (through egl) which allows most games to work23:20
ali1234i'm a game developer... how will i know if my game can work this way?23:20
bschaeferi've tested this out in SDL 1.2 (which I have a branch for)23:20
ali1234i use SDL2 and ogre3d23:20
bschaeferthen things should just work :)23:20
bschaeferto test, you would have to set up the mir server23:21
ali1234i compile my own version of ogre and sdl...23:21
bschaeferand run it on it directly23:21
bschaeferi've not tested ogre out but if it depends on X11 it will not work23:21
bschaeferdepends on it directly23:22
ali1234well it depends on it for building23:22
ali1234but i use SDL to open a window and get a GL context23:22
bschaeferthe GL context you get from SDL (if you are running it through mir) will be opengl23:22
bschaeferali1234, ive gotten games such as extremetuxracer23:23
bschaeferworking through mir23:23
bschaefer(only in sdl 1.2, which is not patched for mir, but my own branch)23:23
bschaeferwhich depends on  |Depends: libgl1-mesa-glx23:23
bschaeferso I would assume any games written in SDL2, should work with the same dependencies23:24
ali1234i literally just open a window with SDL2 and then tell ogre to render into it... there is zero X11 specific code in my stuff, which also runs on windows23:26
bschaeferthe problem i see though, is ogre has a hard depend on :   Depends: libx11-623:26
ali1234yes23:26
bschaeferat lease im seeing that here: apt-cache depends libogre-1.8.023:26
ali1234ogre has it's own window management functions, but i do not use them23:26
bschaeferwhich will not allow it to work :(23:26
bschaefero23:26
bschaeferwell23:26
ali1234so it should work as long as the libraries are around and it just won't use them... i guess?23:27
ali1234also i could patch the X11 stuff out of ogre, maybe23:27
bschaeferwell if they are around, and there are functions calls that attempt to connect with the XServer it'll fail23:27
ali1234wondering if it's worth it...23:27
ali1234luckily all this stuff is BSD licensed :)23:28
ali1234or was it MIT, i forget23:28
bschaeferwell the lease you could do is run down where ogre calls any x11 functions23:29
bschaeferyou would hope that if you are using SDL2 to get the context (and set up the native handling) that ogre would leave all that alone23:30
bschaeferand let SDL2 handle that23:30
bschaeferif thats the case it'll work just fine23:30
ali1234CMake/Packages/FindOpenGLES.cmake:    # On Unix OpenGL most certainly always requires X11.23:30
ali1234:(23:30
bschaefer:(, thats one assumption that has caused a lot of pain23:31
ali1234on a related note, the oculus rift devkit relies on X11 and Xinerama as well23:32
bschaeferto bad they just don't all build a layer ontop of SDL2 and leave all the native window handling to it...23:32
ali1234well ogre is a lot older than SDL2... SDL1 has no windowing support23:33
bschaeferright23:33
bschaeferi forgot how new SDL2 really is :)23:33

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