Bug 19078

Summary: [GEM] VT switch will fail in gnome when use UXA
Product: Mesa Reporter: zhao jian <jian.j.zhao>
Component: Drivers/DRI/i965Assignee: Eric Anholt <eric>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: high CC: zhenyu.z.wang
Version: unspecifiedKeywords: NEEDINFO
Hardware: Other   
OS: Linux (All)   
Whiteboard:
Bug Depends on:    
Bug Blocks: 18858    
Attachments: xorg.conf
xorg.0.log

Description zhao jian 2008-12-14 00:52:37 UTC
Created attachment 21133 [details]
xorg.conf

Chipset: GM965 
OSD:            Fedora release 9 (Sulphur)
Kernel:         2.6.28-rc6
xf86_video_intel   xf86-video-intel-2.6-branch
       commit b156b3165e1aae5df0353737d0335ac2e653f5fd
mesa   intel-2008-q4 branch  commit 154a9e5317f890618932cea0129ef887e16baf84
kernel  for-airlied branch  commit 66647dc60d16fae9f6963fd98b6d9baa1a8dac69
libdrm  master branch commit b0d93c74d884b40bd94469a5ef75fdb2fef17680

After enabled UXA, then run VT switch both with and without compiz enabled will cause the X and gnome-session being killed but the system still not hang. 

Reproduce steps: 
1. enable UXA by edit xorg.conf
2. xinit&
3. gnome-session&
4. chvt 1
Comment 1 zhao jian 2008-12-14 00:54:11 UTC
Created attachment 21134 [details]
xorg.0.log
Comment 2 Eric Anholt 2008-12-14 21:33:03 UTC
You're missing a GM965 fix that was committed a week ago in the kernel and the dmesg attached to your bug report.
Comment 3 zhao jian 2008-12-15 19:02:40 UTC
After rebuilding the kernel, it works well now. 

System environment: 
chipset: gm965
system architecture: 32-bit
xf86-video-intel:  xf86-video-intel-2.6-branch  
                   f1681971157c83a68fe76a8561220fcebecf80f8
xserver: 
mesa:     intel-2008-q4  154a9e5317f890618932cea0129ef887e16baf84
drm:      master branch     c86d431fe6174b1c2de531929213ea7dbd92326d
kernel:   for-airlied branch  8b1fae4e4200388b64dd88065639413cb3f1051c
Linux distribution: 2.6.28-rc8