[00:01] just following the 7.10 branch [00:01] he pointed to an xserver fix, which I pulled and uploaded [00:02] Have you pushed to git? [00:02] yeah, pretty sure I did, let me doublecheck [00:04] mesa pushed [00:04] (the fix had been pushed but not the changelog entry) [00:09] later [00:36] Why doesn't git have a “pull --all” that does what you mean, rather than what some internal component means? [01:00] * penguin42 scratches his head at gtk2-engines-oxygen - the code appears to be expecting the underlying gtk to throw critical level log messages but somehow expects it not to abort [01:10] RAOF, what's the timeline for pushing rc2 into ubuntu? [01:10] or whenever you want to tack on xi 2.1 [01:10] cnd: Oh, has RC2 been released? [01:10] I don't know [01:10] sorry :) [01:10] I can check [01:11] the official schedule says 1.10 will be released, final, on friday [01:11] Yes, it does. [01:11] I suspect the official schedule is lying through its teeth. [01:12] heh [01:12] I don't even know where to check these things [01:13] RAOF, where do get releases from? [01:13] git? [01:13] uscan. [01:14] http://xorg.freedesktop.org/releases/individual/xserver/ [01:14] cd -(No RC2 release) [01:16] RAOF, the latest 1.10 stuff there is from 06-dec-2010... [01:17] where's rc1? [01:19] it's there - 1.9.99.901 [01:20] that's what's in ubuntu right now? [01:20] from 06-dec-2010? [01:20] No; we've got a snapshot. [01:20] oh [01:20] ok [01:21] oh yeah, hence the git part :) [01:21] Because the ABI broke between RC1 and now, and I didn't want to have an ABI break in 1.10 packages :) [01:21] yeah [01:21] RAOF, so let me know when you want to push, but we have to abide by the feature freeze deadline too [01:22] so if x doesn't release before this coming monday, I'd suggest we push it as it is [01:22] Right. [01:22] basically, what's in my xorg-unstable ppa right now [01:23] I don't have a lot of faith in the X release actually being Friday; if you're all ready to go we could push sooner. [01:23] RAOF, ok, I may want to wait till the end of the week anyways [01:24] RAOF, bryceh: as a heads up, I realized we currently suffer a (some might say) bad regression [01:24] if you have a touchscreen, and an xi 2.1 capable client on a window, and you tap on the window to raise it, and your window manager is not touch aware [01:24] then the window won't raise [01:25] I think it may be most prudent to push it like that for now, we have potential work arounds [01:25] and I'm working on the fully "correct" solution, but I can't guarantee it before feature freeze [01:25] I presume unity is touch-aware? Is metacity? [01:25] no wms are currently touch aware [01:25] we can make specific ones touch aware [01:25] and we can also have a kludge [01:26] a daemon that sits and acts as a touch aware window manager [01:26] well, not really window manager [01:26] There's going to have to be a proper solution upstream in... oh, my. [01:26] a touch "raiser" [01:26] That's quite the kludge :) [01:26] yeah... [01:26] that's one work around [01:26] there are others [01:26] the problem is that we inhibit pointer events when touch events are handled [01:27] What's the final solution going to look like? I presume this is being discussed with whot and daniel? [01:27] we could send pointer events in parallel with touch events [01:27] but that probably is not going to be the final protocol [01:27] yes, it's being discussed [01:27] but the final solution is going to be an interleaving of pointer and touch events [01:27] so if a window has a touch grab, then you address it first [01:27] if it also has a pointer grab, then you address it next [01:28] and you check each window like this down the hierarchy [01:28] I guess the other interesting piece of information here is: how many Xi 2.1 capable clients do we have? [01:28] RAOF, none right now :) [01:28] of course we're trying to kick start it all [01:28] So this is a bad regression on the null set of Xi 2.1 clients :) [01:30] correct :) [01:30] if a client is not xi 2.1, there's no regression [01:30] so this isn't a terribly enormous problem [01:31] and, at worst, we can tell people: just tap the window title bar [01:31] or any window decorations [01:31] so that's why I think we should push it as it is, and then figure out how to fix it, if we do any of these kludges [01:32] Right. I don't think this needs much consideration unless you don't think you'll be able to get a fix in Natty. [01:32] we could also make unity and metacity touch aware [01:32] and leave the rest [01:32] and tell people if they have issues to add some stuff to xorg.conf [01:32] to disable xi 2.1 [01:32] so I think there's a lot of potential work arounds [01:32] and the problem isn't extremely severe [01:33] Yeah. You don't think that you'll be able to get the final protocol in Natty? That'd be an obvious solution. [01:33] yeah, that's the obvious solution :) [01:33] but it's really hard too :) [01:34] I think every time they have changed the input stack (i.e. add xi 1.0, xi 1.5, xi 2.0), they have completely rearchitected it internally [01:34] I would not be surprised if that's what happens in x 1.11 [01:34] I will be attempting to fit the "correct" protocol into the current architecture [01:34] and after mapping it out some, I don't think it will be that horrible [01:34] but it took me three days of analyzing the xserver code to figure out how the hell it worked :_ [01:34] :) [01:38] l:) [01:38] x input sucks :) [01:39] this would be sooooooooooooooooooo^18 much easier starting from scratch (i.e. wayland :) [01:39] :). I hope you get a chance to hack on that! [01:40] if I can ever finish xi 2.1, I will! [01:40] then I'll make my own new window system so I can continue making input systems! [01:42] Maybe you could finish Y? [01:43] I should probably get a new nvidia card so that I have an nv5x+ card that isn't in a tiny, apallingly slow, netbook. [01:57] no crashes tonight :( [02:02] RAOF, when you bought a netbook you didn't expect it to be a supercomputer right? [02:03] bjsnider: Indeed I did not. But it would be nice to have a less slow nv5x+ box; I'd test it more :) [02:05] "less slow" is not very ambitious [02:07] Offgering to sponsor me a sandybridge + nvidia desktop and a fusion laptop? :) [02:08] * bjsnider runs screaming in the opposite direction [02:13] Hm. Surprisingly, making unity work on nv5x doesn't actually seem to make any more piglit tests pass. There's clearly a testcase missing. [02:17] RAOF, why doesn't the nouveau project provide you with the appropriate hardware? [02:17] Why would they? [02:17] because you obviously need it [02:18] I'd not be developing, particularly, with it. Just testing. [02:19] testing matters [02:19] they've got plenty of testers :) [02:19] it's not a trivial thing you're doing [02:20] they've got plenty of testers who can submit meaningful bug reports? [02:20] I could, of course, buy a $30 modern gpu. [02:20] not just "the thing doesn't work in the thing" [02:22] mine cost $50 === Guest28688 is now known as NCommander === yofel_ is now known as yofel [13:47] Sarvatt, new nvidia blob today [13:53] bjsnider, oh really? nice [14:25] uploaded it to the ppa for natty [14:25] what changes does it have? [14:26] - Added NV-CONTROL event notification for [14:26] NV_CTRL_FRAMELOCK_SYNC_READY [14:26] status changes. [14:26] - Added support for the following GPUs: [14:26] GeForce GTX 560 Ti [14:26] - Added a new X configuration option "Interactive", which defaults to [14:26] enabled, but can be disabled to allow long-running GPU compute programs [14:26] to run concurrently with X. [14:26] - Fixed a bug in the VDPAU presentation queue that could cause VDPAU [14:27] "display preemption" when rendering to tiny or zero-sized windows or [14:27] pixmaps. [14:27] - Fixed a bug in VDPAU which prevented use of the overlay presentation [14:27] queue following an application exiting without gracefully destroying its [14:27] VDPAU presentation queue. [14:27] oh and works with natty supposedly [14:27] ok, cool [14:27] though nouveau has been stable after switching away from firefox [14:39] Sarvatt, nouveau 3d works with my nvc4 :) [14:45] ricotz: you got the fw from somewhere? [14:48] tjaalton, you can get out of a mmiotrace [14:57] ricotz: people saying this blob doesnt work in natty either in #ubuntu-desktop :( [14:57] ricotz: right [14:59] Sarvatt, does it work you? (270.26) [14:59] got some debugging instructions for nouveau freezes? it locks up on my notebook after a few minutes with that [mi] EQ overflowing error [15:00] ricotz: about to test now [15:02] ricotz: hundreds of updates to grab :) [15:03] Sarvatt, perhaps you could add a patch to nouveau xorg driver which currently only enables 3d on nvc0 [15:04] the same initialisation seems to work for nvc3 and nvc4 [15:05] yup doing that now [15:06] great [15:10] uploaded that to xorg-edgers [15:10] xserver-xorg-video-nouveau_0.0.16+git20110214.46acb7e0-0ubuntu0sarvatt3. [15:10] Sarvatt, i am currently running a custom kernel to workaround a known problem [15:11] http://sarvatt.com/downloads/patches/0001-Also-enable-acceleration-on-nvc3-and-nvc4.patch [15:11] oh? [15:12] i think the cause is only the uninitilized "ret" variable in gpu/nouveau/nouveau_channels.c in kernel [15:12] which calim mentioned [15:13] but to me sure i switched to natty-master-next+linus-master+nouveau-linux-2.6 [15:38] sheesh this is a crazy amount of upgrades [15:40] are you updating the world? :P [15:41] yeah 530MB worth [15:41] i haven't updated anything but compiz and chromium-browser since xserver 1.10 went in [15:41] ah, ok, i am trying to update more often [15:42] * yofel will leave his notebook frozen if someone has an idea [15:59] yofel: https://wiki.ubuntu.com/X/Backtracing [16:00] if you need the X backtrace from the EQ overflowing error - I collected that on bug 711908 [16:00] Launchpad bug 711908 in xserver-xorg-video-nouveau (Ubuntu) "[natty] frequent nouveau freeze on GT218 [NVS 3100M] (rev a2) (affects: 2) (heat: 12)" [Undecided,New] https://launchpad.net/bugs/711908 === jcristau_ is now known as jcristau [16:02] yofel: gdb backtrace would be more useful [16:03] if you can ssh in from another machine [16:05] just doing that [16:05] install the dbg packages first [16:06] libdrm2-dbg, xserver-xorg-video-nouveau-dbg, xserver-xorg-core-dbg [16:06] thansk [16:06] *thanks [16:21] tjaalton, are there piglit packages for natty available [16:24] ricotz: dont think so, it doesn't really lend itself well to packaging with how often its updated and is very easy to compile locally [16:25] btw nvidia 270.26 doesn't work with natty xserver [16:25] http://paste.ubuntu.com/567382/ [16:27] Sarvatt, ok [16:27] Sarvatt, too bad, is it the same xserver git commit mentioned there? [16:28] yup [16:28] but i dont believe it [16:28] because the extension ABI version changed in january preventing nvidias libglx from loading and it loads properly now [16:29] building latest xserver git at the moment to see if its any different [16:32] hmm, fingers-crossed ;) [16:33] yay docs dont build [16:35] tjaalton: got it and added it to the report [16:48] Sarvatt: BTW if you're interested, I've just pushed my changes to nvidia-current (still in git): https://github.com/tseliot/nvidia-graphics-drivers/commits/master [16:49] tseliot: awesome! [16:49] Sarvatt: they should fix bug #616214, #540143 and #704607 [16:49] Launchpad bug 616214 in nvidia-graphics-drivers-96 (Ubuntu Maverick) (and 5 other projects) "Should Depend: on appropriate xserver-xorg-video-$ABI (affects: 7) (heat: 58)" [Undecided,Fix released] https://launchpad.net/bugs/616214 [16:49] Launchpad bug 540143 in nvidia-graphics-drivers (Ubuntu) "Symlinks libnvidia-tls.so.1 are not removed on package uninstall (affects: 1) (heat: 14)" [Low,In progress] https://launchpad.net/bugs/540143 [16:49] Launchpad bug 704607 in nvidia-graphics-drivers (Ubuntu) "Packaging issues in nvidia-current (affects: 1) (heat: 6)" [Medium,In progress] https://launchpad.net/bugs/704607 [16:49] I haven't uploaded anything to Natty yet because of the ABI [17:02] building the latest xserver with --disable-devel-docs --without-fop added works, phew [17:06] #0 0xb5f477e3 in ?? () from /usr/lib/xorg/extra-modules/nvidia_drv.so is all I get, no change [17:13] :/ [17:14] Sarvatt: on amd64? [17:14] i386, i dont use amd64 on any machines i care about [17:14] ah [17:15] looks like they just allowed extension abi 5 in their libglx and didn't update the xserver checkout it was built against [17:15] which sucks because they said they would in the next beta release on the forums [17:16] Sarvatt: can you generate an nvidia-bug-report.log, please? I'd like to send it to nvidia [17:17] sure thing [17:18] looks like it wasnt expected that 270.26 was compiled against the old xserver again - http://www.nvnews.net/vbulletin/showthread.php?s=fc330a9c1191f1a1b11159e26b751c67&t=159610 [17:20] oh, maybe it's just a mistake [17:20] tseliot: http://sarvatt.com/downloads/nvidia-bug-report.log [17:21] Sarvatt: thanks [17:23] Sarvatt: the log says against what commit of the xserver the driver was built [17:24] i.e. 780754050bc9cb1489f92a2a890ab5665e3e6358 [17:28] Sarvatt: what's the commit that broke the ABI again after December? [17:28] tseliot: there were a ton of them, lets see.. [17:29] tseliot: they fixed the extension abi break that stopped libglx from loading but didn't fix the video abi breaks [17:30] Sarvatt: ok [17:35] yofel: thanks, that's exactly what I've seen too [17:35] well, the other crasher [17:36] yofel: can you forward that upstream? if not, I'll do it tomorrow, or check if there's already one filed [17:54] ricotz: whoops looks like i uploaded the wrong thing to the PPA for nouveau, sorry about that [17:55] oh nevermind, right one is up there [17:56] Sarvatt, yeah, i checked the diff, it is fine, but havent restarted x yet [17:56] tjaalton: since you understand the error better than me, it would be nice if you could do it [18:09] Sarvatt, nvidia released a driver that still doesn't work with the new x server? i don't understand [18:09] yofel: sure, no problem [18:11] bjsnider: nope, still crashes X (270.26) [18:15] oh boy [18:15] The following packages have unmet dependencies: [18:15] xserver-xorg-input-evdev : Depends: xorg-input-abi-12.1 [18:15] xserver-xorg-input-mouse : Depends: xorg-input-abi-12.1 [18:15] we depend on the minor version too? :D [18:39] ricotz: http://paste.ubuntu.com/567425/ darn [18:44] ricotz: what kernel patch did you say you needed? i'm on another machine now and dont have the logs [18:55] Sarvatt, using natty/edgers packages, with the current natty kernel it boots normal without fw -- resulting in using swrast -- with fw already kms fails for me [18:55] let me search for the line [18:56] hi [18:57] can somebody change https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/714280 to not-fixed ? [18:57] Launchpad bug 714280 in xorg-server (Ubuntu) (and 3 other projects) "The error was 'BadLength (poly request too large or internal Xlib length erro'. (affects: 5) (dups: 1) (heat: 32)" [Undecided,Fix released] [18:58] Sarvatt, http://cgit.freedesktop.org/nouveau/linux-2.6/diff/drivers/gpu/drm/nouveau/nouveau_channel.c?id=3428239fc054b0c6d6024aea293f5efa02b5dc95 [19:00] dupondje: can you get a backtrace from gdb? [19:00] (break on _XError) [19:00] jcristau: if you give me some hints how to :) [19:01] fetching firefox-dbg :) [19:01] you'll want libgl1-mesa-glx-dbg and libx11-6-dbg [19:05] mmm [19:06] "/usr/bin/firefox": not in executable format: File format not recognised [19:06] firefox -g or something [19:06] also, somebody should fix firefox's X error handler to not be so useless [19:20] sorry router needed a reboot )à [19:20] jcristau: http://paste.ubuntu.com/567438/ [19:22] dupondje: in frame 7, print *sgi_req [19:22] euh ? :) [19:23] at the gdb prompt, type 'frame 7' [19:23] and then 'print *sgi_req' [19:24] (gdb) print *sgi_req [19:24] value has been optimised out [19:26] bah. [19:27] not very usefull eh :D [19:29] if you need more info .. :) [19:31] if you can get a noopt mesa build... [19:32] how :) [19:36] set DEB_BUILD_OPTIONS=noopt [19:38] then rebuild mesa ? or ? [19:38] yes [19:38] works with pbuilder-dist also ? [19:38] i have no idea [19:44] how can I see its building with noopt ? [19:48] nvm :) [19:49] lets just change debian/rules ^^ [19:52] building [20:05] still building :( [20:05] :p [20:05] Sarvatt_, any luck? [20:19] jcristau: [20:19] (gdb) print *sgi_req [20:19] $1 = {reqType = 98 'b', glxCode = 17 '\021', length = 3, vendorCode = 65539, pad1 = 3, screen = 0} [20:29] dupondje: hrm. that vendorcode makes no sense. [20:30] #define X_GLXvop_GetFBConfigsSGIX 65540 [20:30] should be that one. [20:30] thats what I get ;) [21:07] jcristau: got enough debug info ? :) [21:13] i suppose i should try and reproduce.. [21:13] the link on the bugreport page gives me a crash directly :) [21:14] well i'm not running ubuntu.. [22:05] Sarvatt, should i bother to update the maverick/lucid blob? sounds like they didn't do anything helpful [22:05] bjsnider: I sure as heck ain't gonna do it, up to you if you want it in there but nope it doesn't look like its anything interesting [22:18] Looks like we might want f67a559daaa0 from drm-intel if we want e6510 systems to work :) [22:18] bryceh: I can reproduce 714280 [22:18] every single time :s [22:21] dupondje: i assume it goes away if you set your locale to something en_*? [22:21] RAOF: https://patchwork.kernel.org/patch/499221/ too for the backlight to actually work [22:22] RAOF: who wants a display on a laptop anyway.. [22:22] LANG="en_US.UTF-8" [22:23] no more crash ... [22:23] dupondje: ok, at least that much makes sense. [22:23] dupondje, interesting [22:24] normally I use nl_BE btw [22:24] if you want to try to reproduce [22:26] nope, still no crash [22:31] weird [22:31] got to test smth [22:31] brb [22:34] ok, now thats the weirdest thing ... [22:34] changed LANG back to nl_BE .. and guess what [22:34] it doesn't crash .. [22:37] ah ok [22:37] page was in cache in firefox, and thats why :) [22:38] RAOF: a new xserver git snapshot will change abi's in a way that breaks all input driver packages so there will be some turmoil.. we're depending on minor abi's too :( [22:39] Yeah, that was a mistake. Although I think we *may* have needed to rebuild anyway, because they'd behave strangly if not. [22:39] bryceh: can you remove page from cache ? [22:39] and try to view it with locale nl_BE.UTF-8 [22:39] dupondje: does glxinfo or glxgears crash? [22:41] nope [22:42] can you set LANG to nl_BE.UTF-8 [22:42] run firefox [22:42] and view http://support.mozilla.com/gd/questions/753448 ? [22:43] as i said, i'm not running ubuntu. [22:43] @ bryceh ;) [22:43] ok :) [22:43] btw [22:43] [GLX] currently only allowing the NVIDIA proprietary driver, as other drivers are giving too many crashes. To bypass this, define the MOZ_GLX_IGNORE_BLACKLIST environment variable. [22:44] never seen that message before ... [22:45] bryceh: fwiw the locale bit is strtod("1.4") not returning 1.4 if the decimal separator in the current locale. [22:45] err, add "is not '.'" at the end there. [22:45] dupondje, done, visited url in a restarted firefox with that LANG... no crashes [22:46] jcristau, ahh [22:46] weird [22:47] http://paste.ubuntu.com/567494/ [22:47] looks clear now its the locale ;) [22:48] dupondje, fwiw that GLX warning seems sensible. -nouveau is kinda hit or miss for 3D [22:49] i'm not on nouveau [22:49] but ati [22:49] That's actually mozilla blacklisting everything but the binary nvidia driver; WebGL won't work on intel or amd. [22:49] oh wild [22:50] Yeah. There's a pretty big thread on mesa-dev@ about it, with mozilla and chromium devs complaining about libGL crashes when they enable it. [22:50] dupondje: i have no idea why you don't get the same thing from glxinfo. it seems to do GetFBConfigsSGIX too afaict.. [22:51] well, I suppose WebGL is still relatively new. Probably depends on newer GL stuff the other drivers don't have yet. [22:51] Actually, they were complaining that they couldn't even probe the driver in use without libGL crashing :) [22:52] Both radeon and intel should now support all the features required, though. [22:52] jcristau: I wish I could give you the answer :) [22:53] jcristau, are you able to reproduce the crash? [22:53] as i said, i'm not running ubuntu. [22:53] :) [22:54] need to try and download a natty cd at some point i guess [22:55] I can debug some more if wanted [22:55] just tell me what :) [22:55] * albert23 can reproduce the crash with http://support.mozilla.com/gd/questions/753448, not with the link in the bug [22:56] locale ? [22:56] maybe break without the _XReply in getFBConfigs, see what sgi_req looks like then. or run firefox through xtrace or wireshark. [22:56] s/without/before/ [22:56] xtrace would be good [22:57] dupondje: nl_NL [22:57] xtrace 1.2.0 may be better if you have a chance to sync that [22:59] never used xtrace [22:59] dupondje, there's adequate help on it via google [23:00] works pretty much like strace or ltrace, except for X protocol instead of syscalls. [23:00] so something like 'xtrace -o my_firefox_trace firefox http://support.mozilla.com/gd/questions/753448' [23:03] uploaded to the bug [23:04] http://launchpadlibrarian.net/64420019/my_firefox_trace [23:10] ok, so vendor_op=0x00010004 is indeed GetFBConfigsSGIX. but the 40 in front of it is supposed to be the length, and that doesn't make sense. [23:11] dupondje: can you get me an xtrace from glxinfo? [23:13] sure [23:14] http://launchpadlibrarian.net/64420572/glxinfo [23:14] there [23:14] oh crap [23:15] glxinfo doesn't do setlocale() [23:15] so it takes the glx 1.3 path [23:17] bryceh: is the ubuntu stuff in git up to date, or missing some bits? [23:18] jcristau, should be up to date [23:19] hrm [23:19] that doesn't have the right fixes [23:19] jcristau, which package? [23:19] mesa [23:20] you want 4324d6fdfbba17e66b476cf008713d26cac83ad1 e27913f805acbb7d00f83ba625a8605576738a13 cbe9fc12a64c3ae89fd1b20e9e165aa4b76293a5 [23:20] 108_fix_leaks_dri2_screen_creation.patch is unrelated to that bug [23:21] anyway [23:21] I go sleeping :) [23:21] if some more debugging/testing is needed, feel free to add to the bug or mail me :) [23:24] dupondje: thanks [23:25] jcristau, got it thanks [23:26] i guess there was some confusion with dupondje linking a different commit from the bug [23:26] yeah [23:35] dupondje, jcristau, uploaded mesa with correct fix. Thanks for investigating, hopefully it's fixed for good now, sorry for my confusion. [23:35] thanks [23:40] Sarvatt: Do you have any comments on my gallium fallback RFC?