/srv/irclogs.ubuntu.com/2009/09/15/#ubuntu-x.txt

pwnguinalright. so i'm very lazy and only now upgraded my laptop to karmic06:04
pwnguinis 3d rendering now a requirement for rendering? ive got some odd rendering quirks with nouveau06:05
apwtseliot, hi, just had another occurance of the corruption and gpu hang.. updated the LP bug09:00
tseliotapw: ah, nice, let me update the upstream report09:01
apwthere is another GPU dump on there09:02
* tseliot nods09:02
tseliotdone09:04
tseliotapw: on a second thought I think I'll mark 429199 as a duplicate of 429241. After all, all the gpu dumps and all of the details are in the latter09:42
apwsure if you want to do that, i'd been keeping the corruption and non-corruption ones apart, but the former are the only ones i've hit since09:43
tseliotapw: also did you manage to reproduce 429191 and get a GPU dump?09:48
apwtseliot, not seen another occurance on my 10v yet09:55
tseliotapw: ok, mine was still very stable after 23 suspend/resume cycles...09:56
apwit seems much harder to trigger than the isues on the GM4509:57
apwand i use the GM45 based machine more too09:59
* tseliot has only GM45 chipsets at home10:05
tseliot:-(10:05
apwtseliot, then you are in for a world of pain like me :/10:11
* tseliot nods10:12
tseliotapw: isn't bug 429241 very similar to what they reported here: https://bugs.edge.launchpad.net/ubuntu/+bug/421736 ? (albeit with different chipsets)10:51
ubottuLaunchpad bug 429241 in xserver-xorg-video-intel "[GM45E] i915 graphics corruption and hang" [Undecided,Confirmed] https://launchpad.net/bugs/42924110:51
ubottuLaunchpad bug 421736 in xserver-xorg-video-intel "karmic: Compositing broken on resume from suspend" [Unknown,Confirmed]10:51
apwtseliot, there they seem to talk about 'partially transparent things become invisible ' and definatly i've seen that as part of my symtoms at times.10:55
apwthough they don't seem to talk about it then going on to lokc up solid generally10:56
tseliotapw: it's possible that you were facing two bugs, one of which could be 429241. I think I need to update the upstream bug report10:58
apwtseliot, give me a sec, as i think the fix for that was in10:59
tseliotok10:59
apwthe fix toted in bug #419264 was the one below:11:01
apwdrm/i915: Fix CPU-spinning hangs related to fence usage using an LRU11:01
ubottuLaunchpad bug 419264 in linux "Uses 100% CPU with latest mesa/libdrm update" [High,Fix released] https://launchpad.net/bugs/41926411:01
apwand that at least is in the karmic kernels i was running11:01
apwtseliot, dunno what that means for your upstream report update :)11:03
Ngapw: talking of G45 hangs, do you happen to know if http://bugs.freedesktop.org/attachment.cgi?id=29294 made it into any trees?11:04
NgI seem to have entirely lost the bug that that attachment came from :/11:04
Ngit's referenced in https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/424613 at least11:05
ubottuLaunchpad bug 424613 in xserver-xorg-video-intel "[i945GM] GPU lockup with intel 2:2.8.1-1ubuntu1" [Undecided,Confirmed]11:05
apwNg, no i do not see that commit anywhere11:06
NgI couldn't even begin to comment on its correctness, but it sounds like a good idea ;)11:06
Ngjbarnes wonders on http://patchwork.kernel.org/patch/45938/ if it's worthy of stable@kernel.org11:07
tseliotapw: sorry, I meant to say that, in addition to the GPU hangs you might be experiencing 421736. Does 419264 have anything to do with it?11:07
apwone referenced the other as a dup i thought, hrm perhaps it got unduped11:08
apwin which case you are right11:08
apwmay be there are two issues, that one, and general hanging11:08
Ngaha got it, it's https://bugs.freedesktop.org/show_bug.cgi?id=2233611:08
ubottuFreedesktop bug 22336 in Driver/intel "[i965] GPU hang with compiz, active system use" [Critical,New]11:08
apwNg, ok it does appear to be in the drm-intel drm-intel-next branch11:10
apwand interestingly its GM45 specific if i am reading the leader correctly11:11
tseliotapw: as regards this patch http://patchwork.kernel.org/patch/45938/ , would it be possible to put it in a PPA for testing (Intel would like to get some feedback about it)? This is for Freedesktop bug 22336 , as Ng said11:12
ubottuFreedesktop bug 22336 in Driver/intel "[i965] GPU hang with compiz, active system use" [Critical,New] http://bugzilla.freedesktop.org/show_bug.cgi?id=2233611:12
Ngapw: I have no idea what the process around this is, if upstream like it that much would we naturally cherry pick it? or wait for it to hit a 2.6.31.X?11:12
apwwell as its has been indicated as likely stable material we would expect to see it come via 31.x when that gets going11:13
Ngok :)11:13
apwhowever, sa its gm5 specific and talks about hangs, and i have GM45 with hangs ... i would be temped to pick it up and test it myself to see if it fixes _my_ issues11:13
Nghehe11:13
NgI too have GM45 and odd random hangs, so I'd be happy to test it too11:13
Ngbut I can't reproduce the hangs in any meaningful way, so the best I could do is "err yeah it hasn't hung today". my suspend seems to be broken too atm, so I'm having to do shutdowns when I go home, which is ruining my long uptime tests of things ;)11:14
apwhow it could have had this issue for so long and never hit it is a mystery11:14
apwNg, whats your suspend broken symptoms?11:15
tseliotapw: please test it if you can11:15
apwtseliot, i'll put together a test kernel against my GM45 curruption and hang bug and see hwo that pans out11:15
Ngapw: typically my laptop just doesn't suspend at all recently. it worked with 31-9, but around the -10 upgrade I also started testing all of Keybuk's boot stuff, so it's entirely possible it's his fault11:15
tseliotapw: great, thanks a lot11:16
apwheheh11:16
tseliotapw: did you have the desktop effects enabled when you experienced the suspend/resume hang with the mini 10v?11:46
apwyes always have compiz enabled11:47
tseliotthe netbook-remix UI tricked me into thinking that compiz was enabled...11:47
tseliotok, I'll try with compiz11:47
tseliotapw: can you try what Chris suggested in 429241 when you can, please?11:59
apwtseliot, does that imply ... i need that additional file when it next occurs, or is the live data good enough?12:02
tseliotapw: I think you need to get it (together with the GPU dump, etc.) after you reproduce the problem12:04
tseliotsorry for being a pain :-P12:04
apwtseliot, these things happen, its a complex problem12:04
apwtseliot, i've also asked chris if he can tell if we have a split command in those two, and pointed him to the wrap patch i am about to test12:07
tseliotapw: excellent, thanks12:09
* tseliot -> lunch12:18
tseliotapw: I sent you an email. It looks like you will have some testers with i965 for the patch14:34
apwtseliot, thanks ...14:40
apwi also see Albert has an idea what it might be14:40
tseliotapw: Alberto = tseliot ;)14:41
apwAlberto == tseliot, Albert == someone else tho.14:41
tseliotapw: who's Albert then?14:42
* albert23 is Albert14:42
apwa good question indeed :)14:42
apwhello :)14:42
apwalbert23, i do indeed have one such render error14:43
apw syslog.1:Sep 15 08:14:32 dm kernel: [ 7689.536305] render error detected, EIR: 0x0000001014:43
albert23Is that followed by the PBTBL_ER?14:43
tseliotaah, ok ;)14:43
apwalbert23, no it doesn't seem to be14:43
apwdoh yes it is14:44
apwegrep errror14:44
apwhmm happened in the middle of the suspend too14:44
apwSep 15 08:14:32 dm kernel: [ 7689.536305] render error detected, EIR: 0x0000001014:44
apw[...]14:44
apwSep 15 08:14:32 dm kernel: [ 7689.536315] page table error14:44
apwSep 15 08:14:32 dm kernel: [ 7689.536316]   PGTBL_ER: 0x0010000014:44
apwSep 15 08:14:32 dm kernel: [ 7689.536318] [drm:i915_handle_error] *ERROR* EIR stuck: 0x00000010, masking14:44
apwSep 15 08:14:32 dm kernel: [ 7689.552146] PM: suspend devices took 1.648 seconds14:44
albert23Looks like it14:45
apwok so i'll find and add that patch to my test kerenl14:45
albert23Might be worth to try the mesa fix then. It points to a freedesktop bug that's pretty similar to our bug14:46
albert23freedesktop bug 2325414:46
ubottuFreedesktop bug 23254 in Drivers/DRI/i965 "Compiz doesn't survive suspend/resume cycle" [Major,Resolved: fixed] http://bugzilla.freedesktop.org/show_bug.cgi?id=2325414:46
apwtseliot, ... is an updated mesa with that fix something you can spin for me14:51
apwi'll get this kernel made available too14:51
tseliotapw: ok, let me check what's changed in mesa and I'll put the package in a PPA14:52
apwsounds gooood to me14:53
tseliothah, it's just a one line patch14:56
apwtseliot, i see it would fit with the patch suggested for the kernel, checking the 'relocation points to within the object'14:57
tseliotapw: let's hope that a combination of the two patches fixes the bug14:57
tseliotat least one14:57
apwi am hoping the mesa fix is the whole thing14:59
apwthat the kernel change just catches it without the mesa fix ... will test that next14:59
tseliotsounds like a plan :-)14:59
apwtseliot, though both changes sound like things that should go to stable imo15:03
tseliotapw: I agree. I think we can upload them after the freeze15:04
apwif that mesa fix works we might want to see if ti can be uploaded for A6, as its a bit of a mess15:05
tseliotapw: slangasek might disagree ;)15:06
apwhe might, then he might not15:06
tseliotheh, it's worth trying15:06
apwobviously we need to test it first :)15:07
tseliotright. I'm building it now15:10
apwtseliot, most excellent15:10
tseliotit built \o/15:28
apwyay15:32
tseliotapw: I'm using this new PPA: https://launchpad.net/~albertomilone/+archive/x-testing15:33
apwtseliot, sounds great15:34
tseliotapw: I'll let you know when the upload is complete15:34
apwthanks15:34
tseliotapw: finished. It can take a while for it to build though15:39
apwyep and to publish, and ... and i need to test without first too to see if this other patch would have found it15:40
tseliotok15:46
apwtseliot, this kernel patch is _well_ unhappy with the default mesa15:48
apw  111.176361] [drm:i915_gem_object_pin_and_relocate] *ERROR* Relocation beyond target object bounds: obj ffff88010895da80 target 2 delta 153751552 size 16777216.15:48
apw[  111.176366] [drm:i915_gem_execbuffer] *ERROR* Failed to pin buffers -2215:48
apw[  111.249110] [drm:i915_gem_object_pin_and_relocate] *ERROR* Relocation beyond target object bounds: obj ffff88010895da80 target 2 delta 153751552 size 16777216.15:48
apw[  111.249115] [drm:i915_gem_execbuffer] *ERROR* Failed to pin buffers -2215:48
tseliotapw: what is it that fails?15:48
tseliotoh15:48
apwtseliot, producing about 5 on login, thats before any apparent problems15:49
apwhalf my screen is missing too :)15:49
apwso _if_ that check is right, its well broken :)  what does the mesa fix change?15:49
tseliotapw: it fixes the relocation delta15:50
tseliot  drm_intel_bo_emit_reloc(brw->wm.surf_bo[unit],15:50
tseliot  offsetof(struct brw_surface_state, ss1),15:50
tseliot  region_bo,15:50
tseliot- surf.ss1.base_addr,15:50
tseliot+ surf.ss1.base_addr - region_bo->offset,15:50
tseliot  I915_GEM_DOMAIN_RENDER,15:50
tseliot  I915_GEM_DOMAIN_RENDER);15:50
tseliot       }15:50
apwoh thats pretty seriously off :)15:50
tseliotno wonder you're getting some weird relocation problems15:51
tseliot;)15:51
superm1tseliot, would you mind pushing bug 385658 to your x-testing PPA so we can get some testing going on it?15:51
ubottuLaunchpad bug 385658 in xorg-server "'nv' is selected when no xorg.conf is present even if it doesn't support the nvidia hardware" [Unknown,Confirmed] https://launchpad.net/bugs/38565815:51
tseliotsuperm1: it's on my todo list. I haven't had the time to look at the patch yet15:52
superm1ok15:52
tseliotit looks like there's a problem in the chroot of the PPA :-/15:53
apwtseliot, ?  noooooo i need that .deb :)15:53
tseliotapw: do you use i386?15:54
tseliotif so, I can upload my packages to my webspace15:54
apwamd64 on the box in question15:54
apwdamn damn damn15:55
tseliot:-/15:55
tseliotapw: do you want to build the source yourself?15:55
apwtseliot, can do15:55
apwhow painful is it deps wise15:56
tseliothttps://launchpad.net/~albertomilone/+archive/x-testing/+files/mesa_7.6.0~git20090817.7c422387-0ubuntu4.diff.gz15:56
apwyou should report that thing too15:56
tseliothttps://launchpad.net/~albertomilone/+archive/x-testing/+files/mesa_7.6.0~git20090817.7c422387-0ubuntu4.dsc15:56
tseliotapw: I've just reported that15:56
tseliothttps://launchpad.net/~albertomilone/+archive/x-testing/+files/mesa_7.6.0~git20090817.7c422387.orig.tar.gz15:56
tseliotapw: don't you use pbuilder?15:57
apwtseliot, pbuilder no15:58
apwi build so very few packages i've never needed it15:58
apwits on my list to investigate 'when i have a moment' and has been for 4 months15:58
tseliotapw: that would make things easier for you. This way I can build packages for karmic, jaunty, etc.15:58
apwi have the chroots etc, so i can build on the right one etc15:59
tseliotapw: to be honest, I use "pbuild" which is a script that makes pbuilder even easier15:59
* apw adds that tot he list16:01
* tseliot has a look at superm1 's patch16:02
apwtseliot, that didn't build for me16:11
apw/usr/include/drm/radeon_cs.h:181: error: 'RADEON_GEM_DOMAIN_VRAM' undeclared (first use in this function)16:11
tseliotapw: how did you build it?16:12
apwdebuild -b in a chroot16:12
tseliotapw: did you update your chroot and did you make sure that all the dependencies were satisfied?16:14
apwi installed the build deps yeah16:15
* apw updates it more16:15
tseliotweird16:16
* apw gets grumpy ... this should be easy to test16:16
apwtseliot, the range check is looking good16:16
apwscreen is mush, but very stable16:16
apw10s/r without loss16:16
tseliotapw: nice16:17
apwits puking every update of course, mesa is a bad boy16:17
tseliotyes, I know...16:17
tseliotwelcome to my world16:17
apwas bad as the kernel ... 16:18
tseliotheh, right16:18
apwand hanging X == the worst of both in the mix16:20
tseliothehe16:21
tseliotBTW:16:21
tseliot+# Copyright 2007 Red Hat Inc.16:21
tseliot+# This crappy script written by Dave Airlie to avoid hassle of adding16:21
tseliot+# ids in every place.16:21
tseliotLOL16:21
apwheh16:22
apwtseliot, so what package do i need to install from the output of this build ... i assume not all of it is needed16:25
albert23apw: I only updated libgl1-mesa-glx and libgl1-mesa-dri16:27
apwcool.  i'll do the same ... once it finishes building yawn!16:28
tseliotapw: libgl1-mesa-glx libgl1-mesa-dri libglu1-mesa16:28
apwtseliot, is there a any docs on what the various layers actually do16:29
apwi assume mesa is the hardware abstraction layer for 3d16:29
tseliotapw: also, can you try and see if Option "AccelMethod" "EXA" (in the Device section of xorg.conf) helps with the ATI card?16:29
jcristauisn't exa the default?16:31
apwi thought so, but hey, its a heap anyway ... can't make it worse16:31
tseliotjcristau, apw: the log says that xaa is being used (don't ask me why)16:32
apwtseliot, it occurs to me that the symptoms on there included the missing borders and stuff16:32
apwignore that thought16:33
apwtseliot, ok chaning that and enablinb compiz looks like its hung completly16:33
tseliotapw: as regards mesa, try http://www.mesa3d.org/ and http://dri.freedesktop.org/wiki/16:33
tseliotapw: ouch, can you add a comment here, please? http://bugs.freedesktop.org/show_bug.cgi?id=2392816:34
ubottuFreedesktop bug 23928 in Driver/Radeon "ATI graphics corruption with compiz" [Normal,New]16:34
tseliotsuperm1: I don't see why that shouldn't work. Did you test it?16:35
superm1tseliot, Yup16:36
superm1i've got some of this hardware that fails without it16:36
tseliotsuperm1: ok, let me add a comment (basically my +1) in the bug report16:37
superm1i'm not really sure more widespread testing is necessary given how straightforward it is, just needed a few pairs of eyes to make sure it looked acceptable (imo)16:37
tseliotsuperm1: caution is never enough. Not that I see why your patch should fail. A bunch of testers should be more than enough.16:46
tseliotapw: any luck with the build?16:46
superm1Ok, can you push it to a PPA then?16:46
apwtseliot, yep just installing and booting it now16:47
tseliotapw: great16:47
tseliotsuperm1: would this be ok? https://launchpad.net/~albertomilone/+archive/x-testing16:47
superm1sure16:47
apwtseliot, ok that mesa update gets rid of the kernel bitching about the reloc16:51
tseliotsuperm1: uploaded. I hope the chroot it's not broken16:51
tseliotapw: and can you see the whole screen now?16:52
apwyep normal service is also returned for my screen ...16:53
tseliot:-)16:53
* apw does some suspend/resume testing16:54
apw5 s/r's and counting16:55
* tseliot made the dell mini 10v freeze completely (black screen) without the patches after 6 suspend/resume cycles16:57
* tseliot is downloading the new kernel for testing16:58
apwtseliot, _nice_16:59
tseliotheh16:59
apwmy machine seems pretty stable so far ... obviously only time will tell but 4 s/r's were typically fatal16:59
tseliotapw: very well, I'll test the fix here too17:00
tseliotsuperm1: can you upload a package for me, please? (slangasek is ok with this)17:29
superm1sure17:29
tseliotsuperm1: http://albertomilone.com/ubuntu/karmic/mesa/toupload.txt Thanks17:32
superm1tseliot, you'll have to point me at it though.. :)17:32
superm1Ok. cool17:32
superm1is that the same one that apw just test built locally? so  i can skip a test build right?17:33
tseliotsuperm1: yes, I only changed a detail in the changelog17:34
superm1ok thanks17:34
apwtseliot, do we know why the PPA builders are sick on this one?17:35
superm1tseliot, i didn't see the -nv on you x-testing ppa yet, you sure you uploaded it?17:35
tseliotsuperm1: yes, I did but the PPA is broken :-/17:36
superm1but the source didn't even publish?17:37
tseliotapw: I'll bug lamont again17:37
superm1must be *very* broken :)17:37
tseliotsuperm1: no, sorry17:37
superm1is it just your PPA, or the whole PPA system?17:37
superm1i can just pop it on one of mine instead if 'ts just yours17:37
tseliotsuperm1: I hope it's just mine17:38
apwtseliot, is it something to do with upstart and mountall and things not installing?17:39
apwif so its affecting the whole build system ... someone broke it17:39
superm1awesome17:40
tseliotapw: The following packages have unmet dependencies:   sysv-rc: Breaks: initscripts (< 2.86.ds1-63) but 2.86.ds1-61ubuntu16 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.17:40
tseliotd'oh!17:40
apwyeha thats the overall mess.  the archive admins are applying hammers to it17:41
apwit sounds like something which has been laying in wait for a while, a dep circle which is only hit if you upload both packages at the same time17:42
apwtseliot, hows the 10v, how many s/r did it survive?17:42
tseliotapw: 6 or 7 without problems17:43
apwmost unexpected17:43
apwnow my 945 is fixed i am going to test on here too17:43
apw(another 10v)17:43
tseliotgood :-)17:43
apwif i add the kernel only and see the same vomit from Reloc tests i think we could17:44
apwcall my other bug a dup of the main one17:44
apwwill do the testing now17:44
tseliot:-)17:46
tseliot12 suspend/resume cycles and still no problem whatsoever17:50
apwtseliot, yay17:53
tseliotapw: ok, I guess that 20 suspend/resume cycles are enough ;)17:58
tseliotI should stop before I break the netbook lid :-P17:58
apwheh yeah ... you can wake it with the power button17:59
tseliotright17:59
tseliotapw, superm1: it looks like it will take a while before the PPAs are fixed18:07
tseliotjust FYI18:08
superm1archive is broke too it looks like18:08
superm1that mesa upload FTBFS all across the board18:08
tseliot:-(18:11
* tseliot -> dinner18:16
=== michael__ is now known as michaellarabel

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