[01:12] soo [01:13] oso [01:13] my performance issue has to do with EXA, not particular versions. 2.6.3 and the git snapshot both show it when set to EXA. Setting either to UXA pretty much completely eliminates the slowdowns [01:13] which doesn't really help us, I suspect [01:14] I sure wish I'd thought to check it wasn't that before I bisected 3 months of the git tree ;) [01:15] on the upside, I know now how to bisect and I also know that checkinstall does a good job of building a IDON'TCAREJUSTMAKEITWORK package for such testing :) [01:17] I think I've missed Sciri at this point, but I've left him a message to flip over to UXA to see if his 950 speed problems are the same, and I'll check Matt's X61 tomorrow if he's in the office [01:17] but having used UXA myself for a few days I don't think it's really in a usable state yet. I'd rather they were slow than crashy [01:18] (and I'll do a followup to platform and -x about this) [01:18] Sciri? [01:18] Sean (OEM sysadmin in Lexington) [01:19] Ng: ok, sounds like you've arrived at the same general conclusion as the rest of us [01:19] heh, I do like to be fashionably late to the party ;) [01:19] :-) [01:19] do we know when Intel are likely to next cut a release? [01:20] I think 2.7 should be here any day now, not sure of the exact schedule but I think it's this month [01:21] perhaps we could do a semi-official PPA of that for affected souls? [01:21] and by "we" I mean "someone who can do a good job of that, so not me" ;) [01:21] that said; we've been burned by poor qa troubles with 2.5.0 and 2.6.0 so while I trust cworth will do a great job, experience so far suggests waiting for the .1 [01:22] Ng: ah, did you check the xorg edgers ppa? [01:22] fairly sure tormod has bleeding edge -intel in there [01:22] yep, that's what I used initially to try out UXA, and mistakenly latched onto the idea that it was the newer code that was saving me, rather than just UXA [01:23] ahh [01:23] ok that starts to make more sense, and seems consistent with most of the data we've gotten so far [01:24] for my part I'd rather have everything lovely in the future, so regardless of the results I see from Matt/Sean I'm going to stick with git and see if I can catch the hang bug(s) I had with from tormod's, so at least we can be damn sure we can use UXA for karmic [01:24] err, "I had with UXA/git" [01:25] good man [01:25] my desktop is sufficiently stateless that I can weather the crashes, and the slowness drives me crazier than they do [01:25] also make sure as you file bugs, to ensure they're also forwarded upstream [01:25] * Ng nods [01:26] I've been deliberately not doing this with UXA bugs, to stay focused on jaunty issues, and because I know it'll take a lot of back and forth troubleshooting which I don't want to be the bottleneck for [01:26] but getting the bugs upstream is the best chance we have to make all this better in karmic [01:31] I had an idea on the bus home that maybe we could encourage/sponsor a compiz plugin for stress testing desktop operations. development releases could have a special extra GDM session that fires up a bunch of apps and just goes at a load of windowing operations as fast as possible and measures the results, as well as potentially pushing it into crashing without the reproduction steps being "uhh, I [01:31] just kinda use my computer for a few days" [01:32] S-video support is there any way to make it automatic? [01:32] Cause xrandr denies me usage [01:35] Ng: yeah we need that sort of stress tool to help make bugs more easily reproduced [01:36] LordMetroid: see the config page in the Ubuntu-X wiki [01:45] I did [01:45] it didn't work [02:00] heh. i think larabel just volunteered to be the xorg release managemener [02:03] pwnguin: ? [02:05] ah, in the he-who-complains vein [02:05] yea [02:15] hmm at least the ubuntu 9.04 beta vs. fedora 11 comparison turned out in our favor [02:15] although I notice he didn't include gl performance comparisons [10:38] bryce: that's interesting, I would have guessed they'd be similar or f11 slightly ahead through having newer bits [10:44] Ng: what is f11 using? [10:45] seb128: afair they're using a newer kernel for KMS [11:08] they also have mesa 7.5-devel and intel ddx 2.6.99 === seb128_ is now known as seb128 [13:15] hi [13:16] the 20090326 version of https://launchpad.net/~xorg-edgers/+archive/ppa worked for me, but not the current [13:17] (uxa mode crashes somewhere in UXA_polygon_something) [13:17] (sorry, xorg already killed the log) [13:17] on 4 gb ram without pae, which workd on the 0326 version [13:18] +g965 [13:18] xaa+exa with pae still works, but crashes/hangs with 3dmark2001 [13:19] a8and has the same artifacts as in uxa with the 26 driver) [13:37] mifritscher: please open a bug on bugs.freedesktop.org and mention the info you just gave [13:37] output of "uname -a", "lspci -nn | grep VGA", "dmesg" is also useful [13:38] plus xorg.log, xorg.conf and ~/.xsession-errors [14:28] tjaalton: in case your mesa goes into jaunty, https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/324854 may want to be looked at (I've not checked the code, but with your mesa I see the symptoms, and didn't with tormod's 7.3+git which has that stuff cherrypicked) [14:28] Launchpad bug 324854 in xserver-xorg-video-intel "DRI2: (UXA) white transparency artifacts with compiz [patch]" [Undecided,Invalid] [14:35] Ng: yeah, there's another bug open already [14:35] uh no [14:35] this is the one [14:36] I just figured I'd mention it :) [14:37] hmm so I didn't push it [14:37] the patch is on my repo [14:38] I've been on a "sick" leave the past two days, tending the kids [14:39] so haven't given much thought about how to actually get this in jaunty [14:39] :/ [14:39] hope everyone is recovering :) [14:40] the noise level is getting higher, so I'd say so [14:40] hehe [14:40] forgot :) [15:07] Ng: the 7.3+git from xorg-edgers should be pretty much the same as 7.4 [15:08] but timo's 7.4 has some Ubuntu patches [15:08] did you also check with the different libdrm2's btw? [15:09] I did all of my testing last night with the -edgers drm [15:09] EXA => fail in all cases, UXA => win in all cases (where "fail" means "slow, but works" and "win" means "fast, but may render badly or hang or segfault on resume" ;) [15:25] Ng, I was thinking about the symptoms you mentioned 15:28 [15:26] oh sorry that was my own PPA, not xorg-edgers that you mentioned [15:27] or maybe not [15:35] tormod: I had tjaalton's mesa installed and an edgers ddx, and I was seeing the split-second white rendering [15:35] tormod: just flipped over to your mesa and indeed that is fixed [15:37] Ng: flipped to xorg-edgers mesa? or downgraded to my ppa mesa which I mention in that bug report? [15:37] tormod: flipped to edgers mesa [15:38] * Ng all edgers atm, although not the very very latest ddx because I need to work and don't want to potentially hit the problem mifritscher was having earlier [15:39] did mifritscher report it upstream? has anyone confirmed it? [15:39] it was suggested that he report it upstream, don't know if he did yet [15:39] I'll certainly upgrade to the new snapshot tonight [15:40] I got confused because I forgot that I cherrypicked 661775aa in both ppas... [15:40] his problem may be related to having 4GB and no PAE, but I'm not sure [15:41] hi tormod [15:41] tormod: do you need any other information about this intel crasher? [15:42] hi seb128, I don't think I get further myself [15:42] either the devs recognize something or someone needs to debug hands-on [15:43] since it is so reproducible, some gdb watchpoints might work [15:44] but I do not know how many unrefs there are on a VT switch to keep track off [15:44] maybe valgrind could help? [15:47] I tried to valgrind the xorg server without luck [15:47] xorg is allergic to debugging [15:50] one could set up some gdb stuff to log every unref with some info [15:50] what variable should be watched? [15:50] there's a libdrm patch to help with valgrind [15:51] it's been posted recently on intel-gfx@ [15:51] seb128: yeah you only know that afterwards :) [15:51] jcristau: well I got issue with valgrind complaining about setuid too [15:51] jcristau: do you know how to workaround that? [15:52] I manage by some way but they I had nothing in the xorg log out of the X command and argument [15:52] no error, etc [15:52] it seems valgrind exit or something [15:52] a gdb "breakpoint command list" could be used at the unref function [15:54] I'd suggest at first just to count the number of calls to see if it's worthwhile, if it's only a few then log the caller and object address on each call, to see which two callers want to free the same object address [15:55] right [15:55] I will do that [15:56] but in many cases the right developer will recognize his mistake when he sees such a symptom, and fix it faster than any debugger in-from-the-cold can do [15:57] let's see, the bug seems to have enough informations but nobody is picking it up yet [15:57] seb128: if you're successful with gdb, please send me the gdb session, so I can learn how you do it [15:57] ok will do [16:37] seb128: run valgrind on /usr/bin/Xorg instead of the wrapper, i guess [16:39] jcristau: that's what I did, I renamed Xorg to Xorg.binary and create an Xorg wrapper calling valgrind [19:31] federico1: did you have a look at the final version of my patch? http://bugzilla.gnome.org/show_bug.cgi?id=568160 [19:31] Gnome bug 568160 in libgnome-desktop "Gnome Settings daemon causes high CPU usage with an expensive call" [Major,Unconfirmed] [19:32] tseliot: oops, no - thanks for the reminder [19:32] federico1: np [19:32] let me see if I can finish something in gnome-panel really quickly and I'll get to it [19:33] bryce or bryce_: can you upload the new nvidia driver, please? The source is in comment 5 of this bug report (which is assigned to you): https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-180/+bug/348852 [19:33] Launchpad bug 348852 in nvidia-graphics-drivers-180 "nvidia driver 180.44 is available" [High,Triaged] [19:42] tseliot: will do [19:43] bryce: thanks a lot :-) [20:22] tseliot: uploaded [21:02] bryce: thanks a lot [21:02] tseliot: also requested all -180 bug reporters do a retest [21:03] bryce: good idea :-) [21:03] just to be sure [21:29] seb128: are you gdbugging? :) actually which line of gen4_render_state_cleanup explodes? [21:29] no I'm not and I don't have the computer with the intel card with me now [21:29] did you read the bug comments? [21:30] I've wrotten what free leads to crash there [21:30] and bryce copied the corresponding code [21:30] I will put a break on the free call tomorrow [21:30] and get a bt for each call [21:37] seb128: yes I saw it was line 1727, just want to make sure it is the same line number in my code [21:38] I wrote in a comment what line is the crash one [21:38] let me open the bug [21:38] "the crash is on "free(block);" in free_block()" [21:39] intel_bufmgr_fake.c:473 [21:39] in the current jaunty source [21:39] seb128: is the calling line in gen4_render_state_cleanup I wonder about [21:40] this? -> drm_intel_bo_unreference(render_state->sf_state_bo); [21:41] drm_intel_bo_unreference(render_state->sf_state_bo); [21:41] yes [21:41] thanks. it would mean the preceding drm_intel_bo_unreference(render_state->vs_state_bo); was fine [21:44] could be that both calls lead to free the same thing? [21:44] I contacted Intel about this bug. I will follow up today. They said it sounded like something that could be an easy fix. [21:46] bryce: thanks, I get it every time on my d630 so let me know if you need any debug informations [21:46] I didn't manage to run the xserver under valgrind yet [21:46] ok great [21:46] but otherwise I should be able to get infos ;-) [21:46] bryce: should I open an another bug about the UXA crash? [21:46] that one is on guest session opening [21:47] I mentioned it in the bug because I've been asked to try UXA but that's rather a different issue [21:47] seb128: yes, although I think there is already one open on it with UXA [21:47] ok, I will not bother with that one now then [21:48] if it appears to be different at all, file a new bug (we can always dupe later) [21:48] I will check for dups and open it directly on freedesktop if there is no similar bug there [21:48] or do you prefer having it in launchpad too? [21:49] I do prefer having it in launchpad for tracking purposes [21:49] seb128: about valgrind and your setuid issues, can't you just run the second "/usr/bin/Xorg :20" as root? [21:49] with UXA bugs I'm appending "(UXA bug)" to the subjects so we can easily get a list of all open UXA bugs [21:49] bryce: ok [21:50] you can reproduce with two barebones X servers right? [21:50] I did manage to run xserver under valgrind [21:50] this will be useful in helping make the determination on when UXA is ready to go, and/or prioritize attention to those bugs when we get near to switching [21:50] ok [21:50] but I got nothing else that the command and arguments in the log [21:50] ie no error printed there when it crash [21:55] bryce, just so that you know, I'll be off and mostly far away from internet the next 12 days or so, in case you see people pinging in bug reports etc [21:55] * tormod goes to the mountains [21:56] tormod: ok thanks for letting me know. Have fun, and hope the internet withdrawl symptoms aren't too severe ;-) [21:56] I'll try to cope with launchpad abstinence [22:00] cool we have jbarnes on #ubuntu-bugs [22:09] yeah I'd invited him earlier. I was hoping we'd be seeing more triaging activity on #ubuntu-bugs, but at least the hug day page is slowly getting filled in [22:42] * Ng tests latest edgers -intel :) [22:44] Ng: curious if you get the fbFill seen on phoronix forum (UXA) [22:44] *crash [22:56] tormod: yup [22:57] the guy this morning seemed to be seeing something else [22:57] [13:17] < mifritscher> (uxa mode crashes somewhere in UXA_polygon_something) [22:59] on phoronix it was uxa_check_poly_fill_rect which sounds like a close relative [23:00] you get the same backtrace as http://phoronix.com/forums/showpost.php?p=69074&postcount=132 ? [23:01] 5: /usr/lib/xorg/modules/drivers//intel_drv.so(uxa_check_poly_fill_rect+0xd5) [0xb782a985] [23:06] tormod: looks the same [23:06] tormod: I don't see a fdo bug :/ [23:07] forums are such epic fail ;) [23:07] heh [23:07] http://pastebin.com/f742caee4 is my log [23:07] you have all these people posting tons on the forum but never touched a bug tracker :( [23:07] just gonna quickly ask in #intel-gfx before filing a bug [23:08] (maybe they're in the middle of something atm and expect it to be broken) [23:08] Ng: I just asked jbarnes on #ubuntu-bugs [23:08] ah [23:08] hrm, not on there [23:08] tormod: ah looks like one of the PAT bugs [23:08] tormod: try booting with 'nopat' [23:08] okidoki, re-installing it and rebooting :) [23:13] Ng: I didn't see your whole log... I assume you're on a fairly recent kernel [23:20] jbarnes: we're talking 2.6.28 here (Jaunty). maybe not recent for intel :) [23:21] but doesn't 2.6.28 have GEM? [23:22] 2.6.28 should have gem [23:22] jbarnes: http://pastebin.com/f742caee4 is without nopat, http://pastebin.com/f4e93c41e is with nopat (whole cmdline was root=/dev/mapper/kodachi-root ro elevator=noop quiet splash nopat) [23:22] but it doesn't have the master bits... [23:23] ah I just posted a fix for this to intel-gfx [23:23] "fix offset in begin_gtt_access case" [23:23] care to test for me? :) [23:23] absolutely :) [23:34] tormod: hrm, is the -edgers drm actually 2.4.6? [23:35] tormod, Ng: so there are bleeding edge builds of libdrm & xf86-video-intel for ubuntu out there already? [23:35] I've been wanting that for some of my machines here [23:38] jbarnes: tormod has been doing a PPA with periodic snapshots, deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu jaunty main [23:39] nice, I've been meaning to set up daily builds of git master but haven't had a chance yet [23:39] jbarnes: your patch seems to work :) [23:39] Ng: great [23:42] Ng: I added the commit that warranted 2.4.6 to the 2.4.5+ package, and deps for it in -intel [23:43] tormod: ah good, I was just a bit confused when I tried to test jbarnes's patch against -intel git and it whined my drm was too old, but your package (which currently matches git afaict) built fine :) [23:43] jbarnes: I have scripts that build xorg pieces pretty much automatically. well, the -intel stuff always needs some hand-tweaking ;) [23:44] tormod: due to bleeding edge dependencies I guess [23:44] Ng: I commented on the libdrm deps (although not so clear) in the changelog [23:45] if you look at the PPA, everything is in the changelog, my manual tweaks are marked with "+" [23:46] https://edge.launchpad.net/~xorg-edgers/+archive/ppa is a better link than the above [23:47] jbarnes: yes the kernel/kms/libdrm stuff... [23:48] tormod: I did read the changelogs, but i didn't absorb that. would it be worth bumping the package version to 2.4.6? [23:49] they haven't even released 2.4.6 properly :) [23:49] oh right :) [23:50] I thought I had a reason for just cherry-picking that commit and not just get git-head... [23:50] * tormod googles his mind [23:51] laziness I think, would have to all the manual steps again (or merge in master again) [23:52] Ng (and jbarnes), are you interested in auto-xorg-git and uploading to the ppa, I could add you to the team [23:53] tormod: are there docs on how to create a repo? I know nearly nothing about making debs so I don't think I need upload privs yet :) [23:53] s/laziness/time constraints/ [23:53] tormod: I'd definitely like to get my hands on the script. checkinstall does ok for -intel, but would clearly fail for drm :) [23:54] the script does everything: auto-xorg-git -g -D -H ../xorg-pkg-tools/hooks intel [23:54] outstanding :) [23:55] see https://edge.launchpad.net/~xorg-edgers there are even README files :) [23:55] it might be interesting to have daily builds going in [23:55] automation would be awesome, see the "ppa-update" script that I use for the packages which do not need any tweaking [23:56] I've been meaning to track down a daily PPA builder for my own stuff. I know jcastro was talking about one at the last UDS, and jkakar has such a thing [23:56] if there's a tweak I need semi-permanently, I add it to the "hooks"