/srv/irclogs.ubuntu.com/2016/10/31/#ubuntu-mir.txt

=== chihchun is now known as chihchun_afk
dufluRAOF: I'm half tempted to land two of my mirvanity proposals without any reviews. No one else has an interest/stake in it really. Would you mind sanity checking occluded-vanity and interval-0-is-not-an-error?02:49
RAOFduflu: sure02:49
RAOFduflu: Seems like a more correct fix for interval-0-is-not-an-error would be to disallow interval 0?02:57
RAOFduflu: Since there's never any reason to use it, and your new code assumes that the display runs at a fixed rate?02:57
dufluRAOF: There are two reasons you might want it; (a) To report Mir's absolute best case lowest latency; and (b) to measure improvements to framedropping (e.g. predictive bypass presently only helps with interval 0)03:01
dufluIt's not default, sure.03:02
dufluRAOF: Also fixed frame rate displays are a good assumption, but also variable ones don't break mirvanity. My FreeSync display gets much better numbers than my fixed one03:03
dufluRAOF: The display Hz is only used to calculated the estimated range, which gives an estimate of when the test is finished (has covered the full superposition range)03:03
dufluIt's not used to produce any measurements03:04
RAOFThe latency variable is never used to calculate latency?03:05
dufluRAOF: The monitor's refresh rate does not contribute to the measurements reported. Just contributes to "estimated range" which tells the user what to expect from the measured range03:06
dufluI mean the display_hz does not contribute. The physical performance of the monitor does contribute of course03:07
dufluRAOF: Oh, sorry, I see the bit you mean. Yes latency -= state->last_change_time_error is a necessary evil, to avoid having to make every frame completely unique and having to write a vision algorithm that could distinguish tens of thousands of different images03:09
dufluOur "refresh rate" is always the maximum refresh rate of a monitor, so that tweak is minimal for a variable framerate display03:11
RAOFAs long as we always report the maximum refresh that doesn't seem to be broken, yes.03:11
dufluRAOF: Indeed from the kernel up I believe we're always, only, told the maximum rate.03:12
RAOFFor now :)03:12
dufluI don't mind. If we get more data later we can adjust03:12
dufluI read that Nvidia were drilling Google on the same kind of issue -- why optimize for fixed frame rate displays? The answer is because that's what most people have, and because variable frame rate displays don't really suffer if you're careful.03:14
RAOFIf you use them as fixed framerate displays variable rate displays are simply a frame-times->16ms-optimisation.03:16
dufluRAOF: I intentionally drive mirvanity at the max frame rate the hardware will accept. So the max refresh rate is indeed the refresh rate it runs at03:17
RAOFUnless there's contention, but that's not very helpful for benchmarking anyway.03:18
RAOF...at least for the moment.03:18
dufluI'm content that the benchmark is occasionally finding bugs we would never have found otherwise. So despite the theoretical limitations, it is immensely useful03:20
=== chihchun_afk is now known as chihchun
dufluRAOF: In case you were curious my reasoning for wanting EDIDs was just to get at some sane identifying string for each monitor.06:28
dufluI don't think DRM provides that abstraction...?06:28
RAOFduflu: Yeah, we should totally expose something like that.06:28
RAOFCorrect; you want to parse the edid.06:28
dufluWhich is unfortunate if DRM is doing parsing already06:28
RAOFYeah.06:29
RAOFHm.06:30
RAOFI don't *think* there's a DRM API for extracting the vendor strings, but it might make sense.06:30
RAOFOn the other hand, importing an edid parser into Mir might also make sense.06:30
dufluRAOF: What else are we missing from the EDID?06:31
dufluWhat is is *DRM* missing from the EDID?06:31
RAOFNothing it cares about, AFAIK :)06:32
RAOFThe monitor manufacturer and year/week of production are two things that aren't exposed by DRM.06:33
dufluI'm just thinking about things a user might want to see in a config GUI. The vendor/product strings are helpful06:34
RAOFSerial number, manufacturer product number.06:35
RAOFYeah, these are useful things to expose.06:35
dufluAnd firmware uploads! Let's port Mir to the panel itself06:36
RAOFI'm about +0 for parsing the EDID in Mir, -0 for just throwing the EDID to a client. ☺06:39
dufluRAOF: Sounds sufficient. And probably is the status quo (only the GUI app has to link to an EDID decoding library)06:44
RAOFI actually don't know; X parses the EDID itself, but I'm uncertain whether those properties are exported over XRANDR.06:45
RAOFOr, rather, I've forgotten whether those properties are exported :)06:46
RAOFAaah, merge conflicts!06:58
RAOFA perfect time to EOD!06:59
dufluOk, later.07:11
=== marcusto_ is now known as marcustomlinson
alan_gsil2100: is it you I need to ask to get miral into X+O? https://bileto.ubuntu.com/#/ticket/2110509:17
sil2100alan_g: hey! Let me take a look09:53
sil2100alan_g: ah, ok, so the destination probably confused people09:54
sil2100alan_g: so this silo is only for xenial-overlay?09:54
alan_gsil2100: I got confused by belito UI and couldn't figure out how to target XO only. (I do know now.) But it's harmless landing in zesty too. Just wanted to know "the right way" before fiddling further as its new to xenial09:56
sil2100alan_g: ok, publishing09:58
alan_gsil2100: thanks09:58
alan_gsil2100: does "xenial/miral: Failed to update local..." mean that didn't work?10:01
sil2100Interesting error10:02
sil2100Ah, I know what happened10:03
sil2100Ok, publishing manually10:03
sil2100Bileto got confused if I wanted to publish it as a xenial-overlay-only landing, as the cached primary branches were meant for zesty10:05
alan_gsil2100: I guess I got bileto back for confusing me. ;)10:08
=== JanC_ is now known as JanC
=== marcusto_ is now known as marcustomlinson_
=== hikiko is now known as hikiko|ln
=== hikiko|ln is now known as hikiko
alan_gdandrader: I don't know how to go about checking this (as no-one knew it was missing). Can you take a look? https://code.launchpad.net/~alan-griffiths/miral/rewire-SurfaceObserver-notifySurfaceModifications/+merge/30966812:16
dandraderalan_g, sure12:31
dandraderalan_g, btw, are you able to build miral-qt without issues?12:31
dandraderalan_g, gerry and I were getting some "missing tracepoints.h" errors12:32
alan_gdandrader: yes, I think that got fixed Friday12:32
dandraderdidn't stop to investigate it. so far I I've been just commenting out all trace calls and #includes...12:32
dandraderalan_g, ah, great12:33
alan_gFWIW it actually worked on a second attempt - which is how it got missed12:33
kdubdid any of the euro-vogons hear if raof had started poking at the platform extension mechanisms for the client api?13:42
alfkdub: I didn't hear anything13:44
anpok_hm not yet .. his last complaint were branch conflicts..13:44
anpok_I assume he still was working on something else..13:44
anpok_as in .. not on something new..13:44
anpok_+about..13:44
anpok_before he left this morning13:44
kdubthanks alf and anpok_  (reaching the point in the hybris work where it would come in handy to stack on the intended final api instead of deprecations)13:45
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
alan_gdandrader: I assume won't be stepping on anyone's if I rework MirSurface so that the property values get updated correctly?16:37
dandraderalan_g, right, you shouldn't be conflicting with anyone else's work16:39
=== JanC_ is now known as JanC
dandraderalan_g, FYI: we plan to have a ppa with miral-qt as a big fat patch for qtmir this week. so your latest changes will come in handy.16:48
dandraderalan_g, I think gerry has been preparing it in https://code.launchpad.net/~unity-team/qtmir/miral-qt-integration16:49
dandraderI suppose you already know about all that. anyway, just in case :)16:50
alan_gdandrader: I knew he planned it16:53
=== 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!