Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel and Wrapper #219

Closed
Mitradis opened this issue May 31, 2023 · 12 comments
Closed

Intel and Wrapper #219

Mitradis opened this issue May 31, 2023 · 12 comments

Comments

@Mitradis
Copy link

Mitradis commented May 31, 2023

i have some problems with wrapper on windows 10 with Intel UHD. When i set low resolution (1024768/1280720 etc) game crashed on start. If set FullHD resolution all ok. Tested on Age of Empires II Stronghold Crusader Tiberian Sun. 4.9.0 version (not my regular pc).

Intel driver have some resolution control function, i notice this for other wrappers (with dgVoodoo games runs in 19201080 even have 1024768 res). How to disable this function?

@FunkyFr3sh
Copy link
Owner

Can you upload a log file? debug build: #44

it crashes only with fullscreen? Does not crash with borderless/fullscreen upscaled/windowed?

@Mitradis
Copy link
Author

Mitradis commented Jun 2, 2023

AOE2.zip
STR.zip
no cnc-ddraw.dmp... or empty. Yes if i set windowed mode all ok. I add some dlls from logs.

@Mitradis
Copy link
Author

Mitradis commented Jun 2, 2023

Stronghold Crusaders crashed if i set in menu in settings any resolution < 1920-1080.

@FunkyFr3sh
Copy link
Owner

Yeah it's crashing somewhere in a dll from the intel drivers. Too bad the .dmp file is empty, It would've been useful in this case. I updated the debug build, maybe it can create a working .dmp file now with AOE2. #44

What happens if you run these games without any wrapper at a low resolution? Same crash?

@Mitradis
Copy link
Author

Mitradis commented Jun 3, 2023

without any wrapper running (but not this games, because this games have issue with windows 10, but it doesn't apply to this screen resolution issue).

@Mitradis
Copy link
Author

Mitradis commented Jun 3, 2023

Are you aware of some hidden settings to control game resolution from intel drivers? How can i judge by other wrappers driver overwrites its resolution and it creates big problems.

@Mitradis
Copy link
Author

Mitradis commented Jun 3, 2023

Logs.zip
A - aoe2 S - stronghold.
No crash dumps for S

@FunkyFr3sh
Copy link
Owner

I don't think there is such a function to overwrite the resolution, it's probably just dgvoodoo doing it (same as when you set "Fullscreen Upscaled" in cnc-ddraw settings).

The crash happens on the last ChangeDisplaySettings call, the other ChangeDisplaySettings calls are working fine (these check if the chosen resolution is available). Not sure if there's anything I can do... Did you try to update the drivers?

@Mitradis
Copy link
Author

Mitradis commented Jun 3, 2023

i try update next time.

@Mitradis Mitradis closed this as completed Jun 4, 2023
@Mitradis
Copy link
Author

This issue can be solver by set custom monitor refrashrate in dgVoodoo
https://www.vogons.org/viewtopic.php?f=59&t=82442&p=1185802#p1185802
intel driver try detect 4//3 or 5//4 full screen app and reset resolution to FHD. If app have different monitor refrashrate than desktop this function ignore app.

FunkyFr3sh added a commit that referenced this issue Aug 18, 2023
@FunkyFr3sh
Copy link
Owner

FunkyFr3sh commented Aug 18, 2023

I added a new "refresh_rate" settings, you can give it a try if you want:

cnc-ddraw.zip

Note: your monitor must support the value you put in there, if you use a bad value then it will fail to go fullscreen and run in a window instead

@Mitradis
Copy link
Author

Yes, now this problem solved here too))

andrews05 pushed a commit to andrews05/cnc-ddraw that referenced this issue Oct 11, 2023
andrews05 pushed a commit to andrews05/cnc-ddraw that referenced this issue Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants