Bug 847762

Summary: xf86-video-intel causes X crash when KWin compositing is used
Product: [openSUSE] openSUSE 13.1 Reporter: Christoph Feck <cfeck>
Component: X.OrgAssignee: E-mail List <xorg-maintainer-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Critical    
Priority: P3 - Medium CC: cfeck, forgotten_d-FXbJn-0f, forgotten_DV81ZEWZkN, koenig, punya.mall
Version: RC 1   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Christoph Feck 2013-10-25 23:21:52 UTC
User-Agent:       Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.21 (KHTML, like Gecko) Arora/0.11.0 Safari/537.21

After today's update to intel 2.99.905, X crashes when KWin tries to enable compositing (either XRender or OpenGL) at startup. Disabling desktop effects does not cause a crash.

I use a rotated display (portrait mode).

It worked correctly with 2.99.904.

Crash:
[    57.291] (**) |   |-->Device "intel"
[    57.301] (II) LoadModule: "intel"
[    57.302] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    57.302] (II) Module intel: vendor="X.Org Foundation"
[    57.303] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
[    57.312] (II) intel(0): Creating default Display subsection in Screen section
[    57.312] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    57.312] (==) intel(0): RGB weight 888
[    57.312] (==) intel(0): Default visual is TrueColor
[    57.312] (**) intel(0): Option "AccelMethod" "sna"
[    57.312] (**) intel(0): Option "TearFree" "true"
[    57.312] (--) intel(0): Integrated Graphics Chipset: Intel(R) 945GM
[    57.313] (--) intel(0): CPU: x86, sse2, sse3
[    57.313] (**) intel(0): Framebuffer tiled
[    57.313] (**) intel(0): Pixmaps tiled
[    57.313] (**) intel(0): "Tear free" enabled
[    57.313] (**) intel(0): Forcing per-crtc-pixmaps? no
[    57.313] (II) intel(0): Output LVDS1 has no monitor section
[    57.314] (--) intel(0): found backlight control interface acpi_video0 (type 'firmware')
[    57.314] (II) intel(0): Output VGA1 has no monitor section
[    57.314] (II) intel(0): Output TV1 has no monitor section
[    57.314] (II) intel(0): Output VIRTUAL1 has no monitor section
[    57.314] (--) intel(0): Output LVDS1 using initial mode 1024x768 on pipe 1
[    57.314] (==) intel(0): DPI set to (96, 96)
[    57.314] (II) intel(0): SNA initialized with Alviso (gen3) backend
[    57.314] (==) intel(0): Backing store disabled
[    57.314] (==) intel(0): Silken mouse enabled
[    57.314] (II) intel(0): HW Cursor enabled
[    57.314] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    57.315] (==) intel(0): DPMS enabled
[    57.315] (II) intel(0): [XvMC] i915_xvmc driver initialized.
[    57.315] (II) intel(0): [DRI2] Setup complete
[    57.315] (II) intel(0): [DRI2]   DRI driver: i915
[    57.315] (II) intel(0): direct rendering: DRI2 Enabled
[    57.315] (==) intel(0): hotplug detection: "enabled"
[    57.357] (II) intel(0): switch to mode 1024x768@60.0 on pipe 1 using LVDS1, position (0, 0), rotation normal
[    57.381] (II) intel(0): Setting screen physical size to 270 x 203
[    65.548] (II) intel(0): resizing framebuffer to 768x1024
[    65.556] (II) intel(0): switch to mode 1024x768@60.0 on pipe 1 using LVDS1, position (0, 0), rotation left
[    68.833] (II) intel(0): switch to mode 1024x768@60.0 on pipe 1 using LVDS1, position (0, 0), rotation left
[    70.716] (EE) 
[    70.717] (EE) Backtrace:
[    70.717] (EE) 0: /usr/bin/X (xorg_backtrace+0x49) [0x81de5a9]
[    70.717] (EE) 1: /usr/bin/X (0x8048000+0x19a334) [0x81e2334]
[    70.717] (EE) 2: linux-gate.so.1 (__kernel_rt_sigreturn+0x0) [0xb775640c]
[    70.717] (EE) 3: /lib/libc.so.6 (__vsprintf_chk+0x68) [0xb733e328]
[    70.717] (EE) 4: /lib/libc.so.6 (__sprintf_chk+0x2f) [0xb733e29f]
[    70.717] (EE) 5: /usr/lib/xorg/modules/drivers/intel_drv.so (0xb6bd3000+0x57325) [0xb6c2a325]
[    70.717] (EE) 6: /usr/lib/xorg/modules/drivers/intel_drv.so (0xb6bd3000+0x59101) [0xb6c2c101]
[    70.717] (EE) 7: /usr/bin/X (xf86ProbeOutputModes+0x1a6) [0x80f9956]
[    70.718] (EE) 8: /usr/bin/X (0x8048000+0xbb3b0) [0x81033b0]
[    70.718] (EE) 9: /usr/bin/X (RRGetInfo+0x82) [0x8144582]
[    70.718] (EE) 10: /usr/bin/X (ProcRRGetScreenInfo+0x94) [0x814c744]
[    70.718] (EE) 11: /usr/bin/X (0x8048000+0xf7796) [0x813f796]
[    70.718] (EE) 12: /usr/bin/X (0x8048000+0x36d8d) [0x807ed8d]
[    70.718] (EE) 13: /usr/bin/X (0x8048000+0x24e2a) [0x806ce2a]
[    70.718] (EE) 14: /lib/libc.so.6 (__libc_start_main+0xf3) [0xb725a9d3]
[    70.718] (EE) 15: /usr/bin/X (0x8048000+0x251f9) [0x806d1f9]
[    70.719] (EE) 
[    70.719] (EE) Segmentation fault at address 0x0
[    70.719] (EE) 
Fatal server error:
[    70.719] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    70.719] (EE) 
[    70.719] (EE) 


Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Christoph Feck 2013-10-26 00:14:04 UTC
Also crashes when switching to console, then back to X vt, even with desktop effects disabled.
Comment 2 Forgotten User d-FXbJn-0f 2013-11-13 16:48:36 UTC
Simple xrandr -s 1024x768 command (or any other valid video mode) will crash Xorg for me with same error on Xorg.0.log.

I have little bit suspicious lines on my dmesg which started to appear some point after beta1:

[    2.212552] [drm] Wrong MCH_SSKPD value: 0x16040307
[    2.212555] [drm] This can cause pipe underruns and display issues.
[    2.212556] [drm] Please upgrade your BIOS to fix this.
[    2.272667] [drm] GMBUS [i915 gmbus dpb] timed out, falling back to bit banging on pin 5
[    2.285060] fbcon: inteldrmfb (fb0) is primary device

I checked and there does not seem to be newer bios available for my laptop (Lenovo T420).

BTW this bug seems lot like https://bugzilla.novell.com/show_bug.cgi?id=847941, these bugs may be related?
Comment 3 Forgotten User DV81ZEWZkN 2013-11-14 19:58:03 UTC
Please test
http://download.opensuse.org/repositories/home:/sumski:/bnc847762/openSUSE_13.1/
Comment 4 Christoph Feck 2013-11-14 20:53:40 UTC
Again, you are a godsend ;)

With the version of from comment #3 I no longer get this crash.
Comment 5 Bernhard Wiedemann 2013-11-14 21:00:10 UTC
This is an autogenerated message for OBS integration:
This bug (847762) was mentioned in
https://build.opensuse.org/request/show/206955 13.1 / xf86-video-intel
Comment 6 Christoph Feck 2013-11-14 21:01:53 UTC
According to the 2.99.906 changelog, this is https://bugs.freedesktop.org/show_bug.cgi?id=70835
Comment 7 Forgotten User DV81ZEWZkN 2013-11-14 21:02:22 UTC
Great :-)
submitted as sr#206955. Sr to devel project is already pending, so i didn't submit it there.
Comment 8 Bernhard Wiedemann 2013-11-15 12:00:11 UTC
This is an autogenerated message for OBS integration:
This bug (847762) was mentioned in
https://build.opensuse.org/request/show/206993 13.1 / xf86-video-intel
Comment 9 Forgotten User DV81ZEWZkN 2013-11-24 21:05:58 UTC
*** Bug 852025 has been marked as a duplicate of this bug. ***
Comment 10 Swamp Workflow Management 2013-11-25 11:04:51 UTC
openSUSE-RU-2013:1764-1: An update that has two recommended fixes can now be installed.

Category: recommended (important)
Bug References: 847762,847941
CVE References: 
Sources used:
openSUSE 13.1 (src):    xf86-video-intel-2.99.906-4.1
Comment 11 Punyashloka Mall 2013-11-26 10:34:49 UTC
Updated to latest intel video driver 2.99.906-4.1 (Lenovo T400)and GNOME is no more crashing with empathy empty window.
Comment 12 Stefan Dirsch 2013-11-26 15:20:54 UTC
Closing as fixed.