System Environment: -------------------------- Host: x-945gm Arch: i386 OSD: Fedora release 9 (Sulphur) Kernel: 2.6.28 Libdrm: (master)18d3cc076b53f2032eed1f9a4b21947f4cb9e4e7 Mesa_stable: (intel-2008-q4)200fa9165d7078a6f36c5c9d3e0c997c2438bde3 Xorg: 7.2 Xserver_stable: (server-1.6-branch) 251d0d8090322b2c9dc0c8b7bef001f338d19433 Xf86_video_intel_stable: (xf86-video-intel-2.6-branch)5cd65d965c8ed388275fe2084553302aad601d4a Bug detailed description: ------------------------- Running Doom3-linux-1.1.1286 and Openarena-0.8.1, I can hear the background audio, but screen keep black. When connected a external display, I can see the game show out in the external display, but LVDS keep black. It has such problem both with UXA and EXA. Maybe it relates to Xlib.(As following information shows) [root@x-945gm opt]# ut2004 WARNING: ALC_EXT_capture is subject to change! libGL: OpenDriver: trying /opt/X11R7/lib/dri/i915_dri.so libGL error: Can't open configuration file /etc/drirc: No such file or directory. libGL error: Can't open configuration file /root/.drirc: No such file or directory. Xlib: extension "XiG-SUNDRY-NONSTANDARD" missing on display ":0.0". Reproduce Steps: ------------------------ 1. xinit& 2. run the cases. (ut2004 or openarena )
Created attachment 22197 [details] xorg.conf
Created attachment 22198 [details] xorg.0.log
I have bisected and found it was caused by commit 5cd65d965c8ed388275fe2084553302aad601d4a in Xf86_video_intel. The details are in the attachments.
Created attachment 22199 [details] rootcause
Created attachment 22200 [details] bisect log
(In reply to comment #3) > I have bisected and found it was caused by commit > 5cd65d965c8ed388275fe2084553302aad601d4a in Xf86_video_intel. The details are > in the attachments. > It should be caused by commit 3743747dbcf538ddd6db882bde7243656d0c5596. You can see details in attachment. Sorry for my carelessness!
Created attachment 22559 [details] [review] this patch will resolve the problem. After testing ,this patch can resolve the problem by avoiding to modify bit 24 and 25, but it is strang why bit 24 and 25 of VGA will disturb LVDS. So In order not to generate other regressions I will manage to find the exact information before I commit the patch. Thanks Ma Ling
*** This bug has been marked as a duplicate of bug 19931 ***
It now runs well on 945gm with the following configuration: Host: x-945gm Arch: i386 OSD: Fedora release 9 (Sulphur) Kernel: 2.6.28 Libdrm: (master) eb78c53aa1a980e60c0dd1f2d0d2f04cb9cb2622 Mesa: (mesa_7_4_branch) 7e8f2c56c00f93ad55842dc5e3b123a1fcf74b3c Xserver: (server-1.6-branch) 34724f45512e311377b972da480d35304fd687cc Xf86_video_intel: (master) 3012d85cc5eb58c2447e93c05c39dc14feaae988
Created attachment 28463 [details] [review] new patch to disable vga plane Zhao Jian, could you help to verify if this patch fixes your problem in UMS? thanks.
reopen to track it...
It works fine in UMS with the new patch.
Pushed the patch. Close. commit 376397c21eb9a7e4ea79d349af41da81c1af861f Author: Zhenyu Wang <zhenyuw@linux.intel.com> Date: Tue Aug 18 10:01:12 2009 +0800 Fix VGA plane disabling Only apply on G4X with SR01 bit5 workaround for VGA plane disable, and restore behavior back for other chips to make sure other modes got disabled too. For bug #17235, #19715, #21064, #23178 Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
It works well both in KMS and UMS with the newest code. Libdrm: (master)121b9648f846d900e67818869974ee82046e9b25 Mesa: (master)970823978c2f7d2cf0757aa6ddbd6289b34c476f Xserver: (master)1bdc9ec617d357b076c9e69296018bc212d91c7d Xf86_video_intel: (master)94fc93d4e2b88565dca17f72903d8991213c9ee8 Kernel: (drm-intel-next)01dfba93d9dfcf6d7abfc55ff5d9d6e76fa01ba0
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.