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

tjaaltonbryce_: there's a(nother) patch which might fix the wacom crashes, I'll prepare a new server on my PPA06:41
bryce_ok06:41
Mirvhmm, if I get a freeze today, have to check ssh:ing and killing compiz. earlier I just did alt-sysrq-k (to get garbled screen ie. change to terminal) and ctrl-alt-delete to reboot cleanly06:45
bryceI >just now< had a freeze06:51
bryce2nd one since downgrading to 7.306:51
bryceI was tabbing back and forth quickly and it locked06:51
brycewent to another machine and killed compiz, but still was locked06:51
tjaaltonok, so mesa is off the hook?-)06:52
brycewell, compiz is off the hook at least06:54
tjaaltons/mesa/mesa upgrade/06:54
brycetjaalton: well, take a look at https://wiki.ubuntu.com/X/Bugs/IntelDriver06:56
brycetjaalton: notice the number of freezes first reported around 4/7-4/1006:57
bryceallow for a day or two of suffering before reporting, puts you at 4/5 or earlier06:57
brycenow look at this list of stuff that was changed around that timeframe:  https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/35939206:58
ubottuLaunchpad bug 359392 in xserver-xorg-video-intel "[i965] X freezes starting on April 3rd" [Critical,Triaged]06:58
tjaaltonbut if downgrading mesa didn't help..06:58
brycebefore I downgraded, I got a freeze within 2 hrs.  After downgrading, my first freeze came 24 hrs later, the second freeze came another 48 hours later06:59
tjaaltondebugging is easier if it happens more often ;)07:00
* tjaalton runs07:00
bryceseriously though, I just threw a dart at that list and mesa looked like the ripest candidate07:00
bryceopen to other ideas07:01
brycenothing else on that list really strikes me as likely07:01
bryceit's possible it's been freezing up all along, since I usually turn compiz off after testing it for a while07:02
superm1looking from the other side, there is that patch on mesa 7.4.x git that is supposed to address intel deadlocks. perhaps helpful to go in the right direction?07:02
bryceforwards is a nice direction too...07:02
superm1i dont know the circumstances of the deadlock that patch is supposed to address though, might be completely unrelated deadlock07:03
tjaaltonsuperm1: which one07:04
tjaalton?07:04
MirvI see only a generic non-intel one07:05
superm1yeah that's right my bad.  it is generic07:05
tjaaltonand I see only DRI2-related intel fixes07:05
superm1http://cgit.freedesktop.org/mesa/mesa/commit/?h=mesa_7_4_branch&id=d805c82068feffda03266855a843de261a45865c07:05
Mirvwell it's generic, but of course might have been done because of an intel problem07:05
tjaaltonah, innocent-looking commit header07:05
brycewhat about 174_set_bg_pixmap_of_cow_to_none.patch to xserver07:06
tjaaltonor bumping the max texture size07:06
brycefits the timeframe, and it futzs with how compiz works07:07
tjaaltonupstream declined it for 7.4 and idr pointed out that it would need other changes too..07:07
tjaaltonwhich then broke radeon07:07
brycewhich patch is that one?07:07
Mirvit's in mesa07:08
bryceahhhhh07:09
brycenow _that_ could explain why we have only gotten reports on i96507:09
tjaalton103 in mesa07:09
tjaaltonbump_965_texture_limit07:09
brycesince only i965 supports the 4kx4k textures anyway07:09
tjaaltonright07:09
bryceI'll try a build with that disabled, that is a very good hypothesis07:10
bryceswitching machines...07:10
MirvI'm also running mesa without 102/103/104 patches now.07:10
tjaaltonMirv: and still froze?07:10
Mirvtjaalton: not yet07:11
tjaaltongood :)07:11
superm1okay i've got a fix for bug 35524207:12
ubottuLaunchpad bug 355242 in mesa "mythfrontend.real crashed with SIGSEGV in QGLWidget::resizeEvent()" [High,Fix committed] https://launchpad.net/bugs/35524207:12
superm1that involves adding a very small patch07:12
tjaaltonnice!07:12
superm1http://pastebin.com/f426f1a5e07:13
bryce_weird, lost my network-manager key07:14
superm1is git.debian.org not working right now?  this is my first time pushing to it, so i might just be messing up something with it..07:18
tjaaltonseems to be out of reach atm07:18
superm1okay i'll try to push again before i go to bed, otherwise i'll try again in the mornin07:19
bryce_hrm, firefox won't start now07:20
tjaaltonsuperm1: attach it to the upstream bug too07:20
tjaaltonoh, done already07:20
bryce_tjaalton: seen siretart's post about reverting to the intrepid -intel?07:22
tjaaltonbryce_: will he maintain it then?-)07:25
tjaaltons/will/would/07:25
bryce_yeah07:25
bryce_I'll feel pretty sheepish if the solution to all our problems is just to go back to 2.4.1 ;-)07:25
tjaaltonheh07:26
bryce_oh hell, git.debian.org is down eh?07:26
tjaaltonif only the greedy patch would work07:26
tjaaltonyes07:26
bryce_well, even if the patch worked, slangasek says on his system greedy turns firefox black07:27
tjaaltonah07:27
tjaaltonwould -intel then have to replace/conflict the -intel-2.4 package?07:28
bryce_dunno07:28
tjaaltonseems to be the other way around07:32
superm1bryce, were you planning on pulling in 775ca8e3fa5ddf090115907c78889ed8311cd3ae to fix freedesktop bug 20479 too?  I have a sneaking suspicion it's going to solve the other mythtv mesa bug07:33
ubottuFreedesktop bug 20479 in Driver/Radeon "[R100 Mobility M7 7500] Problems with 16bit mode using radeon driver" [Normal,Resolved: fixed] http://bugzilla.freedesktop.org/show_bug.cgi?id=2047907:33
superm1i'm doing another build with it to verify tho07:33
brycegood god, froze again07:33
brycein the middle of an upgrade to boot07:33
bryceheh, after upgrading mesa to 7.407:34
tjaaltonah, maybe I know why it hasn't frozen on me yet..07:34
brycebut shouldn't I have had to reboot before that takes affect?07:35
tjaaltonI've got libgl1-mesa-dri without our own patches07:35
tjaaltoninstalled07:35
tjaalton7.4-0ubuntu1 UNRELEASED :P07:35
bryceahhhhhghgh07:35
tjaaltonso, the texture size bump is a very good candidate..07:35
brycedude, that's not the sound of pieces falling into place is it?07:36
tjaaltonhehe07:36
tjaaltonnormally these are upgraded with the proper versions from the archive, dunno why it didn't happen this time..07:36
Mirvdunno, but same here, not showing as being upgradeable07:37
bryceI was in the middle of rebuilding mesa without that patch when my system froze :-P so let's try that again...07:37
tjaaltonI'll upgrade now to make sure it hangs here too07:37
MirvI'm pretty happy if I don't get hangs anymore, so not upgrading :)07:38
tjaaltonbryce_: so the hang you're seeing with 7.3 is probably fixed in 7.4 ;)07:39
brycehahaha07:39
bryceyeah, I probably traded a once a day hang for a once an hour hang ;-)07:40
tjaaltonand now we are all laughing at it :P07:40
tjaalton(if it really _is_ fixed by dropping patch 103..)07:41
bryce*build build*07:50
tjaalton*crash crash*07:51
Mirvtjaalton: not funny ;)07:52
brycehey, I'll take *crash crash* over *Freez... any day07:52
MirvI'm doing my "compile very important work-related stuff" thing, it has usually been good at reproducing any freezing problem07:53
tjaaltonMirv: I'm trying to make mine crash/freeze :)07:54
bryceso far no one's found good steps to reproduce07:55
brycehowever having firefox loaded, and alt-tabbing seems like a good approach maybe07:56
tjaaltonyeah, big windows07:58
bryce_I've got the mesa builds, but am waiting for one more freeze before applying09:55
knomebug #36156810:14
ubottuLaunchpad bug 361568 in nvidia-graphics-drivers-180 "Black areas appear on the screen randomly" [Undecided,New] https://launchpad.net/bugs/36156810:14
Mirvmesa 7.4 without patches 102/103/104 is still solid here. I think I used to encounter crash this far to a work day previously.11:34
Mirv(if using compiz, like now)11:34
bryce_Mirv: still having trouble reproducing crash one last time..11:36
bryce_X is surprisingly stable when you don't want it to be11:37
=== albert231 is now known as albert24
=== albert24 is now known as albert23
quassel208https://bugs.launchpad.net/ubuntu/+bug/36129112:21
ubottuLaunchpad bug 361291 in ubuntu "regressions in kde4.2.2" [Undecided,New]12:21
quassel208say ubuntu dictators thake a look at the other site, there are bugs that need to be fixed, like freezing and the regressions12:22
tjaaltonhit'n'run12:26
mvotjaalton: I was just debugging #351394 and it seems that the "nv" driver is not supporting some cards (9600gt in the bugreport). I assume I can use /usr/share/xserver-xorg/pci/nv.ids to detect what can be used with nv?12:34
siretart`hey there12:34
jcristaumvo: nv.ids has a (strict) subset of the supported hardware12:35
siretart`martin olsson suggested that I should talk to you on ubuntu-devel@l.u.c12:35
mvojcristau: thanks. out of curiosity, why is it a subset? is there a better way to get the full set?12:37
jcristauhttp://cgit.freedesktop.org/xorg/driver/xf86-video-nv/tree/src/nv_driver.c#n79712:40
jcristausee NVIsG80 and NVIsSupported12:40
* mvo looks12:40
tjaaltonhahaha, bug 36163912:40
ubottuLaunchpad bug 361639 in xorg "unneccessary dependency from xserver-xorg to hal" [Undecided,New] https://launchpad.net/bugs/36163912:40
tjaaltonit's spreading12:40
jcristaumvo: and then there's the fun with NVGetPCIXpressChip which i'm not sure i understand12:41
jcristautjaalton: have fun :)12:41
tjaaltonyeah, the -nv is a mess12:41
tjaaltonjcristau: I should probably wishlist/in-progress it :)12:42
tjaaltonsiretart`: you are planning to put -intel-2.4 in universe?12:44
siretart`tjaalton: I've suggested that on the mailing list, since it happens to work for me.12:44
siretart`tjaalton: scottk then told me that I'd need another ACKs from motu-release from that.12:44
tjaaltonsiretart`: what happens when it's removed from the archive?12:45
siretart`tjaalton: if what gets removed?12:46
tjaaltonsiretart`: -intel-2.4, it's not going to be there forever :)12:46
siretart`tjaalton: yes. so what?12:46
tjaaltonbesides, I'm sure there would be bugreports against the maintained packages..12:46
tjaaltonsiretart`: -intel would have to Replace it right?12:47
siretart`why?12:47
tjaaltonto support upgrades?12:47
siretart`oh, I'm not suggesting to include it in main, nor install it by default12:48
tjaaltonI understand, but people won'12:48
siretart`therefore IMO there is no point in considering upgrade paths12:48
tjaaltonduh12:48
jcristauyou'd probably need conflicts and replaces, since they'd presumably share some files12:48
tjaaltonstill, it's going to haunt the team12:48
tjaaltonjcristau: -intel-2.4 has them12:48
siretart`yes, the intel-2.4 conflicts, replaces and provides the -intel package12:48
siretart`it is a hack for people with hardware that happens to work better with the 2.4 branch until the 2.7 branch matures for older intel chips like mine12:49
tjaaltonI'd prefer to keep it in a PPA..12:49
siretart`k12:50
siretart`would you please mention that on the mailing list so that others can comment on that?12:50
tjaaltonyes12:50
=== seb128_ is now known as seb128
tjaaltonfinally managed to freeze compiz16:27
tjaaltonssh works16:27
jbarneswhat's the backtrace look like?16:37
tjaaltonchecking16:38
tjaaltonnote that this is with the "bump the texture size on 965" patch16:38
tjaaltonI haven't been able to crash it with plain mesa 7.416:38
jbarnesyeah iirc there were some other places that needed fixing with that16:39
tjaaltonanyway, here's the backtrace: http://pastebin.ubuntu.com/15150616:43
jbarneslooks like it hung the chip somehow16:44
tjaaltonmouse works, but that's it16:45
tjaaltonkilling X hung it for good16:57
MirvI've had quite a heavy day without any crashes using 102/103/104 patches, so this is starting to look relatively clear17:16
MirvI mean freezes17:16
Mirvand without using, ghr.17:17
Mirvnow that I have this working so well, I won't try putting the texture size patch back since I enjoy this :)17:18
brycejbarnes: check https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/358574 which I think is the same bug, and has some kernel error messages to it18:27
ubottuLaunchpad bug 358574 in linux "[drm:i915_gem_idle] *ERROR* hardware wedged" [Medium,Triaged]18:27
jbarnesbryce: it's possible, I'm not too familiar with the texture size stuff18:36
brycejbarnes: btw, one option I'm considering for solving the performance issue is to just switch greedy migration back on18:58
brycethis is patch http://launchpadlibrarian.net/25354124/05_intel_exa_force_greedy.patch we carried back in hardy18:58
brycehowever, unfortunately it causes a segfault:  https://bugs.edge.launchpad.net/ubuntu/+source/xorg-server/+bug/36079818:58
ubottuError: This bug is private18:58
jbarnesMichel recently suggested disabling Migration optimization altogether18:59
jbarnesOption "EXAOptimizeMigration" "off"18:59
jbarnesin fdo bug 2073918:59
ubottuLaunchpad bug 20739 in nobootloader "Install mkvmlinuz and create vmlinuz on pegasos." [Medium,Fix released] https://launchpad.net/bugs/2073918:59
bryceahh interesting; I'd missed that18:59
jbarnesI've never tried it... sounds promising though19:00
brycecool, will give it a go, thanks!19:01
brycejbarnes: oh btw on the i965 freeze, dunno if you saw the scrollback but current working theory is that it is caused by 103_bump_965_texture_limit.patch19:04
jbarnesyeah saw that... good to isolate it19:04
jbarnesupstream mesa may already have a fix19:05
brycefits with the evidence that it is i965-specific19:05
jbarnessince I remember hearing about something similar shortly after the texture size bump went in19:05
tjaaltonidr explained that the other commit would break radeon19:05
bryceah interesting, on which list?19:05
tjaaltonmesa3d-dev19:06
tjaalton7.4 rel candidate 1 thread19:06
bryceok19:06
tjaaltonso I'd just drop it and reopen the bug it fixed..19:07
brycetjaalton: are we fairly convinced this is the case?  I'm going to go test my laptop with it dropped... however since reproducing the freeze takes so long, would be nice to have the external verification that others have pinpointed to this patch19:08
tjaaltonbryce: the other patch fixes tfp for dri2, so patch 103 should be the only one that matters with exa19:11
bryceInteresting:  "Each time we bump up the max texture size it means we also increase the max drawing surface size (render to texture and all that).  One consequence of this is the fixed point arithmetic in the swrast triangle code may start failing."19:11
bryceok, bbiab.  testing time19:12
brycein complete irony, I finally gave up trying to reproduce the freeze on my laptop, and the exact moment I went to install the mesa debs, guess what20:09
bryceplunk20:12
tjaaltonheh20:13
bryceok, booted with the "fixed" mesa, now to wait and see if it freezes...20:20
Mirvbryce: so I have 102/103/104 patches disabled and definite improvement, so if it's not tfp/dri2 patch (on exa!) or one-line vblank patch (theoretically could be), it's pretty surely the bump texture patch20:22
MirvI couldn't work for a full day with compiz enabled earlier20:22
brycesweet20:23
bryceMirv, did you need 102 or 104 disabled?  It'd be interesting to know if you get the same benefit with only 103 disabled20:24
tjaaltonMirv: actually, you should need 10220:40
tjaaltonI mean, you want it, since vblank still has issues and it was disabled again a while back..20:41
bryceheya tormod21:38
keestjaalton: I think I've got a dup of 358643, but it crashes in a different place.22:08
keestjaalton: 36197222:09
tjaaltonkees: ok, there are a couple of candidates to try22:12
tjaaltonkees: http://cgit.freedesktop.org/xorg/xserver/commit/?id=efa31092d6703397121a0ada4f7205a8ecad3d3d22:13
tjaaltonand 1df6716281579e2937743d840ab1079343c503ac22:14
tjaaltonfor the server22:14
keestjaalton: okay, cool.  I have other stuff I have to do first, but if there are packages built to test those fixes, I can do that.22:15
tjaaltonthere aren't yet22:15
tjaaltonmaybe I could push those to my ppa22:15
tjaaltonand test it myself :P22:18
tjaaltonactually, no time for testing, but it's uploaded22:32
tjaaltonkees: it'll show up in https://edge.launchpad.net/~tjaalton/+archive/ppa22:33
tjaaltonincludes the first commit, which should fix crashes when the configfile has devices that aren't present22:33
tjaaltonnot necessarily the same as the other bug22:34
keestjaalton: okay, thanks.22:37
keestjaalton: let me start my VMs again, one sec22:44
tormodhi bryce :)22:45
tjaaltonkees: so, if lshal doesn't show input.x11_driver = 'vmmouse', the fdi file is busted22:46
tjaaltonXorg.0.log should also show that it's using vmmouse22:46
cwillubryce, on my 945, neither disabling migration nor enabling greedy migration improves things.  The 2.6.30rc works perfectly with EXA though, subjectively the same performance as 2.6.28 under UXA, and as I had in 8.10 and previous using greedy migration22:55
tjaaltonthat's good news22:58
brycecwillu: nice22:58
bryceless nice is that disabling migration or enabling greedy would be easy things to roll out...  23:00
bryceguess we can hope the kernel team knows something to try cherrypicking...23:01
tjaaltonwe've got jbarnes here ;)23:01
bryceobi wan jbarnes, you're our only hope23:02
albert23bryce: it's the bit 17 swizzle patch, that is in 2.6.30-rc223:04
brycealbert23: ahh23:05
bryceweird, I was just now looking at that23:05
brycehttps://bugs.freedesktop.org/show_bug.cgi?id=1683523:06
ubottuFreedesktop bug 16835 in Driver/intel "[945 tiling] Low performance due to no A17 workaround" [Major,Resolved: fixed]23:06
jbarnesthere's also exec buffer fencing23:06
jbarnesthat went in post-2.6.2823:06
jbarneshelps 945 chips a lot23:06
* cwillu feels helped :)23:11
* cwillu tries turning on vblank23:12
cwillunice23:12
cwillumy big internal gear isn't tearing, and I'm getting more than 0.3fps23:13
* cwillu knows what to ask for for christmas23:13
jbarnesheh23:14
cwilluthat's odd though, the screensaver preview doesn't get composited.  Is that normal?23:14
cwillui.e., if I spin the cube, I have a black square showing the glmatrix screensaver in the middle of the screen23:15
jbarnesfor 945 there are really 3 big perf fixes: a17 swizzle, mchbar alloc, and execbuf fencing23:15
jbarnescwillu: you have to use uxa+dri2 to get redirected direct rendering23:15
cwilluah, k23:15
cwilluguess I got used to uxa pretty quick23:15
cwilluand vblank is still slow as hell under uxa, but that's to be expected?23:17
tjaaltondri2 doesn't support it23:21
=== RAOF_ is now known as RAOF
tjaaltonaiui23:21
bryceI've reported the perf findings with the 2.6.30-rc2 to the kernel team23:21
brycealso check out the benchmark results michael larabel posted23:22
bryceok, given the lack of really solid positive results from turning off migration, I'm going to postpone working that change into a patch for now23:26
brycesounds like the kernel team has a better lead on a real fix23:27

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