FS#32612 - [xorg-server-common] Pixman update isn't that great
Attached to Project:
Arch Linux
Opened by Marcin Rzeźnicki (mrzeznicki) - Sunday, 11 November 2012, 23:31 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 08 December 2012, 09:15 GMT
Opened by Marcin Rzeźnicki (mrzeznicki) - Sunday, 11 November 2012, 23:31 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 08 December 2012, 09:15 GMT
|
Details
Description:
After getting the latest and greatest pixman (and 1.13.0-4 xorg) I am left with X crashing everytime I log into KDE. I can see my desktop for a few seconds and then boom. Additional info: Bug concerns xorg-server-common 1.13.0-4 (reverting to 1.13.0-3 fixes the issue) The message I dug out from logs is: [ 68.839] (EE) [ 68.839] (EE) Backtrace: [ 68.839] (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x58a326] [ 68.839] (EE) 1: /usr/bin/X (0x400000+0x18e179) [0x58e179] [ 68.839] (EE) 2: /usr/lib/libpthread.so.0 (0x7fed98e4c000+0xf1a0) [0x7fed98e5b1a0] [ 68.839] (EE) 3: /usr/lib/libpixman-1.so.0 (0x7fed989a8000+0x82990) [0x7fed98a2a990] [ 68.839] (EE) 4: /usr/lib/libpixman-1.so.0 (0x7fed989a8000+0x82b86) [0x7fed98a2ab86] [ 68.839] (EE) 5: /usr/lib/libpixman-1.so.0 (pixman_image_composite32+0x459) [0x7fed989b3349] [ 68.839] (EE) 6: /usr/lib/libpixman-1.so.0 (pixman_glyph_cache_insert+0x109) [0x7fed989f66f9] [ 68.839] (EE) 7: /usr/lib/xorg/modules/libfb.so (0x7fed95619000+0x19b6c) [0x7fed95632b6c] [ 68.839] (EE) 8: /usr/bin/X (0x400000+0x1143d1) [0x5143d1] [ 68.839] (EE) 9: /usr/bin/X (0x400000+0x10d5d6) [0x50d5d6] [ 68.839] (EE) 10: /usr/bin/X (0x400000+0x37e61) [0x437e61] [ 68.839] (EE) 11: /usr/bin/X (0x400000+0x2696a) [0x42696a] [ 68.839] (EE) 12: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7fed97ada725] [ 68.839] (EE) 13: /usr/bin/X (0x400000+0x26cad) [0x426cad] [ 68.839] (EE) [ 68.839] (EE) Segmentation fault at address 0xffefffff [ 68.839] Fatal server error: [ 68.839] Caught signal 11 (Segmentation fault). Server aborting [ 68.839] [ 68.839] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. Steps to reproduce: Log into KDE, after few seconds X server crashes |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Saturday, 08 December 2012, 09:15 GMT
Reason for closing: Fixed
Additional comments about closing: Nvidia is aware of it, VMware probably not. We will say welcome again to this bug trigger when 1.14 will be released. Glyph caching is now disabled again until then.
Saturday, 08 December 2012, 09:15 GMT
Reason for closing: Fixed
Additional comments about closing: Nvidia is aware of it, VMware probably not. We will say welcome again to this bug trigger when 1.14 will be released. Glyph caching is now disabled again until then.
What xorg driver are you using?
FS#32613)On real hardware (a netbook with intel GPU) it works fine for me though.
cd /var/cache/pacman/pkg
pacman -U xorg-server-1.13.0-3-x86_64.pkg.tar.xz xorg-server-common-1.13.0-3-x86_64.pkg.tar.xz
I have a massive font corruption on nvidia driver (both 304xx and 173xx) in xfce and firefox.
Update: Sorry guys, it seems the segfault I got was related to the intel driver and sna. Once I switched back to uxa, X has been stable.
Downgrading as Philipp Claßen suggested worked for me, too.
Here i've got screen font corruptions with nvidia driver but not with nouveau or intel drivers.
I don't know about WmWare, but Nvidia will never make the driver for unstable version of API.
See the following post: https://bbs.archlinux.org/viewtopic.php?pid=1191571
Downgrading to 0.26.2-1 solves the issue
Downgrading is a work around.
- drivers that fuck with internal X stuff, like nvidia seems to do.
- drivers that end up passing stuff to X that the new code doesn't handle correctly and causes invalid arguments passed to pixman.
Anyways, we can revert this patch and wait until we get hit by the same bug again when the next version of xorg-server will include this code from upstream, or start being constructive and debug this problem.
The new behavior is typical for a new branch of xorg-server-1.14, which is the right place in the [testing], until the nvidia adapts driver, as usual.
It's not that I am not willing to help with the problem. But I simply have no idea how I could help. What would be a task I could perform? What information is missing?
I did not have any other seg faults while the problem with X happened.
I am able to replicate this crash running Arch x86_64 guest under VMWare Fusion 5.0.2 with pixman 0.28.0-1. I also have xorg-server 1.13.0-4 installed, and am using KDE/KWin/KDM 4.9.3-1. However, for me, X does not crash straight after logging in to KDE; I can log in and use most applications without any difficulty. My Arch setup is almost exclusively KDE/Qt; the few GUI applications that aren't KDE/Qt applications include:
- xterm and xclock (I left TWM and the 'default' X apps installed), which I can run fine; and
- Chromium (23.0.1271.64-1) and LibreOffice (3.6.3-1), which I can't: A few seconds after launching either of these, the display freezes, and a few seconds after that, X crashes. As a test, I also sync'd GIMP (2.8.2-1), and it shows the same behaviour.
I wanted to add this detail in case it is useful to anyone else in tracking down the exact issue (I know one of the commonalities is GTK2, but then my experience in this area is very light). Also, this _might_ already have been submitted upstream under https://bugs.freedesktop.org/show_bug.cgi?id=55882, though I will too defer to the expertise of others in this area, given that report was originally created on 11 October 2012 (and thus is maybe not recent enough to be relevant?)
EDIT 19 November 2012: Having worked with this for a few more days, I subsequently discovered the crash can be replicated through two very specific KDE actions: (1) Pulling down the "Run" panel (i.e Alt + F2) and then typing in anything, or (2) Opening the "Font Management" component under System Settings. I will update further if I discover other ways to replicate, but that seems to be it for now.
EDIT 24 November 2012: I have tested the above in an Arch x86_64 guest under VirtualBox (also on top of OS X); packages are all the same versions except for LibreOffice, which is now 3.6.3-3. I am not able to replicate the crashes. The main difference between these environments is the guest additions (open-vm-tools under VMWare vs. virtualbox-guest-modules and virtualbox-guest-utils under VirtualBox).
Starting i3 works fine, but when I open any window (console, browser, whatever), it crashes after about 1 second. Attached is my log (ending with the identical stacktrace as in the bug report). I have also attached the ouput of "pacman -Q", so you know the exact versions of the installed packages. Hope it helps.
By the way, disabling 3D graphics acceleration in the VMWare settings makes no difference.
package_versions.txt (13.7 KiB)
Card: GeForce 6600
For the moment, I solved the problem switching to nouveau.
Downgrading to xorg-server-1.13.0-3 works as well as switching to nouveau driver (I think I'll stay with the nouveau driver).
Hope this will get fixed soon.
https://devtalk.nvidia.com/default/topic/524242/linux/pixman-glyph-cache-patch/
Odd choice considering how many use nvidia-blob.
As for the patch: as Nvidia is aware of this problem now, they'll probably fix this or give information what is wrong with this. If Nvidia wasn't made aware of this problem we would see this problem again as soon as 1.14.0 was released upstream.
As for the vmware crashes: so far nobody has compiled the vmware driver and xorg-server with debug symbols to find out how NULL objects could end up in the glyph cache. This means that as soon as 1.14.0 will get released from upstream, vmware users will see crashes again.
xorg-server-common 1.13.0-4 xorg-server 1.13.0-4 nvidia-304xx 304.64-1
Section "Extensions"
Option "RENDER" "Disable"
EndSection
https://devtalk.nvidia.com/default/topic/524242/linux/pixman-glyph-cache-patch
But 1.13.1 also doesn't seem work for vmware users, at least for me both 1.13.0.901-1 and 1.13.0.902-1 from testing still result in the xserver crashing.
Just to get this clear, I need to either wait for a fix in the vmware driver or build the X packages myself without said patch?
Yes.
I ask you to respect the many users who use the "evil" nvidia blob.
Even when you knew about this problem (not only vmware) you decided to keep the "fun" performance patch.