/srv/irclogs.ubuntu.com/2016/02/01/#ubuntu-mir.txt

dufluRAOF: Thanks for the android-headers. Crisis averted02:14
dufluIt was a race against time as our xenial build machines on Friday were luckily slightly out of date and didn't have the bug yet...02:15
RAOFduflu: Actually, our xenial build machines would have correctly built it ;)02:43
dufluRAOF: How's that?02:43
RAOFduflu: Because the bug only appears when *upgrading* from android-headers $OLD_VERSION to android-headers 23.02:43
RAOFSince we install fresh on the builders, they never would have seen the problem.02:43
dufluRAOF: Interesting. How often do we install fresh? Sounds expensive02:44
RAOFEvery build?02:44
dufluHmm, maybe copy-disk-image rather than install?02:44
RAOFNot really; it's certainly < 1m on machines that aren't IO thrashing.02:44
dufluHmm.... why do Mir servers use more CPU to bypass/overlay than to GL composite?03:25
dufluCurious03:25
RAOFDo they actually use more CPU, or is the CPU in a higher performance state when GL compositing?03:51
dufluRAOF: I'm not sure. The meaning of CPU usage also varies between tools (some say 100% is one core and others say 100% is all cores)03:56
dufluNever considered power state too03:56
RAOF100% CPU at 800MHz is quite different to 100% at 2.5GHz :)03:57
dufluRAOF: I suspect the former does not usually exist. If you're  using 100% CPU at 800MHz the system should have clocked up already04:02
dufluBut 5% as I'm seeing is plausibly some unknown clock rate04:02
RAOFMaybe should, but doesn't.04:02
dufluI should check04:02
RAOFOr our whole “scrolling is only smooth if you keep a finger on the touchscreen” bug wouldn't have existed.04:03
dufluRAOF: Still does (if not the original bug a new one is open still)04:11
dufluI think... I definitely know it's still a problem because that was the sole remaining blocker of double vs triple buffering (and dynamic scaling)04:12
dufluInterestingly the second-last blocker just got fixed in Mir 0.19.004:19
RAOFI wonder if the blockers will be fixed before the codepath no longer exists :)04:25
=== chihchun_afk is now known as chihchun
dufluRAOF: I'm kind of hoping NBS stumbles upon a way to keep the CPU awake, somewhat by accident05:15
dufluWhich may happen05:15
dufluBut before then, hoping we actually test it and assess whether that it doesn't regress anywhere05:16
=== andyrock_ is now known as andyrock
=== DalekSec_ is now known as DalekSec
zzarrhello!07:22
zzarrhello! duflu, I found this https://wiki.debian.org/InstallingDebianOn/Asus/C20107:23
zzarrit's about as close I of a tutorial I can com/find07:24
zzarrcome*07:24
dufluzzarr: Hello. Interesting but it seems they have no news on OpenGLES07:25
duflu"OpenGL ES"07:25
dufluI've never had a good look at ChromeOS binaries. I wonder what libc they use...07:26
anpokhmhm on mali you can get at least three different types opengl es libraries..07:28
anpok.. oh actually four if you count lima too..07:29
anpokthere are es/egl libraries for android, for rendering on fbdev, and for x11..07:30
dufluBTW all: Mir 0.19.0 is released now (https://launchpad.net/mir/+milestone/0.19.0)07:31
anpokeach of those need mali specfic kernel patches.. integrated for your soc07:31
dufluJust no announcement yet because we haven't finished documenting the release07:31
zzarrduflu, what are the differences between the openGLES libs?07:32
dufluzzarr: I don't understand the question. What libs?07:32
zzarris it a specific one that mir needs?07:32
zzarrohh, it was the libc versions?07:33
dufluzzarr: Mir like most OpenGL code links to libGLESv2.so.2 which has a clearly defined ABI. The only question is what libraries does the libGLESv2.so.2 link to.07:34
zzarrduflu, I see, I understand the question07:34
zzarris there a way to know that?07:35
dufluzzarr: Just run ldd, or objdump07:35
zzarrokey07:35
zzarrduflu, what parts of the tutorial do I need in order to install Ubuntu instead of debian?07:38
zzarrI tried changing jessie to xenial and the url to ports.ubuntu.com, and it worked...07:39
zzarrbasically what failed was to copy the kernel07:39
dufluzzarr: I can't say with confidence. I would suggest just setting up crouton. That's an easy way to have full Ubuntu, and a working kernel from ChromeOS, and keep ChromeOS working too.07:39
dufluFor anything more advanced, you will need to become the expert and answer those questions yourself07:40
zzarrI have crouton, but installing Ubuntu on a SD card will not ruin my chromeos07:41
dufluSorry, I haven't played with Ubuntu on ChromeOS in a while. You have just about exhausted what I remember :)07:41
zzarrduflu, sry, did not mean to ;)07:42
zzarrit's just.. I got exited about running Ubuntu on my chromebook, since it would be 3D-accelerated (which crouton is not)07:43
dufluSadly, Intel Chromebooks are an easier way to do that. Although nowhere near as sexy as the Chromebook Flip07:53
zzarrduflu, I know08:00
zzarrstill, I will fight to get Ubuntu running on my chromebook ;)08:04
zzarrduflu, I have copied the kernel and signed it now :-D08:28
dufluCool08:29
zzarrI'll try to start from the SD card now08:29
zzarrjust a black display08:30
zzarrmaybe the kernel-flags are wrong, maybe it should not be console=tty108:37
=== davmor2_ is now known as davmor2
=== HobGoblin is now known as UukGoblin
zzarrduflu, I can recommend a ASUS Chromebook Flip09:23
dufluYeah looks very nice09:24
dufluThe thing that lets down most Chromebooks is the lack of IPS display. So that's solved too09:24
zzarryea :)09:25
zzarrI would not mind higher resolution, but... higher resolution means shorter battery life09:26
zzarrit's a 1280x800 display09:26
zzarrbut it can handle a UHD over HDMI09:27
dufluUHD is great. So long as it can keep up with the frame rate of the video you're playing (or ideally 60Hz)09:28
zzarrit should be able to handle a video @ 30fps09:31
zzarrduflu, I don't remember, do you have any idea how to activate a console on a kernel that's without one?09:51
dufluzzarr: No, sorry. Google! :)09:51
zzarrduflu, okey, it was worth a try (to ask you) :-)09:51
=== marcusto_ is now known as marcustomlinson
=== ogra_` is now known as ogra_
=== chihchun is now known as chihchun_afk
=== alan_g is now known as alan_g|lunch
=== dandrader is now known as dandrader|afk
=== alan_g|lunch is now known as alan_g
=== dandrader|afk is now known as dandrader
alf_Saviq: Hi! I saw that you were looking into upgrading sbuild to a newer version in your jenkins builders. What the status of this?13:59
alf_Saviq: (I too need a newer sbuild)13:59
Saviqalf_, my prepare jobs do this already13:59
Saviqalf_, they take it from ppa:launchpad/buildd-staging or is that not new enough?14:00
alf_Saviq: I get sbuild 0.64.2, but I need a newer version that supports SBUILD_CONFIG (custom config per build)14:01
alf_Saviq: oops, that's 0.65.214:01
Saviqalf_, 0.65.2 is in there https://launchpad.net/~launchpad/+archive/ubuntu/buildd-staging/+packages14:01
Saviqalf_, why do you need that, btw?14:02
alf_Saviq: Yes, looking at the git repo I need at least 0.66 for SBUILD_CONFIG14:03
Saviqalf_, right, misread, problem is it's not a 1:1 backport, I tried building sbuild from xenial on trusty and it failed14:04
alf_Saviq: I have been trying to run some custom scripts in the chroot with the facilities that sbuild provides, but either sbuild or jenkins get very confused when passing these as command line args to sbuild.14:05
alf_Saviq: So I want to try defining them in a config file14:05
Saviqalf_, so you mean stuff like --foo-commands does not work?14:06
SaviqI'd imagine you'd have to escape those in a way neither jenkins nor sh -r play with that14:06
Saviqalf_, tried putting the script in a file (I need to move all those shell/py blocks to bzr myself)14:07
alf_Saviq: Both methods works well locally... not sure what confuses sbuild/jenkins, probably it doesn't escape properly or escapes too much. I have tried with different escape but I haven't been able to find a way that works14:07
Saviqalf_, right, I'd put the scripts in bzr and run those instead of coding in jenkins directly14:08
Saviqwas meaning to do that anyway14:08
alf_Saviq: I also tried writing the script to a file and then copying into the chroot, but I found that %SBUILD_CHROOT_DIR doesn't work in jenkins/sbuild with --pre-build-commands, although I think it should be supported in 0.65.214:11
Saviqalf_, an "env" in the script could probably help14:12
alf_Saviq: %SBUILD_CHROOT_DIR should be substituted by sbuild, not sure how an env would help?14:14
Saviqalf_, ok not sure about that %foo, but I'd imagine stuff's exported as env, innit?14:15
Saviqalf_, ah I think that only works in strings14:15
Saviqalf_, man says "sbuild --post-build-commands 'foo %SBUILD_CHANGES'"14:16
Saviqalf_, so assuming foo is a script, it will be given the argument14:17
Saviqalf_, but check env, I'm sure there's quite a bit of data in there already14:17
alf_Saviq: yeah, so %SBUILD_CHROOT_DIR is not substituted for some reason14:18
Saviqalf_, you said in a file?14:18
alf_Saviq: Sorry, I wasn't clear... the script itself is an file that I want to copy into the chroot with --pre-build-commands 'cp script.sh %SBUILD_CHROOT_DIR' but I can't because the sbuild var is not substituted properly14:20
Saviqalf_, right, now I get it, just bind-mount a folder with scripts ;)14:21
alf_Saviq: thanks, I'll try that14:21
Saviqalf_, that's what I planned to do with the existing pbuilder hooks - just bind-mount the folder, although those that run outside the chroot might still need the substitutions to work14:22
Saviqalf_, but indeed man says %r should be available in --pre-build-commands14:23
alf_Saviq: Let me know when you have moved your scripts to bzr, I will probably want to extend them or branch14:43
Saviqalf_, will do, I hope you don't diverge far enough, so we can maintain together all of su14:44
Saviqus14:44
Saviqalf_, oh btw there was a talk on fosdem about Jenkins DSL https://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin14:44
Saviqhttps://fosdem.org/2016/schedule/event/jenkins_as_code/14:45
alf_Saviq: agreed, I will try to extend as much as I can (with hooks etc)14:45
alf_Saviq: interesting14:45
Saviqalf_, related to what jibel proposed (jenkins-job-builder), unfortunately as things stand we can't use either, because the "seed" jobs need to run on the master ;)14:45
=== dandrader is now known as dandrader|lunch
=== dandrader|lunch is now known as dandrader
alf_Saviq: I am seeing cases where jenkins is losing my changes to jobs (I hit save and next time or after a while the job reverts to an older version). Have you seen that?16:29
Saviqalf_, nope, don't think so16:31
alf_Saviq: good for you, it's very annoying...16:31
SaviqI can imagine16:31
alf_Saviq: so, let me know if I can help with bzr-ifying the scripts16:32
Saviqalf_, ack, I'll jump on that tomorrow morning16:32
=== infinity_ is now known as infinity
=== alan_g is now known as alan_g|EOD
=== 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!