Summary: | DGA mode detection sets imageHeight and imageWidth to 0 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | James A Wright <james> | ||||||
Component: | Server/General | Assignee: | Xorg Project Team <xorg-team> | ||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||
Severity: | normal | ||||||||
Priority: | high | Keywords: | patch | ||||||
Version: | 6.9.0 | ||||||||
Hardware: | x86 (IA32) | ||||||||
OS: | Linux (All) | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 16399 | ||||||||
Attachments: |
|
Description
James A Wright
2004-12-30 12:07:17 UTC
Can I ask you the issues that you get without this line added? Thanks (In reply to comment #1) > Can I ask you the issues that you get without this line added? > > Thanks The problem is that the imageWidth is set to zero, so when an application tries to detect a useable DGA mode, these modes are skipped (assuming the application checks the available widths and heights). I also submitted the same bug report to the XFree86 devs, and I believe they fixed it in a more general manner by clamping the co-ords to 16 bit values in "Xext/xf86dga2.c" Has this bug been fixed? Created attachment 4819 [details]
Fixed 6.9.0 Source
I have modified "xc/programs/Xserver/Xext/xf86dga2.c" (which i have
taken from xorg 6.9.0) and fixed this problem.
Created attachment 4820 [details]
diff of the fixed source and the original 6.9.0 source
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future. dga == dead dead dead. |
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.