VOGONS


First post, by antsh

User metadata
Rank Newbie
Rank
Newbie

I've been having an odd problem since one of my monitors in a dual set up stopped working. I've been using a single one for a bit now, but any games using the DirectX wrapper will not work. They throw errors related to DirectX or being unable to find a 3D adapter.

The oddest thing I've noticed is, if I plug in the broken monitor, Windows recognizes it and my games work again with dgVoodoo. If I change Windows' settings to show only display 1, the games stop working and the errors return.

Other wrappers work ok, so it seems specific to dgVoodoo. I'm wondering if there is any configuration or registry data that could be pointing to the old display, causing the errors when the display is not present.

Resetting the path information in %appdata% doesn't change the behavior.

Any help is greatly appreciated!

Reply 1 of 2, by Dege

User metadata
Rank l33t
Rank
l33t

You must have chosen a specific monitor attached to a specific adapter in dgVoodoo config. Say, monitor 2 attached to adapter 1 (video card 1). If you detach one of your monitors then the output ordinals change as well, so for example monitor 2 becames monitor 1 but you still have monitor 2 in dgv config which is of course not found.

Other wrappers probably does nothing but uses the current default primary output. That's what dgVoodoo does by default, if adapter and output ordinal is both set to 0 in the config.

But anyway, there is always the _dbg version of dgVoodoo, to see in the debug output that what config file is read and what errors are dumped, you should check that out.

Reply 2 of 2, by antsh

User metadata
Rank Newbie
Rank
Newbie

Ah, so it doesn't seem specific to dgVoodoo's config. I had also noticed custom resolutions are being cleared in Radeon Settings whenever the second monitor is unplugged. The error I saw maybe suggests a problem with all resolution queries and possibly not only dgVoodoo.

See below for error details

[11512] [dgVoodoo] INFO: Available DirectDraw devices:
[11512] [dgVoodoo] INFO: Device 0: Name: "AMD Radeon R9 290X Series", Description: "\\.\DISPLAY19", Monitor rect: (0, 0, 1920, 1080), GUID = {67685559-3106-11d0-b971-00aa00342f9f}, system primary monitor
[11512] [dgVoodoo] INFO: DirectDrawEnumerateExA: Enumerating output devices.
[11512] [dgVoodoo] INFO: DirectDrawEnumerateExA: Primary device is enumerated with NULL GUID.
[11512] DirectDrawCreate (lpGuid = 00000000, lplpDD = 0019FA54, pUnkOuter = 00000000)
[11512] DirectDraw::Initialize (this = 049060C0, lpGUID = 00000000)
[11512] [dgVoodoo] ERROR: DDBase (00A00908): Cannot query supported resolutions on display output 0, list is empty.
[11512] [dgVoodoo] ERROR: DirectDraw (049060C0) Initializing failed: Cannot query supported resolutions on output device 0.
[11512] [dgVoodoo] ERROR: DirectDrawCreate/DirectDrawCreateEx: creating DirectDraw object has failed.
[11512] [dgVoodoo] INFO: DirectDrawEnumerateExA: Device 0 is enumerated to the application.
[11512] DirectDrawCreate (lpGuid = 6C0A4828, lplpDD = 0019FA54, pUnkOuter = 00000000)
[11512] DirectDraw::Initialize (this = 026F4008, lpGUID = 6C0A4828)
[11512] [dgVoodoo] INFO: Reading config from file S:\SteamLibrary\steamapps\common\Gorky 17\dgVoodoo.conf.
[11512] [dgVoodoo] INFO: INI file based version of config file is successfully read.
[11512] [dgVoodoo] ERROR: DDBase (00A00988): Cannot query supported resolutions on display output 0, list is empty.
[11512] [dgVoodoo] ERROR: DirectDraw (026F4008) Initializing failed: Cannot query supported resolutions on output device 0.
[11512] [dgVoodoo] ERROR: DirectDrawCreate/DirectDrawCreateEx: creating DirectDraw object has failed.
[11512] [dgVoodoo] INFO: Reading config from file S:\SteamLibrary\steamapps\common\Gorky 17\dgVoodoo.conf.
[11512] [dgVoodoo] INFO: INI file based version of config file is successfully read.
[11512] DirectDrawCreate (lpGuid = 00000000, lplpDD = 0019FE18, pUnkOuter = 00000000)
[11512] DirectDraw::Initialize (this = 026F4008, lpGUID = 00000000)
[11512] [dgVoodoo] INFO: Reading config from file S:\SteamLibrary\steamapps\common\Gorky 17\dgVoodoo.conf.
[11512] [dgVoodoo] INFO: INI file based version of config file is successfully read.
[11512] [dgVoodoo] ERROR: DDBase (00A00868): Cannot query supported resolutions on display output 0, list is empty.
[11512] [dgVoodoo] ERROR: DirectDraw (026F4008) Initializing failed: Cannot query supported resolutions on output device 0.
[11512] [dgVoodoo] ERROR: DirectDrawCreate/DirectDrawCreateEx: creating DirectDraw object has failed.

Thanks for taking the time to look at this. I enjoy your program.

Edit: Switching from DVI-D to HDMI fixed whatever the issue was with my single monitor set up. I don't think I understand enough about it to know why that's the case... Anyways, thanks again for your help!