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

zzarrduflu, thanks for your response about the Intel HD 300006:32
dufluzzarr: tis OK. That's what we're here for06:39
zzarrI can hardly wait until I get the computer, it's an HP Probook 4330s with an upgraded CPU to a i7-2670QM and I will install a 480GB SSD + 8GB RAM :-D06:41
zzarrdoes XMir work out of the box or do I have to configure it myself?06:42
dufluzzarr: Xmir has been rewritten and is no longer designed as a full desktop replacement, but just a way to launch X apps in Mir. The Unity8 desktop is probably not ready for general usage but you can install it and switch between Unity7/806:44
dufluzzarr: Excellent timing for a new computer, with 16.04 coming06:46
zzarrduflu, okey, it was the ability to run X-applications I wanted, but that should just work if I understood you correctly06:47
zzarrduflu, yes, it is :-D06:47
zzarrI will get it this week :-D06:47
dufluzzarr: Also worth noting, Libertine/Puritine (the launcher we're developing to transparently run X apps) is under development and I hear under redesign too06:50
dufluI don't know much about it. But am defacto maintainer of Xmir itself, which you can just keep running as an X server if you know how06:51
zzarrduflu, okey, what is the preformance like with Xmir?06:52
dufluzzarr: Quite reasonable, but not as good as native Unity7. On desktop it will default to high performance mode, but that is not stable. If in doubt use -sw to run it in stable software mode like we do on mobile06:53
zzarrduflu, okey06:53
duflu... which will make it slower06:53
zzarrduflu, it will.... I assumed that06:54
dufluI'm working on performance enhancements that will benefit both Unity8 and Xmir right now. Although they're probably months away from release06:54
zzarrduflu, 16.10?06:54
dufluYes06:54
zzarrnice06:54
zzarrduflu, could you help me later (when I got my new computer) to configure Xmir? (or is there a good tutorial?)06:56
dufluzzarr: Yes, it's easy06:56
dufluNo official docs06:57
zzarrduflu, thanks :-D06:58
zzarrduflu, will Mir have a remote control possibility (like ssh -X ...)?06:59
dufluzzarr: Nothing officially planned, but never say never06:59
zzarrduflu, okey07:01
zzarrduflu, how does Mir handle multiple GPU's? (Some laptops have that)07:02
RAOFIt doesn't, at the moment.07:02
zzarrokey07:02
RAOFIt's on the near-term TODO list.07:02
zzarrthe one I'm buying have only the Intel card07:02
dufluFortunately RAOF is a sucker for punishment and working with that right now07:02
RAOFThere's nothing fundamentally difficult about making it work (all the hard parts have already been done; mostly in the kernel) it just requires providing the right interfaces and mushing them together.07:03
zzarrRAOF, are you implementing it in such a way that one could plug'n'play a GPU? (like Thunderbolt 3 eGPU)07:04
RAOFThat should be possible. I'm not sure if the kernel will play nicely with GPU hot plug, though :)07:05
RAOFFor those playing at home, eglQueryDeviceStringEXT(devices[i], EGL_DRM_DEVICE_FILE_EXT) works better if you've actually filled in the devices array.07:06
dufluI've been thinking external GPUs are going to become a hot topic. Possibly the simplest path to a VR-capable machine for many people (assuming they have Thunderbolt 3)07:06
zzarrnice, I'm sure the kernel ether will play nicely or will in the future07:07
dufluBecause you could theoretically match Vive/Oculus requirements with a laptop that way07:07
RAOFExternal GPU enclosures are surprisingly expensive.07:07
zzarrduflu, that's true07:07
dufluExpensive yes, but just a theoretical way to avoid large gaming rigs07:08
zzarrRAOF, yes they are, but I think they will be less expensive as the demand increases07:08
* duflu doesn't see any reason why a cable and PCIe enclosure should stay expensive07:09
dufluAnd power supply07:09
zzarrI also think that there will be monitor/enclosure combos (all in one package)07:09
RAOFThat would be pretty cool, actually.07:09
dufluSadly requires prior investment in a very recent laptop. So nowhere near cheap07:11
dufluAlthough I guess micro desktops will follow with USB 3.107:12
zzarrI thought of another thing one day, it would be awesome if Intel made a CPU with 2 M series cores (like the one in 12" Macbook) and a i5 or i7 quad core in one package in a 10" or 12" tablet07:12
dufluI'm sure they have considered it and have Apple design reasons why it doesn't exist... yet07:13
RAOFI don't think Intel fabs are set up for the low-power silicon process that would make that useful?07:13
zzarrand you could dock it with a keyboard/mousepad part which had a bigger battery and a stronger GPU07:14
dufluRAOF: The 12" Macbook is a reasonable proof of concept that it's catching up07:14
RAOFAIUI ARM's BIG.little architectures make sense because they use a different process/silicon for the little CPUs optimised for low leakage power rather than low active power?07:14
zzarrso when in tablet mode the M series core should be active and when in laptop mode the i5/i707:15
zzarrRAOF, yes, that's true07:15
RAOFWhy not just downclock/downvolt the i7 in tablet mode?07:15
zzarrRAOF, that works too :-)07:15
dufluThat's a point. The larger cache of an i7 would still help07:15
zzarrperhaps turning of 2 cores?07:16
RAOFRace-to-idle is still a thing :)07:16
zzarrwhat is that?07:16
RAOFI think the current state of the art (for Intel, at least) is to run as fast as possible to process all the available work and then idle in an extremely low power state.07:16
RAOFHence race-to-idle.07:17
zzarrohh, I see07:17
RAOFHence the counterintuitive result that limiting the CPU clock rate usually doesn't save you power.07:17
RAOFBecause idle CPUs use much less power than even the lowest-power active state.07:18
zzarrRAOF, a valid point07:18
zzarris it possible to suspend an application without suspending the hole system?07:19
RAOFYes; Ubuntu Touch does it all the time.07:19
zzarrwill the desktop do that too?07:19
RAOF(SIGSTOP is the relevant piece of posix)07:19
RAOFNo, because it's got severe drawbacks (such as only your focused application being able to do anything at all) :)07:20
zzarrRAOF, yea, you're right07:20
dufluzzarr: You can do it any time:    'kill -STOP <pid>' and 'kill -CONT <pid>'07:21
dufluJust be careful what you stop07:21
zzarrRAOF, well the criteria for suspending/not suspending should be different for desktop07:21
zzarrduflu, very07:22
zzarrduflu, is it possible to hibernate an application too?07:29
RAOFWhat's the difference between that and suspending it?07:29
dufluzzarr: Not that I know of, but STOP will keep it frozen for the lifetime of the system (till you reboot)07:30
RAOF(CRIU might be the google-sauce you're looking for)07:30
zzarrsuspending is stopping/hibernate is to save it to disk too07:30
RAOFzzarr: https://criu.org/Main_Page07:31
dufluSIGSTOP/ freezing all your processes since 197307:31
zzarrthanks for the link, interesting07:32
tjaaltonhi, anyone around to test mesa 11.2.0-rc4? I'd like to upload 11.2.0 to xenial today07:32
tjaaltonthere shouldn't be any surprises, at least the mir-egl patch didn't need updates for this07:33
tjaaltonand if not, what would I need to do to test it myself?07:37
RAOFtjaalton: Install it, fire up a unity8 desktop session?07:40
tjaaltonah, too easy then :)07:41
tjaaltonmight even have that installed somewhere..07:41
tjaaltonI see a bunch of segfaults due to banfdaemon, and a black screen07:59
tjaaltonoh and upstart taking most of cpu08:00
=== shuduo_ is now known as shuduo
tjaaltonso banfdaemon and ibus-ui-gtk3 are segfaulting on unity8 startup here08:20
seb128tjaalton, you mean bamf instead of banf? unsure why that would start under unity8, it's quite x11 centric I think and unity8 doesn't need a matching service that's built in u8/mir08:29
tjaaltonseb128: oh right, bamf08:29
tjaaltonI just installed unity8-desktop-session-mir and tried to start it08:30
tjaaltonbut doesn't run08:30
seb128not likely due to bamf or ibus08:32
tjaaltonso how to test it without hosing another laptop? does it run on qemu?08:35
tjaaltonlighdm looks all weird on this machine now08:36
tjaaltonbetter after reboot, but still can't select unity from it08:36
tjaaltonerr, unity808:37
tjaaltonhuh, it got removed08:37
tjaaltonok now I got something08:38
tjaaltonanother password prompt?08:38
tjaaltonwith a big circle08:38
tjaaltonok it works, just kbd layout was wrong08:40
tjaaltonworks as in the session runs, apps don't start08:41
tjaaltonhow do I tell it should be this broken or due to something I did?08:42
tjaaltonthere's the scopes window open, clicking browser or system settings opens a window which immediately closes08:42
duflutjaalton: Yeah the immediate closing is a known bug (ted owns it)08:49
dufluAt least one of them anyway08:50
dufluIt got mostly fixed in the past month or so tho08:50
duflu?08:50
tjaaltonok, this is fresh xenial08:51
seb128tjaalton, cgmanager needed to be active at some point, unsure if that's still true08:51
seb128try to systemctl start it08:51
seb128if it's not08:51
seb128to see if that makes a difference08:51
tjaaltonwasn't running, doesn't help though08:52
seb128:-/08:52
seb128do you get anything in .cache/upstart/<job>.log08:52
dufluOh that's a cool test. A non-nested server has the same latency as a nested server if you just raise the buffer queue from 3 to 508:52
tjaaltonseb128: which job?08:56
tjaaltonno log for cgmanager08:57
seb128tjaalton, whatever you try to start08:57
seb128ubuntu-system-settings for example08:57
seb128webbrowser is known to not work atm I think08:58
tjaaltonnope08:58
seb128rm .cache/upstart/*08:58
seb128try to start settings08:58
seb128see what gets written?08:58
seb128also #ubuntu-unity is likely a better channel08:58
seb128those issues are not mir ones08:58
seb128you might get more people about the help in the unity team08:59
tjaaltonsure08:59
tjaaltonguess mesa is working fine so I'm fine :)08:59
tjaaltoner, happy08:59
seb128:-)08:59
dufluThere are pixels. But they do not do as instructed.09:03
dufluPixels have been sufficiently herded though09:03
=== tsdgeos_ is now known as tsdgeos
=== 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
=== alan_g is now known as alan_g|lunch
=== alan_g|lunch is now known as alan_g
=== chihchunl is now known as chihchun
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== shuduo is now known as shuduo-afk
=== bregma_ is now known as bregma
=== dandrader is now known as dandrader|afk
=== alan_g is now known as alan_g|EOD
=== francisco is now known as Guest832
=== tvoss is now known as tvoss|dinner
=== dandrader|afk is now known as dandrader
josharensonI'm trying to get the greeter (running under mir) to launch a unity7 session (under X). It wasn't working before because of a lightdm bug, but I think I've fixed it, and now I get this exception in u-s-c's log http://pastebin.ubuntu.com/15637751/20:34
RAOFjosharenson: Hm. Looks like usc is giving up DRM master and then trying to change display configuration.23:32
josharensonRAOF: Should it just stop when X is started?23:33
RAOFIf that's the plan, yes.23:33
RAOFIt should stop *before* X is started :)23:33
josharensonRAOF: ok, so its likely a lightdm issue then I suppose (since lightdm is orchestrating all of this)23:33
RAOFPossibly. USC also shouldn't try to change display configuration after being paused.23:36

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