FS#17037 - [xorg-server] 1.7.1.901 & KDE: slow graphics
Attached to Project:
Arch Linux
Opened by Dmitry (rmammoth) - Saturday, 07 November 2009, 00:24 GMT
Last edited by Jan de Groot (JGC) - Sunday, 08 November 2009, 16:22 GMT
Opened by Dmitry (rmammoth) - Saturday, 07 November 2009, 00:24 GMT
Last edited by Jan de Groot (JGC) - Sunday, 08 November 2009, 16:22 GMT
|
Details
Description: after last update to xorg server 1.7.1.901 kde
menus and other stuffs has too long reaction time to user
input. For example, kde main menu (kickoff) opened for 2-3
seconds instead approx 0.5 with previous xorg server
revision. The same is for pluggable devices widget, etc.
Downgrade to xorg server 1.7.1 restores responsibility.
Additional info: * package version(s) nvidia 190.42 kdebase-lib 4.3.3 (composite enabled, GL-accelerated rendering, count of effects activated) * config and/or log files etc. GeForce 9800GT/AMD Phenom II 810 x4/4Gb RAM/GIGABYTE MA790X-DS4 Steps to reproduce: just #pacman -Suy and restart kde |
This task depends upon
Closed by Jan de Groot (JGC)
Sunday, 08 November 2009, 16:22 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.7.1.901-2: removed fedora patch.
Sunday, 08 November 2009, 16:22 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.7.1.901-2: removed fedora patch.
Arch 64
Geforce 6150
Rollback to 1.7.1-1 solve the problem, I have notice that on my Xorg.0.log
[mi] EQ overflowing. The server is probably stuck in an infinite loop.
Backtrace:
0: /usr/bin/X (xorg_backtrace+0x3b) [0x809cbcb]
1: /usr/bin/X (mieqEnqueue+0x1ab) [0x80ec9cb]
2: /usr/bin/X (xf86PostMotionEventP+0xcc) [0x80a7c1c]
3: /usr/lib/xorg/modules/input/evdev_drv.so (0xa59df000+0x45d1) [0xa59e35d1]
4: /usr/lib/xorg/modules/input/evdev_drv.so (0xa59df000+0x48c6) [0xa59e38c6]
5: /usr/bin/X (0x8048000+0x66e2f) [0x80aee2f]
6: /usr/bin/X (0x8048000+0x10c9f4) [0x81549f4]
7: (vdso) (__kernel_sigreturn+0x0) [0xb7802400]
But before I upgraded to 1.7.1.901, I'd compiled 1.7.1 with xserver-1.7.1-window-pictures.patch (because of this - http://bugs.archlinux.org/task/16952) and didn't have any problem with the reaction speed.
GTS250, with 190.42, with latest xorg-server.
Without the new fedora patch, it works OK.
WITH the fedora patch, huge lag on KDE4. It should be removed.
x86_64, nVidia 9800GT, KDE4, nVidia 190.42.
I rebuilt the xorg-server package from abs, without the new fedora patch.
Behavior returns to normal.
Config: GeForce 9800GTX+
Nvidia driver: 190.42-1
Dowgrading the package to 1.7.1-1 solve the problem
> But before I upgraded to 1.7.1.901, I'd compiled 1.7.1 with xserver-1.7.1-window-pictures.patch
> and didn't have any problem with the reaction speed
I tried that and this is not true for me. The xserver is slow with the patch no matter what version I use.
So just to clarify this, the newest xserver (1.7.1.901) without the patch doesn't lag anymore for me.
>> Comment by Vadim Naboikin (clearwater67)
>> But before I upgraded to 1.7.1.901, I'd compiled 1.7.1 with xserver-1.7.1-window-pictures.patch
>> and didn't have any problem with the reaction speed
>
> I tried that and this is not true for me. The xserver is slow with the patch no matter what version I use.
> So just to clarify this, the newest xserver (1.7.1.901) without the patch doesn't lag anymore for me.
I can send you my package (1.7.1 with xserver-1.7.1-window-pictures.patch, it is 4MB) and you can try it.
As for me it is works perfect (including gimp)
I had to go back to xserver-1.7.1 to get it working.
Btw I know that Arch is a on the edge rolling release but a RC1 of xserver in stable is a realy bad idea!
I am one who can reproduce BOTH problems:
- With the patch I get Slowdowns in KDE
- Without the patch, GIMP crashes as soon as I open 4 images (around 2000x2000 px) and other random events
BUT - if I apply only the first part of the Patch - which is:
- pPixmap = (*pScreen->CreatePixmap) (pScreen, width, height, pDraw->depth, 0);
+ pPixmap = fbCreatePixmap (pScreen, width, height, pDraw->depth, 0);
Everything works completely fine here. No KDE Slowdowns and NO GIMP crashes
I do not have much experience with the code of Xorg, but I hope this helps someone. For me I use this solution since we struggled with the GTK crashes and it worked fine for me since then.
How many of them, to be opened simultaneously in gimp, would you consider a successfull test?
40? 50? 60?
However that is ONLY in KDE and ONLY with nvidia binary driver and ONLY with KDE Desktop effects on.
I just opened 60 of the above-mentioned files, and the system didn't even break a sweat.
You want me to up it to 150 images, to prove my point?
Perhaps your xorg.conf and/or your nvidia-settings options are incorrect/unsuitable.
Even tho it might take a little more than just opening files to get a crash. I saw forum entries of complete different programs crashing X as well. Maybe this is also related to the reosolution, maybe it's related to one single special Desktop effect, maybe it's related to the Graphics card RAM, maybe it's related to the System RAM, maybe it's related to SWAP... shall I go on to prove *my* point?
So I attached my xorg.conf and .nvidia-settings-rc. I am MORE than happy if you can give me a hint on how to get GIMP working again without the Fedora patch.
.nvidia-settings-rc (1.1 KiB)
nvidia 190.42-1
and xorg-server 1.7.1.901-1
Notable slowdown on most kde operation, system totally unresponsive for few seconds.
I can confirm that this works.
When I perform the action that crashes X in Gimp (drag one of the ruler bars onto the image, seen in the video at task/16952) it doesn't crash X and KDE is as snappy as always.
To be honest, the only gtk2 app that crashes a lot recently here, is filezilla.
Here is my xorg.conf.
The title should be changed to reflect this.
I have a GeForce 9300M GS
Has anyone else tried zico's partial patch thing yet? It needs to be better tested, not only on Nvidia cards, but others to test for regressions.
Also zico's patch works very well for me, as well.
- Nvidia 8800GT (190.42-1)
- x86_64
- kde 4.3.3
Downgrading from xorg-server-1.7.1-901-1 to xorg-server-1.7.1-1 fixed the problem.
x86_64
nvidia binary driver (9800GT)
kdemod 4.3.3
Rebuilding xorg-server without the "xserver-1.7.1-window-pictures.patch" fixed the problem