/srv/irclogs.ubuntu.com/2016/11/30/#ubuntu-mir.txt

RAOFBah.03:36
RAOFmir_render_surface_get_buffer_stream is broken.03:36
dufluRAOF: Is there such thing as a hardware default gamma ramp, or would you just need to save and use the current ramps at startup?03:54
RAOFduflu: There's whatever's in the LUT after POST.03:55
dufluYeah03:55
RAOFWhich is going to be a sensible default.03:55
dufluRAOF: Unfortunately only the system compositor (first invocation) can get that. And a client can never get it03:56
RAOFWhy won't a client get that?03:56
RAOFWe read out the existing gamma curve at startup.03:56
dufluRAOF: I mean the client can't assume that someone else hasn't changed it already03:56
RAOFThat's true. Why would a client care?03:57
dufluRAOF: To approximate 'xrandr --brightness' which is predictably just an ugly approximation03:57
dufluTo keep it accurate you need to know the default full brightness ramp03:58
RAOFBut we're going to provide a brightness knob anyway?03:59
dufluRAOF: Backlight control doesn't work on desktops, projectors, OLED... :)03:59
RAOFIncorrect!03:59
dufluThere is no backlight device03:59
dufluThat works03:59
dufluBlame intel04:00
RAOFDepends on the monitor.04:00
dufluMost non-laptop systems actually don't have a user controllable backlight device04:00
dufluAnd even some laptops don't (OLED)04:00
RAOFBoth my monitors support brightness control.04:01
dufluRAOF: /sys/class/backlight works?04:01
RAOFX doesn't, but that's fine.04:01
RAOFduflu: No, but you can bang the I2C bus.04:01
dufluYeah, I'm thinking about a portable solution04:02
dufluRAOF: Suggested tools for i2c controls?04:02
RAOFIndeed. A portable solution is us providing a brightness knob.04:02
RAOFddccontrol is a reasonable start.04:03
RAOFOh, hello! ddcci-dkms provides /sys/class/backlight.04:04
RAOFI wonder why that's not a part of drm?04:04
RAOFAnyway - the portable solution is for us to provide a brightness knob, backed by an actual backlight device if possible or by gamma ramps if not.04:06
* RAOF likes that captureless lambdas desugar to C function pointers.04:08
dufluOK, this works... sudo ddccontrol -r 0x10 -w 100 dev:/dev/i2c-704:09
dufluNot obvious or user friendly04:09
RAOFOh, totally.04:10
RAOFWhich, again, is why we provide a brightness knob on a MirOutput :)04:11
dufluNice to have a solution that doesn't sacrifice colour precision04:13
RAOFYes.04:13
dufluOh, we can do fancy things too. Like ask the monitor what its orientation is04:14
dufluWe should do that04:14
RAOFPlausibly? I haven't really fiddled with too much of that :)04:14
dufluMy desktop monitor can do a few useful things...04:15
dufluControls (valid/current/max) [Description - Value name]:04:15
dufluControl 0x02: +/1/65535 C [???]04:15
dufluControl 0x04: +/0/1 C [Restore Factory Defaults]04:15
dufluControl 0x05: +/0/1 C [Restore Brightness and Contrast]04:15
dufluControl 0x06: +/0/1   [???]04:15
dufluControl 0x08: +/0/1 C [Restore Factory Default Color]04:15
dufluControl 0x10: +/50/100 C [Brightness]04:15
dufluControl 0x12: +/50/100 C [Contrast]04:15
dufluControl 0x14: +/0/65535 C [???]04:15
dufluControl 0x16: +/100/100 C [Red maximum level]04:15
dufluControl 0x18: +/100/100 C [Green maximum level]04:15
dufluControl 0x1a: +/100/100 C [Blue maximum level]04:15
dufluControl 0x1e: +/0/1   [???]04:15
dufluControl 0x60: +/16/65535 C [Input Source Select]04:15
dufluControl 0x68: +/1/2   [???]04:15
dufluControl 0x6c: +/0/65535 C [Red minimum level]04:15
dufluControl 0x6e: +/0/65535 C [Green minimum level]04:15
dufluControl 0x70: +/0/65535 C [Blue minimum level]04:15
dufluControl 0x8a: +/50/65535   [???]04:15
dufluControl 0x8c: +/12/65535   [???]04:15
dufluControl 0xaa: +/1/65535 C [OSD Orientation - Landscape]04:15
dufluControl 0xac: +/8464/1 C [???]04:15
dufluControl 0xae: +/6000/65535 C [???]04:15
dufluControl 0xb0: +/0/1   [???]04:15
dufluControl 0xb6: +/3/65535 C [???]04:15
dufluControl 0xc0: +/0/65535   [???]04:15
dufluControl 0xc6: +/17868/65535 C [???]04:15
dufluControl 0xc8: +/269/147 C [???]04:15
dufluControl 0xc9: +/513/65535 C [???]04:16
dufluControl 0xca: +/0/2   [???]04:16
dufluControl 0xcc: +/2/11   [???]04:16
dufluControl 0xd6: +/1/65535 C [DPMS Control - On]04:16
dufluControl 0xdc: +/0/65535 C [???]04:16
dufluControl 0xdf: +/513/65535 C [???]04:16
dufluControl 0xe0: +/0/65535 C [???]04:16
dufluControl 0xe1: +/0/65535 C [Power control - Off]04:16
dufluControl 0xe2: +/0/65535 C [???]04:16
dufluControl 0xe3: +/0/65535 C [???]04:16
dufluControl 0xe4: +/0/65535 C [???]04:16
dufluControl 0xf0: +/0/65535 C [???]04:16
dufluControl 0xf1: +/3/65535 C [???]04:16
dufluControl 0xf2: +/0/65535 C [???]04:16
dufluControl 0xfd: +/102/65535 C [???]04:16
=== chihchun_afk is now known as chihchun
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
alan_ggreyback: question answered? https://code.launchpad.net/~raof/mir/plumb-through-edid/+merge/31200810:22
greybackalan_g: yep10:23
=== sil2100_ is now known as sil2100
=== sil2100_ is now known as sil2100
=== 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
applemuncy_1qtmir.surfaces: MirSurface[0x1f3b9e8,"unity8-dash"]::resize old (1920,1011), new (1080,1851)12:17
applemuncy_1WxH or HxW ?12:17
alan_gapplemuncy_1: I've no special knowledge of qtmir, but WxH is normal12:25
applemuncy_1Thanks : )12:29
=== dandrader is now known as dandrader|afk
greybackyep, WxH12:38
=== dandrader|afk is now known as dandrader
=== JanC is now known as Guest103
=== JanC_ is now known as JanC
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
bschaeferfritsch, hey, soo saw kodi just bump to 18, was there anything else i need to do for the mir PR?18:17

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