[04:05] RAOF: hey - how hard is it to tell from GPU hang data whether it's a bug that's been fixed already? [04:07] I think it depends. [04:07] And in what way hard? Automated hard? Dude looking at it hard? [04:08] Either. I have an apport report from a Natty machine, and I'm wondering whether this is a "cherry-pick one patch and move on" or "cry in a corner" grade of problem. http://web.mit.edu/broder/Public/xserver-xorg-video-intel.2012-01-21.crash if you have a second [04:08] Certainly some bugs are easy to tell; there's an obviously-bad value in the command stream. And by ‘obviously’ I mean ‘obvious to someone who fixed the bug’ :) [04:09] I seem to be able to reproduce it with some amount of consistency by going from either an extended or cloned monitor layout to just the external being enabled. Symptomatically the screen is all black [04:10] Actually...I wonder if this is connected to the issue where GnomeRR screws up the CRTC config on the external display [04:11] It looks to me like that gpu dump isn't useful; it seems to have fallen off the end. [04:12] :-/ [04:13] I suspect that might have picked up the post-reset hardware state. [04:14] I forget - how much of the relevant data is gathered when I run apport-collect/ubuntu-bug as opposed to when the hang actually occurs? [04:15] The most useful information - the gpu dump - is collected when the hang occurs. [04:15] Hmm, ok. Phrased differently, given that I can reproduce the issue without too much difficulty, is there something else I can do to get better debugging output? [04:16] drm.debug=0x4 might spew something interesting into dmesg; and a newer kernel has better gpu hang reporting. But that latter thing's not very useful for you :) [04:17] I can try to drop in a newer kernel. I suppose the risk is that it fixes the bug as a side-effect :) [04:18] Right :) [04:37] RAOF, are we pushing X today? [04:38] cnd: I'm not sure. There's the Xorg metapackage left to go - tjaalton was on that - and an intel upload. Things got delayed by the PPA running out of room. It's now got 4GiB of space, and so that's resolved. [04:38] ok [04:38] * cnd is getting anxious :) [04:42] :) [04:42] By the way, is there an obvious place to get the unclamped input history of a master device anywhere? [04:42] (ie: not clamped to the screen) [04:51] RAOF, raw events? [04:52] Yeah, I guess so. [04:52] And maintain my own history. [04:52] the only way to get history that I'm aware of is the XI 1.x motion history [04:52] Or, rather, pull stuff out of valuators[0] and [1]. [04:52] and that is only the history of the normal events [04:52] Yeah. [04:53] though I'm not sure if master devices spit out raw events [04:53] I bet they do, but you'd want to double check [04:54] Since I'm actually in the server I can just pull stuff out of the DeviceIntPtr [04:56] RAOF, and maintain the history yourself? [04:56] Yup. I only need this, this-1 anyway. [04:57] ahh, ok [04:58] tjaalton: You're doing the Xorg metapackage? [04:59] cnd: If I want the valuator in screen coordinates I'll need to rescale it, right? [04:59] hmmm [04:59] it potentially depends :) [05:00] :) [05:00] I'll follow stuff through, then. [05:00] I would imagine the coordinates are stored in screen coords already [05:00] that's my best educated guess without looking at the code [05:00] I think they are for master devices. [05:00] and it's still my sunday night, so... [05:00] :) [05:00] RAOF, that sounds familiar [05:00] Yeah, certainly. Just picking your brains while you're here :) [05:01] like for master devices the device int ptr holds screen coords while for slaves it holds device coords [05:01] I think there's a comment to that effect [05:02] Good, that concords with my understanding. I'll also check that I get sane values out, but that should work nicely. [05:03] Oh, whoops. Need to cherry-pick an additional patch for the xserver. [05:32] RAOF: it's basically done on git, maybe just needs another pair of eyes to check it through [05:34] Ok, cool. [05:36] maybe I'll just upload it to the ppa [05:36] now that there's room [05:36] I can give it a look over if you like, but you could just upload. [05:38] i'll just do that [05:44] done [05:45] now off to feed the kids :) -> [05:46] :) [06:50] RAOF: if i drop precise's kernel on top of natty to test this GPU lockup, do you know off the top of your head if natty's detection/state dump tools still work? [06:50] Yes, they should. [06:51] Cool [07:16] hmm uploaded xorg to a non-existing ppa first, should be ok now [08:14] RAOF: wacom works [08:37] hum, I'll merge xkb-data [09:06] RAOF: would you agree that we can drop the dvorak-intl -> dvorak-alt-intl rename in xkb-data, now that oneiric is out? [09:18] hmm no, after precise === chrisccoulson_ is now known as chrisccoulson [13:52] hello [13:52] will xorg-edgers ppa have xserver 1.12 for oneiric? === yofel_ is now known as yofel [16:24] tjaalton, do you know where we stand on the x upload? [17:06] cnd: not really, xorg metapackage is on the ppa so maybe we are good to go and waiting for RAOF to hit the big red button [17:11] ok [19:34] evening [20:30] RAOF, let me know when you're on so we can discuss the X upload [20:36] speaking of which, could we sneak in the new stable release rc? [20:36] i'll try merging with debian [20:40] tjaalton, yeah, having this ctrl+alt+* thing patched would be nice too [20:40] ricotz: hm? that's xkb-data [20:41] no need for xserver patches [20:41] oh, but debian has a xserver patch for it [20:41] cnd: looks like merging from the upstream stable branch doesn't work without reverting some stuff [20:42] http://anonscm.debian.org/gitweb/?p=pkg-xorg/xserver/xorg-server.git;a=commit;h=663e92e660a15548f68a764479d7d59ed5c9af64 [20:42] ricotz: applied before a new xkb-data was available [20:42] tjaalton, there's been a new 1.11 stable release? [20:42] cnd: rc's [20:43] debian has 1.11.3.901, .902 was released on saturday [20:43] tjaalton, it's a pain to merge because of the frankenserver [20:43] I'd suggest that if we are ready to push as is, we do so and then update [20:43] yeah [20:43] we can merge later [20:59] Hmm, somehow I still have the screensaver bug, with xkb-data 2.3-1ubuntu3 from canonical-x/x-staging [20:59] [ 2185.106] Ungrabbing all devices and killing their owners; grabs listed below: [21:04] tjaalton, ^ [21:04] by any chance, has someone tested fglrx 8.920 or 8.930 with xserver 1.12? [21:06] arg, ubuntu-bug fails, not an official ubuntu package [21:13] albert23: i can't reproduce it [21:14] running the same repo [21:16] Tjaalton: I am using a laptop, using numlock so the P becomes *. Could that make a difference? [21:18] ah me too, tried the wrong key :) [21:18] let's see.. [21:18] xev says that's XF86ClearGrab, no underscore [21:18] the package diff says XF86_ClearGrab, with underscore [21:18] yep, still happens [21:19] look at xkbcomp output [21:25] jcristau: which input file should I use for xkbcomp? [21:25] your X server [21:26] xkbcomp :0 gives no output [21:26] xkbcomp :0 - [21:28] lists XF86ClearGrab with KP_Multiply [21:28] sure. [21:28] that's not an issue tho [21:29] you want to check if there's an associated action [21:29] action= Private(type=0x86,data[0]=0x43,data[1]=0x6c,data[2]=0x73,data[3]=0x47,data[4]=0x72,data[5]=0x62,data[6]=0x00); [21:30] same here [21:30] on a server started after xkb-data was upgraded? [21:31] indeed [21:31] need to check [21:31] I did upgrade earlier today and booted the new kernel [21:31] that doesn't make a lot of sense... [21:31] hm the package was updated three days ago, so yes [21:32] could "XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm" be related? That file is dated 8 December for me [21:32] albert23: yes [21:32] haha [21:32] very much so. [21:34] mine is dated 5min after the package update [21:36] after a reboot [21:36] hm [21:36] though it could use an older one.. [21:36] why of course [21:36] from september [21:37] i'm winning.. ;) [21:37] yay moblin patches [21:37] I have multiple too, but youngest is 4 days ago [21:37] So it doesn't seem to rebuild with an update [21:39] not necessarily no [21:40] and the server picks a seemingly random one [21:40] it even tries multiple, according to x log [21:41] eh [21:41] quality crap [21:41] interesting: it only tries the 3 oldest, dated 8 December, not the youngest [21:43] ricotz: why bother testing fglrx, it won't work [21:45] albert23, so you needed to delete the old xkmfiles to fix the security bug? [21:45] cnd, didn't do that yet [21:46] xkm cache files can cause other issues, as I found out a few months ago :) [21:46] bryce, RAOF, you guys thought about adding a script or hook somewhere to clean those out [21:46] but, faster boot! [21:46] any news on that? [21:47] cnd, thought about but no plans [21:47] you could make them live in /run so they go away on their own [21:48] jcristau, that would defeat the purpose :) [21:48] not really [21:48] they are cached to make subsequent X server starts faster [21:48] you'd run xkbcomp once instead of 3 times per device [21:48] or so I've been told [21:48] (ok, maybe not 3, but still) [21:49] i suppose rm them in xkb-data.postinst would make sense too [21:49] that's what I'm thinking [21:49] to invalidate the cache [21:49] tjaalton, still hoping, i can't play with fglrx here though, but nvidia has a driver built against 1.12 [21:50] nvidia != fglrx [21:50] ricotz: built? as in package doesn't conflict? [21:51] jcristau, i dont have a radeon card so i never used it [21:51] tjaalton, as in binary built against the 1.12 video abi [21:51] which version is that? [21:51] ricotz: me neither. but from experience nvidia works with an xserver release as soon as that exists. fglrx waits until the next one is almost there. [21:52] tjaalton, no public release though, 295.10 [21:52] ok [21:53] jcristau, right, but as the nvidia binaries tend to work with never servers, i was hoping kind of the same with fglrx [21:53] not surprising though, since aaronp got upset recently when the abi was going to be broken again [21:53] jcristau, 290.10 kind of works with 1.12 [21:53] ricotz: as i said.. [21:53] nvidia != fglrx [21:53] right [21:55] ok, moved the xkm's away and restarted X. Now I have fresh xkm's and xkbcomp does not show XF86ClearGrab with action anymore. [21:56] screensaver works fine now [21:56] hm, the staging upload was not in git [21:58] if dpkg --compare-versions "$2" lt-nl 2.5; then [21:58] rm -f /var/lib/xkb/*.xkm [21:58] fi [21:59] I'll try that.. [22:01] tjaalton: tbh i don't think that should be version-specific [22:01] yeah [22:01] true [22:01] cnd: Yo! [22:01] RAOF, holla! [22:01] RAOF: hang on, I've got a xkb-data update under testing ;) [22:02] tjaalton: Merged from Debian? Cool. [22:02] tjaalton, with the postinst change to delete the cache? [22:02] cnd: yes [22:02] tjaalton, cool [22:02] RAOF: read the recent backlog [22:03] Yay xkb cache? [22:03] that [22:05] RAOF, so once tjaalton has the xkb cache issue resolved, are we ready to push? [22:06] I believe so, yes. [22:07] cool [22:11] mdeslaur, ping [22:18] cnd: yes? [22:19] so we want to push the latest X bits to precise today [22:19] cnd: ok [22:19] with a fix that tjaalton is readying for xkb-data, we believe we have addressed the security hole [22:19] cnd: ok, great [22:20] is there anything we need to do at this point? [22:20] or did you just need to check that we had things fixed before pushing? [22:20] cnd: I just wanted to make sure the fix went in before it got pushed [22:21] ok [22:21] thanks for following the issue :) [22:21] cnd: thanks for fixing it! [22:22] np (though tjaalton and RAOF deserve the credit :) [22:22] and albert23 for the heads up :) [22:22] thanks tjaalton and RAOF too [22:22] :) [22:22] and albert23 [22:22] np [22:26] pushed the commit, fixed it here [22:27] so it removes the cache files every time postinst is run [22:31] ok, pushing it to the ppa [22:31] or, to the archive? [22:31] does it matter? [22:31] tjaalton, I think this can go to the archive [22:32] yeah [22:33] hmm [22:33] actually, RAOF pushed it to the ppa last time [22:33] you could probably do either, unless xkb-config has an interdependency with the X server [22:33] I did, but there's no reason for this to not go to the archive. [22:36] I pushed it to the PPA since it only fixed a bug found in the PPA; a new upstream version is more widely usefu. [22:38] pushed to precise [22:45] RAOF: you have the keys now ;) [22:45] tjaalton: Ok. I'll find out how to turn them :) [22:45] yeah, noticed :) [22:46] \o/