Bug 9205 - DGA hangs Xorg
Summary: DGA hangs Xorg
Status: VERIFIED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.2 (2007.02)
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Eric Anholt
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-30 01:34 UTC by Shuang He
Modified: 2006-12-19 20:48 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
X server log (50.81 KB, text/plain)
2006-11-30 01:43 UTC, Shuang He
no flags Details
X conf file (2.79 KB, text/plain)
2006-11-30 01:44 UTC, Shuang He
no flags Details

Description Shuang He 2006-11-30 01:34:16 UTC
--Architecture(ia32,ia32e,compatiblity): ia32, ia32e
--2D driver: git modesetting branch(72692ba2e0254460c4f5a8cd476f5748383390ae)
--Xorg: 7.1
  xserver:
   git randr-1.2-for-server-1.2 branch(0626eb8e5c9fa05de6bdc9aa0c654f5148bf7cff)
--Mesa: CVS tip
--OS: FC5
--Kernel: 2.6.19-rc3

When run 'dga', it hangs Xorg. Any other X Window application can not run.
Cousor will disapear. But Xorg process do not crash.


Reproduce steps:
----------------
1,start Xorg;
2,run xterm;
3,run dga
4,run X window application(such as glxinfo. glxgears, xterm), these app will
hang up.

dga is an Xorg application. It will exit after you compile Xorg.
You can get source from http://gitweb.freedesktop.org


Current result:
----------------
DGA extension will hang Xorg.

By the way, if run mplayer with dga: "mplayer -vo dga VTS_01_0.VOB", X will also
hang up. 

Expected result:
----------------



Basic root-causing log:
---------------------
When dga run, it will hang on function 
XF86DGASetViewPort(dis, DefaultScreen(dis), 0, 0);(line 151 in
xorg/app/xf86dga/dga.c).
Comment 1 Shuang He 2006-11-30 01:42:24 UTC
this issue happens for both master and modesetting branch
Comment 2 Shuang He 2006-11-30 01:43:16 UTC
Created attachment 7925 [details]
X server log
Comment 3 Shuang He 2006-11-30 01:44:03 UTC
Created attachment 7926 [details]
X conf file
Comment 4 Alan Hourihane 2006-11-30 02:17:28 UTC
Sounds like a generic problem then. Have you tried with another video driver ?
Comment 5 xuji 2006-12-01 01:10:39 UTC
(In reply to comment #4)
> Sounds like a generic problem then. Have you tried with another video 
driver ?

A nvidia driver has been used to test, X can started ,but dga test also has 
error, though not the same as Intel's driver
Comment 6 xuji 2006-12-17 21:22:56 UTC
after starting dga:it will display following information:
1 addr:0x2b4bfc3da000, width 2048, bank size 15204352, depth 24 planes

it can catch the mouse motion, but pressing any key on keyboard will kill dga 
with following information:  

Killed
[root@x-945g skull]#
Message from syslogd@x-945g at Fri Dec 15 16:08:20 2006 ...
x-945g kernel: Bad pagetable: 000f [9] SMP

after that, glxgears can run but not display on the screen.   

Comment 7 xuji 2006-12-19 20:48:26 UTC
Xu,Ji on behalf of Eric to fix the bug.


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.