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

SarvattNg: can ya attach your Xorg.0.log too? since i'm using your info for the report and it doesn't match the other guys00:01
Ngsure00:01
NgI'll attach .old since that should match up with the drm_debug=0x01 boot00:02
Sarvattokie Ng, https://bugs.freedesktop.org/show_bug.cgi?id=27589 if you wouldn't mind subscribing incase they ask for more info :)00:18
ubottuFreedesktop bug 27589 in Driver/intel "[GM45] Occasional flickering unless powersave=0 is used on lenovo laptops." [Normal,New]00:18
NgSarvatt: cool thanks, subscribing now00:24
Sarvattwell its linked now so it'll show up in the launchpad bug, forgot about that :D00:24
DanaGhmm, has the version of nouveau planned for Lucid been locked down?  I'm having this issue, which I'd call a release-blocker for some hardware:01:29
DanaGhttps://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nouveau/+bug/54712401:29
ubottuLaunchpad bug 547124 in xserver-xorg-video-nouveau "Starts in low graphic mode due to segmentation fault at 0xc4" [High,Confirmed]01:29
DanaGI've added a backtrace with debug symbols.01:30
DanaGah, looks like it's already being commented on. cool.01:30
RAOFDanaG: Yeah.  Can you try edgers?  There's a libdrm commit that looks jucily like a fix for that.01:33
DanaGYup, already tested it, in fact -- works fine in Edgers (as long as you keep the userspace and kernel components matching).01:34
RAOFRight.01:34
RAOFThat, of course, being the big (Linus-fire-breathing) trick.01:34
DanaGhmm, I can try fetching source with that package, depending on how long it'll take to build that myself.01:35
DanaGah, just libdrm... cool.01:36
RAOFIf it works fine in edgers that's all I really need to know.01:36
DanaGheh, nv17 is a card that never should have existed.01:42
DanaGIt's absolute bollocks that they replaced the geforce3 with a "4 mx" that's really not even a geforce3.01:42
RAOFThat's your GeForce “4” MX, right?01:42
DanaGYeah.01:42
* RAOF had one of those, too.01:42
DanaGI mean, even cutting down a geforce 3, I can understand.... but to skip back two generations? Fail.01:43
DanaGIf ATI did the same, the 9200 would be a souped-up Radeon 7500, not a tweaked Radeon 8500. =þ01:44
DanaGno, it would be a 7000.01:44
DanaGCool, rebuilt libdrm... works great with that patch.01:45
DanaGer01:45
DanaGlemme double-check.01:45
DanaGgdm seems to be doing something funky.01:45
DanaGyup, it works.  Had to reboot to un-failsafe it.01:46
RAOFSweet.01:47
DanaGAnd now that I'm not on edgers, it's not offering 3D -- which is a good thing, since nv17 3D is just a "bag of hurt".01:48
DanaGhmm, is there a slightly-less-"edgy" xorg-edgers that has the nouveau that would go with 2.6.34 kernel?02:25
DanaGgreat... the display-switch hotkey on this laptop forcibly goes behind the OS's back and does god-only-knows what, and royally breaks the video output.02:26
DanaGon the old Toshiba, ubuntu netbook would be far nicer than winxp... if not for toshiba's stupidity (that needs a driver that's only in 34 kernel).02:27
RAOFDanaG: edgers, with /usr/lib/xorg/extensions/nouveau_vieuex.so deleted?02:30
DanaGOr rather, dpkg-diverted.02:30
RAOFYah,02:30
DanaGMy brother was wanting me to set the thing up (it's his old laptop) for my grandmother (who lives way across the country).02:30
DanaGOr maybe just build the new toshiba-acpi out-of-tree.02:32
* DanaG gives up and sticks XP on the thing... and will be glad to be rid of it.03:20
DanaGToo much stuff broken by the combination of nvidia + toshiba.03:20
RAOF:/03:21
DanaGI can't, in good conscience, set up Ubuntu on this old Toshiba, for somebody who lives way across the country. Especially with things as bad as the "I hit two keys and the screen died" sort of stuff.03:22
DanaGAnd as a bonus, I can stop griping about the nvidia thing... since it won't be in my hands anymore. =þ03:22
RAOFThat laptop's can't be your gforce2mx, though.03:23
DanaGno, I mean, the toshiba IS the one with the MX.03:23
RAOFAt what point did some madman want to stick a gforce 2 mx into a laptop.03:24
RAOFThat ain't no laptop card!03:24
DanaGAnd some madman also used not only a P4, or a Celeron, but both -- P4-based Celeron!03:25
DanaGEw.03:25
DanaGIf P4 == crap and Celeron == crap, then that thing == crap².03:25
bjsniderDanaG, are you now absolving nvidia of any blame for your crappy laptop?03:26
DanaGActually, it's my brother's.03:27
DanaGI would never have chosen something that sucky. =þ03:27
DanaGIn this case, Toshiba is the one to blame.  They even managed to screw up the EDID, so it claims to be 969x768.03:28
bjsniderit is not nvidia's fault that they spend 30 seconds a year working on the 96 driver?03:28
DanaGThat's not what I meant.  Toshiba were just the ones to choose the stuff to go into the laptop... and they chose badly.03:29
DanaGAnyway, that's all way off-topic, anyway.  Oops, I just said "Anyway" twice -- or now it's 3 times.03:31
rippsHmm... just booted into new -20 lucid kernel. Xorg seems to be higher than usual, but I'm not experiencing any performance loss with my browser and pulse. Guess jus wait and see if the usual lag shows up.04:10
rippsThere it goes04:20
rippsuptime 25 min04:20
rippsthis makes no sense, what happens at ~25 minutes that could be causing this lag04:22
rippsEverytime I move something, either changing window in screen or moving something with my mouse, I get a serious amount of lagging and stutter. Everything visual and audio become choppy...04:24
Sarvattit go away if you switch to a vt and back?04:33
rippsSarvatt: nope04:34
rippskilling gnome-session or otherwise restarting Xorg fixes things; for another half hour04:35
rippsXorg ~20% normally, around ~10% in VT. Not much audio lagging there.04:36
RAOFA mem-leak which takes about 25 minutes to make you hit swap?04:36
RAOFSomething triggers gnome-settings-daemon to probe the xrandr properties crazily?04:37
rippswhoa, killing gnome-settings-daemon made Xorg jump to ~75%. Massive slowdown, than back down to normally laggy ~20%04:38
rippsAccording to top, Xorg is only using 3.8% memory, is that enough to hit swap?04:39
rippsOf course, this might have nothing to do with Xorg, it's just a victim here.04:40
RAOFWhat's actually happening when everything goes pear-shaped?  Is there a high memory load, or high CPU usage, or…?04:42
rippsRAOF: I've been trying to figure it out, but I can't find any sortof trigger besides ~25 minutes, and either nautilus or a browser open. If I'm not using the computer and just have Transmission and evolution open, it doesn't seem to hit lag zone.04:44
rippsBut I can just be scrolling down a page in chrome and at around ~25 minutes, lag zone hits. I get this in 2.6.33 mainline as well, but it only happens for a minute before it seems to recover and behave normally.04:46
RAOFAnd what are the symptoms other than “it seems to get laggy”?  Is there an unusual memory load?  Unusual CPU load?04:46
rippsRAOF: the only thing I can notice is that Xorg's cpu usage tends to be a bit higher. There doesn't seem to be an abnormal amount of swap being used according to free -m (in fact, it says only 39mb is being used by swap now)04:47
RAOFSo the CPU usage isn't 100%?  Load average is reasonable?04:48
RAOFLet's get some logs!  Xorg.0.log and dmesg.04:48
RAOFOne of those might provide something to bite into.04:49
rippsRAOF: I've been checking all the logs in /var/log. I'm not finding anything useful.04:49
rippsI'll pastebin them if you want04:49
RAOFThey'll be better than nothing.04:50
rippsXorg.0.log: http://pastebin.com/3sDYpmZ504:52
rippsdmesg: http://pastebin.com/3sDYpmZ504:53
rippscorrection, dmesg: http://pastebin.com/gCfekW1m04:53
rippsmessages: http://pastebin.com/WqKAFCvC04:55
Sarvattdarnit, guess I can't use chromium anymore at all, my system starts going swap crazy after a few hours no matter what versions of everything i'm using.. my gem_objects are rediculious using chromium, 3k objects using 1.2GB after 2 hours uptime..04:56
Sarvatt[21157.585651] Out of memory: kill process 19759 (chromium-browse) score 2358912 or a child04:57
Sarvatt[21157.585663] Killed process 19759 (chromium-browse)04:57
Sarvatt[21209.492436] pulseaudio invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=004:57
rippsdebug: http://pastebin.com/s3e3dvTH04:57
rippsSarvatt: do you see that with google-chrome-unstable?04:58
Sarvatthuzzah it actually killed itself on its own in under 5 minutes for once, usually I spend almost 20 barely able to move the mouse pointer before giving up04:58
RAOFYou're right.  Apart from your tuner drivers being broken I don't see anything particularly informative in those logs.04:58
rippsI kind of forgot about that tuner, I haven't used it in years... I should just remove it.04:59
Sarvattripps: yeah no different with google-chrome-beta even04:59
rippsI don't think compiz is responsible for the problem. First of all, the problem persists, even when I revert to metacity; Second, the compiz effects aren't actually slowed down, I can use scale and expo with decent speed. But scrolling or opening a window grinds video/audio to a momentary halt. It like theres something up with gtk or X11 rendering.05:02
rippsI'm about ready to reinstall my entire ubuntu to see if it fixes the problem, I'm an upgrade from Karmic to Lucid Alpha 1 and I figure it can't hurt to clean up the system.05:04
rippsI have my /home on a seperate partition, so It should be pretty clean and straight forward reinstall05:05
Sarvattvalgrinding X sure is a fun adventure05:08
rippsI've read a few comments on Identi.ca where some people think that lucid beta2 is much more unstable than the alphas. I think a recent upgrade has been giving alot of problems05:10
Sarvattoh ripps your problem might just be a pulse problem05:19
RAOFSarvatt: What do you think about bug #541492?  The only thing reported to work reasonably there is disabling DRI, which seems a serious feature regression.  It doesn't look like we've got the “big hammer” kernel patch, which also isn't a fix but makes things crash less.05:23
ubottuLaunchpad bug 541492 in xserver-xorg-video-intel "MASTER: [i845] GPU lockup (apport-crash) (Should KMS be blacklisted?)" [Unknown,Confirmed] https://launchpad.net/bugs/54149205:23
RAOFIn a surprising turn of events, it looks like i845 is more stable *with* kms than without.05:24
rippsSarvatt: nope, I already tried killing pulse, no such luck.05:25
RAOFUpstream seems to have a good idea of what's going wrong, just not a good idea of how to fix it.05:26
RAOFI guess we could disable DRI for release, and then fix it in an SRU when there's a fix available.  Maybe.05:26
rippsI'm going back to 2.6.33 mainline so I can d/l the lucid-beta2 iso and reinstall ubuntu.05:29
SarvattRAOF: 8xx is a mess, I think 865 is the only one thats even remotely stable and theres pretty much no way the fixes are going to be in lucid.. he keeps pushing out huge patch series on the lists that refactor whole subsystems in preparation of trying to fix things on 8xx05:33
Sarvattblacklisting KMS on 8xx was working for a lot of people from what I saw because we disabled UMS support in intel 2.9.1 for awhile (meaning people got vesa automatically with nomodeset) and I see just as many problems now that we have UMS again except people have to manually pick vesa now too05:35
RAOFRight.  There seems to be at least as many and as serious problems with UMS as KMS.05:35
RAOFThe question is what to do about it.05:37
Sarvattoh nice, thats a  differen't fdo bug that i was looking at earlier05:37
Sarvattwhich big hammer patch did you mean?05:37
RAOFFedora has a patch which doesn't fix things, but which introduces a sufficient delay that it doesn't hit the problem so often.05:37
Sarvatti was just digging through agp commits that are different between our 2.6.32 and upstream05:38
RAOFBugger.  ctrl-w shouldn't be so close to ctrl-v05:38
SarvattRAOF: do you mean drm/i915: Apply a big hammer to 865 GEM object CPU cache flushing.?05:38
RAOFhttps://bugzilla.kernel.org/attachment.cgi?id=25084 is the patch that I'm talking about.05:38
Sarvattbecause we've had that for a long time05:39
Sarvattah yeah we just have the equivalent to that for 865 only05:40
Sarvatt(which is probably why 865 actually kind of works)05:40
RAOFHm.  Not according to my grep of ubuntu-lucid05:40
RAOFwbinvd is called from exactly 2 places in lucid's kernel - drm_cache.c and ati_pcigart.c05:41
RAOFIf we had the big hammer patch, it's been lost along the way somewhere.05:42
Sarvatthuh, you're right05:42
Sarvatthttp://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blobdiff;f=drivers/gpu/drm/i915/i915_gem.c;h=e2421869a40cf809f509c57e58a770a7c0e4043a;hp=e4408daf8cef099d388611268be5cbd5605c1dc4;hb=cfa16a0de5392c54db553ec2233a7110e4b4da7a;hpb=e76a16deb8785317a23cca7204331af053e0fb4e05:42
Sarvattah removed here http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e517a5e97080bbe52857bd0d7df9b66602d53c4d05:45
RAOFSo, the big hammer patch doesn't fix the problem, but makes it happen (much) less often.05:48
Sarvatthave you seen any reports that its crashing with vesa?05:59
RAOFNo.06:01
Sarvattcall me crazy but i think its more than a little crazy to expect things like compiz to work on a 10 year old GPU that was worse than a 4 year old GPU when it was released in a modern distro, they haven't had any acceleration on windows since vista in 2006 and vesa should just work™06:07
RAOFvesa won't necessarily get the resolution correct, though, right?06:08
RAOFIf we don't care about compiz we could just disable DRI on those cards.06:08
Sarvatti'm interested in knowing if anyone has problems with fbdev ontop of KMS on those GPU's06:12
Sarvatthmm http://bugs.freedesktop.org/show_bug.cgi?id=2718706:45
ubottuFreedesktop bug 27187 in Driver/intel "[i855GM] gtt chipset flush is not cache coherent" [Normal,New]06:45
RAOFThat'd be a duplicate, surely?06:46
RAOFOr, rather, should be.06:46
Sarvattnope thats 855 specific, patches dont work on 845 going by the other bug..06:46
RAOF“The new chipset flush is a magic dance involving a flock of canaries”06:48
SarvattRAOF: what netbook did you get?06:58
RAOFAn… Asus N10J06:59
RAOFIt's slightly heavier than my x200s :)06:59
RAOFBut it's got a crazy gpu switch on the side, an nv98, and an hdmi port.07:00
RAOFIt's kinda fun.07:02
Sarvattah darn AMI bios07:03
RAOFIt has, however, reinforced my opinion that netbooks aren't really useful for actual work :)07:03
Sarvatti just discovered the wonders of modifying EFI setup variables in insyde bioses, opened up a crazy amount of options I didn't have before and I'm sure switchable graphics ones have a lot more options :D07:04
RAOFOooh, cool.07:05
Sarvattpfft I've used a netbook as my primary machine for 1.5 years now and haven't looked back, 8.9" too07:05
* RAOF is firmly of the opinion that they're a poor-man's x200s07:05
RAOF12" is where it's at.07:05
RAOFYou get a full size keyboard, and a CPU that's faster than mental computation.07:06
Sarvattyup I'm poor! :) I have 4 other laptops but the 10 hour battery is what makes it for me, spend most of my time using it on the road07:06
Sarvatt11-12" is what i'm going to get next for sure though, already eyeballing some new ones07:06
Sarvattoh sheesh, lenovo has NIC/ac adapter whitelists in the bios too? I thought only HP was that crappy..07:11
RAOFAMI bios, so I can't play with funky options?07:14
SarvattRAOF: btw looks like theres more than just the backported fix for nouveau in the old nouveau api situation - http://cvs.fedoraproject.org/viewvc/F-12/libdrm/nouveau-fix-bo-failure.patch?view=markup07:19
RAOFBah.  Why isn't the second fix in libdrm git?07:20
RAOFAlso, why explicitly cast to void *?  That's throwing away the compiler warning that would have told you that you're doing something obviously wrong and stupid.07:21
RAOF:(07:21
Sarvattyeah with my insyde bios i can just dump the full list of options and patch the ones i want, never had any luck doing this with other brands before. here's a listing off one of mine (summary at the bottom) http://pastebin.com/fqAxCqmi07:22
RAOFSilly me.  Need to read more context.07:22
Sarvatttheres no NOUVEAU_BO_PIN in the 0.0.16 api07:23
RAOFYeah.  I should think before talking.07:23
Sarvattxserver: Branch 'server-1.7-branch' - 20 commits -- whoa07:25
asacbryceh: tjaalton: http://pastebin.com/SfEsJXN7 ... can i just upload ?13:45
asacor can you stage and upload?13:46
asac(thats the last one ;))13:46
asacfor lucid13:46
tseliotasac: it looks good to me. Do you have access to the git branch too?13:54
asactseliot: i dont think i have access13:54
asaccan you apply and i push13:54
asac?13:54
asacor just replay?13:55
tseliotasac: yes, I can apply your changes for you13:55
asacthanks13:55
tseliotasac: let me check if there's something else pending first13:55
asackk13:55
* asac stands in line13:56
tseliotasac: yep there seem to be pending changes: git.debian.org/?p=pkg-xorg/xserver/xorg-server.git;a=shortlog;h=ubuntu13:57
tseliotSarvatt: is your patch ^^ ready to be uploaded?13:58
ScottKtseliot: We got that KDE issue sorted over the weekend.14:01
tseliotScottK: that's great news :-)14:01
ScottKYeah, I was worried about that one.14:01
bjsnidertseliot, is there a big nvidia-current breakage right now?14:04
tseliotbjsnider: no, why?14:04
bjsniderthe lucid channel has been choked with complaints all weekend14:04
bjsnideralso several people are saying they managed to use the nvidia-installer14:06
tseliotbjsnider: complains about what? About not being able to complete the installation in Jockey?14:06
tseliotyes, you can use the installer, and screw your system in the process ;)14:07
bjsnideri thought it was disabled14:07
tseliotyou can override that block14:07
bjsnider<franta> NET||abuse: current is 195 and with nvidia-current 3D doesn't work for me :( but when I install binary distribudion from nvidia over it it works14:08
bjsniderthere were some complaints about jockey reporting that "a different version" is in use14:09
tseliotI have fixed that today14:12
tseliot(the 2nd issue)14:12
tseliotand "3D doesn't work for me" without any logs doesn't mean much to me14:13
tseliot(and without knowing how the driver was installed)14:13
bjsnidertseliot, i'll get more info about what the deal was on the weekend and report it to you, but i think it was the jockey thing.14:16
bjsnidera lot of people put too much faith in what jockey tells them unfortunately14:16
asactseliot: i can also upload this as 2.114:16
asacbut lets wait a bit longer for Sarvatt 14:16
tseliotbjsnider: ok, if so, revision ubuntu7 should fix it14:16
tseliotasac: yes, let's wait a little bit14:17
bjsnidertseliot, is it realistically possible to recover from using the nvidia-installer or should that person do a wipe & reload?14:20
tseliotbjsnider: maybe by passing --uninstall to the installer and reinstalling mesa14:21
seb128is there a known ati issue after user switching?15:49
seb128we get quite some bugs on the desktop side saying that screen stays blank after switching15:49
tseliotseb128: yes, it's a known issue, nothing we can do about it16:06
seb128tseliot, why not? I didn't check but is that a fglrx bug?16:07
seb128I'm pretty sure I saw an issue on a box using the opensource one16:07
tseliotseb128: yes, I was referring to fglrx. If it affects -ati then it must be a different issue16:08
seb128ok, is there a known issue on ati open source? ;-)16:08
tseliotI wouldn't know. Anyone ^^ ?16:11
tseliotasac, Sarvatt: my bad, there doesn't seem to be any pending commit. Feel free to upload. I'll commit your changes to git16:27
asackk16:27
asactseliot: if something explodes let me know ;)16:28
tseliotasac: sure :-P16:28
asacuploaded16:29
tseliotasac: ok, let me upload the git branch16:29
tseliotasac: ok, done16:32
asaccool16:32
Sarvattsorry about that asac and tseliot17:25
Sarvattdarn I was packaging up the new geode with the missing icon fix commit but Q-FUNK already pushed it to debian even :)18:26
Sarvattthe compiz change to not start at >= max texture size instead of > max texture size sure is ruffling alot of feathers19:11
Sarvatt> max texture size was working for radeon people with dual screen setups, but people on intel with 1 monitor thats 2048xwhatever can't use it19:12
Sarvatthmm looks like dual monitor 2048 virtual on intel worked too, just not single monitor19:13
Sarvattwell that doesn't look good..20:30
Sarvatt221 objects20:30
Sarvatt26755072 object bytes20:30
Sarvattmemory usage is fine with edgers, totally busted with lucid20:30
Sarvattahhh wait I disabled BO reuse in driconf this boot20:31
rippsOkay, it time to potentially break my desktop. Let's reinstall Ubuntu20:32
rippsOkay... livecd is broken, just drops me to a commandline, no X20:55
rippsokay, how about trying xorg-edgers, and than if that fails, I'll try d/ling the daily livecd21:50
rippsWell, xorg-edgers seems to load just fine, we'll see if I still get the massive slow down in ~25 minutes21:58
rippsHmm... well, it's been about 50 minutes, and I haven't seen any massive slowdowns/lag/stuttering so I guess xorg-edgers fixed it. (I've probably just jinxed it)22:45
rippsdang, I jinxed it. After lagging has showed up.22:56
rippsIt happened after loading a large image in chrome while running aptitude update in terminal... might be related, probably not.22:57
rippshmm... I gonna play with some ati driver options in xorg.conf, see if maybe limiting the agpsize will help23:00

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