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

Ngsoo01:12
bryceoso01:13
Ngmy 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 slowdowns01:13
Ngwhich doesn't really help us, I suspect01:13
NgI sure wish I'd thought to check it wasn't that before I bisected 3 months of the git tree ;)01:14
Ngon 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:15
NgI 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 office01:17
Ngbut 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 crashy01:17
Ng(and I'll do a followup to platform and -x about this)01:18
bryceSciri?01:18
NgSean (OEM sysadmin in Lexington)01:18
bryceNg: ok, sounds like you've arrived at the same general conclusion as the rest of us01:19
Ngheh, I do like to be fashionably late to the party ;)01:19
bryce:-)01:19
Ngdo we know when Intel are likely to next cut a release?01:19
bryceI think 2.7 should be here any day now, not sure of the exact schedule but I think it's this month01:20
Ngperhaps we could do a semi-official PPA of that for affected souls?01:21
Ngand by "we" I mean "someone who can do a good job of that, so not me" ;)01:21
brycethat 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 .101:21
bryceNg: ah, did you check the xorg edgers ppa?01:22
brycefairly sure tormod has bleeding edge -intel in there01:22
Ngyep, 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 UXA01:22
bryceahh01:23
bryceok that starts to make more sense, and seems consistent with most of the data we've gotten so far01:23
Ngfor 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 karmic01:24
Ngerr, "I had with UXA/git"01:24
brycegood man01:25
Ngmy desktop is sufficiently stateless that I can weather the crashes, and the slowness drives me crazier than they do01:25
brycealso make sure as you file bugs, to ensure they're also forwarded upstream01:25
* Ng nods01:25
bryceI'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 for01:26
brycebut getting the bugs upstream is the best chance we have to make all this better in karmic01:26
NgI 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, I01:31
Ngjust kinda use my computer for a few days"01:31
LordMetroidS-video support is there any way to make it automatic?01:32
LordMetroidCause xrandr denies me usage01:32
bryceNg: yeah we need that sort of stress tool to help make bugs more easily reproduced01:35
bryceLordMetroid: see the config page in the Ubuntu-X wiki01:36
LordMetroidI did01:45
LordMetroidit didn't work01:45
pwnguinheh. i think larabel just volunteered to be the xorg release managemener02:00
brycepwnguin: ?02:03
bryceah, in the he-who-complains vein02:05
pwnguinyea02:05
brycehmm at least the ubuntu 9.04 beta vs. fedora 11 comparison turned out in our favor02:15
brycealthough I notice he didn't include gl performance comparisons02:15
Ngbryce: that's interesting, I would have guessed they'd be similar or f11 slightly ahead through having newer bits10:38
seb128Ng: what is f11 using?10:44
Ngseb128: afair they're using a newer kernel for KMS10:45
mnemothey also have mesa 7.5-devel and intel ddx 2.6.9911:08
=== seb128_ is now known as seb128
mifritscherhi13:15
mifritscherthe 20090326 version of https://launchpad.net/~xorg-edgers/+archive/ppa worked for me, but not the current13:16
mifritscher(uxa mode crashes somewhere in UXA_polygon_something)13:17
mifritscher(sorry, xorg already killed the log)13:17
mifritscheron 4 gb ram without pae, which workd on the 0326 version13:17
mifritscher+g96513:18
mifritscherxaa+exa with pae still works, but crashes/hangs with 3dmark200113:18
mifritschera8and has the same artifacts as in uxa with the 26 driver)13:19
mnemomifritscher: please open a bug on bugs.freedesktop.org and mention the info you just gave13:37
mnemooutput of "uname -a", "lspci -nn | grep VGA", "dmesg" is also useful13:37
mnemoplus xorg.log, xorg.conf and ~/.xsession-errors13:38
Ngtjaalton: 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
ubottuLaunchpad bug 324854 in xserver-xorg-video-intel "DRI2: (UXA) white transparency artifacts with compiz [patch]" [Undecided,Invalid]14:28
tjaaltonNg: yeah, there's another bug open already14:35
tjaaltonuh no14:35
tjaaltonthis is the one14:35
NgI just figured I'd mention it :)14:36
tjaaltonhmm so I didn't push it14:37
tjaaltonthe patch is on my repo14:37
tjaaltonI've been on a "sick" leave the past two days, tending the kids14:38
tjaaltonso haven't given much thought about how to actually get this in jaunty14:39
Ng:/14:39
Nghope everyone is recovering :)14:39
tjaaltonthe noise level is getting higher, so I'd say so14:40
Nghehe14:40
tjaaltonforgot :)14:40
tormodNg: the 7.3+git from xorg-edgers should be pretty much the same as 7.415:07
tormodbut timo's 7.4 has some Ubuntu patches15:08
tormoddid you also check with the different libdrm2's btw?15:08
NgI did all of my testing last night with the -edgers drm15:09
NgEXA => 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:09
tormodNg, I was thinking about the symptoms you mentioned 15:2815:25
tormodoh sorry that was my own PPA, not xorg-edgers that you mentioned15:26
tormodor maybe not15:27
Ngtormod: I had tjaalton's mesa installed and an edgers ddx, and I was seeing the split-second white rendering15:35
Ngtormod: just flipped over to your mesa and indeed that is fixed15:35
tormodNg: flipped to xorg-edgers mesa? or downgraded to my ppa mesa which I mention in that bug report?15:37
Ngtormod: flipped to edgers mesa15:37
* 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 earlier15:38
tormoddid mifritscher report it upstream? has anyone confirmed it?15:39
Ngit was suggested that he report it upstream, don't know if he did yet15:39
NgI'll certainly upgrade to the new snapshot tonight15:39
tormodI got confused because I forgot that I cherrypicked 661775aa in both ppas...15:40
Nghis problem may be related to having 4GB and no PAE, but I'm not sure15:40
seb128hi tormod15:41
seb128tormod: do you need any other information about this intel crasher?15:41
tormodhi seb128, I don't think I get further myself15:42
tormodeither the devs recognize something or someone needs to debug hands-on15:42
tormodsince it is so reproducible, some gdb watchpoints might work15:43
tormodbut I do not know how many unrefs there are on a VT switch to keep track off15:44
tormodmaybe valgrind could help?15:44
seb128I tried to valgrind the xorg server without luck15:47
tormodxorg is allergic to debugging15:47
tormodone could set up some gdb stuff to log every unref with some info15:50
seb128what variable should be watched?15:50
jcristauthere's a libdrm patch to help with valgrind15:50
jcristauit's been posted recently on intel-gfx@15:51
tormodseb128: yeah you only know that afterwards :)15:51
seb128jcristau: well I got issue with valgrind complaining about setuid too15:51
seb128jcristau: do you know how to workaround that?15:51
seb128I manage by some way but they I had nothing in the xorg log out of the X command and argument15:52
seb128no error, etc15:52
seb128it seems valgrind exit or something15:52
tormoda gdb "breakpoint command list" could be used at the unref function15:52
tormodI'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 address15:54
seb128right15:55
seb128I will do that15:55
tormodbut 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 do15:56
seb128let's see, the bug seems to have enough informations but nobody is picking it up yet15:57
tormodseb128: if you're successful with gdb, please send me the gdb session, so I can learn how you do it15:57
seb128ok will do15:57
jcristauseb128: run valgrind on /usr/bin/Xorg instead of the wrapper, i guess16:37
seb128jcristau: that's what I did, I renamed Xorg to Xorg.binary and create an Xorg wrapper calling valgrind16:39
tseliotfederico1: did you have a look at the final version of my patch? http://bugzilla.gnome.org/show_bug.cgi?id=56816019:31
ubottuGnome bug 568160 in libgnome-desktop "Gnome Settings daemon causes high CPU usage with an expensive call" [Major,Unconfirmed]19:31
federico1tseliot: oops, no - thanks for the reminder19:32
tseliotfederico1: np19:32
federico1let me see if I can finish something in gnome-panel really quickly and I'll get to it19:32
tseliotbryce 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/34885219:33
ubottuLaunchpad bug 348852 in nvidia-graphics-drivers-180 "nvidia driver 180.44 is available" [High,Triaged]19:33
brycetseliot: will do19:42
tseliotbryce: thanks a lot :-)19:43
brycetseliot: uploaded20:22
tseliotbryce: thanks a lot21:02
brycetseliot: also requested all -180 bug reporters do a retest21:02
tseliotbryce: good idea :-)21:03
tseliotjust to be sure21:03
tormodseb128: are you gdbugging? :) actually which line of gen4_render_state_cleanup explodes?21:29
seb128no I'm not and I don't have the computer with the intel card with me now21:29
seb128did you read the bug comments?21:29
seb128I've wrotten what free leads to crash there21:30
seb128and bryce copied the corresponding code21:30
seb128I will put a break on the free call tomorrow21:30
seb128and get a bt for each call21:30
tormodseb128: yes I saw it was line 1727, just want to make sure it is the same line number in my code21:37
seb128I wrote in a comment what line is the crash one21:38
seb128let me open the bug21:38
seb128"the crash is on "free(block);" in free_block()"21:38
seb128intel_bufmgr_fake.c:47321:39
seb128in the current jaunty source21:39
tormodseb128: is the calling line in gen4_render_state_cleanup I wonder about21:39
tormodthis? -> drm_intel_bo_unreference(render_state->sf_state_bo); 21:40
seb128    drm_intel_bo_unreference(render_state->sf_state_bo);21:41
seb128yes21:41
tormodthanks. it would mean the preceding drm_intel_bo_unreference(render_state->vs_state_bo); was fine21:41
seb128could be that both calls lead to free the same thing?21:44
bryceI contacted Intel about this bug.  I will follow up today.  They said it sounded like something that could be an easy fix.21:44
seb128bryce: thanks, I get it every time on my d630 so let me know if you need any debug informations21:46
seb128I didn't manage to run the xserver under valgrind yet21:46
bryceok great21:46
seb128but otherwise I should be able to get infos ;-)21:46
seb128bryce: should I open an another bug about the UXA crash?21:46
seb128that one is on guest session opening21:46
seb128I mentioned it in the bug because I've been asked to try UXA but that's rather a different issue21:47
bryceseb128: yes, although I think there is already one open on it with UXA21:47
seb128ok, I will not bother with that one now then21:47
bryceif it appears to be different at all, file a new bug (we can always dupe later)21:48
seb128I will check for dups and open it directly on freedesktop if there is no similar bug there21:48
seb128or do you prefer having it in launchpad too?21:48
bryceI do prefer having it in launchpad for tracking purposes21:49
tormodseb128: about valgrind and your setuid issues, can't you just run the second "/usr/bin/Xorg :20" as root?21:49
brycewith UXA bugs I'm appending "(UXA bug)" to the subjects so we can easily get a list of all open UXA bugs21:49
seb128bryce: ok21:49
tormodyou can reproduce with two barebones X servers right?21:50
seb128I did manage to run xserver under valgrind21:50
brycethis 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 switching21:50
tormodok21:50
seb128but I got nothing else that the command and arguments in the log21:50
seb128ie no error printed there when it crash21:50
tormodbryce, 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 etc21:55
* tormod goes to the mountains21:55
brycetormod: ok thanks for letting me know.  Have fun, and hope the internet withdrawl symptoms aren't too severe ;-)21:56
tormodI'll try to cope with launchpad abstinence21:56
tormodcool we have jbarnes on #ubuntu-bugs22:00
bryceyeah 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 in22:09
* Ng tests latest edgers -intel :)22:42
tormodNg: curious if you get the fbFill seen on phoronix forum (UXA)22:44
tormod*crash22:44
Ngtormod: yup22:56
Ngthe guy this morning seemed to be seeing something else22:57
Ng[13:17] < mifritscher> (uxa mode crashes somewhere in UXA_polygon_something)22:57
tormodon phoronix it was uxa_check_poly_fill_rect which sounds like a close relative22:59
tormodyou get the same backtrace as http://phoronix.com/forums/showpost.php?p=69074&postcount=132 ?23:00
Ng5: /usr/lib/xorg/modules/drivers//intel_drv.so(uxa_check_poly_fill_rect+0xd5) [0xb782a985]23:01
Ngtormod: looks the same23:06
Ngtormod: I don't see a fdo bug :/23:06
Ngforums are such epic fail ;)23:07
bryceheh23:07
Nghttp://pastebin.com/f742caee4 is my log23:07
tormodyou have all these people posting tons on the forum but never touched a bug tracker :(23:07
Ngjust gonna quickly ask in #intel-gfx before filing a bug23:07
Ng(maybe they're in the middle of something atm and expect it to be broken)23:08
tormodNg: I just asked jbarnes on #ubuntu-bugs23:08
Ngah23:08
Nghrm, not on there23:08
tormod<jbarnes> tormod: ah looks like one of the PAT bugs23:08
tormod tormod: try booting with 'nopat'23:08
Ngokidoki, re-installing it and rebooting :)23:08
jbarnesNg: I didn't see your whole log... I assume you're on a fairly recent kernel23:13
tormodjbarnes: we're talking 2.6.28 here (Jaunty). maybe not recent for intel :)23:20
tormodbut doesn't 2.6.28 have GEM?23:21
jbarnes2.6.28 should have gem23:22
Ngjbarnes: 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
jbarnesbut it doesn't have the master bits...23:22
jbarnesah I just posted a fix for this to intel-gfx23:23
jbarnes"fix offset in begin_gtt_access case"23:23
jbarnescare to test for me? :)23:23
Ngabsolutely :)23:23
Ngtormod: hrm, is the -edgers drm actually 2.4.6?23:34
jbarnestormod, Ng: so there are bleeding edge builds of libdrm & xf86-video-intel for ubuntu out there already?23:35
jbarnesI've been wanting that for some of my machines here23:35
Ngjbarnes: tormod has been doing a PPA with periodic snapshots, deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu jaunty main23:38
jbarnesnice, I've been meaning to set up daily builds of git master but haven't had a chance yet23:39
Ngjbarnes: your patch seems to work :)23:39
jbarnesNg: great23:39
tormodNg: I added the commit that warranted 2.4.6 to the 2.4.5+ package, and deps for it in -intel23:42
Ngtormod: 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
tormodjbarnes: I have scripts that build xorg pieces pretty much automatically. well, the -intel stuff always needs some hand-tweaking ;)23:43
jbarnestormod: due to bleeding edge dependencies I guess23:44
tormodNg: I commented on the libdrm deps (although not so clear) in the changelog23:44
tormodif you look at the PPA, everything is in the changelog, my manual tweaks are marked with "+"23:45
tormodhttps://edge.launchpad.net/~xorg-edgers/+archive/ppa is a better link than the above23:46
tormodjbarnes: yes the kernel/kms/libdrm stuff...23:47
Ngtormod: I did read the changelogs, but i didn't absorb that. would it be worth bumping the package version to 2.4.6?23:48
tormodthey haven't even released 2.4.6 properly :)23:49
Ngoh right :)23:49
tormodI thought I had a reason for just cherry-picking that commit and not just get git-head...23:50
* tormod googles his mind23:50
tormodlaziness I think, would have to all the manual steps again (or merge in master again)23:51
tormodNg (and jbarnes), are you interested in auto-xorg-git and uploading to the ppa, I could add you to the team23:52
jbarnestormod: 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
tormods/laziness/time constraints/23:53
Ngtormod: I'd definitely like to get my hands on the script. checkinstall does ok for -intel, but would clearly fail for drm :)23:53
tormodthe script does everything: auto-xorg-git -g -D -H ../xorg-pkg-tools/hooks intel23:54
Ngoutstanding :)23:54
tormodsee https://edge.launchpad.net/~xorg-edgers there are even README files :)23:55
Ngit might be interesting to have daily builds going in23:55
tormodautomation would be awesome, see the "ppa-update" script that I use for the packages which do not need any tweaking23:55
NgI'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 thing23:56
tormodif there's a tweak I need semi-permanently, I add it to the "hooks"23:56

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