/srv/irclogs.ubuntu.com/2014/12/09/#ubuntu-mir.txt

racarr_Hmm if I was smart I would have first ported MirSurface and MirScreencast to MirBufferStream in an independent MP before adding the surfaceless buffer stream type....00:07
racarr_and if I was really smart I would probably do that now even though it involves repeating some work00:07
racarr_:(00:07
racarr_lol00:07
racarr_about EOD...01:04
racarr_Morning duflu :)01:05
dufluracarr_: Hmm, already?01:16
dufluracarr_: Hello!01:16
greyback_duflu_: hey, since I'm up rather late hacking on multimonitor, I'll definitely miss our catchup later on02:15
duflu_greyback_: Fair enough. I do have a fun WM branch that is usable but it's not pretty enough to propose yet02:16
duflu_Started down the slippery slope of "hey it's easy to implement all WM at once" without breaking it up02:16
greyback_duflu_: ok, well we're still stuck with single surface apps just yet, so we need to fix that02:17
=== duflu_ is now known as duflu
greyback_and all those surface types need to be connected up in qt/gtk...02:17
duflugreyback_: I'm working on surface states right now. The types work (parenting?) I have deferred to the rest of the team since my proposals were voted down02:18
greyback_grand so02:18
* duflu looks up Irish vernacular02:18
greyback_loosely translates to "fair enough"02:19
duflugreyback_: grand so02:19
greyback_:)02:19
duflugreyback_: There's our catchup done. Go sleep02:20
mikodoI would like to see Mir be developed with it's own feature of inversing the display.(Independant of X or Xmir with "Xcalib" or by using compositors like Compiz and Kwin).02:20
greyback_duflu: brain still buzzing02:20
duflumikodo: That's actually trivial to do in a fragment shader. Only a little messy right now for Mir to switch shaders on the fly. But we'll improve that02:21
duflured = 1 - red; green = 1 - green ...02:21
mikododuflu, Thanks. I remain hopefull for iths02:21
duflumikodo: Although Unity8 replaces most of that so such features would have to be requested from each shell02:22
mikododuflu, Here's hoping for it ... Thanks02:23
duflumikodo: When and if I get to implementing dynamic shader switching I'll make that the first test case, for the Mir demo shell at least. You'd have to request it from Unity8 separately02:24
mikododuflu, hmm, where02:24
duflumikodo: https://bugs.launchpad.net/ubuntu/+source/unity8/+filebug02:24
mikododuflu, When should I ask02:25
greyback_mikodo: right now, so we can keep it in mind, with other a11y features like zoom, high contrast, etc02:26
duflumikodo: Whenever you like. Worst case is they will say "never". But ideally it will get logged as an enhancement for future02:26
duflumikodo: greyback_ is the Unity8 man02:26
dufluAnd needs sleep02:26
mikododuflu, Thank you. Alright.02:26
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
dufluThat's annoying. The only Nvidia low-profile fanless cards that fit in my system are still the old 210's07:19
dufluAlthough a 610 with a fan will fit07:19
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
duflualf__: Also software cursor during zoom FTW (Super+mousewheel)10:08
=== ubot5` is now known as ubot5
alf__duflu: indeed10:17
duflualf__: Between zoom and rotation it's easy to see the renderer/compositor needs to speak up when software cursors are needed10:17
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== dandrader is now known as dandrader|afk
=== chihchun is now known as chihchun_afk
=== dandrader|afk is now known as dandrader
=== alan_g is now known as alan_g|lunch
=== alan_g|lunch is now known as alan_g
=== dandrader is now known as dandrader|lunch
seb128hey there15:45
seb128question for you ;-)15:45
seb128how work does Mir support multimonitor atm, is there work planned for that already/if so where are the specs/details?15:45
seb128things like geometry of the monitor, their respective position, having a primary monitor concept, etc15:46
seb128equivalent to xrandr apis to change those15:46
alan_gseb128: there is some basic support. See examples/example_display_configuration_policy.h but it is currently left to the shell to implement any logic around it15:48
seb128alan_g, thanks15:49
seb128alan_g, that file doesn't have a lot, it suggests that the option are mirror or side-by-side?15:50
seb128I guess no way to do like in xrandr atm, define position, like one monitor on top of the other one?15:51
kdubthere is... "mirout"15:52
alan_gseb128: something would have to implement a cleverer policy that the proof-of-concept examples there15:52
seb128kdub, alan_g, are what is currently supported and what is planned documented somewhere?15:52
seb128the cleverer policy is mir work? or shell/unity8 one?15:52
alan_glibmirserver supports mirroring. There's an example that also supports sidebyside and single display to prove other options are possible.15:55
alan_gWe don't have any other options in our "backlog" AFAIK - but...15:56
anpokalan_g: hm i think seb128 means free placement of outputs and resolution changes per output..15:57
anpokduring runtime ..15:57
kdubwe can do that15:57
kdubon mesa15:57
seb128it means that it should be working/we could write a configuration UI for unity8-desktop-next?15:59
seb128like do the same current desktop do15:59
seb128allow to move monitors on the left/right/top/bottom, change their resolution, define which one is primary, etc?15:59
seb128mir supports it and client apis are there?15:59
seb128kdub, ?16:00
alan_gkdub: isn't http://unity.ubuntu.com/mir/group__mir__toolkit.html#ga89043c48c15e7a020619fdd80e6a46dc etc session local?16:00
alan_gI mean  mir_connection_apply_display_config() applies to the current session, not to the desktop env16:02
kdubalan_g, yes, iirc, it applies to the current session16:02
seb128what's the difference between current session and desktop env?16:02
alan_gseb128: the session belongs to a client application16:03
seb128like unity8?16:05
alan_gseb128: like camera16:06
seb128hum, how that works?16:06
seb128usually you configure your monitor setup as you wish your config to be and stay16:06
seb128like external 24" on the left, laptop on the right16:07
seb128and something apply that config on start16:07
seb128and it stays until something change it16:07
seb128what would be the client application in that case?16:07
alan_gseb128: that's why I didn't think what kdub referred to met your need16:09
seb128k, thanks16:10
seb128where should I open a bug if I register one about my usecase16:10
kdubright, I don't think it would either, now that I understand better, although we do have a lot of the plumbing, more modifying the policy16:10
seb128mir? unity8? something else?16:11
seb128kdub, willcooke asked me to register bugs for things we need from mir to have a full desktop, trying to do that ;-)16:11
alan_gkgunn: where does this belong? ^^16:11
kgunnjust a sec, on a hangout...16:12
kgunncamako: ^ you might read thru as well....16:16
camakokgunn, I was16:17
kgunnso i can see on desktop where there may be fixed physical screens with relative position, this makes sense, but with say phone/monitor it doesn't16:17
kgunnsurely we want the feature, question is...where does the logic/tracking reside & where does the policy decide16:18
kgunnsort of feels like mir should prolly keep track of the positions for any sort of optimizatino or shared FB or some such could happen16:18
kgunnbut then shell would determine policy, e.g. i'm on a desktop or i'm on phone , a-la hypothesis generator from16:19
kgunnhttps://docs.google.com/a/canonical.com/presentation/d/1K1oV4vMc-FduKUNYYO62zPUCU5WMb74zjer8KzYzhLg/edit#slide=id.p16:19
kgunngreyback: mzanetti ^16:20
kgunnin short, to support relative monitor placements in a converged world...16:20
greybacksounds like htere's no one answer for all our convergence cases16:20
greybackI guess some displays could be isolated from others, i.e. phone UI probably should not be part of the entire "virtual desktop", as it doesn't make a huge amount of sense to drag an app to the phone screen with a mouse16:22
kgunnseb128: so is system-settings a client of mir in any way today ?16:22
=== dandrader|lunch is now known as dandrader
seb128kgunn, well, system settings is a standard app, I expect it to write some configuration on disk but it's not a service so it's not going to apply it, unity8 should probably be the one doing that16:23
greybackperhaps Mir could tag some displays as being configurable, and some as not - shell could decide which display is and isn't configurable16:23
kgunnseb128: yep...16:23
kgunngreyback: when you say "configurable" you mean...can have a relative position to the other display ?16:24
seb128greyback, well, on "docked phone" it could make sense to be able to turn the screen of the phone on or off, the same way you do it today for a docked laptop16:24
greybackkgunn: yeah16:24
greybackseb128: true.16:25
kgunnit does make sense tho that mir would need to add "output" coordination...to render windows across screens, and mouse trajectory etc16:26
greybacksounds like we want Mir to support multiple display collections. phone display would be set as member of a single collection, on it's own. Then multiple monitors could all belong to another collection. Displays in a collection can be configured relatively to eachother16:27
greybackonly a single collection can capture a mouse16:27
greybackwindows/applications cannot be shared across collections16:28
seb128greyback, greyback, I get from that discussion that we don't have a blueprint/bug/googledoc discussing those needs yet?16:30
greybackseb128: I'm not aware of any docs on the topic16:31
seb128where should we start? with a bug report against mir?16:31
greybackbug to start, but really we need to determine what is actually wanted16:31
greybackscope is kinda big16:32
kgunnseb128: yeah...and you're early :)16:32
seb128yeah16:32
seb128kgunn, well, willcooke asked us to register bugs for things that "desktop is going to need from mir"16:32
seb128that's one of those16:32
seb128we need to know what is missing to get a full desktop16:32
seb128so we need to start listing those16:32
seb128even if it's early to work on them16:32
kgunnseb128: absolutely, no worries16:32
* willcooke likes being early16:33
willcookebut is late to this conversation16:33
willcooke:)_16:33
seb128hehe16:33
kgunnseb128: likely would need a bug on design as well...like, what do we want to do on phone/tablet....16:34
kgunne.g. android made a real concrete decision to just mirror16:34
seb128kgunn, bug on ubuntu-ux/mir/unity8 I guess16:34
kgunnyeah16:34
seb128well, android doesn't claim to support developer desktops yet16:35
kgunni think we should collectively design a phase 1 tho...16:35
seb128they might revisit if/when they try to reach there16:35
kgunne.g. desktop we want parity, phone should at least mirror16:35
seb128right16:35
kgunni could totally see on phone16:35
kgunnhaving a glowing-edge or something where you can flick apps or some such16:35
kgunnto magically appear on monitor16:36
kgunnkind of special desktop extend mode...16:36
kgunnor phone becomes a remote or vcr-button mode16:36
camako... yeah a lot more can be done on a phone, though... depending on how much we wanna do16:37
kgunncamako: yeah...i heard a rumor you once had to work on such stuff :-P16:37
camakoheh.. I heard that rumor too.16:38
kgunncamako: so i think we just found something for alf and alan to work on in the new year ;)16:38
camakokgunn, yeah.. this is very murky though, we need arch/design input in terms of how far we want to go16:39
camakodo we want apps to be aware of these displays and change their behaviour, etc.. (the "remote control" use-case requires that)16:41
camakoanyways, let's start with a bug16:41
camako:-)16:41
kgunncamako: agree with murky statement, hence i'll take it on me to draft a spec for something like a phase1(desktop parity & reasonable expectations for phone), we can include ideas for future under a phase216:43
camakokgunn, sure16:44
racarr_camako: Did you mean to update your review status on17:06
racarr_add-more-event-getters?17:06
greybackcan anyone tell me how/where Mir decides to use clone mode for multimonitors?17:07
racarr_greyback: I think you are looking for the DefaultDisplayConfigurationPolicy17:07
camakoracarr, I was hoping to see something logged for the aborts.17:08
racarr_camako: oh ok17:16
greybackracarr_: that's it, thanks17:24
racarr_hmm wait17:39
racarr_why have I17:39
racarr_lol these statements were originally assert17:39
racarr_and now they are aborts17:39
racarr_preceded by log strings17:39
racarr_that contain17:39
racarr_assertions17:39
racarr_:/17:39
racarr_lol I guess they are ok in release builds though17:40
* alan_g would have been happy with #undef NDEBUG17:45
alan_gcamako: could you find time to review this today? https://code.launchpad.net/~alan-griffiths/mir/publish-server-examples-and-docs/+merge/24402617:55
camakoalan_g, yep I was working on it right now as a matter of fact17:56
alan_gcamako: then note that I've just updated it17:56
camakoalan_g, ok, I'll refresh17:56
=== alan_g is now known as alan_g|EOD
racarr_camako: What do you think the log messages should say? I can't think of anything useful18:05
racarr_the only thing interesting afaics is the calling frame which we obviously dont have18:05
kdubracarr_, would BlankingHwcControl be a better name?18:13
* kdub agrees that it could be better18:13
kduband the 1.4 impl would be PowerModeHwcControl18:13
racarr_kdub: Yeah I think that does make more sense18:14
bschaefergreyback, hey, any luck with those pixel formats + sdl?18:15
greybackbschaefer: not had chance to give it a go yet, sorry19:28
bschaefergreyback, no worries :), jsut wanted to double check19:28
mibofrahi guys21:15
mibofradoes someone remeber me xD ?21:15
anpokhow could we forget21:20
mibofralol hi anpok21:41
mibofraanyway, I'm again with utouch in chroot, another setup, on the latest rootfs. Now everything seems to not prompt errors, egl demos too (anyway only render_to_fb continue displays something )21:44
mibofrabut I've started another mir demo server and mir_stress21:44
mibofrawith mir_stress I get this: UMP: ump_arch_open() failed to open UMP device driver21:44
mibofra(notice that I've /dev/mali and /dev/ump reachable)21:45
anpokwhat do you mean by another?21:49
anpokin parallel to an already running one?21:50
mibofraanpok, deteled the other one and set up another21:51
anpokdeleted the server?22:00
mibofraanpok, deteled all the rootfs and unrolled the latest22:02
miboframounted in bind /dev and company22:02
mibofrachrooted on ubuntu touch22:03
anpokah reading correctly helps22:04
anpokmibofra: i can only guess (and I would start by looking at which operation failed through strace) AlbertA isnt here and kdub might have better ideas22:12
mibofraanpok, ok22:13
kdubmibofra, yeah, only one hwc-owning server should run at a time22:17
mibofrakdub, and I've only one server in background xD22:18
mibofra*ad noone in foreground22:18
kdubfor a total of 2 running servers in the system?22:20
kdubalso mibofra, does the server and basic clients work?22:25
kdubif it does, perhaps the stress test is just covering a corner case that we have a problem with (and most usecases would still work)22:25
mibofrakdub the matter is that now clients and demos run fine, but without displaying something, except form the standalone_render_to_fb22:31
kdubtry running the server with "--disable-overlays true"22:31
mibofraok22:55
mibofrakdub, the same23:01

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