Bug 46764

Summary: xorg/driver/xf86-video-intel 2.18.0 xorg crashes in KDE
Product: xorg Reporter: Tom <tomko9>
Component: Driver/intelAssignee: Chris Wilson <chris>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
log file none

Description Tom 2012-02-29 04:25:19 UTC
System : KDE 4.8.0 ( opensuse 12.1 ) , 
3.3.0-rc5-1-desktop #1 SMP PREEMPT Mon Feb 27 02:38:40 UTC 2012 (0b7f048) x86_64 x86_64 x86_64 GNU/Linux

and kernel any kernel from 3.2.6 to 3.3.0 ( probably any kernel from 3.2.x ) 

xorg/driver/xf86-video-intel taken from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/  ( version 2.18.0 ) 


1. Driver compiled  with --enable-sna .

Switching composing( default sequence is Ctl-Alt-F12 )  in KDE will crash xorg. 

2. Driver compiled without --enable-sna  

Switching composing will work as expected .
Comment 1 Chris Wilson 2012-02-29 04:30:18 UTC
Please attach the Xorg.log following a crash. More preferable would be to attach gdb and grab a symbolic back trace as well.
Comment 2 Tom 2012-02-29 05:45:27 UTC
Created attachment 57804 [details]
log file

as requested
Comment 3 Chris Wilson 2012-02-29 05:48:59 UTC
You need a 1.12 Xserver to avoid that bug.
Comment 4 Tom 2012-02-29 07:17:47 UTC
Right you are . 

At least in X.Org X Server 1.11.99.903 (1.12.0 RC 3) I don't see this bug anymore. 

Thank you .
Comment 5 Chris Wilson 2012-02-29 07:22:22 UTC
Presuming then that this was the correct fix in the xserver:

commit 463dd87062edaa974cb8c7163328a53197f237e1
Author: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Date:   Thu Sep 22 18:38:53 2011 +0300

    xf86/modes: Fix shadow rotation crashing when screen pixmap changes
    
    Driver may change screen pixmaps after page flipping that would then
    make damage lose track of the root pixmap.
    
    Using root window for shadow damages fixes the problem because
    SetWindowPixmap is implemented in shadow code.
    
    Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
    Reviewed-by: Keith Packard <keithp@keithp.com>
    Signed-off-by: Keith Packard <keithp@keithp.com>

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.