=== zorael_ is now known as Zorael [01:15] jbarnes: good news!!! figured out Zorael's crash when closing the lid. darn KDE!! [01:16] :3 [01:16] in /usr/share/acpi-support/screenblank there is a call to lock the screen in KDE before dpms off [01:16] elif [ `pidof dcopserver` ]; then [01:16] dcop kdesktop KScreensaverIface lock [01:16] fi [01:17] (then xset dpms force off [01:17] apparently theres no way to adjust that and it always locks the screen on KDE because of that script [01:23] thats pretty major and needs to get fixed up, i wonder how many of these bug reports regarding lid close hangs are in KDE [02:08] https://bugs.edge.launchpad.net/bugs/390917 [02:08] Ubuntu bug 390917 in acpi-support "screenblank script unconditionally forces screen lock in KDE which causes crashing upon lid close under KMS." [Undecided,New] [02:15] Sarvatt: so what's the root cause of the hang in that case? [02:15] if it's a GPU hang it's still a driver bug [02:15] but if it's some other app locking things up... [02:16] Oooh. I think I might see that bug. [02:16] theres a problem locking the screen in gnome too, someone was saying they get a huge amount of gem_objects adding up when they locked their screen [02:20] Sarvatt: ah that would be interesting [03:04] jbarnes: looks like its a userland problem [03:05] i had hcarty run sudo xset dpms force off to see if it worked normally or if it crashed for him and it works normally, gnome-screensaver must be calling something else on top of it too [03:05] Sarvatt: ok thanks... please update the bug with whatever you find [03:08] i'm just guessing gnome-screensaver is locking the screen/session after an extended period of idle, why locking when dpms is off is broken under KMS all around would be interesting to know if thats the case.. [03:18] argh, cant ever be cut and dry.. sudo xset dpms force off && sleep 50 && sudo xset dpms force on hung for him. the other guy was using the lidfix -intel driver and this guy is using the normal one [03:24] having him update with the driver that has your patch from http://bugs.freedesktop.org/show_bug.cgi?id=22383 to see if that fixes it [03:24] Freedesktop bug 22383 in Driver/intel "X server stuck in infinite loop on laptop lid close" [Critical,New] [04:01] Sarvatt: but it seems fixed. [04:01] i haven't tried the laptop lid thing [04:01] will try it after thunderbird's done compiling. [04:01] stupid enigmail dosen't have a x64 build for tb3 [06:37] oops, Estimated repository size: 1.8 GiB (88.00%) of 2.0 GiB [06:37] not enough room to update the kernel in edgers, going to have to ask for more [06:38] You could probably out-of-tree the drm modules? [06:42] That's how I need to do the new nouveau-kernel-source package. [07:08] libdrm is going to need updating before you upload if you're packaging nouveau up [07:10] i dropped kernel-source completely and threw apw's kernel in here https://edge.launchpad.net/~xorg-edgers/+archive/nouveau -- there are some huge problems with it right now in that non KMS doesnt even work on any machine i've tested it on [07:23] Sweet. [07:25] I'm just aiming to get it to build out-of-tree right now, though. That'll be a prerequisite of any package update :) [07:31] i imagine thats going to break things for non-nouveau on karmic if you do get it working? [07:34] that'll be odd for the intel/nvidia hybrids [07:34] No, I don't see why? [07:34] Ok, possibly. [07:34] How many intel/nvidia hybrids are there, anyway? [07:35] And they're already broken; the binary driver breaks everything anyway. === RAOF__ is now known as RAOF_13 === RAOF_13 is now known as RAOF [08:47] Ok. Here's something that should build out-of-tree. Let's try it on an actual nvidia-containing laptop! [08:53] intel/nvidia hybrids? O_o [08:53] you mean there are laptops with two gpus? [08:54] Or desktops with integrated intel cards + an actual video card. [08:56] hyperair: yeah, e.g. some Vaios, they have a switch to flick between performance and battery life [08:56] I think there might even be a thinkpad with such a thing [08:56] hey that's pretty damn cool [08:57] for a moment i thought you could have separate X screens on them =\ [08:58] You'd have problems there already; X doesn't much like multi-card. [08:59] hyperair: I'm pretty sure it's not cool ;) [09:00] * RAOF wishes get-orig-source didn't have to clone a kernel repository. [09:00] Ng: why not? [09:00] Ng: only one is active at any one time right? [09:02] hyperair: yeah, but it's a bit of a nasty hack, it would make more sense for the chipsets to be able to scale themselves up and down, imho [09:02] hmm yeah [09:02] true [09:10] The chipsets already _can_ do that. [09:10] nvidia chipsets you mean? [09:11] Certainly the nvidia ones can; I presume the intel ones can to. [09:11] i'm not sure they can [09:11] i'v never heard of any such thing [09:11] at the very least, i don't think there are any knobs to tweak [09:11] Why would there be? [09:12] hmm so it's autoscaling? [09:12] Well, care of the driver. [09:12] er maybe i'd like to drain my battery extra fast =p [09:12] You might want to try running under Windows; I'm fairly sure that exposes some Intel graphics powersave options. [09:13] don't remember seeing it =\ [09:13] but then again that's a desktpo [09:19] Yeah. Amazingly enough, they don't tend to add crazy OMGBATTERYLIFE applications to desktops :) [09:37] surely the driver is the same =\ [10:11] check out gmabooster hyperair :D [10:11] what/s that? O_o [10:11] gmabooster.com [10:15] huh overclocking intel gpu O_O [10:16] oh right you're using 965, sorry [10:17] ._. [10:17] you mean it doesn't work for 965? [10:51] sweet, thJaeger fixed up wacom for xinput abi 7 and its working here. i really wish we had xorg-testing on the edgers team so other people could help me out without mailing me the packages :) === zorael_ is now known as Zorael [12:26] man, this dpms problem is complicated [12:32] question: how long has x2i been in edgers (if it's there at all)? [12:34] it hasnt been in edgers yet, i've been doing it on my own for the past month or so [12:35] https://edge.launchpad.net/~sarvatt/+archive/xorg-testing [12:36] okay [12:36] must be a gedit bug then that pasting and typing occasionally just happens to a previous cursor location [12:36] seemed like something that might have been related :p [12:38] any way you can reproduce it 100% so i can see if it happens to me? i havent noticed that [12:39] any special plugins you have enabled? [12:40] I can't discount a plugin screwup yet [12:40] I'd just ignore that I said anything for now :p [13:03] what's x2i? [13:03] or did you mean xi2? [13:24] hi [13:24] Where can I download the Ubuntu X testing live cd? [13:26] With KMS and latest drivers? [13:26] Or is it already enabled in current Karmic daily cds for -intel? [13:27] the kernel with KMS enabled default is 2.6.30-10 if you can find a file manifest for the livecd [13:35] Sarvatt: thx [13:36] Sarvatt: it is still not the default kernel so no chance with the daily live cd [13:37] I could try modprobe i915 modeset=1 but it doesn't work with Jaunty. Is anything else needed for kms except of the Kernel parameter? [13:38] when you boot the livecd, press f6 i think it is so you can see the kernel boot options [13:38] scroll all the way to the right on the big line of text, and right before you see the -- at the end [13:38] add i915.modeset=1 [13:38] If I enable kms in Jaunty with the 2.6.30 kernel I still can use x but couldn't change to console [13:39] so it looks like blahblah casper blahblah root blahblah i915.modeset=1 -- [13:39] Sarvatt: Ok, thx [13:39] sounds like you were using the mainline kernels instead of the karmic kernels, you can use video=fbcon at boot time to fix that if you want to use mainline ones for some reason [13:39] yes, mainline in Jaunty [13:40] use karmic's kernel instead, its alot better for this :) [13:40] wont have that problem [13:40] But then I have to upgrade to Karmic I guess [13:40] nope just grab the kernel [13:40] do you use xorg-edgers? [13:40] Btw. my boottime dropped about 4 seconds with the new Karmic kernel [13:40] Sarvatt: yes, at least some packages [13:41] if so, just sudo apt-get install linux-image-2.6.30-10-generic linux-headers-2.6.30-10-generic linux-headers-2.6.30-10 [13:41] intel driver and what else is needed to get it running [13:41] karmic kernel is in the PPA for jaunty [13:41] you need to upgrade everything in there at the same time, its not meant to be used pick and choose [13:41] ah ok [13:41] I still want to have a stable system ;) [13:41] So I know what to remove [13:42] -intel, libdrm2 and libdrm-intel [13:43] But the fbcon option sounds promising. I am going to test it [13:44] you dont want to use edgers then, you really cant just pick and choose because everything in there is built against the other things in there and depends on that. ya really want to use a different PPA if you just want a subset of the things in there [13:45] :) [13:45] The deb packages know what they need so there should be anything missing [13:45] i wish it was that simple [13:45] The updates repository is great too but I wanted to test the tearing free textured video output [13:45] Works for me :) [13:46] the deb packages for -intel do not know they were built against dri2proto 2.1 which exposes a new code path at compile time in the driver [13:46] same for xserver, same for mesa [13:47] if you just use the intel/drm from there with the ubuntu mesa, things are broken [13:47] video=fbcon was the problem [13:48] The only problem I had was that I have to manually define -intel otherwise I get vesa [13:48] drm2 and drm-intel are installed and current mesa [13:48] thats because you dont have the xserver in there [13:48] That's why I wanted to test it with Karmic to see if a bug report is needed but obviously not [13:49] i really need to make the warning about this on the page bigger or something [13:59] Sarvatt, re: my other suspend issue (yay acer), http://bugs.freedesktop.org/show_bug.cgi?id=20520#c54 is reported to help eliminate the other suspend bug that is confounding things a bit [13:59] Freedesktop bug 20520 in Driver/intel "[945GM] display freezes a few minutes after resuming" [Critical,New] [13:59] * cwillu pokes jbarnes with a stick [13:59] i'm bugged out right now [13:59] np [13:59] lol [13:59] Sarvatt: :) [14:00] I give Karmic a shoot so I can open bug reports if something doesn't work. [14:00] * hyperair just realized that Sarvatt's kernel doesn't have fuse! [14:00] "Sarvatt, I tried kexecing to a 2.6.27 kernel with an ext4 root fs, and it broke my suspend" [14:00] yes it does! [14:00] no wait it does [14:01] hmmmmmmmmmmmmmmmmmmm [14:01] it has CUSE too [14:01] then why oh why doesn't tomboy detect it?! [14:01] 2.6.27 and ext4? [14:01] ext4dev :p [14:01] it was a joke [14:01] LOL [14:01] ._. [14:01] Even the 2.6.28 Ubuntu ext4 backport is broken [14:03] Another reason to use the mainline kernel :) [14:03] Does anyone know what was the reason for the fast Gnome start time since Jaunty? [14:03] i've been trying to figure out the unable to resume from dpms off problems with different people through alot of trial and error, its funny i found a fix for 2 of them because I screwed up [14:04] :) [14:04] O-o [14:04] * hyperair configured g-p-m to never dpms off [14:04] commented out a fi when i shouldnt have so i killed the rest of the script from running which actually made it work right [14:05] xDD [14:08] hmm 24 hours uptime, compiz crashed once 12 hours ago, and GEM usage at 400M. this is awesome =D [14:27] Sarvatt: If Karmic is shipped with 2.6.31 will KMS be enabled for Radeon too? [14:28] depends on if they can actually make it work withOUT kms at the same time by then probably :) [14:28] .31 sounds early for that [14:28] agreed [14:35] imagine if they shipped UXA/KMS in jaunty... they could have since 2.6.29 was released in about the same time span away from jaunty as .31 will be from karmic :D [14:38] Sarvatt: KMS doesn't need to be enabled for Radeon I guess [14:39] And there is a really annoying suspend bug in 2.6.30 which hopefully gets fixed in 2.6.31 [14:40] i saw a promising patch for suspend/resume problems earlier [14:41] http://lists.freedesktop.org/archives/intel-gfx/2009-June/002963.html [14:41] This is not an Xorg problem in my case. [14:42] my whole system gets corrupted after resume [14:42] readonly file system and so on [14:42] ? [14:42] ah [14:42] many dmesg errors and reboot doesn't work [15:07] Zorael: did I miss anything here? https://bugs.edge.launchpad.net/ubuntu/+source/acpi-support/+bug/390917/comments/4 [15:07] Ubuntu bug 390917 in acpi-support "screenblank script unconditionally forces screen lock in KDE which causes crashing upon lid close under KMS." [Undecided,New] [15:14] Sarvatt: You mentioned a dpms freeze. Does this still happen with curent -intel driver? [15:24] yeah quite alot of reports about systems not coming back up from dpms off (be from a lid close or screen idle timeout) in the past few weeks, i was trying to wrap my head around how it works to find any workarounds until its fixed and found one so far but its specific to KDE [15:26] need to find someone on gnome having the problem to try having CheckPolicy() always return 1 in /usr/share/acpi-support/policy-funcs and then commenting out the xset dpms force off in /usr/share/acpi-support/screenblank to see if that works too [15:28] well after also changing all of the gnome settings to do nothing instead of blank screen too [15:30] maybe it has something to do with kwin in combination with dpms [15:30] and the driver of course [15:35] the acpi-support CheckPolicy in that policy-funcs script doesnt even check kde's power manager right as far as i can tell, it always returns 1 and lets acpi-support handle the events and something tells me they are both trying to handle things at the same time :D [15:35] debian has patches to it that make it check the right things for kde but we dont have that [15:47] cwillu: wow really good feedback on the patch in the bug you listed [15:48] have you tried it out yet? need a kernel deb? [15:49] hello x team! I was wondering the best place to put the TapButton synclient commands so they are applied during each boot in Karmic? [15:53] cgregan: sudo wget -O /etc/hal/fdi/policy/11-x11-synaptics.fdi http://sarvatt.com/downloads/11-x11-synaptics.fdi [15:54] Sarvatt: excellent! Thanks [16:01] Sarvatt: considering hal's going to be dropped, where's the next best place to put all that? [16:02] Sarvatt: i'm particularly going to miss my emulate 3 buttons hack (enabled for touchpads, disabled for actual mice) [16:02] wait a week for gnome-settings-daemon to be updated where you can change it directly in the mouse control panel applet :) [16:02] a week O_o [16:03] i'm interested to see how that goes [16:03] i could package it for you right now if you want :) [16:03] nevermind [16:03] if i wanted it that badly, i'd package it myself ;) [16:03] i'm just surprised it's coming so quickly [16:04] you can just grab the source, disable the ubuntu touchpad extension patch, and add this http://git.gnome.org/cgit/gnome-settings-daemon/commit/?id=4eb9bd09219afbb56f114a2d10bc585e24db803e [16:04] well this too maybe :D http://git.gnome.org/cgit/gnome-settings-daemon/commit/?id=19476de63d140bb178d79a318e1916ac59d9cda1 [16:05] hmm.. /me clicks [16:06] cool. it works with syndaemon now eh [16:10] by the time hal is actually gone there will probably be a ton of things to control it, didnt look like it'd be hard to add it to gpointing-device-settings when i was looking at it the other day before i saw it was added to g-s-d [16:12] gotta reboot and see if g-s-d is fixed with xinput abi 7 now [16:30] Sarvatt: If I use kms it works but I get the wrong resolution [16:30] it gets automatically corrected after starting the Display options but not before [16:30] How can I influence the default resolution of kms? [16:31] It seems that KDE doesn't use the xrandr service anymore [16:37] cwillu: pong [16:48] Sarvatt: Got this dpms freeze again [17:03] Sarvatt: thanks for the summary on that dpms bug [17:03] really seems to point at a driver issue [17:12] Cpu usage seems to be much more better with X in Karmic than in Jaunty [17:16] yeah for sure, desktop environment doesnt matter and it happened all at once recently.. just thought it was interesting that it could be avoided doing certain things but I couldnt figure out how to find out more info on whats happening. almost seemed like acpid and the desktop environment could be figting over control and both acting on the actions since the policy in there doesnt check for kde4 power management and always tells the ac [17:16] pi-support scripts run [17:17] machines up, nothing in the logs but the screen wont turn back on unless the xset dpms force off is removed from the lid close script [17:26] jbarnes: fwiw, I had a freeze when display went off with the same gpu dump as Ben Gamari. This patch fixed it for me: http://paste.ubuntu.com/202245/ [17:29] albert23: ah that's what my !crtc->enabled patch was supposed to do [17:29] I guess the crtc is still enabled but has a dpms mode of off [17:29] I'll fix it up [17:36] Sarvatt: checked bug description, don't think you missed anything [17:42] bryce: 3 people now that mentioned having problems in irc since the KMS kernel went into karmic an hour ago and all were the fbdev problem [17:45] "the fbdev problem" ? [17:45] http://cgit.freedesktop.org/xorg/xserver/commit/?id=aef6b904ebf0d7de6259058606c7c04ea177bda3 [17:45] oh right [17:46] would be nice to fix that properly some day.. [17:46] more common than i thought to not have an xorg.conf i guess [17:47] is it odd that it only happens with KMS? [17:48] Sarvatt, ah interesting; I'll up that in my todo list for today [17:48] btw, looking at the -nv pci id stuff presently [17:48] Sarvatt: without kms you don't have a fb device [17:48] well [17:48] at least it's less common [17:51] Sarvatt: pretty sure if you boot with vesafb and ums, you get the same FatalError [17:53] albert23: posted an updated patch for the vblank related hang [17:53] should fix the video case too [17:54] though I think there's other code to handle that already [17:58] ahh i guess i was just assuming usplash loaded a fb of some sort, that'd explain it then [18:03] nice that they even went and packed intel_agp and i915 into the initrd so it looks nice 4 seconds in instead of 15 :D but usplash doesnt work with KMS so the fsck display and dm-crypt entry screens are tricky this way.. [18:24] will they do something about usplash and KMS? will they fix it for karmic? [18:27] Duke`: the boot will be so fast you won't want usplash slowing you down [18:27] oh yeah :p [18:30] its about 10 seconds slower on my bootcharts than jaunty was for me, but i get a cursor and panel starting to load a good 20-30 seconds earlier than i did before and it feels faster because of it [18:33] but my x is pretty different than the one in karmic (using xserver 1.7 with some different options) so i dont know if the speedup is there or all the gnome improvements [18:42] * Sarvatt wishes debuild had an ignore .git option [18:42] Sarvatt, I think it does actually [18:42] or you can force it: debuild -I".git" -sa -S [18:42] wow i need to look into that then [18:43] I think there might be a config file or env var you can set or something [18:43] '-I -i' works [18:43] create ~/.devscripts [18:43] and set DEBUILD_DPKG_BUILDPACKAGE_OPTS [18:43] DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i -I.bzr -I.svn -I.git" [18:43] aha [18:44] the one i use probably doesn't account for .git, but it's easily added: [18:44] DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i'(?:^|/).*~$|(?:^|/)\..*\.swp|DEADJOE|(?:/CVS|/RCS|/\.svn|/\.deps|\{arch\}|\.arch-ids|\.arch-inventory|\.bzr|\.bzrignore|\.shelf)(?:$|/)' -ICVS -I.svn -I\{arch\} -I.arch-ids -I.arch-inventory -I.bzr -I.bzrignore -I.shelf" [18:45] superm1, you run into arch repos much? [18:46] * Sarvatt cheers! [18:46] thanks for the tip! [18:48] probably will save me 300MB/day bandwidth from fdo with that :) [18:59] bryce: do you think 352207 might be a dupe of the recent 945 resume bug? [19:00] ah no it's hibernate... nm [19:08] jbarnes, ah [19:09] trying to reproduce now [19:10] i've seen the invisible x thing from that before possibly, happened just yesterday actually. somehow x got moved over to VT9 (?) so i thought it was invisible and vt8 became vt1 but that might not be the same :D [19:22] http://www.phoronix.com/forums/showthread.php?t=17812 :) [19:26] bryce, no :) I got that somewhere in #ubuntu-motu like 2 years ago and it's not failed me, so i've not changed it [19:26] superm1, just giving you a hard time. ;-) [19:27] tormod, wow, that is like the total inverse of a bug report ;-) [19:48] Sarvatt: ok so there's some confirmation of the patch in http://bugs.freedesktop.org/show_bug.cgi?id=22383 [19:48] Freedesktop bug 22383 in Driver/intel "X server stuck in infinite loop on laptop lid close" [Critical,New] [19:48] sounds like jithin still has issues though, maybe a differnt problem [20:46] * Ng spied a blog post earlier about problems with 2.6.30-10 and the intel driver. not upgraded yet though [20:50] bryce: hah, whenever I add to that hibernate bug something happens right after I hit "commit" [20:50] jbarnes, heh, figures [20:57] Ng are you using KMS now? you wont have problems if so [20:59] Sarvatt: yep [20:59] :) [22:34] Sarvatt, bryce: just updated https://bugs.freedesktop.org/show_bug.cgi?id=22383 with a new patch that works for me [22:34] Freedesktop bug 22383 in Driver/intel "X server stuck in infinite loop on laptop lid close" [Critical,New] [22:43] uploaded to the same place -- https://launchpad.net/~sarvatt/+archive/bugs [22:44] well it'll be there in a few minutes at least [22:47] oops i referenced the wrong patch name in the changelog but its the kms one and the link is right [22:48] apw, did the kernel upload with i915.modeset=1 by default go in? [22:49] yeah a few hours ago [22:49] 2.6.30-10.12 [22:57] jbarnes, ok cool, I don't know if we have a bug in launchpad on that issue, but if not will it be included in the 2.8 release? [22:57] yeah it should be in 2.8 assuming I get some more good feedback [22:58] ok cool. looks like jithin is giving pretty quick feedback on patches [22:58] * bryce is working on the mesa intel memory fixes currently [22:58] yeah shuang came up with a bunch of good ones [22:59] these look suitable for backporting, but since they appear to be UXA bugs maybe not worth risking it for jaunty. But we'll see how the testing goes in karmic. [22:59] some are generic I think [23:00] haven't looked too closely though, maybe they only affect dri2 paths [23:10] bryce, yeah went up today finally [23:11] apw, sweet. do you plan to put out an announce to ubuntu-devel? If not, I can do it. [23:12] makes just as much sense if you do it, if you are happy to do it, its late here [23:12] no prob