/srv/irclogs.ubuntu.com/2017/02/23/#ubuntu-mir.txt

=== JanC is now known as Guest31516
=== JanC_ is now known as JanC
=== 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
=== 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
=== chihchun_afk is now known as chihchun
=== dandrader is now known as dandrader|afk
bregmatjaalton, Xmir branch at https://git.launchpad.net/~xmir-team/xorg-server/+git/xmir/?h=xmir-1.19 now builds and tests cleanly on Zesty if you can find the time to integrate into xorg-server14:46
tjaaltonbregma: sweet, thanks! will do that next week when I'm back14:56
=== dandrader|afk is now known as dandrader
greybackalf_: On https://bugs.launchpad.net/mir/+bug/1667001   I think repowerd is innocent, suspect Mir/kms15:16
ubot5Ubuntu bug 1667001 in unity8 (Ubuntu) "[amd] screen-unblanking seems to flicker backlight on/off 5 times before display resumes" [Undecided,Incomplete]15:16
greybackI've attached the log you requested15:17
alf_greyback: thanks15:17
greybackalf_: the machine is by me if there's anything else I can offer you15:18
alf_greyback: if you are willing to recompile repowerd we may get some more hints about what's going wrong15:20
greybackalf_: Sure. I know it's not a high priority bug though, so only if you want15:20
alf_greyback: sure, let's do it now that it's hot :)15:21
alf_greyback: git clone lp:repowerd (assuming you have set the lp: shortcut for git)15:21
greybackI have15:21
alf_greyback: build repowerd the usual cmake way (no special options needed)15:23
alf_greyback: get the deps first of course15:23
alf_greyback: ... "sudo systemctl stop repowerd" to stop the system one, and from the build dir run the git version with 'sudo REPOWERD_LOG=console bin/repowerd'15:25
alf_greyback: make sure it works and you can see the same issue as before15:25
greybackok15:25
greybackalf_: my build machine != my test machine, can I just copy over the repowerd binary, or do I need the tools too?15:28
alf_greyback: not yet, perhaps later depending on the results of our experiments15:29
greybackalf_: repowerd binary is 10mb!15:32
greybackalf_: http://pastebin.ubuntu.com/24053613/ <- any idea?15:42
alf_greyback: do you have repowerd-2017.02 installed on that system?15:45
greybackalf_: no 2016.12+17.04.20161212.1-0ubuntu115:45
alf_greyback: ok, then update (and stop the system repowerd again)15:46
greybackok15:46
greybackalf_: http://pastebin.ubuntu.com/24053671/15:55
greybacksame issue with the newer repowerd15:55
alf_greyback: good15:56
alf_greyback: one thing to change to see if it makes a difference: make the turn_on() call to USC synchronous15:57
alf_greyback: so in src/adapters/unity_display.cpp15:57
dandraderalan_g, how do I get the top-left position of a miral::WindowInfo?15:58
alan_gdandrader: wi.top_left()15:58
greybackalf_: done, trying15:58
alf_greyback: in ::turn_on() change the dbus call to _sync and remove one "nullptr,"15:59
greybackalf_: already done ;)15:59
alf_greyback: ack15:59
greybackI am still surprised how big the binary is15:59
dandraderalan_g, ah, you mean windowIndo.window().top_left()16:00
dandrader*windowInfo16:00
alan_gdandrader: oh, right. yes16:00
* alan_g isn't a good autocomplete function16:00
greybackalf_: yes it seems to block on that TurnOn dbus call, as the screen flickers16:00
alf_greyback: It's all the debug info I guess? The released binary is much smaller (~700kb)16:02
greybackalf_: yeah probably16:02
=== dandrader is now known as dandrader|afk
alf_greyback: ok, so this strongly indicates that repowerd is not doing anything strange, but let's experiment a bit more16:03
alan_gc++ debug symbols are BUG16:04
alf_greyback: with the screen on stop repowerd (ctrl-c)16:04
alf_greyback: i.e. I want the backlight to stay on16:05
greybackyep16:06
alf_greyback: now just turn USC rendering on/off manually to see what behavior you get: sudo gdbus call --system --dest com.canonical.Unity.Display --object-path /com/canonical/Unity/Display --method  com.canonical.Unity.Display.TurnOff "all"16:07
greybackalf_: I've actually gone further. A while ago I made this tool: https://code.launchpad.net/~gerboland/+git/display-configurator16:08
greybackalf_: just extending the mir display config tool, adding display power on/off stuff16:08
greybackalf_: if I ask mir to turn off the display, and then on, the on causes the same flicker16:09
alf_greyback: ok, just wanted to test if the backlight state affects this at all16:09
alf_greyback: it seems not16:09
greybackalf_: ack16:09
alf_greyback: ok, so repowerd is out... anything interesting in /var/log/lightdm/unity-system-compositor.log16:10
alf_greyback: or in /var/log/syslog for that matter? Any drm kernel messages?16:12
greybackalf_: I tore it down to the simplest elements: mir_demo_server_basic and my test client. From Mir: http://pastebin.ubuntu.com/24053776/16:20
greybackthere's a small complaint from kms about invalid argument for Gamma setting16:20
greybackbut I see nothing at all relevant in syslog or dmesg16:20
greybackactually I get the flicker when I turn off the display too16:22
greybackand setting mir power mode to 1 (on) does not enable the display again16:24
greybackI have to kill the client to get the display to turn back on16:24
alan_ggreyback: I just submitted a QtMir MP that ran into LTTng errors that seem unrelated. Is there a known problem?16:29
greybackalan_g: news to me16:29
greybackdandrader|afk: ^^16:29
alan_gHmm, seems to be just my MP.16:31
* alan_g can't ignore it16:32
alf_greyback: I am out of easy-to-test ideas. I guess next step would be to check if something wrong is going on at the Mir platform/backend level, and if everything is fine there, too, then it's probably a driver or hardware issue.16:38
greybackalf_: ack. I'm updating the bug with all I've found, but I expect it's driver/hardware16:41
alan_ggreyback: not sure what the cause is, but after "apt update" it is happening locally on a clean lp:qtmir. :(17:12
* greyback trying17:13
=== chihchun is now known as chihchun_afk
=== dandrader|afk is now known as dandrader

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