Xorg segfault - triggered by wine game (screen resolution switching?)

EDIT:
I’m getting a xorg segfault any time I try to change the resolution (using KDE settings), so Wine isn’t relevant. This is Intel graphics using i915 with kernel 3.11.6-3.

Hi,

I’m trying to launch a windows game with wine and I keep getting a Xorg segfault. It seems to be the mode switch that causes it, or it least that’s what appears just before it in the log. Here’s the tail of the xorg log:


...
    37.734] (II) intel(0): Modeline "1366x768"x0.0   69.30  1366 1414 1446 1456  768 771 777 793 -hsync -vsync (47.6 kHz eP)
   134.854] (II) intel(0): switch to mode 1024x768@60.0 on pipe 0 using LVDS1, position (0, 0), rotation normal
   135.559] (EE) 
   135.559] (EE) Backtrace:
   135.618] (EE) 0: /usr/bin/Xorg (xorg_backtrace+0x3d) [0x584cbd]
   135.618] (EE) 1: /usr/bin/Xorg (0x400000+0x188a29) [0x588a29]
   135.618] (EE) 2: /lib64/libpthread.so.0 (0x7f849bde1000+0xf9f0) [0x7f849bdf09f0]
   135.618] (EE) 3: /lib64/libc.so.6 (__vsprintf_chk+0x54) [0x7f849ad28c44]
   135.618] (EE) 4: /lib64/libc.so.6 (__sprintf_chk+0x7d) [0x7f849ad28bcd]
   135.618] (EE) 5: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7f8496c2a000+0x5dcc2) [0x7f8496c87cc2]
   135.618] (EE) 6: /usr/bin/Xorg (xf86ProbeOutputModes+0x1db) [0x4afb4b]
   135.618] (EE) 7: /usr/bin/Xorg (0x400000+0xb8f4c) [0x4b8f4c]
   135.618] (EE) 8: /usr/bin/Xorg (RRGetInfo+0x88) [0x4f59d8]
   135.618] (EE) 9: /usr/bin/Xorg (ProcRRGetScreenInfo+0x92) [0x4fd492]
   135.618] (EE) 10: /usr/bin/Xorg (0x400000+0x3cade) [0x43cade]
   135.619] (EE) 11: /usr/bin/Xorg (0x400000+0x2c05a) [0x42c05a]
   135.619] (EE) 12: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7f849ac54be5]
   135.619] (EE) 13: /usr/bin/Xorg (0x400000+0x2c3a1) [0x42c3a1]
   135.619] (EE) 
   135.619] (EE) Segmentation fault at address 0x0
   135.619] (EE) 
Fatal server error:
   135.619] (EE) Caught signal 11 (Segmentation fault). Server aborting
   135.619] (EE) 
   135.619] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
   135.619] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
   135.619] (EE) 
   135.619] (II) AIGLX: Suspending AIGLX clients for VT switch
   136.171] (EE) Server terminated with error (1). Closing log file.


This is an an up-to-date 13.1 installation. (I also have Packman enabled, in case there are relevant libraries that might be coming from there).

Any thoughts on diagnosing this?
Thanks.

If relevant, graphics details:


00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device 108d
        Flags: bus master, fast devsel, latency 0, IRQ 43
        Memory at f7800000 (64-bit, non-prefetchable) [size=4]
        Memory at e0000000 (64-bit, prefetchable) [size=256]
        I/O ports at f000 [size=64]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915
        Kernel modules: i915

[/size][/size][/size]

I apologise for reviving an old thread. I’ve got the same issues since I upgraded from 12.3. xrandr only shows my native resolution of 1920x1080 + several 4:3 or 5:4 resolutions. 1280x720, for example, is sorely missed. Back in 12.3, I had added a new mode line for 1366x768 and it worked beautifully, but now it gives me that very same backtrace as the OPs each time I try to change the resolution to 1366x768. The 4:3 and 5:4 resolutions work fine, though.

And which graphics card do you have?

There are bugs in the intel driver that can cause crashes.
If you have an intel chip, try to update the driver to this version, which will be released as online update soon:
Index of /repositories/home:/sumski:/bnc847762/openSUSE_13.1/x86_64

Thank you, that fixed it. I just installed the rpm without subscribing. I was just about ready to give up on 13.1 and go back to 12.3 :).

This also worked for me very well.
I have an 2560x1440 monitor and my laptop just has an HDMI port.
To make it work I did:

1: sudo zypper in http://download.opensuse.org/repositories/home:/sumski:/bnc847762/openSUSE_13.1/x86_64/xf86-video-intel-2.99.906-4.1.x86_64.rpm
2:
xrandr --newmode “2560x1440_30.00” 146.27 2560 2680 2944 3328 1440 1441 1444 1465 -HSync +vsync
xrandr --addmode HDMI1 “2560x1440_30.00”
xrandr --output HDMI1 --mode “2560x1440_30.00”

Thanks for the support with the driver.

Pedro Oliveira
Linux thoughts from a Linux Geek (aka Geex)

Just a heads up:
The intel driver update was released today, so you should better switch back to the official version if it’s not done automatically.

Click on the “Versions” tab in YaST, or run:

sudo zypper in -f xf86-video-intel