| View previous topic :: View next topic |
| Author |
Message |
Jamie
Joined: 07 Jul 2002 Posts: 779 Location: Waterford, CT (USA)
|
Posted: Fri Apr 01, 2005 1:00 am Post subject: Screen Flashing - Override Refresh in DXDiag... |
|
|
One of the test machines was exhibiting the screen flashing phenomenon. We tested a variety of things, and the only one that seemed to work was manually selecting a refresh rate in the DirectX Diagnostic Tool ("dxdiag")...
1) Run -> "dxdiag"
2) Click on the "More Help" tab
3) Click on the "Override" button
4) Enter a custom refresh rate to works for your video card/monitor
Not a solution, but if it helps some people in the meantime while we try to nail down the issue, I thought it would be helpful to post it. |
|
| Back to top |
|
 |
CadaverDog
Joined: 21 Sep 2001 Posts: 80 Location: Aurora, CO
|
Posted: Fri Apr 01, 2005 2:53 am Post subject: |
|
|
| Hi, Jamie. Is this different than setting your refresh rate from "Properties" on the desktop? |
|
| Back to top |
|
 |
Jamie
Joined: 07 Jul 2002 Posts: 779 Location: Waterford, CT (USA)
|
Posted: Fri Apr 01, 2005 4:25 am Post subject: |
|
|
| CadaverDog wrote: | | Hi, Jamie. Is this different than setting your refresh rate from "Properties" on the desktop? |
Yup. That refresh rate is for your Windows Desktop only. As soon as a DirectX application starts up and goes into full-screen exclusive mode (just as most games do) the default DirectX refresh will kick in. I think most the time that is 60hz, but it may change depending on the video card and/or drivers.
With that DirectX override, you can set the refresh rate when running all games and try to alleviate the flashing that way. Or you can play the game in "windowed" mode, which would avoid the problem as well. But again, we'd rather figure out what is going on and fix the problem...  |
|
| Back to top |
|
 |
CadaverDog
Joined: 21 Sep 2001 Posts: 80 Location: Aurora, CO
|
Posted: Fri Apr 01, 2005 6:52 am Post subject: |
|
|
Jamie,
OK, this is very cool. I hate to bug you too much, but now I'm really curious. I know you're not MS tech support but you obviously know more about this than me. (BTW, I was MS certified in NT 4.0 WS, Server, and Networking not that long ago, but sometimes things don't work out the way you expect...)
Here's what I understand after reading your posts (please correct me if I misunderstood what you said):
1. The refresh rate set through "Properties" from the Desktop only affects apps that are on the desktop or in windowed mode, including things like Word and Excel that, while "maximized," still use the desktop settings (because they're in a "window," but the window occupies the full screen area. This is evident by the buttons in the upper right of the screen and the presence of the taskbar.). Is this why you suggest that folks having flickering problems run the sim in a window as a test? Because it won't be using the DirectX refresh rate, but the "Properties" refresh rate?
2. Does the -wantvsync command line option force the full-screen app (i.e. DW or other games) to use the "Properties" refresh rate and not the DirectX rate?
3. If I set the DirectX refresh rate (per your suggestion above) to 72hz or 75hz (some of modes my monitor and vidcard support) does this force all full-screen (game, or DirectX) apps (without -wantvsync) to that refresh rate?
4. If 3 is true do developers design games around the 60hz number or are most game apps adaptable to higher rates? And if so should we all bump up our DirectX refresh rates?
I'm sorry to be such an inquisitive type, but this info would be pretty handy to know for lots of different situations. I wish I had kept up with the technology the last several years.
Cheers. |
|
| Back to top |
|
 |
porphy
Joined: 22 Nov 2002 Posts: 455 Location: Sweden
|
Posted: Fri Apr 01, 2005 11:42 am Post subject: |
|
|
Hi
Thanks for the tip Jamie. Does this setting differ from when you set refresh rates override in the graphics driver settings? I run a Nvidia 6800GT and within the drivers panel (+ coolbits) I can set specific override values for every resolution my monitor supports. This is certainly not only for desktop 2d. Wouldn't this be better (for those who have the ability in the drivers or using a refresh rate proggie) than to set default value in dirextx. If the Directx default value is forced for every resolution you could end up with a "signal out of range" problem, ie the monitor doesn't support a specific hz on, let say 1600 x 1200 resolution.
Thanks for hunting down this prob.
Cheers Porphy |
|
| Back to top |
|
 |
Wim Libaers
Joined: 21 Sep 2001 Posts: 396 Location: Flanders
|
Posted: Fri Apr 01, 2005 10:12 pm Post subject: |
|
|
| CadaverDog wrote: |
4. If 3 is true do developers design games around the 60hz number or are most game apps adaptable to higher rates? And if so should we all bump up our DirectX refresh rates?
|
Going to 60Hz by default in DirectX programs is generally considered to be a Windows 2000/XP bug. There may be programs that depend on it, but it's usually better to set it to a higher value. 85Hz if your monitor can handle it.
For LCD screens, you probably can't set it that high, but it's not really needed for LCD.
Some versions of the Nvidia display drivers also allow specifying a refresh rate for every supported resolution separately (for recent drivers, it has to be enabled in nvtweak). |
|
| Back to top |
|
 |
Jamie
Joined: 07 Jul 2002 Posts: 779 Location: Waterford, CT (USA)
|
Posted: Fri Apr 01, 2005 10:22 pm Post subject: |
|
|
| CadaverDog wrote: |
1. The refresh rate set through "Properties" from the Desktop only affects apps that are on the desktop or in windowed mode, including things like Word and Excel that, while "maximized," still use the desktop settings (because they're in a "window," but the window occupies the full screen area. This is evident by the buttons in the upper right of the screen and the presence of the taskbar.). Is this why you suggest that folks having flickering problems run the sim in a window as a test? Because it won't be using the DirectX refresh rate, but the "Properties" refresh rate? |
Yup.
| Quote: | | 2. Does the -wantvsync command line option force the full-screen app (i.e. DW or other games) to use the "Properties" refresh rate and not the DirectX rate? |
Yes, although it appears as though some people's installations of DirectX are disregarding DW's recommendation. This approach flat out overrides DirectX's preference and allows you to set it *IN* DirectX itself.
| Quote: | | 3. If I set the DirectX refresh rate (per your suggestion above) to 72hz or 75hz (some of modes my monitor and vidcard support) does this force all full-screen (game, or DirectX) apps (without -wantvsync) to that refresh rate? |
Yes, it will. And most games should be perfectly fine with it as long as your monitor can support. For instance, I wouldn't recommend you running a resolution and refresh rate that will force your monitor to display an "Out of Range" message (i.e. 1600x1200 at 100hz or more is usually unreachable by all but the newest monitors...)
| Quote: | | 4. If 3 is true do developers design games around the 60hz number or are most game apps adaptable to higher rates? And if so should we all bump up our DirectX refresh rates? |
Some developers allow you to alter the refresh rate in game but you have to enumerate your monitor's capaibilities just as you would the video card and that becomes more complicated to accomodate for all the different configurations people have (and it would have to be tested quite a bit).
| Quote: | | I'm sorry to be such an inquisitive type, but this info would be pretty handy to know for lots of different situations. I wish I had kept up with the technology the last several years. |
No problem whatsoever...  |
|
| Back to top |
|
 |
Jamie
Joined: 07 Jul 2002 Posts: 779 Location: Waterford, CT (USA)
|
Posted: Fri Apr 01, 2005 10:24 pm Post subject: |
|
|
| porphy wrote: | Hi
Thanks for the tip Jamie. Does this setting differ from when you set refresh rates override in the graphics driver settings? I run a Nvidia 6800GT and within the drivers panel (+ coolbits) I can set specific override values for every resolution my monitor supports. This is certainly not only for desktop 2d. Wouldn't this be better (for those who have the ability in the drivers or using a refresh rate proggie) than to set default value in dirextx. If the Directx default value is forced for every resolution you could end up with a "signal out of range" problem, ie the monitor doesn't support a specific hz on, let say 1600 x 1200 resolution.
Thanks for hunting down this prob.
Cheers Porphy |
I think the settings in your Drivers just access the same DirectX functionality and then set it themselves... It's just harder to show people how to do with the different drivers and whatnot...  |
|
| Back to top |
|
 |
CadaverDog
Joined: 21 Sep 2001 Posts: 80 Location: Aurora, CO
|
Posted: Sat Apr 02, 2005 12:05 am Post subject: |
|
|
| Thanks, Jamie! :know: |
|
| Back to top |
|
 |
Sub Sailor
Joined: 14 Sep 2002 Posts: 295 Location: Orofino, Idaho
|
Posted: Sat Apr 02, 2005 5:46 am Post subject: Direct Diag |
|
|
Mr Carlson;
I followed your instructions and went to Direct X Diag and changed my setting to 75, I picked that because my monitor states it is optimal at 1024 by 768, and I did not see one flash. I am running a Nvidia GeForce FX 5500 AGP 8X 128 MB, and it was flashing like crazy. I will continue reporting after a few more efforts.
For anyone having a problem I suggest you try Mr. Carlson's suggestion, as it seems to work. Now I have not done the wantVSyn, just chaged the refresh rate. I may bumb it to a higher refresh rate over the next few days just to see what happens. I won't change my screen resolution as I can not see any thing much smaller.
Again Mr Carlson thank you for your help.
Respectfully,
Ron Banks MMCM(SS), USN(Ret) |
|
| Back to top |
|
 |
Reckall
Joined: 10 Jan 2002 Posts: 59
|
Posted: Sat Apr 02, 2005 11:44 am Post subject: Re: Direct Diag |
|
|
If this may be of help, I totally solved the problem by unchecking the "mimboot" startup item in MSConfig (Start ----> Run ----> msconfig , under the "startup" label). It is used by Musicmatch, and it caused flashing problems with Hearts of Iron 2 too.
Don't ask me why it worked - but it did! Try it if you have Musicmatch installed (I switched to Winamp since) |
|
| Back to top |
|
 |
R48
Joined: 22 Nov 2002 Posts: 222
|
Posted: Sat Apr 02, 2005 4:24 pm Post subject: |
|
|
| Unfortunately, I still get screen flashing at times, but thanks for the suggestion! |
|
| Back to top |
|
 |
|