Bug 6128 - DGA - XDGAQueryModes returns verticalRefresh of 0.0
Summary: DGA - XDGAQueryModes returns verticalRefresh of 0.0
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 6.9.0
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-05 05:21 UTC by James A Wright
Modified: 2018-12-13 22:16 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Fixed xf86DGA.c (31.20 KB, text/plain)
2006-03-05 05:22 UTC, James A Wright
no flags Details
Diff of the fixed xf86DGA.c and the original 6.9.0 xf86DGA.c (608 bytes, text/plain)
2006-03-05 05:25 UTC, James A Wright
no flags Details

Description James A Wright 2006-03-05 05:21:30 UTC
On some chipsets/displays XDGAQueryModes() returns modes with the
verticalRefresh field set to 0. I think its due to an assigment in
"xc/programs/Xserver/hw/xfree86/common/xf86DGA.c" which assumes that the
DisplayMode.VRefresh holds the vertical refresh rate for this mode, which does
not seem to always be the case. I have lifted some code from "xf86Mode.c" which
does a better job of finding the vertical refresh rate, and put it into
"xf86DGA.c" (see attached).
Comment 1 James A Wright 2006-03-05 05:22:24 UTC
Created attachment 4821 [details]
Fixed xf86DGA.c
Comment 2 James A Wright 2006-03-05 05:25:53 UTC
Created attachment 4822 [details]
Diff of the fixed xf86DGA.c and the original 6.9.0 xf86DGA.c
Comment 3 Daniel Stone 2007-02-27 01:30:44 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 4 chemtech 2013-03-15 14:44:34 UTC
James A Wright 
Do you still experience this issue with newer soft ?
Please check the status of your issue.
Comment 5 GitLab Migration User 2018-12-13 22:16:36 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/341.


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.