[Bug 88815] Re: Sluggish rendering since xorg 7.2 update
Hi, After some troubleshooting I have identified the precise source of this sluggishness. When I downgraded xserver-xorg-core sluggishness persisted, so I experimented with downgrading other packages selectively, and found the problem to be with libx11-6 (1.1.1-1ubuntu1). After downgrading to version 1.0.3-4ubuntu1 from the Herd4 alternative cd, performance is back to normal. -- Sluggish rendering since xorg 7.2 update https://launchpad.net/bugs/88815 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 88815] Re: Sluggish rendering since xorg 7.2 update
FYI I installed fedora 7 test2 in parallel with feisty. It has the same versions of metacity and xserver but it doesn't show this problem. But libX11 is still at version 1.0.3 in fedora while feisty has 1.1.1. Perhaps xcb is the problem? -- Sluggish rendering since xorg 7.2 update https://launchpad.net/bugs/88815 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 88815] Re: Sluggish rendering since xorg 7.2 update
** Changed in: xorg-server (upstream) Status: Unknown = Confirmed -- Sluggish rendering since xorg 7.2 update https://launchpad.net/bugs/88815 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 88815] Re: Sluggish rendering since xorg 7.2 update
A couple of things/differences I noted whilst reading through your logs: - The Xorg.0.log from Herd5 mentions it can't initialize the GLX extensions, since it is using the Nvidia libglx.so Might this be the cause? - In the Xorg.0.log from Herd5 AIGLX is disabled (since it can't load the GLX module) - The Xorg.0.log from Herd5 mentions it loads a vm86 module (libvm86.so), which isn't loaded in the Herd4 log. It might be good to try to keep the config the same, so the comparison is fair (though the stock config might be different). -- Sluggish rendering since xorg 7.2 update https://launchpad.net/bugs/88815 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 88815] Re: Sluggish rendering since xorg 7.2 update
disturbedsaint, Thanks, let me address your points: 1. That's right, nvidia-glx is installed on my system and so the nv driver can't initialize GLX. 2. Ditto, see above. 3. This may be a symptom of the above too, so I don't know. In light of this, I'm running the benchmarks again, this time using the herd 5 livecd instead, and have copied xorg.conf from herd 4. I checked the resulting logs and libvm86.so is still being loaded; it's because of the new xorg build, I believe. I ran a quick test, x11perf -umove - here's the results (herd 4 livecd vs herd 5 livecd): 514000.0 186000.0 ( 0.36) Moved unmapped window (4 kids) 503000.0 185000.0 ( 0.37) Moved unmapped window (16 kids) 496000.0 184000.0 ( 0.37) Moved unmapped window (25 kids) 485000.0 184000.0 ( 0.38) Moved unmapped window (50 kids) 472000.0 182000.0 ( 0.39) Moved unmapped window (75 kids) 465000.0 181000.0 ( 0.39) Moved unmapped window (100 kids) 452000.0 175000.0 ( 0.39) Moved unmapped window (200 kids) As you can see, these results reflect my initial benchmarks on my installed herd 5 system. I'm running the full set right now to be sure, and if anything significantly changes I'll post them here. -- Sluggish rendering since xorg 7.2 update https://launchpad.net/bugs/88815 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 88815] Re: Sluggish rendering since xorg 7.2 update
Well, it just looks like I can execute commands, but the characters don't appear, and the window looks, but isn't, frozen. Maximized apps also get random weird factors. -- Sluggish rendering since xorg 7.2 update https://launchpad.net/bugs/88815 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 88815] Re: Sluggish rendering since xorg 7.2 update
With the latest updates, things are snappy again. Quite snappy indeed. But the only problem is that I'm suddenly loosing input focus on gnome- terminal and xterm windows. Just as suddenly it comes back, at a random time... I don't think this has anything to do with metacity. -- Sluggish rendering since xorg 7.2 update https://launchpad.net/bugs/88815 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 88815] Re: Sluggish rendering since xorg 7.2 update
It's actually worse than that. Windows randomly stop being updated, focus is lost (also on run command dialog), etc... -- Sluggish rendering since xorg 7.2 update https://launchpad.net/bugs/88815 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 88815] Re: Sluggish rendering since xorg 7.2 update
Cyclops, It's still feasible that xorg is to blame, but it sounds like metacity could be stealing focus from your apps, or it could be an EXA rendering bug. Try changing back to XAA to see if it helps, and try kwin (or another WM besides metacity) to see if this behaviour continues with a different window manager. -- Sluggish rendering since xorg 7.2 update https://launchpad.net/bugs/88815 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 88815] Re: Sluggish rendering since xorg 7.2 update
Hmm, I downgraded metacity, metacity and metacity-common to 2.16.3-0ubuntu2 from Edgy, but it's still slow. Perhaps there's certain rendering paths that are slow in xorg that metacity happens to use; all I know is that performance is excellent with kwin. Maybe I'll try some x11perf tests on my system and compare them against a Herd 4 LiveCD to see any differences. -- Sluggish rendering since xorg 7.2 update https://launchpad.net/bugs/88815 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 88815] Re: Sluggish rendering since xorg 7.2 update
Hi, I ran a complete set of x11perf on first system (Celeron 2.8Ghz w/NVIDIA GeForce FX 5200 using nv driver), using the herd 4 livecd, and the version installed on my drive (herd 5 with updates, including the new xorg 7.2 drivers). I used the same xorg.conf, disabled screensavers and monitor poweroff, and had no other processes running for these tests. I'm attaching the results, and system logs tarred together. As you can see from the output, some operations with xorg 7.2 are up to 5x slower than xorg 7.1.1; in particular see 1x1 fills, X protocol NoOperation, and nearly all window operations. I can perform these benchmarks on my laptop (Intel 82855GM) if you wish, but I'm pretty sure we'll see a similar pattern (especially regarding window operations), as I'm seeing the same sluggishness on both systems using xorg 7.2. ** Attachment added: x11perf comparison (Herd 4 vs Herd 5+updates) http://librarian.launchpad.net/6608515/x11perf_comparison.log -- Sluggish rendering since xorg 7.2 update https://launchpad.net/bugs/88815 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 88815] Re: Sluggish rendering since xorg 7.2 update
** Attachment added: x11perf system logs http://librarian.launchpad.net/6608516/xorglogs.tar.bz2 -- Sluggish rendering since xorg 7.2 update https://launchpad.net/bugs/88815 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 88815] Re: Sluggish rendering since xorg 7.2 update
Thank you for your work on that. Could you open a bug upstream? -- Sluggish rendering since xorg 7.2 update https://launchpad.net/bugs/88815 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 88815] Re: Sluggish rendering since xorg 7.2 update
Hi Sebastien, I've opened a bug there, but I focused more on performance profiling. I'll expand on it and explain the problem in detail (I had just linked to launchpad). Here it is: https://bugs.freedesktop.org/show_bug.cgi?id=10173 -- Sluggish rendering since xorg 7.2 update https://launchpad.net/bugs/88815 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 88815] Re: Sluggish rendering since xorg 7.2 update
** Bug watch added: Freedesktop Bugzilla #10173 https://bugs.freedesktop.org/show_bug.cgi?id=10173 ** Also affects: xorg-server (upstream) via https://bugs.freedesktop.org/show_bug.cgi?id=10173 Importance: Unknown Status: Unknown -- Sluggish rendering since xorg 7.2 update https://launchpad.net/bugs/88815 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 88815] Re: Sluggish rendering since xorg 7.2 update
Timo, Upon further investigation I think I may have found the real culprit - metacity. As I had kdebase installed on my system, I decided to try kwin --replace within GNOME, and performance is back to normal! Maybe the problem is specific to metacity and not xorg at all (a reasonable hypothesis, as when I checked the feisty-changes list, metacity and xorg-server were updated within very soon of each other). Anyone with KDE installed, try it out! Just make sure you go into kcontrol and in Desktop, Window Behavior, Moving, disable Animate minimize and restore, then try kwin. Minimize and maximize some apps and hopefully you'll notice that it's instantaneous like before. Tested verified on both my systems with nvidia, nv and i810 drivers. In light of this, I'm reassigning/adding to metacity. ** Also affects: metacity (Ubuntu) Importance: Undecided Status: Unconfirmed -- Sluggish rendering since xorg 7.2 update https://launchpad.net/bugs/88815 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs