/srv/irclogs.ubuntu.com/2010/04/11/#ubuntu-x.txt

Sarvattlooks like i'm not alone getting insane memory usage with intel 2.1101:23
rippsI know the moment I say this I'm going to Jinx it, but since installed kernel 2.6.33 from the kernel-ppa I havent' had any Xorg cpu hogging.01:29
Sarvatttjaalton: have you seen http://cgit.freedesktop.org/~whot/xf86-input-wacom/log/?h=waltop ?01:36
Sarvattripps: did you also update ati to 6.13 at the same time? :D01:43
rippsSarvatt: no, I rebooted and tried that before installing 2.6.3301:43
rippsSo, no the ati update didn't fix it01:43
Sarvattstill had it with 6.13 and the lucid kernel then?01:43
rippsSarvatt: yes01:43
rippswhoa, irssi just crashed all of sudden there..... hope that wasn't an omen01:46
Sarvatti was going to say do a xlsclients and start killing off things until you find which it is, most likely something in there01:46
Sarvattwhat mainline kernel did you install?01:46
Sarvatt2.6.33.2?01:46
rippsSarvatt: inux-image-2.6.33-020633-generic01:48
Sarvattdo you see anything flooding ~/.xsession-errors when its slow? or dmesg?01:48
rippsSarvatt: fitst thing I checked, I didn't see anything01:49
Sarvattchromium has been acting kind of similar for me the past week of daily builds but its not making the X process CPU spike after closing it.. I was going OOM after a few hours and thrashing wildly even with 3GB ram, thats why I was asking about that01:50
rippsSarvatt: eh, I switched back to google-chrome, it's html5 video is a bit uglier, but it seems a little faster01:51
Sarvattbut i did have flash using all of my cpu still doing what you said after i closed it one time01:51
Sarvattyeah I switched to the in-archive chromium and its alot better01:51
Sarvattthink its from the beta channel01:51
rippsI recently helped fta resolve a bug with sse2 with chromium, because chromium was crashing on any html5 video, but even with that fixed, I still think the equivalent version of chrome when compared to chromium is still a bit faster.01:53
rippsIt's probably just how it's compiled. Maybe google uses profiled builds01:53
Sarvattinteresting if its really fixed by 2.6.33 and not the lucid kernel though, definitely not gpu related if so01:53
Sarvattyou said mouse options affected it at some point?01:54
RAOFSarvatt: I've got a hacked-up nouveau/linux-2.6 building locally.  Mostly.01:54
rippsSarvatt: well, I didn't have this problem when I first installed 2.6.32-19. It first appeared after the large number of updates the day before. So I'm guess that an update in xserver earlier caused it.01:55
rippsSarvatt: well I was playing around with some stuff, and after disabling mousetweaks the cpu usage of Xorg dropped to around 5% instead of 20%, but a few minutes later it went back up.01:55
Sarvattwell hopefully it was a client app that was screwed up and fixed, i think gnome-keyring gwibber desktopcouch and gnome-control-center were screwed up pretty bad recently but not sure if any of those had spiking X cpu usage as a side affect.. if you cant reproduce it after a day or so on that mainline kernel i'd be interested if you still have the problem on -19 or -2001:59
Sarvattdont know what generation ati you're using but there were a bunch of fixes in mesa 7.7.1 too02:00
rippsI'm using r300 ati radeon 960002:01
rippsI'm wondering if the 2.6.33 has something in it's scheduler that prevents whatever's happening in Xorg to occur02:02
rippsOn an unrelated note, I couldn't get the 2.6.34-rc3 kernel to work because it would turn my monitor off when X started. I couldn't figure out a way around it.02:04
Sarvattdid you use the lucid or karmic one? i can't use 2.6.34-x-karmic at all, panics right when it starts :( there's always radeon.modeset=002:05
rippsthe karmic ppa only had header packages02:06
Sarvattcheck your /var/log/dmesg.0 after booting it, and rebooting into a good kernel?02:06
rippsSarvatt: the archived dmesg log doesn't say anything that stands out to me02:08
rippsand the Xorg.1.log says that it couldn't find any screen(s)02:09
rippsit seems my monitor wasn't initialized02:10
rippsy'know, every once in a while, I get an audio stutter and Xorg goes up to 15% for a moment, but than it seems to recover and go back to ~3%. I wonder if the problem is still occuring but the kernel is able to recover more elegantly than lucids02:14
Sarvatt2752 objects03:07
Sarvatt-2109001728 object bytes03:07
Sarvattkaaay03:07
Sarvattthats with stock lucid packages too, hmm..03:11
Sarvattahh my mesa texture tiling setting was carried over after the downgrade03:12
Sarvattripps: try installing linux-backports-modules-alsa and use the lucid kernel?03:20
rippsSarvatt: really? okay, I don't know how it could be related...03:21
rippsHmmm... I'm getting a lot of gdk errors for gmpc in my .xsession-errors log... think that could also be a cause?03:24
Sarvattwhat errors?03:25
ripps(gmpc:8052): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed03:25
rippsI have gmpc start at boot, and leave running a seperate workspace03:26
JanChm, question, could anybody recommend a (cheap) graphics card that supports OpenGL 2 with open open source drivers in lucid?  ☺03:28
rippsDoes any oss driver have complete opengl 2?03:29
JanCI wish I knew...03:32
johanbraccording to http://www.x.org/wiki/RadeonFeature , the radeon driver has that on R600/R70003:33
johanbron the other hand, most of the 3d features say "Mostly done"03:34
JanCI suppose some of the newest Intel drivers might support it on their newest hardware too03:37
johanbrI hear the intel drivers have been in pretty bad shape lately, though03:37
JanCbut intel doesn't sell "cards"03:38
ScottKjohanbr: My experience has been Intel was 'unfortunate' in Jaunty/Karmic, but pretty good so far in Lucid.03:39
JanCsointel has been good on karmic for me03:39
johanbrahh... happy to hear that's improved03:39
JanConly jaunty was bad03:40
JanCand I have 3 different intel systems...03:40
rippsHmm... according to xlsclients, ubuntuone-login and ubuntuone-preferences are in use, is there any way to stop them?03:42
rippshmm killing them seems make things a little smoother03:44
rippsWell, I'm going back to the lucid kernel to see if I can isolate use xlsclients to see if there's a particular app that's causing cpu hogging.03:46
Sarvatt965+ intel, R600+ ati with mesa 7.8+03:51
rippsMy new favorite tool: watch. easy to check changes to various logs at a glance from my screen terminal03:55
JanCSarvatt: was that an answer about my OpenGL 2 question?  if so, I was looking at recommendations about R600+ ATI cards that actually work well I suppose...  ;)04:02
bjsniderJanC, i'm going to regret asking this question i guess, but why the "open source drivers" condition?04:39
=== Amaranth_ is now known as Amaranth
JanCbjsnider: because I prefer that, even if only to give a "message" to manufacturers  ☺07:00
JanCand I don't really need it, I just wanted to try out an application that apparently needs OpenGL 207:03
tjaaltonSarvatt: yes, have you seen http://sourceforge.net/mailarchive/forum.php?thread_name=alpine.DEB.2.00.1004091001160.30959%40deckard.hut.fi&forum_name=linuxwacom-devel :)07:50
tjaaltonSarvatt: merged the waltoptablet kernel driver with wacom07:50
RAOFJanC: I recently got a radeon 43something or other for $60 that Just Works™ and supports OpenGL 2.0 with the free drivers.07:50
rippsDoes anybody know how to read straces of Xorg? What exactly is normal?17:45
ScottKbryceh: Any objection t me uploading a fix for Bug #560814?17:49
ubottuLaunchpad bug 560814 in xserver-xorg-video-r128 "Conflicts/Replaces version needs bumped for Hardy -> Lucid upgrades" [Medium,New] https://launchpad.net/bugs/56081417:49
=== BUGabundo is now known as BUGabundo_snack
=== BUGabundo_snack is now known as BUGabundo
Sarvattwow, didn20:24
Sarvattt realize it was so easy to edit insyde efi bioses20:24
Sarvattahh wrong channel sorry :)20:24
Sarvattugh so it looks like theres quite a few lenovo laptops with intel needing powersave=0 too.. maybe we should have just made it opt-in globally20:29
Ngwhat actually happens when you set that?20:34
=== Sinnerman is now known as Cobalt
Sarvattdepends on the chipset, it disables things like self refresh CxSR and framebuffer compression20:44
SarvattNg: do you have one of the machines experiencing the problem?20:44
Sarvattcan you boot with drm.debug=0x04 and watch dmesg to see what happens when it flickers? that'll help alot figuring out what feature is causing it20:45
NgSarvatt: my X301 (Gm45) intermittently has flashing issues. I can't really say whether powersave=0 changes anything yet, it's so annoyingly rare :(20:50
Sarvattyeah all the affected ones i've seen still are gm45 too, all lenovo too oddly20:52
Sarvattcan you describe the flicker at all?20:53
NgI have a vast selection bias towards lenovos, since a lot of canonicalers buy them, but fwiw one of them is an IdeaPad, which I think is quite different internally to a Thinkpad, but I'm not sure20:53
Sarvattideapad shouldn't be flickering at all anymore..20:53
Ngit could be that it stopped, I'll check with ivanka tomorrow20:54
Sarvattthose should have been fixed in the -18 or -19 kernel20:54
NgI'm booted without powersave atm and I've not seen it for a while, but it's not that predictable20:55
SarvattNg: if you can boot with drm.debug=0x04 on your x301 and send along your dmesg it would help20:55
Sarvattlike does the whole screen shift for a fraction of a second? or is it isolated to part of the screen? does it black out or just shift the screen contents over a little?20:56
NgSarvatt: just attach the output after booting, or when it actually flashes?20:56
Sarvattand does it happen when the system is idle or right after you do something?20:56
Ngit's like the bottom 1/3-1/4 goes slightly out of sync and corrupted for like 1 or 2 frames20:56
Sarvatteither, preferably the latter but you said it was hard to trigger20:56
Nghmm, I'm not sure about the idleness factor20:57
Sarvattany idea if its isolated to something like during video playback?21:00
NgI'm pretty sure it's not related to video playback, but perhaps I had flash open in browser tabs at the time. certainly not something like totem though21:01
SarvattNg: do you have another monitor plugged in?21:04
NgSarvatt: it generally seems to only happen when I have no monitor attached. At work I have an LCD hooked up to the DisplayPort connector and it's *never* happened then21:04
Sarvattself refresh is disabled when you have more than one monitor plugged in21:05
SarvattNg: yeah a dmesg just after boot with drm.debug=0x04 would be handy21:05
Ngok, lemmie just close everything down and get that now21:06
Sarvattappreciate it Ng21:06
Ngvery much likewise :)21:07
Sarvattheyo tormod21:14
NgSarvatt: added21:15
SarvattNg: bug number?21:15
tormodkonnichi wa Sarvatt :)21:16
stgraberhey tormod !21:19
NgSarvatt: bug #53864821:19
ubottuLaunchpad bug 538648 in xserver-xorg-video-intel "[gm45] Irregular sync flashes with compiz on (Lenovo T500)" [Medium,Incomplete] https://launchpad.net/bugs/53864821:19
Sarvattthanks, odd that it didnt show up in my ubuntu-x-swat mail21:20
* ScottK says "What the heck" and uploads.21:20
ScottKbryceh: Nevermind.  Uploaded it.21:21
tormodbonsoir stgraber :)21:22
NgSarvatt: what influence does the idleness of the machine have? some part of the chip being powered down or so?21:24
Ngooh21:29
Ngit just flickered21:29
Ngand again21:29
Ngthe drm debug thing is only logging cursor changes, and it doesn't seem to be related to that21:29
stgrabertormod: it's still the afternoon here ;)21:32
Sarvattthats odd, Ng can you try drm.debug=0x05 then?21:33
NgSarvatt: sure, lemmie just close everything down again ;)21:34
Sarvattlooks like self refresh and fifo watermark updates are 0x01 not 0x04 so 0x05 will get both of those21:34
SarvattNg: actually just drm.debug=0x01 would be enough21:34
Ngok21:34
tormodstgraber, guess you're in Quebec then :)21:34
Sarvattsorry about that, I thought that info was given in 0x0421:34
stgrabertormod: yep, will be in Switzerland for two weeks between the 24th of April and the 9th of May. Not sure if there's anything getting planned for the release there though.21:35
NgSarvatt: wow that's a lot of output :D21:37
Sarvattyeah :( save it now if you can before it overflows then save the rest after it happens (if it does)21:38
tormodstgraber, not much cooking for an RP here (yet) except something in Winterthur21:38
NgSarvatt: looks like it overflowed pretty quickly after booting, as soon as my desktop appeared I launched a terminal and did dumped dmesg to a file21:39
Ngand it's lacking kernel boot messages21:39
Ngbut I'm guessing it's all gone to syslog21:39
Sarvattthats ok you'll have the boot stuff in /var/log/dmesg21:39
Ngsyslog from boot->now is 116MB :o21:41
NgI'm not sure I can leave this on, but hopefully it'll flicker soon21:41
Sarvattwell can ya just run intel_reg_dumper and attach that, and attach the /var/log/dmesg from this boot to the bug too?21:42
Sarvatti'll upstream it after ya put those on there and I get home21:43
NgSarvatt: sure thing21:44
NgSarvatt: done21:49
Sarvatti dont know why g4x_update_wm and i965_update_wm self refresh info goes to DRM_DEBUG when i9xx_update_wm and older goes to DRM_DEBUG_KMS, thats what threw me off21:49
=== BUGabundo is now known as tellari
=== tellari is now known as BUGabundo
=== BUGabundo is now known as BUGabundo_dinner
=== BUGabundo_dinner is now known as BUGabundo
kklimondahey, what to do if crt monitor sends invalid edid info?22:18
kklimondahttp://pastebin.org/146979 Xorg.0.log is anyone is interested22:21
NgSarvatt: just had a glitch and I hadn't rebooted :)23:12
Ngsnagged dmesg and gpu regs and added them to the bug23:16
Ngand now I'm definitely rebooting to get this debug mode cleared ;)23:16
SarvattNg: just to be clear, it only happens with compiz enabled for you too?23:51
* Sarvatt is filling out the upstream bug report and using your info23:51
NgSarvatt: I've only seen it with compiz because I haven't tried without compiz :/23:52
Sarvattah ok, too bad theres nothing in that new dmesg you posted since it was only a seconds worth :D23:52
Ngwoah23:53
Nghrm23:53
Ngsyslog will have it even though I've rebooted23:53
Ngcurrent syslog is 1.9GB :O23:53
Sarvattsheesh! :D23:53
NgI might wait until I'm in the office tomorrow to upload that ;)23:53
Sarvattgrep it for [drm:g4x or [drm:intel ?23:55
Nggrepping out drm:drm_ioctl and gzipping gets it down to 869K23:58

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