/srv/irclogs.ubuntu.com/2012/08/31/#ubuntu-x.txt

RAOFtjaalton: Certainly. Could you add the reproduction steps from the patch to the bug?00:00
ml|vacationRAOF: hm, am I mistaken or is 1aud$ still .50$ in terms of what you can buy with it, except the echange rate says otherwise?02:25
RAOFml|vacation: Depends on what you're buying.02:26
ml|vacationfood02:26
RAOFml|vacation: *Domestic* prices haven't changed much with the higher AUD, obviously.02:26
RAOFIt's now substantially cheaper to buy things from the US in AUD, though.02:26
ml|vacationyeah :s02:27
ml|vacationbut as an outsider paying 4$ for some honey...02:27
ml|vacationused to pay half of that  or less  :)02:29
RAOFYeah. Sucks to be travelling *to* Australia.02:31
ml|vacationunfortunately for you if the exchange rate n02:34
ml|vacationormalizes again, they use that as excuse to bump the prices*02:34
tjaaltonRAOF: alrighty, I'll add that02:41
tjaaltonactually those steps need a newer xinput than what precise has, but you can simulate it with suspend/resume02:42
RAOFWhatever works :)02:43
tjaaltonml|vacation: hey, your valgrinding helped fixing the synaptics bug :)02:44
tjaaltonRAOF: ha, dronus added it already02:44
tjaaltonbut I'll edit the header02:44
ml|vacationtjaalton: great :)02:50
ml|vacationwill it be sru'd to precise too? :)02:50
tjaaltonuploaded already :)02:51
tjaaltonand accepted, it seems02:51
tjaaltonand works, I verified it02:51
ml|vacationso all the scary x bbugs are gone now?02:52
tjaaltonnice that the new version of xinput lets you disable/enable devices02:52
tjaaltonnot exactly02:52
tjaaltonthere's still this weird intel gpu hang causing compiz to spin (black screen, cursor changes). happens on quantal too :/02:52
ml|vacationoh, but the xi bugs are gone?02:53
tjaaltonand thumper said he could reproduce it immediately after login with the proposed unity stack from a ppa02:53
tjaaltonah, hope so02:53
tjaalton(i tried to reproduce the hang but couldn't)02:53
thumpernew driver?02:53
tjaaltonoh hey :)02:53
ml|vacationok well great, back to vacationing, ttyl :)02:54
tjaaltonml|vacation: yeah, cya02:54
tjaaltonthumper: so, I can reproduce it but only on resume, and not that frequently02:54
tjaaltonthumper: was wondering if your compiz/unity setup was something else than the ~default I have02:55
thumperyes, yes it is02:56
thumperI'm running pre-quantal branches02:56
thumperas in, stuff that should land in quantal soon02:56
tjaaltonme too, but the configuration of compiz?02:56
thumperppa:unity-team/staging has new compiz and unity02:56
thumpernothing special02:56
tjaaltonk02:56
thumpersorry, have to go02:57
thumpertime to get kids02:57
thumperand take the rest of the weekend off02:57
thumperkiwi pycon \o/02:57
tjaaltonmine will wake up in 1-2h02:57
thumperew02:57
tjaalton:P02:57
tjaaltonearly02:57
thumperthat's rough02:57
RAOFtjaalton: Is that compiz spinning, or compiz blocked waiting for a vblank?02:57
thumperhi RAOF02:57
RAOFthumper: Yo!02:58
tjaaltonthumper: got the strace somewhere?02:58
thumperRAOF: it is inside the driver02:58
* thumper digs02:58
tjaaltoncould get it from irclog..02:58
tjaaltonactually, my other laptop is hung like that now02:58
RAOFIs compiz burning CPU, or is it just not doing anything?02:58
tjaaltonI could dig one from that too02:58
tjaaltonnot burning cpu here02:58
tjaaltonunless I try to restart it iirc02:58
thumperhttp://pastebin.ubuntu.com/1173379/02:59
thumperRAOF: I do have to run02:59
thumperRAOF: no, compiz is idle02:59
RAOFOoooh.02:59
thumper100% cpu on something02:59
thumperbut none of the htop line items02:59
thumperso kernel maybe?02:59
* thumper really runs02:59
RAOFtjaalton: You've got the same thing?03:00
tjaaltonRAOF: dunno of the trace, but hung yes03:00
RAOFCan you attach gdb to compiz?03:00
tjaaltonprobably, should get the symbols first03:00
RAOFYeah.03:01
RAOFFrom thumper's trace, I guess one of two things: (a) compiz has taken out a ServerGrab and either it's on one of its other connection or mesa has its own X connection, or (b) compiz is currently GLX throttled, which would happen if it's got a SwapBuffers pending.03:02
tjaaltonthis is bug 966744 btw03:02
ubottuLaunchpad bug 966744 in compiz (Ubuntu Quantal) "[i965] Resume from suspend leaves me with black screen or a screen of the desktop before it suspended. Compiz hung in intel_update_renderbuffers() from intel_prepare_render() from brw_draw_prims()" [Critical,Triaged] https://launchpad.net/bugs/96674403:02
RAOFRight. So, Chris' UXA fix would be a fix for a pending swap that'll never complete, suggesting (b)03:07
tjaaltonthose are already in quantal03:08
tjaaltonand on the package for precise I put there, but someone could reproduce it still03:08
RAOFWhich means we've got another bug; and the same reasoning applies.03:08
tjaaltonright, entirely possible :)03:09
RAOFIf you can attach gdb to compiz, I'd guess you're blocking in _XReply, like thumper.03:09
RAOFThe next thing to do is to attach to the server, and see if you can match up compiz' Client.03:10
RAOFWell, actually, the *next* thing to do is to attach to the server and see if someone's got a servergrab, because that's easy.03:10
tjaaltonhttp://pastebin.com/raw.php?i=qBtsGKcE03:11
tjaaltonit's the same03:11
tjaalton(got some more symbols)03:11
RAOFRight. So, it's most likely either a server grab or the client being GLX throttled.03:11
RAOFWe can't really tell from the client side.03:12
tjaaltonok how do I check the server=03:12
tjaalton?03:12
RAOFAttach to the X server; there's a global serverGrab symbol you can print.03:12
RAOFSorry, grabState03:15
tjaalton$1 = 003:16
RAOFOk, so the quick and easy test is failed.03:17
tjaaltonbummer03:17
RAOFOh. Is the server blocked?03:18
RAOFie: where was the server when you connected gdb to it?03:18
tjaaltonWaitForSomething03:19
RAOFYeah, that'd be right.03:19
RAOFHm.03:26
RAOFYou know, you could iterate through the Client list, and see if any are throttled by GLX.03:26
tjaaltonok, how do I do that?03:28
tjaaltonmy gdb-foo is limited :/03:31
RAOFThere's a global clients[] array.03:34
tjaaltonshould I know it's length to print it?03:36
RAOFIt's of length MAX_CLIENTS03:36
RAOFEach client will have an ->ignoreCount; if that's positive, the X server is ignoring it.03:37
tjaaltonsure it's 'client[]'?03:38
tjaaltonuh03:38
tjaaltontoo early :)03:38
tjaaltonok, got pointers03:39
tjaaltonI mean, it returns ClientPtr03:40
tjaalton30 clients03:42
RAOFRight.03:43
RAOFAre any of them ignored?03:43
RAOFYou can use such constructs as for() and such :)03:44
tjaaltonstill figuring out how to get that info from the pointer :)03:45
RAOFIt should be the ignoreClient member of the ClientPtr; ?print clients[0]->ignoreClient? should print an integer?03:48
* RAOF spots a probable bug in IgnoreClient/AttendClient03:48
tjaaltonThere is no member named ignoreClient.03:49
RAOFSorry, ignoreCount03:49
RAOFSorry.03:49
tjaaltonyeah03:49
tjaaltonok let's see..03:49
tjaaltonok got one with = 103:51
tjaaltonignoreCount = 103:51
RAOFThat's *likely* to be the compiz one.03:52
RAOFParticularly if it's the only one with ignoreCount = 103:52
tjaaltonyeah just one03:52
RAOFTo be sure, we'd want to work out whether any of Compiz's drawables have DRI2DrawablePtr->swapsPending > 1.03:54
RAOFI can't, off the top of my head, think of a way to verify that, though.03:54
RAOFI think its' reasonable at this point to blame this on the intel driver scheduling a swap that never completes.03:55
tjaaltonyeah, I could show the trace to #intel-gfx once someone is awake03:56
shadeslayertjaalton: \o05:04
shadeslayerso here's some fun news, I got some time and messed about with grub a bit05:04
shadeslayerI can now disable the ATi discrete graphics05:04
shadeslayerstill have to boot with nomodeset since the lvds dual channel patches are not there in the ubuntu kernel05:05
shadeslayerin dmesg : [   20.258413] i915: `2' invalid for parameter `lvds_channels'05:05
shadeslayerunfourtunately, I don't how to compile my own kernel with lvds patches05:06
tjaaltonshadeslayer: huh, someone clearly failed to send them upstream then05:20
shadeslayerdunno, I think I saw them on lkml at one point05:21
shadeslayerthough I don't follow lkml so I don't know05:21
shadeslayeratleast now the thing doesn't heat up like a frying pan05:21
tjaaltonright05:22
=== chrisccoulson_ is now known as chrisccoulson
ml|vacationtjaalton: yay just applied the fixed version to this laptop, think it was having the same issue on suspend ;)09:18
tjaaltonyep09:19
tjaaltonwait, another bug?=09:19
tjaalton-=09:19
ml|vacationno, just didn't have proposed enabled09:19
tjaaltonah09:19
tjaaltonmesa 9.0 branched10:08
ml|vacationgreat :)10:08
* apw is seeing some background corruption on quantal, trying to work out if this is X or compiz13:03
ogra_apw, might be our new cubistic theme for ubiquity ....13:04
ogra_https://launchpadlibrarian.net/113965811/IMG_0170.JPG13:04
ogra_:P13:04
apwogra_, luckily not that :)13:05
tjaaltonapw: there's a known regression on intel < 96513:21
tjaaltoncompared to mesa 8.0.x13:21
apwtjaalton, we got any idea of a fix or is beta shipping wit this?13:22
apwtjaalton, this is an atom netbook, would i expect that to have the right version13:23
tjaaltonif it's i945, that's your bug13:27
apwtjaalton, how do i tell13:27
tjaaltoni just learned about the bug today13:31
tjaaltonlspci13:32
tjaaltonalso, we have a snapshot that's over a week old13:32
tjaaltonbug 104221113:35
ubottuLaunchpad bug 1042211 in mesa (Ubuntu) "[quantal] [regression] [i915] Corrupted display, desktop and menus don't repaint correctly using Mesa 9.0 (8.0.4 works)" [Critical,Triaged] https://launchpad.net/bugs/104221113:35
apwtjaalton, sysfs says this is an is_g33, and the pci_id points to intel_pineview_info ... so i assume its not 94513:36
apwthe damage i am seeing could easily be compiz as some of it is aligned well with the places it puts things13:37
apwtjaalton, that said the description is definatly the same i recon13:37
tjaaltonapw: yeah sounds like it's no the same bug13:38
tjaaltonoh :)13:38
tjaaltonwell, try the previous packages13:38
apwbacground a solid colour, menus appear and return to menu background13:38
apwso the background being mashed is being triggered by nautilus running there13:40
apwtjaalton, yeah seem to be this issue as far as i can tell, all the mitigations work as per daniel, though performance is mindbogglingly slow with them13:45
tjaaltonapw: but does downgrading fix it?13:47
apwwhich packages do nead, there seem to be 40 binary packages here for mesa13:49
tjaaltonlibgl1-mesa-glx, -dri should be enough13:52
tjaaltonthe bug has links13:53
apwtjaalton, thanks, here goes nothing14:06
apwneeds -glapi as well for reference14:07
apwtjaalton, ok confirmed, downgrading those mesa packages fixes it here14:08
tjaaltonah14:09
apwtjaalton, added the information to the bug, looks like basic netbooks are affected14:10
tjaaltoni believe it has i945 gfx, it should use i915_dri14:11
tjaaltonbut anyway, too late to update the snapshot today, but monday :/14:15
ml|vacationhehe :p14:15
ml|vacationargh forgot to copy the whole git tree over, linux kernel has no git history now :s14:16
tjaaltonstarted looking at the update but didn't get far before eod14:16
tjaaltongone again ->14:18
apwml|vacation, sounds like a mistake :)14:25

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