/srv/irclogs.ubuntu.com/2016/04/29/#ubuntu-mir.txt

=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
robert_ancellRAOF, duflu, I was thinking we could hack out the DRI2 and window management stuff from XMir and propose that upstream as a starting point. That seem fair?07:30
RAOFAh, DRI2 was not *quite* an exact copy of xfree86/dri2? Sadness. (I had forgotten about that).07:31
RAOFThat would remove the bits that I see as likely to be contentious.07:31
robert_ancellRAOF, I spent some time trying to directly link but it was very hard to make the code happy07:32
RAOFFair chop.07:32
duflurobert_ancell: Any *hacking* and the code would lose my trust. Hence should not be upstreamed in that form07:32
dufluIt has matured, which says a lot07:32
robert_ancellduflu, hacking as in chopping out that stuff (you said we only recommend sw anyway). We would then propose DRI support and window management as a second step07:33
robert_ancellThey might take more work to be upstream acceptable07:33
duflurobert_ancell: The window management is core (and fragile if touched)07:33
RAOFWhich is one of the reasons why it's likely to be contentious upstream.07:33
dufluAlso not really broken07:33
RAOFIt need not be core.07:33
dufluIf you changed it, I would thoroughly recommend not upstreaming then. It no longer qualifies as mature07:34
RAOFMaturity is roughly irrelevant for upstreaming.07:34
RAOFIndeed, upstream is often *happier* if it's not mature.07:35
dufluOK. *shrug*07:35
RAOFBecause it means that possibly contentious design decisions aren't baked in as hard.07:35
dufluCan we keep a stable branch somewhere then?07:35
RAOFAbsolutely.07:35
RAOFWe wouldn't be shipping what's upstream until it's functionally equivalent.07:35
dufluThis is sounding silly actually. Why propose something neither the sender not receiver likes?07:36
duflunor receiver07:36
RAOFBecause it allows us to work it into a state that both sender and receiver likes.07:37
dufluIf we could not endorse what we're proposing to upstream (and I would not) then why bother?07:37
robert_ancellIt's a starting point07:38
RAOFBecause having a base upstream and iterating in upstream is much more likely to happen than us perfecting it and then upstream taking it entirely as-is.07:38
dufluSome of the most important bits are the window management. We need those (just as soon as Unity8 catches up on features)07:38
RAOFThose bits should really be in an actual window manager component?07:39
dufluI don't think so. They need to speak native Mir07:39
RAOFThat's an entirely solvable problem.07:39
dufluIt works, it's mature. Please don't break it07:39
RAOFWitness, for example, the instructive case of AMD's new GPU driver. They submitted a working, fairly polished driver, and are rewriting it basically from scratch to make it acceptable for upstream.07:40
dufluWe are the only users of Xmir. There's no point proposing something that's only appropriate for some other user base that does not exist07:41
RAOFExcept Xmir is intimately bound with other parts of Xorg, and having it upstream means that it needs to be considered when someone wants to make a change that might break it.07:42
dufluI don't mind the ripping out of DRI2. That needs months/years of work yet anyway. But the WM work represents a lot of effort and maturing already07:42
RAOFThen wouldn't it be a great idea to propose it upstream and see if it's acceptable, so you don't have to rip it out later?07:42
dufluEssentially I don't mind what anyone does, unless they break what already works for us. So long as the codebase we use does not get broken, it's OK07:43
dufluAlso modified in any way kind of counts as breaking the level of maturity at least :P07:44
duflurobert_ancell: Also worth noting the WM stuff should not be contentious at all. There is prior art for the same approach to rootless in hw/xwin/07:58
dufluWhich I often referred to07:59
Takis this entry from the wiki still accurate? "Make sure your hardware is supported. That means you're using a Mesa driver"08:09
Tak(ref: https://unity.ubuntu.com/mir/using_mir_on_pc.html )08:10
* duflu looks08:10
dufluTak: Yes Mir on desktop still only supports intel/nouveau/radeon right now. Also VMs have some limited support: https://unity.ubuntu.com/mir/setup_kvm_for_mir.html08:11
dufluTak: The docs fail to properly explain that Ubuntu already contains the right Mesa code08:12
Tak:-/08:12
dufluTak: Would love to add more hardware support. What do you need?08:12
Takwell, I'd be looking for desktop nvidia driver08:14
dufluTak: Good news. RAOF is working on that with Nvidia right now08:14
Takthat is good news08:14
dufluAlso, he just logged off for the week08:14
anpokhm and the doxygen docs on unity.ubunty.com/mir are still very outdated08:15
Takkvm could be an option though08:15
dufluTak: Then anpok is your expert08:15
anpokTak: just enable qxl/spice in your kvm starup.. or even simpler use the checkboxes in virt-manager08:17
dufluanpok: Having the host running Nvidia binary driver, will it still work?08:17
anpokyes08:18
dufluAnd the crowd goes wild08:18
Takyeah, I'll give it a try following the wiki page duflu posted08:18
Tak(I hope they release linux 3.18 soon! ;-) )08:18
anpokbut it will torture your cpu instead .. a bit..08:18
anpokyeah .. it is about time..08:19
dufluTak: You laugh, but Android isn't that current yet08:19
dufluOr ChromeOS08:19
dufluSometimes08:19
Takbtw, what about vmware?08:20
dufluTak: http://bazaar.launchpad.net/~mir-team/mir/development-branch/view/head:/doc/setup_vmware_for_mir.md08:21
Takah, nice08:22
anpokvirtualbox not yet08:24
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
Takhm, no dice with vmware, time to try kvm11:53
=== alan_g is now known as alan_g|lunch
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== dandrader_ is now known as dandrader
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== alan_g|lunch is now known as alan_g|EOW
=== 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!