/srv/irclogs.ubuntu.com/2013/08/28/#ubuntu-mir.txt

thomirobert_ancell: OK, cool. I'm kind of here, kind of not, depending on how long this coffee keeps me awake00:00
robert_ancellthomi, :)00:10
robert_ancellricmm, I'm trying to manually get mir out of proposed - it seems to be in a deadlock due to some build ordering issues00:10
RAOFrobert_ancell: I don't see that corruption on ati with mir from -proposed (and usc built against that mir)00:22
=== chihchun_afk is now known as chihchun
ricmmrobert_ancell: awesome, thaks01:06
ricmmlemme know how that goes01:06
robert_ancellricmm, packages are built, just waiting for the job that migrates them from -proposed to universe01:10
ricmm\o/01:11
robert_ancellricmm, seems to have worked, I'm upgrading now and pulling in the new versions01:23
ricmmgreat!01:23
robert_ancellduflu, have you tested bypass on an ati machine?01:49
duflurobert_ancell: No, it proved impossible. Multiple kernel bugs prevent me from being able to. Alf tested it for me01:50
robert_ancellduflu, it's failing in the lab01:50
robert_ancellwe've set up ppa:mir-team/qa-testing to just contain bypass, then you can run it in the lab and watch the screen there01:50
robert_ancellhas lots of corruption01:50
duflurobert_ancell: Hmm. OK. I was relying on Alexandros' testing. Got kernel 3.11.0+?01:50
robert_ancellthe main archive version works01:51
robert_ancellduflu, I don't think I can check until the test completes01:51
robert_ancellthomi, (if still awake) is that true?01:51
duflurobert_ancell: Because corruption is expected. You need the "DMA-buf" fix wherever that was... in kernel 3.1101:51
thomirobert_ancell: Im still awake01:51
thomirobert_ancell: you should be able to ssh in to the machine while the test is running01:52
duflurobert_ancell: To clarify... I have radeon hardware, but can't test saucy due to saucy being unbootable on my desktop (regardless of graphics)01:52
thomirobert_ancell: obviously you run the risk of affecting the result, but if all you need to do is check package versions it should be OK01:52
robert_ancellduflu, it's running saucy right now and seems to work01:53
thomirobert_ancell: oh, also, the machine may reboot under you :)01:53
thomiIP addresses are all on the wiki, in case you need them01:53
robert_ancellthomi, ta01:53
robert_ancellduflu, so the dma-buf fix is required only for bypass?01:53
duflurobert_ancell: Seems so. Because I can test raring and it fails there. alf said it worked for him on saucy+radeon.01:54
robert_ancellduflu, do you have a bug number?01:54
duflurobert_ancell: We're not also testing XMir at the same time are we? XMir adds new bugs which we would have to exclude01:55
robert_ancellduflu, yes, with xmir01:55
duflurobert_ancell: I wish I had a bug number, or a commit to point to. All anyone has been able to tell me is "you need kernel 3.11". Which seems true for nouveau too01:55
robert_ancellduflu, but saucy is kernel 3.1101:56
dufluI've also tried kernel 3.11 on raring but ran into other graphics bugs before I could test Mir01:56
duflurobert_ancell: It would be unproductive to debug XMir+radeon+bypass right now. I need someone to test just radeon+bypass01:57
dufluI'm already in the boat of having too many variables at once with another bug01:57
robert_ancellduflu, ok, to be clear. On one of the QA ATI boxes running standard saucy + xmir enabled it works fine, but standard saucy + lp:~vanvugt/mir/bypass + xmir does not01:57
robert_ancellso this is only one variable...01:57
duflurobert_ancell: Not true. We've spent the past few days finding and fixing XMir bugs only revealed by new Mir features (which themselves are bug free)01:58
dufluMaybe we have working saucy images I can boot now. Will retry today01:59
robert_ancellthomi, what is the wiki link02:00
thomirobert_ancell: https://wiki.canonical.com/UbuntuEngineering/QA/Lab02:06
kgunnrobert_ancell: is the failure in the mode of the funky stripes? or black screen ?02:43
robert_ancellkgunn, looks like just the funky stripes - the test completed otherwise02:44
kgunnrobert_ancell: that is strange as it keeps changing02:45
robert_ancellkgunn, I'm just running saucy without XMir for completeness so we are sure we're comparing apples with apples02:45
robert_ancellyeah02:45
robert_ancellthis remote camera is awesome :)02:45
kgunnrobert_ancell: so what i'm looking at right now is saucy X02:45
kgunn?02:46
kgunnwell...then...02:46
robert_ancellkgunn, you were looking at saucy + XMir+bypass02:46
kgunnoh02:46
kgunnit is awesome02:46
robert_ancellour mir packages were all out of date - there was some deadlock in the autolanding system02:46
robert_ancellThey're up to date now, so running the three cases with these packages02:47
kgunnrobert_ancell: i stepped away...did it run yet?03:18
robert_ancellkgunn, yes, just collecting the results03:19
robert_ancellkgunn, emailed you the results03:22
robert_ancellkgunn, what were you looking for?03:23
duflurobert_ancell: The radeon issue, looks like vertical stripes right?03:36
robert_ancellduflu, there's a link to an image in the MP03:36
dufluIf that means incorrect pixel format then I have a reasonable theory as to the cause. But haven't been able to reproduce any such issue yet03:36
robert_ancellduflu, that QA machine is at your disposal :)03:37
duflurobert_ancell, OK. I was hoping to not have to invest the time setting up VPNs etc :/03:37
robert_ancellduflu, I recommend getting the QA VPN set up - it makes life easier03:38
robert_ancellthomi, asleep yet?03:38
dufluI used to... before reinstalling03:38
duflurobert_ancell: Shall I remove the prereq of bypass for timerless?03:40
dufluJust means bypass will conflict for a while03:40
robert_ancellduflu, sounds like a good idea03:40
RAOFBypass breaks intel XMir too, even single head.03:46
thomirobert_ancell: asleep at my desk, does that count?03:47
robert_ancellRAOF, is it the mir side or the xmir side?03:48
robert_ancellduflu, do you have all the info for the VPN?03:48
duflurobert_ancell: No idea. And now I'm a couple of hours from trying :/03:48
robert_ancellthomi, can you send any links info to duflu about setting up the QA VPN03:49
thomisure, let me see where I can find it03:49
thomiduflu: robert_ancell: https://wiki.canonical.com/InformationInfrastructure/IS/VPN03:50
thomiworth noting that it's not so much a 'QA VPN' as a 'Canonical VPN'03:50
RAOFrobert_ancell: Possibly a combination of the two03:50
thomimy understanding is that almost everyone who was in the old PS dept. should have an email in their inbox with their private key03:51
thomiotherwise, IS can send you new keys, or help you get it set up03:52
dufluI may get more value sooner by trying to find a way to boot saucy on my desktop (where I have radeon). Haven't succeeded yet but it's worth another try03:53
thomiduflu: otherwise, I may be able to give you SSH access to my radeon laptop, although it will be slow03:54
dufluthomi: If that blurry screenshot is to be trusted then it looks like vertical lines? That one I might have a clue about already03:54
thomiduflu: uhh, I'm not sure what screenshot you refer to03:55
dufluhttp://imgur.com/1k7tQE503:56
thomioh03:56
thomiok, well, let me know if you need annything03:56
thomialthough for VPN-related things, IS is probably a better bet :)03:56
kgunnrobert_ancell: i don't understand how those results can be like that...04:06
kgunnthe thing that's supposed to be the crappiest is the best ?04:07
robert_ancellkgunn, yeah...04:10
robert_ancellkgunn, please double check the results but I *think* it was run correctly04:10
robert_ancellbob04:11
robert_ancellbeLUmaya04:11
robert_ancellDISPLAY=:0 xev04:11
tvossduflu, ping04:24
tvossRAOF, ping04:26
RAOFtvoss: Pong.04:26
duflutvoss, pong04:27
RAOFmlankhorst: Oooh, you're awake?04:27
robert_ancellRAOF, I notice X doesn't drop focus when you VT switch away - do you think this should be a system compositor special option?04:27
RAOFHm, I don't know.04:28
RAOFI don't think it makes a huge amount of difference either way.04:28
RAOFBut a client really isn't focused if it doesn't display or get input.04:28
tvossrobert_ancell, RAOF the benchmarking results for radeon seem to suggest that X touching the framebuffer makes things slower?04:38
tvossduflu, kgunn ^04:38
robert_ancellI've forwarded them to duflu and RAOF04:39
RAOFDoes it render correctly?04:39
tvossrobert_ancell, ?04:39
robert_ancellRAOF, not with bypass04:40
RAOFI'm not sure that we should trust the benchmark numbers then.04:40
tvossRAOF, true04:41
dufluI know that software rendering + bypass is often slower. Which is why bypass is disabled for software surfaces04:42
dufluRAOF: If XMir does any "copies" it's really a software renderer then... ?04:52
dufluAnd it's lying to Mir in saying this is a hardware surface?04:52
dufluI remember a while back I said we should distinguish between "hardware" buffer residency and hardware blitting, but my suggestion was rejected :/04:53
* duflu *shrugs* and goes to lunch04:54
RAOFduflu: It's does hardware blitting, from hardware-rendered other buffers.04:59
RAOFduflu: It's as much a hardware surface as any EGL app.05:00
tvossRAOF, duflu back05:27
dufluRAOF: OK. Though this "copy" I keep hearing about, is that on the CPU? What stage is it?05:31
RAOFduflu: It's on the GPU; X is basically acting as a compositor.05:32
RAOFExcept rather than going through GL, it's speaking raw GPU command streams.05:32
dufluRAOF: Sounds fast. I guess if it actually was software copying I would not see the nice reduction in mouse lag with qa-testing(bypass)05:33
RAOFAs far as Mir is concerned, though, it's not different than an EGL client. The difference between X and and EGL client is an EGL client has the mesa library to produce the command streams.05:33
dufluRAOF: Oh, BTW, any idea why single-buffering desktop environments would *not* exhibit the frame ordering bug?05:34
RAOFNo, and are you certain that they don't? Last time I checked I could get the frame-ordering problem on raw X + xterm.05:35
RAOFBut I guess that was a while ago.05:35
dufluRAOF: Almost certain. I could not get it to happen with Compiz doing single buffering, or plain Xfce05:37
tvossRAOF, can we disable buffer age in X?05:37
RAOFtvoss: Yes, but it doesn't help.05:37
tvossRAOF, ah05:37
dufluBut that could be timing too... single buffer damage-only updates are faster05:37
dufluI have tried making intentionally slow clients, but didn't reproduce it that way05:38
tvossRAOF, duflu so trying to understand: somewhere the buffer order inside X gets fucked up, and n+1 is submitted before n05:39
dufluIt looks like it. I still can't reproduce it with any demo client, no matter how I try to change variables05:40
RAOFI don't believe that is the case - smspillaz was seeing the same problem with his GTK implementation, and he dumped the frames to disc before submitting them and they were correct.05:40
RAOFtvoss: ^^^05:40
dufluRAOF: No, Sam reported lag only, not buffer misordering. Hence it's still a separate bug. Also that was fixed by ignoring buffer age05:41
RAOFHuh, I thought he'd tried that and it didn't work.05:41
RAOFI'm clearly not up on that bug.05:41
tvosssmspillaz, ping05:41
dufluI have other theories as to where bad ordering could come from. But I will have to learn new Mir code I've never really looked at05:42
tvossduflu, which one? how can I help?05:42
smspillaztvoss: pong, but I gotta go soon05:42
tvosssmspillaz, quick x-check: ignoring buffer age in your gtk port fixed the lag?05:43
smspillazduflu: I'm not so sure if that was "fixed" by ignoring buffer age05:43
smspillazat least - I didn't see it when I did full repaints but it appears to be a race condition05:43
smspillazand furthermore, the symptoms I'm seeing are not consistent with incorrect buffer ages being sent05:43
smspillazI'd suggest running the gtk demo to see if you can reproduce it on your end05:44
tvossduflu, sounds like a simpler client than X05:44
duflusmspillaz: Yes, sorry, bad choice of words. But at least "worked around" by not using the buffer age05:44
duflutvoss: Different bug05:44
dufluHence not a valid test case05:44
tvossduflu, ack05:46
dufluWe have at least three lag/ordering bugs and they are all most definitely separate. It takes careful analysis to know they're different tho05:46
smspillazduflu: like I said, I'm not sure that not using buffer age would actually fix it05:46
smspillazit just seems that here it does not trigger that race05:46
tvossduflu, so for the ordering bug: do we have a frame counter per surface?05:47
duflutvoss: No, we have a unique ID you can track tho05:47
tvossduflu, how do we know it's an ordering bug then and not an unfinished rendering?05:48
duflutvoss: mir_debug_surface_current_buffer_id should be sufficient05:48
duflutvoss: Unfinished rendering *usually* appears as tearing05:48
dufluBut it could also be related to a missing flush/finish or equivalent05:48
tvossduflu, true, but we are making an assumption here, and at such high frame rates, I would actually want to make sure that it is really ordering :)05:49
duflutvoss: Well, we have tests for it already in lp:mir. You could also ask the client to check the order it's getting, with mir_debug_surface_current_buffer_id05:49
dufluOf course, tests are never foolproof05:50
RAOFThat's how I tracked down the ordering problem last time; by dumping the surface ID all over the place.05:50
dufluRAOF: That was a while ago... we fixed that one right?05:50
RAOFYeah.05:51
RAOFAt least for single outputs and clients with single surfaces :)05:52
RAOFBut I don't think that code cared where the buffer came from.05:52
dufluI have had more theories as to how order might be violated. However can't yet find any theoretical reason why it would be in the buffer swapper. That part is now designed to make ordering theoretically guaranteed05:52
dufluWe might be racing/messing up in the protocol/threading somewhere though05:53
duflu... but if it was that easy then you'd think some mir_demo_client could show a similar bug.05:53
RAOFMaybe?05:54
RAOFI think we might want to write a one-surface-per-output version of progressbar that uses GL rather than CPU mapping.05:55
dufluRAOF: egltriangle should be sufficient. Just need to add a parameter to populate output_id methinks05:56
dufluRAOF: I also keep thinking if your surfaces usually only map to one monitor each, then only one compositor thread should be getting each surface. It should behave like single monitor... unless we've messed up the region calculation05:57
robert_ancellRAOF, duflu, kgunn, racarr|desert, hikiko, tvoss, thomi, meeting time...05:57
thomiomw05:58
tvossrobert_ancell, not on broadband, will try to join, though05:59
thomiugh, RAGE!06:00
thomistupid technology06:00
tvossduflu, do we see the ordering issue only on multi-monitor or also on single output?06:00
thomirobert_ancell: can someone link me the hangout url please? It's now showing up in my calendar06:01
duflutvoss: Multimonitor only06:01
tvossduflu, my understanding: it's trunk + bypass exposing it when used with XMir?06:01
duflutvoss: No, multimonitor only. And even without bypass06:02
tvossduflu, ah, that helps a lot06:03
duflutvoss: It happens on qa-testing2 (no bypass)06:03
tvossduflu, ack. So to land bypass, we need to check the weird ati numbers06:05
duflutvoss: And corruption06:08
duflutvoss: I will be in a better state to test and fix when I can boot saucy on my desktop. Which I cannot yet :(06:08
tvossduflu, ack, what is blocking you from booting saucy on your desktop?06:11
duflutvoss: Kernel/BIOS issues new in saucy. Cannot even start to boot it06:12
tvossrobert_ancell, which ppa did you use to run the openarena benchmarks? qa-testing?06:12
tvossduflu, got a bug report?06:12
robert_ancelltvoss, ye06:12
robert_ancells06:12
duflutvoss: https://bugs.launchpad.net/bugs/121297706:12
ubot5Launchpad bug 1212977 in linux (Ubuntu) "saucy daily-live images are unbootable on Dell Optiplex 990; stuck in BusyBox shell" [High,Incomplete]06:12
tvossduflu, thx06:13
mlankhorstRAOF: yeah06:13
mlankhorstRAOF: did you get my message and video? :P06:13
RAOFmlankhorst: Yes06:13
mlankhorstah good06:14
RAOFmlankhorst: I had a couple of questions. Mainly - is that pixmap the screen pixmap?06:14
mlankhorstno idea, considering the code it was from i would assume so :P06:14
mlankhorsttvoss: xorg-server is unmodified for bypass right?06:22
ollirobert_ancell, mir/archive should be unblcoked06:22
tvossmlankhorst, ack06:23
robert_ancellolli, yeah, it was another issue, fixed now06:23
olliok06:23
RAOFmlankhorst: gdb and print out (screen->GetScreenPixmap)(screen)?06:24
mlankhorstRAOF: oh right it might be very much possible that it switches the front  buffer in fullscreen gl case06:25
mlankhorsttvoss: hm interesting noise pattern :P06:25
hikikocould anyone review this branch: https://code.launchpad.net/~hikiko/mir/mir.native-gbm-platform-class/+merge/182074 ?06:25
mlankhorstI can vaguely make out the details06:25
mlankhorsttiling or pixel format is messed up06:26
RAOFmlankhorst: And I've just noticed that nouveau *does* keep a track of what it thinks is the front buffer that is wrong as soon as xmir_resize hits...06:26
mlankhorstRAOF: hah!06:26
robert_ancelllater all06:26
RAOFSetScreenPixmap hooks for everybody!06:26
RAOFrobert_ancell: 'night!06:26
hikikobye robert_ancell06:26
RAOFAlso, I really really really really hate the way xf86-video-ati has an open coded "set up this radeon_surface" struct in like 2032232332342342 different places.06:27
RAOFThat's right. There are more copies of that code than there are lines of code.06:27
mlankhorsttvoss: actually on closer look it looks like there are vertical lines that look correct, 4 pixels? then another vertical line with garbage06:27
RAOFIt's very quantum.06:27
mlankhorstso dno06:27
* RAOF goes and get groceries for dinner.06:28
mlankhorstRAOF: welcome to radeon ;)06:28
mlankhorstRAOF: don't look at the kernel!06:28
mlankhorstit has  5 copies of 'is this command ring working'06:28
mlankhorstone for each ring06:28
tvossduflu, did you see mlankhorst's findings?06:30
dufluafk06:30
tvossduflu, ack06:30
mlankhorstnothing in dmesg this time06:31
tvossmlankhorst, can you check with a mir demo client if the corruption shows up with that?06:31
tvossmlankhorst, you can use lp:~thomas-voss/glmark2/mir-no-deprecated-functions and run it in fullscreen06:33
mlankhorsthm crash on eglplasma :P06:33
tvosshah06:33
mlankhorsthttp://paste.debian.net/31210/06:34
mlankhorstthat's the eglplasma thing crashing, i think usc went too06:34
tvossmlankhorst, thx06:34
tvossmlankhorst, can you verify that usc did really crash?06:34
mlankhorstProgram received signal SIGABRT, Aborted.06:35
mlankhorst[Switching to Thread 0x7f165cafe700 (LWP 2149)]06:35
mlankhorst0x00007f1669126f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:5606:35
mlankhorst56      ../nptl/sysdeps/unix/sysv/linux/raise.c: Bestand of map bestaat niet.06:35
mlankhorsthttp://paste.debian.net/31211/06:36
mlankhorstlol, crashes on closing egltriangle too06:37
mlankhorstbut the triangle looks fine, fwiw06:37
tvossmlankhorst, okay, thanks for the hints06:38
mlankhorstback to the drawing board for you? :P I'm going to test for raof a bit06:38
tvossmlankhorst, ack, calling some people to get an amd machine now06:39
tvossmlankhorst, okay, I'm mostly interested in the corruption right now06:41
mlankhorsttvoss: oh I'm still on mesa 9.2 fwiw06:49
tvossmlankhorst, mind switching to default saucy?06:50
dufluSorry... had to get a quick fix for my leaky roof. Done I think06:51
duflutvoss: What am I looking at?06:52
mlankhorsttvoss: actually I do, need to finish testing on that first :P06:52
mlankhorstbut fine06:52
duflumlankhorst: Yes I suspect the vertical lines might just be the drm fb using the wrong pixel format to the attached bo06:54
dufluSince we don't actually set it yet...06:55
duflumlankhorst: Also, compiz _will_ switch front buffers, when it decides a fullscreen window can be "unredirected"06:56
mlankhorstthat probably sounds about right :P06:56
duflutvoss: "did you see mlankhorst's findings?" .... where?06:58
mlankhorstactually it looks like even worse garbage on 9.1.6 :P06:59
mlankhorstmight just be freed memory being displayed06:59
mlankhorsthm then again it looks too much like what should be displayed, so i dont know07:00
mlankhorstbut there's definitely some garbage on top of it07:00
duflumlankhorst, sounds like what I saw with radeon doing bypass on raring. Still could never test saucy07:01
tvossduflu, where would we need to set the pixel format?07:11
duflutvoss: DRM calls. I will put together an attempt momentarily... which I have done before but never found a need to modify that code till now07:12
dufluI mean, it's something I've tried before but never found a system where it was necessary, yet07:12
mlankhorst$6 = {drawable = {type = 1 '\001', class = 0 '\000', depth = 24 '\030', bitsPerPixel = 32 ' ', id = 0, x = 0, y = 0, width = 2720, height = 1024, pScreen = 0x7f92f1e1b700, serialNumber = 2589},07:13
mlankhorst  devPrivates = 0x7f92f264ef38, refcnt = 1, devKind = 10880, devPrivate = {ptr = 0x0, val = 0, uval = 0, fptr = 0x0}, screen_x = 0, screen_y = 0, usage_hint = 2, master_pixmap = 0x0}07:13
mlankhorstRAOF: screen pixmap^07:13
mlankhorstbut the pixmap the function is called with is this07:13
mlankhorst$7 = {drawable = {type = 1 '\001', class = 0 '\000', depth = 24 '\030', bitsPerPixel = 32 ' ', id = 0, x = 0, y = 0, width = 1280, height = 1024, pScreen = 0x7f92f1e1b700, serialNumber = 2124},07:13
tvossduflu, ack07:13
mlankhorst  devPrivates = 0x7f92f1e8aca8, refcnt = 1, devKind = 5120, devPrivate = {ptr = 0x0, val = 0, uval = 0, fptr = 0x0}, screen_x = 0, screen_y = 0, usage_hint = 0, master_pixmap = 0x0}07:13
RAOFmlankhorst: Thanks.07:16
dufluSilly question... "DMAbuf" I've never seen explicitly mentioned. Is it part of how we use drmModeAddFB ?07:21
RAOFNo.07:22
RAOFdma-buf is our buffer IPC mechanism.07:22
RAOFWe go from a gem name (for use in drmModeAddFB et al) to a dma-buf fd and back.07:23
dufluRAOF: Umm, kay. So it is correct to pass in  gbm_bo_get_handle(bo).u32 (the "gem" handle?) to  AddFB?07:25
dufluObviously it works for intel+nouveau...07:25
RAOFYup, that would be the right thing.07:26
dufluIt's really confusing when people talk about "gem" this and that, even in naming variables, but "gem" isn't mentioned in the API at all. It's just uint32_t07:30
tvossduflu, sounds like we should have a wrapper for that then :)07:31
* tvoss restarts07:31
duflutvoss: Not Mir's fault. Just DRM... undocumented07:31
tvossduflu, ack07:31
Mirvsomeone could check my two MP:s to get trunks in sync with the archive rebuilds https://code.launchpad.net/~timo-jyrinki/unity-mir/sync_to_archive/+merge/182553 + https://code.launchpad.net/~timo-jyrinki/unity-system-compositor/sync_to_archive/+merge/18255407:34
mlankhorstduflu: yeah gem predates dma-buf, fd's were too expensive at the time :P07:35
Mirvnot sure why robert changed that architecture line in a 'no change' rebuild, but it seems fine07:35
tvossduflu, is the bypass branch in sync with trunk?07:37
RAOFmlankhorst: Fun story: randr resizes don't fix up the root window pixmap.07:37
duflutvoss: Not sure about the LP one, but there have been no conflicts or logic changes since 14 Aug07:37
duflutvoss: I'm working on it locally07:37
mlankhorstRAOF: you don't say ;)07:38
tvossduflu, ack07:38
RAOFmlankhorst: Would you kindly check the new xserver & nouveau? They're in qa-testing2 and also in git.07:43
mlankhorstsure07:44
dufluRAOF, mlankhorst: Is it standard to use fourcc's for pixel formats now? I can't tell when pixel_format is just uint32_t07:47
mlankhorstI guess so, just look at the source I guess07:48
dufluAh, in place of documentation, interpret the source :)07:48
duflumlankhorst: Is it generally considered valid to keep an alpha channel on scanout buffers? Or expected to fail?07:49
RAOFduflu: Pixel format is always just a uint32_t. Sometimes it's just a uint32_t generated by concatenating 4 bytes...07:51
RAOFdma-buf brought drm in to the magical world of fourccs, because it implies interop with v4l stuff.07:52
RAOFTo the Zoë!07:52
tvossRAOF, :)07:53
tvossmlankhorst, what's the status of https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/121406607:59
tvoss?07:59
ubot5Launchpad bug 1214066 in xorg (Ubuntu) "phoronix benchmarks on nouveau is 4 times slower today than it was last thursday" [Undecided,Incomplete]07:59
mlankhorstas it says in the status, undecided, incomplete08:00
mlankhorst:P08:01
tvossmlankhorst, have you seen similar behavior on your machine?08:01
mlankhorstnot really, but I'm planning on releasing 9.2 soon08:01
tvossmlankhorst, okay, eta?08:01
tvossmlankhorst, is there a ppa with 9.2 such that I can test with Mir and XMir?08:02
mlankhorstppa:canonical-x/x-staging08:02
tvossmlankhorst, ack08:02
tvossmlankhorst, so that has got all our mesa patches for Mir, too? just x-checking08:02
duflumlankhorst: The bypass corruption issue... could that be because nothing is marked as dirty?08:03
dufluI just noticed the "dirty" feature08:03
mlankhorstno idea08:03
mlankhorsti think xorg only sends stuff when marked as dirty08:03
dufluThe more I read, the more it sounds like bypass might /require/ it for some hardware08:05
mlankhorstI guess mir needs to be at least told a buffer is dirty :P08:10
duflumlankhorst: I find some platforms fail to page flip with pixel_format's containing alpha. Can I tell if it's going to work before attempting the flip? Seems like I can't08:18
mlankhorstduflu: dno, I think if you can create a fb with the format flip should work08:19
duflumlankhorst: FB creation always succeeds. But the drivers only check if the pixel_format is compatible later when the flip is attempted :(08:20
hikikoduflu, do you have some time to review a branch? (sorry I need to merge it and alf is on holidays so it's approved only by alan and jenkins) could you get a quick look? it's a very small change...08:22
dufluhikiko: Maybe. Not sure. I'm already way overloaded for the next day or two08:22
mlankhorstduflu: well strictly speaking ARGB would be compatible for flipping..08:22
mlankhorstbut as XRGB08:22
duflumlankhorst: Apparently not. intel rejects AR24, only flips XR24.08:23
hikikoduflu, only if you have some free time (here it is: https://code.launchpad.net/~hikiko/mir/mir.native-gbm-platform-class/+merge/182074) +thank you :)08:23
mlankhorstduflu: kernel or userspace?08:23
duflumlankhorst: Userspace08:23
mlankhorstthen fix userspace..08:23
hikikohi alan_g :)08:32
alan_ghikiko: hi08:32
hikikoalan_g, I was waiting for you! :) can I merge this one: https://code.launchpad.net/~hikiko/mir/mir.native-gbm-platform-class/+merge/18207408:33
hikiko?08:33
alan_ghikiko: Yeah, autolanding failed for "unrelated reasons". I'll top-approve again08:34
hikikothank you alan_g :)08:35
alan_ghikiko: can you do the same for https://code.launchpad.net/~alan-griffiths/mir/spike-NestedOutput/+merge/182405?08:35
hikikoyes08:35
hikikoI thought it was merged.. done alan_g :)08:36
alan_ghikiko: there are some intermittent test failures that we see in CI. No-one has got to the bottom of them yet08:37
hikikowhat is the Cl?08:38
alan_gCI == Continuous Integration08:38
hikikoI see08:39
tvossduflu, RAOF back08:56
tvossduflu, any more insights?08:56
duflutvoss: I have an experimental change that might fix radeon. But lots of mocks are now broken :(08:57
tvossduflu, okay, can you get packages over to mlankhorst? disable tests in the package build if need be08:57
tvossjust to verify that the change fixes radeon08:58
duflutvoss: I will test it with everything I have first. Make sure nothing regressed08:58
tvossduflu, ack08:59
tvossduflu, I have got an amd machine now08:59
tvossduflu, need to set it up with 13.0408:59
RAOFmlankhorst: How'd testing go?09:00
=== chihchun is now known as chihchun_afk
mlankhorstRAOF: oops was waiting for the build09:03
RAOFSlacker :)09:03
tvossmlankhorst, xmir from archive working fine with mesa 9.2 on intel09:07
=== chihchun_afk is now known as chihchun
mlankhorsttvoss: yeah noticed the same with nouveau + radeon09:10
dufluWow, I hate gmock more than ever now09:19
dufluIts sharing of details you shouldn't know and should be free to modify is absurd09:19
tvossduflu, could you verify locally that things work fine on intel?09:20
duflutvoss: Yes, about to start hardware testing. Given up trying to fix all the DRM mocks09:20
duflubrb09:21
RAOFmlankhorst: Still waiting for the build? :)09:29
mlankhorstnah was setting up my site09:36
mlankhorstwith ssl.. https://mblankhorst.nl/09:36
Mirvthe mir+mirslave on't publish next cu2d run if https://code.launchpad.net/~timo-jyrinki/unity-system-compositor/sync_to_archive/+merge/182554 + https://code.launchpad.net/~timo-jyrinki/unity-mir/sync_to_archive/+merge/182553 don't get merged09:40
mlankhorstRAOF: hm your build is a fail :P09:41
mlankhorstit built against the wrong mir?09:42
RAOFBoth build locally!!!!!09:42
mlankhorstof course but there's a newer mir in the distro archive09:42
mlankhorstwhich it built against09:42
RAOFArse09:42
RAOFJust force dependencies; mirclient ABI hasn't changed.09:43
mlankhorstboom, dead09:48
mlankhorst#0  NVSetScreenPixmap (ppix=0x7f84f7000490) at ../../src/nv_driver.c:61309:50
mlankhorstno bo attached yet, har har09:53
mlankhorst(gdb) print (struct nouveau_pixmap *)exaGetPixmapDriverPrivate(ppix)09:54
mlankhorst$6 = (struct nouveau_pixmap *) 0x009:54
mlankhorstdid you mean: nouveau_pixmap_bo ? :P09:54
mlankhorstI think you're worrying too much about scanout, tbh..09:56
mlankhorstRAOF: where do you see nouveau actually _using_ scanout?09:57
mlankhorstif you moved pScrn->displayWidth out from NVMapMem, I bet you could get rid of pNv->scanout entirely for xorgMir..09:58
RAOFA bit in nv_accel, but mostly in drmmode_display. It probably can be just wrong.09:58
mlankhorstI would think so :p09:58
mlankhorstbet it's the same for ati though10:00
katietvoss, ping10:00
tvosskatie, pong10:00
RAOFmlankhorst: Probably, yeah.10:01
RAOFmlankhorst: Do you want to patch that out locally, or do you need me to push a patch for it?10:04
mlankhorstsec10:05
mlankhorsttesting if nvmapmem can be skipped entirely10:05
RAOFLooks like it can, although fbScreenInit is probably going to want *something* moderately sane as displayWidth.10:06
mlankhorstyeah but it should10:10
mlankhorstprobably unconditionally set it from earlier10:10
mlankhorstRAOF: you still failed :P10:13
RAOFBooo10:13
mlankhorsthm GetScreenPixmap is null10:13
RAOFWat now?10:13
RAOFHow is getscreenpixmap null?10:13
duflutvoss: I have tested all the hardware I can test, and can't see any change in behaviour... but this might fix the test lab radeon issue: lp:~vanvugt/mir/bypass-drmModeAddFB210:14
RAOFThat's not my fault :)10:14
mlankhorstok it might want some more sanity for displayWidth then.10:14
tvossmlankhorst, can you test lp:~vanvugt/mir/bypass-drmModeAddFB210:16
tvoss?10:16
tvossmlankhorst, I'm mostly done setting up my amd machine, too10:17
duflutvoss: Still can't boot saucy with today's images either10:17
dufluMaybe I will have to try a BIOS. Somehow10:17
mlankhorstRAOF: hm the pixmap you create has no bo, and now nouveau_xmir_copy_to_mir crashes on that ;P10:19
RAOFmlankhorst: Huh. I don't immediately see why that would be the case.10:21
mlankhorstare you using createpixmap instead of createpixmap2? :p10:25
tvossduflu, I can totally reproduce the garbled screen issue on ati with qa-testing \o/10:26
tvossduflu, there is hope ;)10:26
mlankhorsthm seems so..10:26
duflutvoss: Woo10:26
RAOFmlankhorst: Neither; I'm using Screen->CreatePixmap10:26
duflutvoss: How garbled? Any lines?10:26
tvossduflu, completely garbled, I couldn't see a thing10:27
duflutvoss: Sounds like what I see with radeon on raring. I only assumed saucy would fix it cos alf said it worked for him10:27
tvossduflu, not working here10:28
tvossduflu, anyway, I can at least reproduce, compiling packages from your branch right now10:28
RAOFmlankhorst: Ah, maybe nouveau needs to migrate the pixmap in nouveau_xmir_copy_to_mir10:28
RAOF?10:28
duflutvoss: Excellent, thanks10:28
tvossduflu, ack10:28
mlankhorstRAOF: probably..10:28
mlankhorstRAOF: actually nouveau shouldn't, xmir should :P10:29
RAOFmlankhorst: Why?10:29
RAOFThere's no driver-independent way of doing that, at least that I know of.10:30
RAOFIt's a DDX-internal (or, really, EXA internal) implementation detail.10:30
mlankhorstexa is doing it :P10:30
mlankhorstRAOF: in that case is there any way to force it to be migrated into the driver?10:31
RAOFYou just need to throw an exaMoveInPixmap(src) at the top of nouveoau_xmir_copy_to_mir10:31
mlankhorstany idea why I didn't hit this before, though?10:33
RAOFmlankhorst: Because we weren't changing the screen resolution, so you got the fully-accelerated thing that nouveau creates on startup.10:37
mlankhorstalso no luck..10:38
RAOFNo fixy?10:39
RAOFStill no bo after exaMoveInPixmap()?10:39
mlankhorsthm seems there is simply no bo, driverprivate exists10:39
mlankhorstso width = 0 or height = 0 at time of creation, breaking on nouveau_exa_create_pixmap shows both were 0 at time of CreateScreenResources..10:46
RAOFOh! You're not hitting this after resize, but on startup?10:47
mlankhorstyeah10:49
RAOFOh. You're no longer creating pNv->scanout, are you?10:49
mlankhorstindeed10:49
RAOFSo when NVCreateScreenResources refs pNv->scanout into GetScreenPixmap()->bo…10:50
mlankhorstwell I fixed that one10:50
mlankhorstand that only happens later, it dies in createscreenresources before that point10:51
mlankhorsthm or not, let me rebuild just to be sure10:51
RAOFYeah, but you map anything into GetScreenPixmap()->bo?10:51
mlankhorsthm no, should it?10:52
RAOFProbably; as you say, the screen pixmap is created in miCreateScreenResources with width = height = 0 and then ModifyPixmapHeader'd.10:54
mlankhorsthow nasty..10:54
RAOFYeah, I'm not entirely sure why it does that.10:56
mlankhorstsetscreenpixmap is not even called though :P10:57
mlankhorstmiSetScreenPixmap isn't, at least10:58
mlankhorstRAOF: does xserver always use ModifyPixmapHeader to change resolution?11:00
RAOFHahahahahahha!11:00
RAOFModify resolution! Surely you jest!11:00
mlankhorstugh w/e11:00
mlankhorsts/change/during/11:00
RAOFNo; xserver doesn't modify resolution. It delegates that entirely to the driver.11:00
mlankhorstok so how does xmir handle it :P11:01
RAOFc/o randr.11:01
RAOFI use Screen->CreatePixmap(new_width, new_height, ...)11:01
RAOFThen set the screen pixmap & root window pixmap.11:01
RAOFBut that code doesn't get called on startup.11:02
RAOFOn startup it's just miCreateScreenResources shoving stuff directly into pScreen->devPrivate.11:03
mlankhorsthm adding exaMoveInPixmap(src) to createscreenresources probably worked11:09
dufluRAOF: tvoss showed me webcam of what looks like bypass working on radeon. But the stride is all messed up. Have you fixed any radeon stride-ness?11:09
mlankhorstsomething crashed though :P11:09
mlankhorstbut might just be the gpu *checks*11:09
RAOFduflu: What version of radeon/xmir?11:10
tvossRAOF, archive11:10
tvossRAOF, or better qa-testing, which is archive11:11
* RAOF tries to page that version of the driver back into my brain.11:11
tvossRAOF, sorry for the context switch11:12
RAOFduflu: There have certainly been stride-related *changes* between there and qa-testing211:12
dufluSo... get the DDX from qa-testing2?11:12
RAOFYou'd need both the DDX and xserver from qa-testing211:14
dufluOK, same bug or not, I'm reinstalling radeon. BRB11:14
tvossduflu, qa-testing shows the same pattern11:14
tvossduflu, slightly more noisy though11:15
duflutvoss: So the new branch made no difference. I recommend the old one (in qa-testing)11:15
dufluGoing to put radeon back in11:15
duflu5 min11:15
=== alan_g is now known as alan_g|afk
tvosshah, egl-triangle works perfectly fine :)11:16
tvossRAOF, would it work if I take X and radeon from qa-testing2?11:17
RAOFtvoss: Should, yes.11:17
tvossRAOF, ack11:18
RAOFWell, obviously modulo the Mir bugs you're trying to track down :)11:18
tvossRAOF, ;)11:18
tvossduflu, \o/ egltriangle is working perfectly fine on qa-testing11:18
tvosswith the noise in the background ;)11:18
duflutvoss: Umm, what?!11:18
tvossduflu, wanna see?11:19
dufluSure11:19
tvossduflu, calling you on g+11:19
tvossduflu, can you invite me to a hangout again?11:19
mlankhorstRAOF: but I think adding exaMoveInPixmap is enough..11:22
mlankhorstto NVSetScreenPixmap11:22
RAOFOooh, yeah. That's even better!11:22
tvossRAOF, ?11:23
mlankhorstRAOF: oh and add this to your .quiltrc11:23
mlankhorstQUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index"11:23
RAOFtvoss: mlankhorst's suggestion of moving the screen pixmap into VRAM in SetScreenPixmap. Rather than in nouveau_xmir_copy_to_mir.11:23
RAOFmlankhorst: OOOOH AWESOME.11:23
mlankhorstQUILT_NO_DIFF_INDEX=111:24
mlankhorstQUILT_NO_DIFF_TIMESTAMPS=111:24
mlankhorstand that :P11:24
hikikoalan_g|afk, I have an idea of something that might be wrong in the mir-on-mir design but I am not sure...11:24
mlankhorsthm I guess that one is more thorough11:24
=== alan_g|afk is now known as alan_g
tvossRAOF, I need xserver-xorg-common, xserver-xorg-core, xserver-xorg-xmir. Correct?11:28
alan_ghikiko: tell me11:28
RAOFtvoss: Correct.11:28
RAOFTechnically you don't need xserver-xorg-common, but dpkg will complain if you don't have matching versions :)11:28
tvossRAOF, exactly11:29
dufluArgh. Nested display stuff has broken bypass builds11:29
tvossduflu, why is that?11:29
alan_gduflu: how?11:29
dufluClass changes...11:30
dufluOr has my system switched to gcc-4.7 by accident too?11:31
tvossduflu, RAOF a lot better, but still not there11:32
tvossduflu, can you invite me to a hangout?11:32
dufluWhat's a lot?11:32
tvossduflu, I can log in to my session, and run glmark211:33
hikikoalan_g, I am not sure but as we have designed it we call the create_nested_display with a parameter that is the native display constructor which means that the native display constructor is called before the nested one and we initialize the gbm/drm etc before we have a nested platform and a connection etc but I am not sure if this is bad and if this has anything to do with the bug I have11:33
hikikostill investigating11:34
duflutvoss: Lost you... ?11:34
alan_ghikiko: *if* we need to initialize gbm after connecting to the host then that just means we shouldn't do it in the NativeDisplay constructor.11:37
hikikoyes, that's what I am checking now11:37
hikikoif moving this part11:37
hikikowill solve the issues11:37
RAOFmlankhorst: Are you able to upload to qa-testing2 / push a merge request to github?11:38
tvoss__duflu, can you call me again please?11:38
tvoss__duflu, internet connection dropped11:38
RAOFmlankhorst: 9:30 says “you're too tired to do any real work, go to sleep”11:38
hikikoalan_g, the thing is if I add the gbm code to the nested platform then it won11:41
hikikommm nothing :)11:41
alan_gduflu: I see - you're changing the DisplayBuffer interface and that is implemented in nested.11:42
* alan_g wishes folks would let code land instead of keeping it on branches for days on end11:43
alan_gduflu: want me to MP a fix?11:44
duflualan_g, please11:44
mlankhorstRAOF: well dno about the merge request stuff11:44
alan_ghikiko: ?11:46
hikikonothing I fixed it :)11:47
hikikoI changed the drm.setup call and now I get an exception that mir tries to get a drm device it shouldnt but that's easier to fix :)11:48
alan_ghikiko: cool11:48
alan_gduflu: https://code.launchpad.net/~alan-griffiths/mir/prepare-nested-for-bypass/+merge/18261011:58
=== alan_g is now known as alan_g|lunch
tvoss__mlankhorst, can you check if XMir on nouveau with qa-testing is working?12:09
* duflu -> dinner12:18
tvoss__greyback, got a machine with an nvidia card?12:21
greybacktvoss__: I do, but at home (am in my office)12:21
tvoss__greyback, ack12:21
tvoss__anyone with an nvidia card around?12:22
mlankhorsttvoss__: oh seems to work btw12:22
tvoss__mlankhorst, can you try x vs. xmir vs. xmir bypass with glmark2 please?12:24
mlankhorsthow? :P12:25
mlankhorstnot sure if it's going to be accurate either12:25
tvoss__mlankhorst, well, it's a bit tedious, and involves installing and uninstalling12:26
tvoss__mlankhorst, got time for that right now? or are you busy with other stuff?12:26
mlankhorstnot that busy, waiting for some compiles12:26
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
tvoss__mlankhorst, do you know your way around the xmir radeon driver?12:41
mlankhorstsort of12:41
=== alan_g|lunch is now known as alan_g
mlankhorstraof knows the pure X stuff a lot better than me, so for any deep architectural questions ask him, small things I can probably do :P12:42
tvoss__mlankhorst, can I show you something on a hangout? I think you know how to fix it12:42
kgunntvoss__: can i join for a status/data dump ?12:43
tvoss__kgunn, sure12:43
mlankhorstword description would be easier I think, if it's small :P12:43
tvoss__mlankhorst, well, with bypass, I'm pretty sure we have one stall frame coming from the X side12:43
tvoss__mlankhorst, easier if I can just show you what I'm seeing12:43
mlankhorsthm raof would know this kind of thing a lot more than me, I probably don't know about that ;P12:44
tvoss__mlankhorst, can you point me to the branch we are building from?12:45
tvoss__mlankhorst, will look myself then12:45
mlankhorstraof's github, xf86-video-ati12:46
mlankhorstthe ones in the archive are on debian12:46
mlankhorsthttp://anonscm.debian.org/gitweb/?p=pkg-xorg/driver/xserver-xorg-video-ati.git;a=shortlog;h=refs/heads/ubuntu12:47
kgunntvoss__: appears to be branch foo12:48
mlankhorstthe foo branch is for mm support12:49
tvoss__mlankhorst, ack and thx12:53
tvoss__olli, kgunn wanna jump on a hangout real quick?12:53
=== chihchun is now known as chihchun_afk
kgunntvoss__: good for me12:54
olliwfm, give me 2min12:55
tvoss__kgunn, sent you an invite12:55
tvoss__kgunn, can you open a hangout and invite me?12:55
kgunntvoss__: :)) sure12:56
=== hikiko is now known as hikiko|lunch
dufluOh, hello USA. I must be in the wrong place13:26
duflutvoss__, I'm finding new ways to make radeon do the same thing (noise without errors) but getting nowhere. Do you need me online?13:28
duflukgunn^ ?13:29
tvoss__duflu, not right now13:29
tvoss__mlankhorst, do you have any idea what radeonShadowWindow is supposed to do?13:42
mlankhorsthold on let me check13:42
mlankhorstreturn a pointer to the window in shadowfb13:44
=== chihchun_afk is now known as chihchun
mlankhorstshadowfb is just a b ig slab of memory encompassing all screens :)13:49
* kgunn notes... kgunn^ didn't alert me...huh13:54
=== hikiko|lunch is now known as hikiko
tvoss__mlankhorst, in radeon_kms.c14:07
tvoss__mlankhorst, line 205: mind explaining to me the stride calculation?14:07
tvoss__mlankhorst, that should be the stride in pixels, under the assumption that every pixel has got 8 byte, correct?14:09
alan_ghikiko: any progress towards nested GBM?14:10
mlankhorsttvoss__: no, *BITS*perpixel :P14:11
mlankhorsteg / 814:11
hikikoyes alan_g14:13
hikikoI found a bug14:13
hikikohttps://code.launchpad.net/~hikiko/mir/mir.fix-drm-version/+merge/18265314:13
alan_ghikiko: \o/ I'll take a look14:14
hikikoalan_g, I don't know if it's relevant to RAOF-duflu task but since it includes drm code I added them as reviewers14:15
hikiko(alf is on holidays :/)14:16
=== sam113101 is now known as sam113101_afk
mlankhorsthikiko: considering freeing NULL is allowed, maybe you can come up with a more compat version?14:26
hikikotrue :) I'll fix it14:28
mlankhorsteg if (!(drm_version = drmGetVersion(tmp_fd)) || !(drm_version->version_major < 1) || (drm_version->version_major == 1 && drm_version->version_minor < 4)) { drmFreeVersion(drm_version); } ; etc :P14:28
hikikooh14:29
mlankhorstbut I think that would fail, did you actually test it with drm as the only user?14:29
hikikoI thought you mean I free something that is null14:29
hikikowhat do you mean by drm as the only user?14:30
hikikoI tested with mir_server_basic mir_server_shell and nested mir mlankhorst14:30
hikikoI just ran it and print the version numbers with and without the change14:31
hikikowithout the change nested mir couldnt allocate any device with drm 1.614:31
hikikodo you think I have to test something more?14:32
mlankhorstI don't think they're identical, let me check..14:33
hikikook14:34
mlankhorstdrmGetVersion gets the driver version, which is dd_major/minor14:35
hikikoso I should get the di14:35
hikikoyou are right14:35
mlankhorstand is different for each driver14:35
hikikoif we want the interface version14:36
hikikowhy do we do it in a loop?14:36
mlankhorsta misguided attempt..14:36
mlankhorstat fixing a race condition, but it does not work14:36
hikikook I'll delete the MP then and check more tomorrow because it's almost the end of my day :)14:37
mlankhorsthikiko: who passes the fd, or do you open it yourself?14:37
mlankhorstif the fd is passed to you, you could kill the check and assume the version is correct14:37
mlankhorstfixing nesting14:37
hikikoyes that's what I did but then I thought that for some reason we need that check14:38
hikikoso I tried to "fix" it14:38
mlankhorstit's only required if opening the fd yourself the first time14:38
hikikothat's what I think we do14:39
=== alan_g is now known as alan_g|tea
hikiko        tmp_fd = open(dev_path, O_RDWR, O_CLOEXEC);14:39
hikikobut the thing is14:40
hikikowe run this code *after* we open the device14:40
hikikoand if the version is not the desired14:40
hikikowe close the device14:40
hikikois this correct?14:40
mlankhorstdrmSetInterfaceVersion is not really required for mir, just assume it's correct or other things would have broken down sooner..14:40
hikikook then I ll do an MP without any check at all14:42
mlankhorstsec, I had a nice check in nouveau for it14:42
mlankhorstdrmModeGetResources(fd), if it returns NULL kms is not supported :P14:44
mlankhorstfreed with drmModeFreeResources14:45
hikikomlankhorst, I think we do that check elsewhere let me see14:49
mlankhorstprobably but if you do that check first it should be good enough14:49
hikikoyes we do it at the beginning14:50
hikikoso I guess there's no need to do it again14:50
mlankhorstwell I think it's required for getting bus name, but meh14:52
=== alan_g|tea is now known as alan_g
tvoss__mlankhorst, how am I supposed to test mm from qa-testing2? Seems like xserver-xorg-xmir in there is built against trunk14:54
mlankhorsttvoss__: dpkg -i --force :P14:55
mlankhorstit's what I did anyway14:55
=== sam113101_afk is now known as sam113101
hikikohttp://manpages.ubuntu.com/manpages/raring/man3/drmModeGetResources.3.html mlankhorst it doesnt seem to give any information on the version14:58
mlankhorsthikiko: not really, but it only works if kms is available14:58
mlankhorstif (!drm_core_check_feature(dev, DRIVER_MODESET))14:59
mlankhorstreturn -EINVAL;14:59
hikikook that check is done at mir initialization14:59
hikikoso we don't need to do it one more time14:59
mlankhorstyeah but I fear it might break things, so try testing at least once without plymouth14:59
hikikoI am not using plymouth as far as I know mlankhorst15:00
hikiko:s15:00
hikikohow can I check if I use plymouth?15:00
mlankhorsthikiko: it's part of the boot sequence15:01
hikikoif you run unity I guess?15:01
mlankhorstremoving splash from linux cmdline options might be enough15:01
mlankhorstno, plymouth is the boot splash thing15:02
hikikoah ok I have disabled the splash and everything the first day I installed ubuntu :D15:02
hikikoso I don't have plymouth15:02
=== chihchun is now known as chihchun_afk
=== dholbach_ is now known as dholbach
=== dholbach_ is now known as dholbach
=== alex_abreu is now known as alex-abreu
=== alan_g is now known as alan_g|EOD
=== bschaefer_ is now known as bschaefer
kgunnmlankhorst: you still on ?17:28
tvoss__jibel, ping18:03
jibeltvoss__, pong18:07
hoodoowooballoons: are you handy?  I had a conversation with you yesterday, but I don't know if you're the one I should ping now (so please redirect as appropriate).  I'm eager to respond to a question, but I need a follow up to this question: https://bugs.launchpad.net/unity-system-compositor/+bug/1217262/comments/318:12
ubot5Launchpad bug 1217262 in Unity System Compositor ""sudo restart lightdm" always hangs/fails when using unity-system-compositor" [Undecided,Confirmed]18:12
balloonshoodoowoo, perhaps you had a different nick yesterday? :-p18:15
hoodoowooballoons: heh, yes, different computer18:16
hoodoowoo /account/work rules, etc.18:16
hoodoowoofrothnicator18:16
balloonshoodoowoo, ok, I saw your thread18:19
hoodoowoothe joys of being a friendly tester but without the development background to have no questions ...18:20
balloonsthe ppa is frozen during testing, so you would have to build from trunk i'd guess.. or use the unstable ppa, if the team is building it and they think that is sane18:20
balloonshttp://unity.ubuntu.com/mir/building_source_for_pc.html18:20
balloonsI'd defer to others in here on that18:21
tvoss__mlankhorst, around?18:21
hoodoowooballoons: noted.  I'm now on the idea of automated testing.  Have y'all thought about have a script as part of the PPA that testers can execute?  I ask because though I tried to go through the test scenarios, I don't know exactly what the developers need to see.  A script could extract these automatically.18:32
balloonshoodoowoo, there was an idea for a script that olli had, but time constraints led us here ;-)18:35
hoodoowooroger.18:35
hoodoowooballoons: from the outside, it seems like that script could be rather useful going forward.  Otherwise, you get stupid testers like me who don't know what their doing.  ;-)18:36
balloonshoodoowoo, :-) Just testing it and giving a thumbs up or thumbs down is important18:36
balloonsautomated tests are useful but they don't replace your experience, your machine, etc18:38
hoodoowoowell, then, thumbs up for the work in general (was impressed by the KMS integration, and auto-detection of the VGA cable).18:38
balloonsand they aren't as smart as someone look at it18:38
balloonsthanks for testing :-)18:39
hoodoowooballoons: ah, I was looking at the fact that the devs (I assume y'all?) don't have access to every machine, but do know exactly what you need to see.  On the other hand, various testers (like me), have machines and configurations that you don't have.  Hence the idea for the test script that you write, but I run.  But gotcha.  Hope I was helpful.18:39
hoodoowoo... thumbs up for work in general ... thumbs down for ability to complete some of the test scenarios, etc.18:40
kgunnhoodoowoo: thanks for testing....yeah, would've loved to get a bit more automated....but...clock killed us :)18:42
balloonsI'm not a dev, so I won't take any credit.. but I'm sure they are very happy to receive your praise.18:42
hoodoowookgunn: roger.  I don't know Canonical's internal time table, other than the stage freezes.  But again, I stress "going forward".  On that note, I'm out.  Time for a tester to stop wasting your time.  Thanks very much for the hard work.18:43
=== bschaefer_ is now known as bschaefer
tvoss__okay, it becomes interesting19:41
=== bschaefer is now known as bschaefer|lunch
=== bschaefer|lunch is now known as bschaefer
bschaeferkgunn, hey, got around to testing the u-s-c ppa and I get a black screen on boot :(, on ati 567022:59
bschaeferjust with 1 monitor22:59
* bschaefer didn't find anything to crazy about the logs22:59
kgunnbschaefer: ok...so purge that....get to a saucy only...then download & force install the xserver & x-driver from ppa:/mir-team/qa-testing2(not apt-get)23:00
kgunnit should boot to single monitor fine23:01
bschaeferkgunn, alright Ill give that a try!23:01
bschaeferyeah, thats what i was wondering about...23:01
bschaeferkgunn, but mir doesn't seem to like my ati card atm anyway23:01
bschaeferwhen I try to run it natively23:01
kgunnyeah...the guys updated the drivers on the problem platforms23:01
bschaefercool, but I think my problem is a bit different, its this gbm buffer failed to create (failing on a mmap)23:02
bschaeferwhich I need to sill dig into the radeon.ko stuff in the kernel...23:03
bschaeferkgunn, ill give it a try any way though, possibly something fixes it :)23:03
bschaeferkgunn, well single monitor works fine on saucy with xmir soo thats good, ill attempt MM now...23:16
kgunndrum roll (don't expect much)23:16
bschaeferhaha, well we shall see :)23:17
RAOFWoo!23:18
RAOFWhat fixed it for youL23:18
RAOF?23:18
bschaeferRAOF, hmm well im not sure why xmir is working ... but not native mir?23:19
bschaeferRAOF, as i've only ever had a problem with native mir23:19
RAOFusc doesn't try to allocate a cursor :)23:20
bschaeferRAOF, which is just a work around then :), cause I could get around that with native mir as well, but couldn't draw to a mir region...23:20
bschaeferill have to find sometime to do some digging into that problem23:20
bschaefergot a fun error in x-0.log: X: ../../../../include/privates.h:123: dixGetPrivateAddr: Assertion `key->initialized' failed.23:33
bschaeferand screen was black23:33
bschaeferusing xserver video ati, xserver from qa-testing223:34
bschaeferkgunn, ^23:34
RAOFbschaefer: Oooh, urgh.23:35
RAOFWhy is your machine so odd :)23:35
bschaeferidk...I usually use my laptop haha23:35
bschaeferbut its fired atm...23:35
bschaeferRAOF, good for testing I suppose :)23:35
RAOFkgunn: Do you happen to know the status of nouveau MM?23:36
bschaeferor bad...depending on how you look at it23:36
bschaefergrabbing these *.debs from qa-testing2... possibly I should have installed something else?23:37
bschaeferxserver-common xserver-xorg-core xserver-xorg-video-ati xserver-xorg-xmir23:37
RAOFbschaefer: Oh, you need xserver-xorg-video-radeon23:43
RAOFbschaefer: xserver-xorg-video-ati is a wrapper that just calls -radeon.23:43
bschaeferRAOF, let me try that!23:45
* bschaefer should have seen that based on the size of the ati one.. 25kb23:46
* bschaefer reboots23:47
bschaeferawesome! Things seem to be working23:53
bschaeferhave a nice 640x480 resolution on both23:53
bschaeferbut no overdraw/underdraw on my hdmi monitor which is very nice23:53
RAOFI suspect that trying to change the resolution at this point will cause sorrow.23:54
bschaeferit wont even let me :), well I could force it...but23:55
bschaefersorrow sounds bad23:55
* bschaefer tires it anyway23:56

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