[00:01] talking in traffic so not really here yet, sorry :P [00:03] I hope you're not IRCing while driving :) [00:03] heya RAOF [00:03] bryceh: Good morning. [00:04] RAOF, phoronix and slashdot are full of opinion about our little memory bug this morning [00:04] RAOF, some light reading while you enjoy your coffee/tea ;-) [00:04] I'd prefer to read the X sources :) [00:05] smart man! [00:05] I've got a theory that the leak is because GLX resources allocated with glXCreateWindow (a GLX 1.3 call) have a different XID to their associated X window and thus fall through the cleanup-cracks. [00:07] Without the guard in the 114 patch, that means that crash. With the guard, that means that we don't clean them up. [00:10] mm [00:14] so, it looks like drawable->pDraw is defined but not always a valid pointer [00:14] so without 114, that leads to a crash when it's destroyed [00:15] with patch 114, it doesn't depend on drawable->pDraw being defined, and does a dixLookupDrawable to retrieve it [00:15] and then only frees drawable->pDraw when it can get a successful lookup [00:15] however, this means that for the case where drawable->pDraw is valid but not look-uppable, those aren't getting freed, and leak memory [00:17] Right. [00:19] so what I'm wondering is if this particular case can be detected and accounted for in some other way [00:25] It should be possible to do that. [00:26] (catching up on the upstream bug report) [00:28] lesson learned here, don't consider a bug fixed if the upstream report is still open with ongoing discussion...... [00:30] :) [00:32] boy this is kind of hard to follow [00:33] RAOF, this appears to jibe with your theory: https://bugs.freedesktop.org/attachment.cgi?id=34730 [00:49] ok [00:50] RAOF, Sarvatt, here's my take [00:50] if we want to keep patch 114, we should test reverting 120286aef59dabdb7c9fa762e08457e5cc8ec3a6 [00:51] it sounds like patch 114 obviates the need for 120286ae, from the bug discussion [00:51] that's option 1 [00:51] option 2 is to drop patch 114, and instead pull/backport the patches that went upstream [00:52] that is, patches https://bugs.freedesktop.org/attachment.cgi?id=35005 and https://bugs.freedesktop.org/attachment.cgi?id=35006 [00:52] hmm, actually the latter may be the same as reverting 120286ae actually [00:52] aha yes [00:53] RAOF, Sarvatt, have either of you tested with patch 114 and https://bugs.freedesktop.org/attachment.cgi?id=35006 ? [00:54] that might be the least invasive approach [00:54] (if it works!) [00:54] bryceh: I see no way in which that could resolve the memory leak? [00:56] as I understand it, that glxDestroyWindow() call is what generates the dangling pointer [00:56] iow, if that stops doing what it's doing, then patch 114 should be able to successfully clear the objects without causing leaks [00:56] however my grokkage of this is really low [00:58] anyway, that's my take on it, I could easily be wrong [01:05] alright, back to -ati bugs for an hour then EOD for me, but let me know if you guys reach a decision on what we should do, and I can push patches or set up sru's accordingly. [01:06] crap, I promised to do some MT stuff today, too. Hmm, -ati then MT, then EOD. [02:08] bryceh: did you see that dropping the glx 1.4 patches also fixes all clutter apps failing to start with swrast? https://bugs.edge.launchpad.net/ubuntu/+source/xorg-server/+bug/561734 [02:08] Launchpad bug 561734 in gnome-games "quadrapassel doesn't start: Failed to initialise clutter: Unable to select the newly created GLX context" [Medium,Confirmed] [02:11] that was a plesant surprise when I was testing SIS and nouveau earlier [02:13] Sarvatt, no didn't see that [02:14] btw in the scrollback I blathered a bit while looking at the usptream bug report. It looks like testing some of the subsequent patches to the one jesse did (our #114) might scare up a fix [02:14] but that said, I'd have nothing against just dropping the three patches [02:15] the subsequent patches are all early versions of whats upstream though [02:15] mm [02:15] yeah I didn't check what actually got into the tree [02:16] there is also a regression already with the upstream patches [02:16] http://bugs.freedesktop.org/show_bug.cgi?id=27767 [02:16] Freedesktop bug 27767 in Driver/intel "[bisected] bottom panel of gnome desktop is wrong" [Major,New] [02:18] yeah I noticed the chatter about subsequent bugs [02:19] although didn't see that one in particular [02:20] Yeah; it seems the stack of four upstream patches seriously break compiz in particular circumstances. [02:20] they work fine here oddly enough, i'm using them now [02:21] but i dont use a bottom bar on this netbook :) [02:21] Sarvatt: Have you started two copies of a GLX-using app? Apparently doing that is likely to cause the second app to appear as a static snapshot of the first in compiz. [02:21] like 2 glxgears? [02:21] I think that f0006aa58f6cf7552a239e169ff6e7e4fda532f4 from master is sufficient to close the leak we have. [02:21] Sarvatt: I guess so? [02:22] 2 running fine [02:22] 4 running fine [02:22] trying quadrapassel [02:23] There's an additional patch on xorg-devel to fix some corner case with compiz, at least. Let me find it agian. [02:23] quadrapassel is screwed up like you said [02:23] (quadrapassel:7656): Clutter-WARNING **: The required ID of 1723017 does not refer to an existing actor; this usually implies that the pick() of an actor is not correctly implemented or that there is an error in the glReadPixels() implementation of the GL driver. [02:23] tons of that spammed [02:23] RAOF, yeah that looks sensible [02:24] I've been running a server with that patch (and 114 dropped); gem objects seem stable, and everything appears to work ;) [02:25] i must be missing mails from xorg-devel [02:26] How does one turn a message ID into a link to the online archives? [02:26] * RAOF smells a *really* useful evolution plugin [02:28] http://lists.x.org/archives/xorg-devel/2010-April/007663.html [02:28] ? [02:28] yeah thats not in my xorg-devel list, what the heck [02:30] ah spam folder, go figure [02:30] Hm. That's not the one I was thinking of, either. [02:30] hmm yeah [02:31] http://lists.x.org/archives/xorg-devel/2010-April/007554.html is what I was after [02:31] Anyway, you can reproduce craziness with quadrapassel [02:32] yup [02:33] Given that patch series is still receiving follow-ups like this it's clear that they won't be suitable for Lucid for a while, if ever. [02:39] * RAOF also wants a “mark thread as uninteresting” plugin [02:40] I wrote something for mutt to do that [02:41] store the message-ids when thread is marked uninteresting, then when new mail comes in check the reply-to to see if it matches any in the to-ignore message-id list [02:59] Sarvatt: Also, why not do this here? :) [03:01] oh boy the memory leak bug is starting to show signs of becoming the me-too bug for memory problems :) [03:02] I can't imagine whyever for! :D [03:16] probably should make it clear that a sure sign you are affected by the memory leak is 1GB+ object bytes or something, because some people are saying there's a leak with 280MB thats normal and is most likely a driver problem instead (like Conn O'Griofa's report) [03:24] ah just realized I marked Yes under the bug fixed column even though the bug isn't here originally for SIS and nouveau, meant to imply I did not have any problems with it [03:44] there, updated the wiki [03:44] well whenever it goes through :) [03:45] tried to make it clear what was considered as having this specific bug, and ask for testing by people who aren't experiencing it as well [03:53] so what combination of patches need testing? f0006aa58f6cf7552a239e169ff6e7e4fda532f4 on top of the current lucid? [04:06] Drop 114 from current lucid, replace with f0000 [04:07] I'll upload that to a PPA now. [04:10] Nouveau doesn't seem adversely affected by rolling back GLX, as expected. [04:10] yeah, only positively affected since clutter works again :) [04:10] :) [04:15] darn, fresh install reminded me that https://bugs.edge.launchpad.net/ubuntu/+source/gvfs/+bug/510059 was still a problem after a year [04:15] Launchpad bug 510059 in gvfs "Gvfs keeps asking for password when trying to mount Samba share" [Low,Confirmed] [04:29] RAOF: shoot me links to anything you want me to try to break, will test them out tomorrow on a bunch of machines since I have some free time for a change :) night! [04:51] does this mean 10.04 won't ever have GLX 1.4? [05:07] Not necessarily, and that's not necessarily what you think it is. [06:51] Sarvatt: I'll point you at https://edge.launchpad.net/~ubuntu-x-swat/+archive/ppa for your “can we get both GLX 1.4 *and* an X server that doesn't leak like a sieve” delectation. === |thade| is now known as Alexia_Death [10:27] Ok. I've managed to convince myself that f0006aa58f6cf7552a239e169ff6e7e4fda532f4 does the right thing. That's applied to xorg-server 2:1.7.6-2ubuntu7~xtesting~dri2fixes in https://edge.launchpad.net/~ubuntu-x-swat/+archive/ppa. [10:28] Feel free to test that, everyone. I won't put it on the GEMLeak page yet, because I think dropping the GLX patches is safer, but we might want to pull this in later. [10:28] Good night, all! [10:51] Terribly sorry for nagging but I'm trying to figure out when the fix for bug 545298 will land in the debs? Will it make it into the RC? [10:51] Launchpad bug 545298 in xserver-xorg-input-vmmouse "left mouse button unresponsive when running as VMware server guest" [High,Fix committed] https://launchpad.net/bugs/545298 [12:41] tseliot, someone cam into the +1 channel last night, said he'd clean installed the beta 2 i386 cd, and when he tried to install nvidia-current, this happened: http://pastebin.com/xe0Wp3pk === vish is now known as mac_v === mac_v is now known as vish [13:22] bjsnider: I don't see any real error there. He should try a daily image instead of the beta [13:24] well, the error is that it's trying to apply links to some 32-bit libs that aren't installed on i386 [15:53] Hi there - I have a problem with my Nvidia FX5600 - I cannot chose other resolutions than 320x240 and 640x480. What can I do to run the correct resolution? Using the nvidia controlpanel this is.. [15:53] your /var/log/Xorg.0.log should tell you what's going on [15:55] What should I be looking for? It seems like it is loading "nvidia-auto-select" and then "Virtual screen size determined to be 640 x 480" [15:56] * Ng idly wonders if either of the potential GEM leak fixes means DRI can come back on 855 :D [15:57] eax: if put it on pastebin I'll have a look at it [16:00] tseliot: Sure one moment :) [16:02] tseliot: pastebin.org/168054 [16:03] eax: it can't read the EDID of your monitor. This is why it doesn't know what resolutions are available [16:03] tseliot: How can I fix that? :) [16:06] It might be because it's an old CRT monitor? [16:06] eax: what resolution would you like to use? [16:06] An old IBM P77 [16:06] 1280x1024:) [16:08] eax: what's the refresh rate? [16:08] tseliot: 75 I mean [16:08] eax: and what's the output of this command? gtf 1280 1024 75 [16:10] Tseliot: Output is: # 1280x1024 @ 75.00 Hz (GTF) hsync: 80.17 kHz; pclk: 138.54 MHz [16:10] Modeline "1280x1024_75.00" 138.54 1280 1368 1504 1728 1024 1025 1028 1069 -HSync +Vsync [16:18] Tseliot? [16:19] bryceh, hey you have nvidia h/w ... could you confirm that nomodeset and noveau.modeset=0 still work on the -rc kernel? [16:19] eax: sorry, I was on the phone [16:19] someone is claiming they don't but i cannot test [16:19] tseliot: Perfectly all right :) [16:24] eax: can I see your xorg.conf? [16:24] /etc/X11/xorg.conf [16:30] tseliot: Sorry, 1 moment :) [16:31] tseliot: http://eax.dk/xorg.conf [16:32] eax: ok, I think I can give you a modified version of your xorg.conf which might solve your problem [16:32] tseliot: Great! Thanks :D [16:48] Tseliot: How's it going? :) [16:49] I'm working on it (actually I'm working on multiple things at the same time) [16:49] Tseliot: Cool thanks :) [16:55] eax: try with something like this: http://pastebin.ubuntu.com/420496/ [16:55] tseliot: Thanks! :) Trying now [16:55] and restart the xserver [16:56] Yeah thanks :) [17:02] tseliot: Didn't fix it :( I still cannot select 1280x1024 in the nvidia settings manager :/ [17:02] eax: can I see the new log, please? [17:03] tseliot: http://pastebin.org/168139 [17:04] eax: how many screens are you using? [17:05] tseliot: Two, but the second one is an LCD that works when activated :) [17:07] eax: aah, I think I know what's going on [17:07] tseliot: Yes? :) [17:08] one sec [17:12] eax: actually, I was wrong. You might have better luck asking here: www.nvnews.net/vbulletin/forumdisplay.php?s&forumid=14 [17:12] it might be a bug in driver 173 [17:17] Hey, sorry about that my internet connection crashed :S [17:17] eax: actually, I was wrong. You might have better luck asking here: www.nvnews.net/vbulletin/forumdisplay.php?s&forumid=14 [17:17] (06:12:56 PM) tseliot: it might be a bug in driver 173 [17:18] tseliot: Okay thanks :) [17:18] this is what you might have missed ^^ [17:18] np [17:18] Yeah I missed that :) [17:18] Okay, thanks a lot for your help :) [20:28] greetings all. any need for more reports (will likely be negative) from people using the x-updates x-swat ppa with proprietary drivers. [20:32] lotia, nope [20:34] bryceh: thanks [20:35] i do have a machine using the nouveau driver, but I can't enable compiz with it. will any info from that be useful? [20:36] lotia, maybe, although since it doesn't have 3D it's not expected to have the bug [20:37] lotia, go ahead and test it and report what you find to RAOF [20:38] bryceh: RAOF? apologies. is that a nick or something else? [20:39] lotia, nick [20:39] lotia, he should be online within a couple hours [20:41] bryceh: thanks again. [21:32] hi, just installed nvidia-current in current lucid and it appears that libglx was not updated/fixed via alternatives - is that supposed to be so? [21:37] did you install it via jockey? [21:38] bryceh: do we have notes on how to install blob drivers outside of X anywhere since its so specific and broken if you do it via a package manager? [21:40] Sarvatt, don't think we've got official docs on that [21:41] rye: if you installed it outside of jockey you need to sudo update-alternatives --config gl_conf, pick the one for the nvidia drivers you have installed, then sudo ldconfig and sudo nvidia-xconfig as the last step [21:41] or do the easier method of just sudo apt-get purge nvidia-current, then activate them in hardware drivers or use sudo jockey-text -e xorg:nvidia_current [21:41] Sarvatt, basically I think you have to uninstall the packaged nvidia completely first, then you can use the nvidia installer [21:41] we don't support upgrading from one to the other. breakage happens. [21:41] bryceh: its more that you cant install the nvidia drivers via sudo apt-get install nvidia-current for instance [21:42] all of the alternatives configuration is done by jockey.. [21:42] Sarvatt, ah [21:42] huh, I thought the alternatives handling was done in the postinst? [21:42] i wouldn't complain about it so much if it was :) [21:42] Sarvatt, have you spoken with tseliot about this? [21:45] Sarvatt, hm, when i started jockey I was not prompted to install any proprietary drivers at all, therefore i installed nvidia-current manually [21:45] bryceh: yeah but I couldn't get ahold of him when he wasn't busy [21:45] rye: sounds like you did a sudo apt-get purge nvidia-* at some point in the past, just reinstall nvidia-common [21:46] Sarvatt, with xorg-testing xserver -6 I got a server crash after closing quadrapassel [21:46] xserver-6? [21:46] 2:1.8.0+git20100419+server-1.8-branch.7d5e6012-0ubuntu0sarvatt6 [21:48] interesting, so its not even fixed upstream? i've closed it at least 50 times over the past few days with no crashes on intel [21:49] i'm about to update it from git, maybe the squashed patch I have is different [21:52] just put everything in the main xorg-edgers PPA [21:54] I have a system with a frozen i915 driver and am logged in thru ssh, can anyone tell me what information I should gather before the terminal freezes up as well ? [21:58] heh, I think we have more x freeze bug reports than we're likely to be able to look at [21:58] lapion, there's guides at wiki.ubuntu.com/X if you want to troubleshoot the bug yourself [21:58] http://pastebin.com/01rSnYQA [22:43] looks like the PPA builders spend 10 minutes on installing updates and dependencies before they get to debian/rules build, is this normal? [22:44] build needed 55s :) [22:45] tormod: yup, thank dpkg for being extra slow now :) [22:45] oh yes, it is syncing all the time, like firefox [22:45] 13 minutes+ to install update the few base files for an x11proto package, 30 seconds to build it [22:45] can't they leave the syncing business to the OS damnit? [22:48] still *nowhere* near as slow as yum so I can't complain about the extra safeguards :) [23:06] the chroots prob need updating, then it will be quicker [23:08] Sarvatt, thanks, i removed nvidia-common completely before to test nouveau with my setup. Given that it now starts up with more than one display I decided to return to nvidia until further notice on that bug report is found. Installed nvidia-common and jockey became helpful. Thanks again! [23:12] muahaha got my eye on you mozilla daily team - https://edge.launchpad.net/ubuntu/+ppas [23:14] you're closing in :) [23:17] * ilmari loves the description of xorg-edgers [23:50] The GEMLeak page is looking reassuringly green. [23:51] RAOF, I've slapped a couple package downgrades into x-retro [23:51] bryceh: For 8xx users? [23:52] yeah an -intel for them, and an -ati for some of the recent corruption bugs [23:53] RAOF, also ran across bug #565903 [23:53] Launchpad bug 565903 in xserver-xorg-video-ati "graphics corruption opening windows with glx 1.4 (ok with glx 1.2)" [Medium,Triaged] https://launchpad.net/bugs/565903 [23:53] RAOF, guessing that even if we fix that freeze there may still be some bugs [23:54] That not an unreasonable guess :) [23:55] fwiw, compared with past releases it feels like we have a higher proportion of graphics corruption bugs than usual [23:56] Does that mean that we're getting more graphics corruption, or less wholesale crashes? :) [23:57] well, I'd been guessing the latter, but after seeing 565903 now it is making me wonder