Bug 931917 - xf86-video-intel driver needs an update for Kernel 4.0
Summary: xf86-video-intel driver needs an update for Kernel 4.0
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: X.Org (show other bugs)
Version: 13.2
Hardware: x86-64 openSUSE 13.2
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-21 20:55 UTC by Björn Voigt
Modified: 2015-05-26 11:00 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Xorg crashes with segmentation fault with driver package xf86-video-intel-2.99.917-145.8 (5.60 KB, text/x-log)
2015-05-21 20:55 UTC, Björn Voigt
Details
Xorg runs normal after updating xf86-video-intel (22.72 KB, text/plain)
2015-05-21 20:56 UTC, Björn Voigt
Details
Patch "sna: Protect against ABI breakage in recent versions of libdrm" fixes segmentation faults (1.97 KB, patch)
2015-05-23 20:28 UTC, Björn Voigt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Voigt 2015-05-21 20:55:26 UTC
Created attachment 635097 [details]
Xorg crashes with segmentation fault with driver package xf86-video-intel-2.99.917-145.8

After updating the Kernel to 4.0 (tested with Kernel 4.0.4-2.g4f5e0d5-desktop from Kernel_stable repository), X does not start anymore. /usr/bin/Xorg crashes with "Segmentation fault at address 0x0" (file /var/log/Xorg.0.log is attached).

My setup:
- CPU Intel Core i5 4200U
- Kernel 4.0.4-2.g4f5e0d5-desktop
- Xorg packages from X11_XOrg repository:
  - xf86-video-intel-2.99.917-145.8
  - X.Org X Server 1.17.1

After updating the xf86-video-intel driver with intel sources from GIT (see http://www.x.org/wiki/IntelGraphicsDriver/, tested with GIT snapshot from May 19 12:14:24 2015 +0100) my X server works again.
Comment 1 Björn Voigt 2015-05-21 20:56:32 UTC
Created attachment 635098 [details]
Xorg runs normal after updating xf86-video-intel
Comment 2 Stefan Dirsch 2015-05-22 08:17:59 UTC
I would like to avoid to update xf86-video-intel to a git snapshot. So, since you easily can reproduce the issue, could you git bisect this? Thanks.
Comment 3 Björn Voigt 2015-05-23 20:24:48 UTC
I have done "git bisect" and found, that the first working revision is

commit 7fe2b2948652443ff43d907855bd7a051d54d309
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Mar 19 23:14:17 2015 +0000

I also tested this revision alone as a patch on top of xf86-video-intel-2.99.917 (see attachment). It works on my hardware.
Comment 4 Björn Voigt 2015-05-23 20:28:24 UTC
Created attachment 635268 [details]
Patch "sna: Protect against ABI breakage in recent versions of libdrm" fixes segmentation faults
Comment 5 Björn Voigt 2015-05-23 21:06:07 UTC
I tested the patch successfully with the following Kernels:

kernel-desktop-3.16.6-2.1.x86_64 (openSUSE 13.2)
kernel-desktop-3.16.7-21.1.x86_64 (openSUSE 13.2 Update)
kernel-desktop-4.0.4-2.1.g4f5e0d5.x86_64 (Kernel_stable)
Comment 6 Stefan Dirsch 2015-05-26 10:21:35 UTC
Thanks a lot! Added the patch now to obs://X11:XOrg and submitrequested it for openSUSE:Factory (upcoming tumbleweed).
Comment 7 Bernhard Wiedemann 2015-05-26 11:00:08 UTC
This is an autogenerated message for OBS integration:
This bug (931917) was mentioned in
https://build.opensuse.org/request/show/308726 Factory / xf86-video-intel