Jump to content

Multi-monitor. Recovering from disconnected display.


Recommended Posts

Posted

I'm running DCS at a total resolution of 11904x1800 to accommodate 3x 2560x1440 monitors for the main view, plus 5 other USB displays for exported DDI's, RWR and IFEI. This setup has been stable since January and I have to start by commending ED for building DCS in such a way that this is even possible because it has been awesome flying the Hornet this way.

Unfortunately, I've started to have issues with USB stability that I'm having trouble resolving. At seemingly random intervals, all of my USB devices will drop offline for about 10 seconds before reconnecting. This is a big problem when running a multi-monitor setup with USB displays, because it seems like when the game can no longer render to those displays, it falls back to rendering the entire render target to a single monitor. So in my case, 11904x1800 gets squashed onto a single 2560x1440, and there's no way to "maximize" the game after the USB displays reconnect.

Here's a snippet from dcs.log when this happens:

2025-08-07 07:33:17.502 INFO    APP (Main): Device unplugged: [HID] HID Keyboard Device
2025-08-07 07:33:17.647 WARNING LOG (9680): 1 duplicate message(s) skipped.
2025-08-07 07:33:17.647 INFO    APP (Main): Device unplugged: [HID] HID-compliant mouse
2025-08-07 07:33:17.798 WARNING LOG (9680): 1 duplicate message(s) skipped.
2025-08-07 07:33:17.798 INFO    APP (Main): Device unplugged: [HID] HID-compliant consumer control device
2025-08-07 07:33:17.864 INFO    APP (Main): Device unplugged: [HID] HID-compliant system controller
2025-08-07 07:33:18.011 WARNING LOG (9680): 1 duplicate message(s) skipped.
2025-08-07 07:33:18.011 INFO    APP (Main): Device unplugged: [HID] HID-compliant consumer control device
2025-08-07 07:33:18.081 INFO    APP (Main): Device unplugged: [HID] HID-compliant vendor-defined device
2025-08-07 07:33:18.211 WARNING WORLD (Main): ModelTimeQuantizer: ANTIFREEZE ENABLED
2025-08-07 07:42:35.428 WARNING WORLD (Main): ModelTimeQuantizer: SAME MODEL TIME
2025-08-07 10:05:40.706 WARNING LOG (9680): 20 duplicate message(s) skipped.
2025-08-07 10:05:40.706 INFO    APP (Main): wcTanker::onEvent:5
2025-08-07 10:05:40.706 INFO    EDCORE (Main): (wcTanker::Channel)enterToState_:6
2025-08-07 10:05:40.706 INFO    EDCORE (Main): (wcTanker)enterToState_:3
2025-08-07 10:34:09.139 WARNING WORLD (Main): ModelTimeQuantizer: SAME MODEL TIME
2025-08-07 14:15:23.819 WARNING LOG (9680): 31 duplicate message(s) skipped.
2025-08-07 14:15:23.819 INFO    DXGUI_WIN_ADAPTER (Main): resize main window to [2560, 1440]
2025-08-07 14:15:24.584 INFO    APP (Main): Device unplugged: [DISPLAY] @System32\drivers\dxgkrnl.sys,#303;Generic Monitor (%1);(DisplayLink)
2025-08-07 14:15:25.022 WARNING LOG (9680): 2 duplicate message(s) skipped.
2025-08-07 14:15:25.022 INFO    APP (Main): Device unplugged: [USB] Racer-Tech USB Display Device
2025-08-07 14:15:25.585 WARNING LOG (9680): 5 duplicate message(s) skipped.
2025-08-07 14:15:25.585 INFO    APP (Main): Device unplugged: [HID] HID-compliant touch screen
2025-08-07 14:15:25.695 INFO    APP (Main): Device unplugged: [HID] Microsoft Input Configuration Device
2025-08-07 14:15:25.818 INFO    APP (Main): Device unplugged: [HID] HID-compliant vendor-defined device
2025-08-07 14:15:26.154 INFO    APP (Main): Device unplugged: [HID] HID-compliant mouse
2025-08-07 14:15:26.511 WARNING LOG (9680): 1 duplicate message(s) skipped.
2025-08-07 14:15:26.511 INFO    APP (Main): Device unplugged: [USB] USB Composite Device
2025-08-07 14:15:26.618 INFO    APP (Main): Device plugged: [USB] USB Composite Device
2025-08-07 14:15:26.761 INFO    APP (Main): Device plugged: [USB] USB Serial Device (COM5)
2025-08-07 14:15:27.168 INFO    APP (Main): Device unplugged: [USB] USB Serial Device (COM5)
2025-08-07 14:15:27.276 INFO    APP (Main): Device unplugged: [USB] USB Composite Device
2025-08-07 14:15:27.383 INFO    APP (Main): Device plugged: [USB] Racer-Tech USB Display Device
2025-08-07 14:15:28.154 WARNING LOG (9680): 5 duplicate message(s) skipped.
2025-08-07 14:15:28.154 INFO    APP (Main): Device plugged: [DISPLAY] @System32\drivers\dxgkrnl.sys,#303;Generic Monitor (%1);(DisplayLink)
2025-08-07 14:15:28.397 WARNING LOG (9680): 2 duplicate message(s) skipped.
2025-08-07 14:15:28.397 INFO    APP (Main): Device plugged: [USB] USB Composite Device
2025-08-07 14:15:28.484 INFO    APP (Main): Device plugged: [HID] HID-compliant touch screen
2025-08-07 14:15:28.566 INFO    APP (Main): Device plugged: [HID] HID-compliant vendor-defined device
2025-08-07 14:15:28.654 INFO    APP (Main): Device plugged: [HID] Microsoft Input Configuration Device
2025-08-07 14:15:28.753 INFO    APP (Main): Device plugged: [HID] HID-compliant mouse

When DCS detects the disconnected display it resizes the main window:

2025-08-07 14:15:23.819 INFO    DXGUI_WIN_ADAPTER (Main): resize main window to [2560, 1440]

DCS also detects when the display device reconnects:

2025-08-07 14:15:28.154 INFO    APP (Main): Device plugged: [DISPLAY] @System32\drivers\dxgkrnl.sys,#303;Generic Monitor (%1);(DisplayLink)

Unfortunately there's no subsequent attempt to resize the main window back to the original resolution when the new display is detected.

Obviously I'm going to try and take care of the USB stability issue separately, but I'm wondering if there's a way to make multi-monitor DCS more resilient to display disconnects by making a call to DXGUI_WIN_ADAPTER after a display is connected and attempting to render the main window at the resolution specified in options.lua?

Thanks!

Posted
55 minutes ago, AJ.eightFive said:

I'm running DCS at a total resolution of 11904x1800 to accommodate 3x 2560x1440 monitors for the main view, plus 5 other USB displays for exported DDI's, RWR and IFEI. This setup has been stable since January and I have to start by commending ED for building DCS in such a way that this is even possible because it has been awesome flying the Hornet this way.

Unfortunately, I've started to have issues with USB stability that I'm having trouble resolving. At seemingly random intervals, all of my USB devices will drop offline for about 10 seconds before reconnecting. This is a big problem when running a multi-monitor setup with USB displays, because it seems like when the game can no longer render to those displays, it falls back to rendering the entire render target to a single monitor. So in my case, 11904x1800 gets squashed onto a single 2560x1440, and there's no way to "maximize" the game after the USB displays reconnect.

Here's a snippet from dcs.log when this happens:

2025-08-07 07:33:17.502 INFO    APP (Main): Device unplugged: [HID] HID Keyboard Device
2025-08-07 07:33:17.647 WARNING LOG (9680): 1 duplicate message(s) skipped.
2025-08-07 07:33:17.647 INFO    APP (Main): Device unplugged: [HID] HID-compliant mouse
2025-08-07 07:33:17.798 WARNING LOG (9680): 1 duplicate message(s) skipped.
2025-08-07 07:33:17.798 INFO    APP (Main): Device unplugged: [HID] HID-compliant consumer control device
2025-08-07 07:33:17.864 INFO    APP (Main): Device unplugged: [HID] HID-compliant system controller
2025-08-07 07:33:18.011 WARNING LOG (9680): 1 duplicate message(s) skipped.
2025-08-07 07:33:18.011 INFO    APP (Main): Device unplugged: [HID] HID-compliant consumer control device
2025-08-07 07:33:18.081 INFO    APP (Main): Device unplugged: [HID] HID-compliant vendor-defined device
2025-08-07 07:33:18.211 WARNING WORLD (Main): ModelTimeQuantizer: ANTIFREEZE ENABLED
2025-08-07 07:42:35.428 WARNING WORLD (Main): ModelTimeQuantizer: SAME MODEL TIME
2025-08-07 10:05:40.706 WARNING LOG (9680): 20 duplicate message(s) skipped.
2025-08-07 10:05:40.706 INFO    APP (Main): wcTanker::onEvent:5
2025-08-07 10:05:40.706 INFO    EDCORE (Main): (wcTanker::Channel)enterToState_:6
2025-08-07 10:05:40.706 INFO    EDCORE (Main): (wcTanker)enterToState_:3
2025-08-07 10:34:09.139 WARNING WORLD (Main): ModelTimeQuantizer: SAME MODEL TIME
2025-08-07 14:15:23.819 WARNING LOG (9680): 31 duplicate message(s) skipped.
2025-08-07 14:15:23.819 INFO    DXGUI_WIN_ADAPTER (Main): resize main window to [2560, 1440]
2025-08-07 14:15:24.584 INFO    APP (Main): Device unplugged: [DISPLAY] @System32\drivers\dxgkrnl.sys,#303;Generic Monitor (%1);(DisplayLink)
2025-08-07 14:15:25.022 WARNING LOG (9680): 2 duplicate message(s) skipped.
2025-08-07 14:15:25.022 INFO    APP (Main): Device unplugged: [USB] Racer-Tech USB Display Device
2025-08-07 14:15:25.585 WARNING LOG (9680): 5 duplicate message(s) skipped.
2025-08-07 14:15:25.585 INFO    APP (Main): Device unplugged: [HID] HID-compliant touch screen
2025-08-07 14:15:25.695 INFO    APP (Main): Device unplugged: [HID] Microsoft Input Configuration Device
2025-08-07 14:15:25.818 INFO    APP (Main): Device unplugged: [HID] HID-compliant vendor-defined device
2025-08-07 14:15:26.154 INFO    APP (Main): Device unplugged: [HID] HID-compliant mouse
2025-08-07 14:15:26.511 WARNING LOG (9680): 1 duplicate message(s) skipped.
2025-08-07 14:15:26.511 INFO    APP (Main): Device unplugged: [USB] USB Composite Device
2025-08-07 14:15:26.618 INFO    APP (Main): Device plugged: [USB] USB Composite Device
2025-08-07 14:15:26.761 INFO    APP (Main): Device plugged: [USB] USB Serial Device (COM5)
2025-08-07 14:15:27.168 INFO    APP (Main): Device unplugged: [USB] USB Serial Device (COM5)
2025-08-07 14:15:27.276 INFO    APP (Main): Device unplugged: [USB] USB Composite Device
2025-08-07 14:15:27.383 INFO    APP (Main): Device plugged: [USB] Racer-Tech USB Display Device
2025-08-07 14:15:28.154 WARNING LOG (9680): 5 duplicate message(s) skipped.
2025-08-07 14:15:28.154 INFO    APP (Main): Device plugged: [DISPLAY] @System32\drivers\dxgkrnl.sys,#303;Generic Monitor (%1);(DisplayLink)
2025-08-07 14:15:28.397 WARNING LOG (9680): 2 duplicate message(s) skipped.
2025-08-07 14:15:28.397 INFO    APP (Main): Device plugged: [USB] USB Composite Device
2025-08-07 14:15:28.484 INFO    APP (Main): Device plugged: [HID] HID-compliant touch screen
2025-08-07 14:15:28.566 INFO    APP (Main): Device plugged: [HID] HID-compliant vendor-defined device
2025-08-07 14:15:28.654 INFO    APP (Main): Device plugged: [HID] Microsoft Input Configuration Device
2025-08-07 14:15:28.753 INFO    APP (Main): Device plugged: [HID] HID-compliant mouse

When DCS detects the disconnected display it resizes the main window:

2025-08-07 14:15:23.819 INFO    DXGUI_WIN_ADAPTER (Main): resize main window to [2560, 1440]

DCS also detects when the display device reconnects:

2025-08-07 14:15:28.154 INFO    APP (Main): Device plugged: [DISPLAY] @System32\drivers\dxgkrnl.sys,#303;Generic Monitor (%1);(DisplayLink)

Unfortunately there's no subsequent attempt to resize the main window back to the original resolution when the new display is detected.

Obviously I'm going to try and take care of the USB stability issue separately, but I'm wondering if there's a way to make multi-monitor DCS more resilient to display disconnects by making a call to DXGUI_WIN_ADAPTER after a display is connected and attempting to render the main window at the resolution specified in options.lua?

Thanks!

This sounds similar to what happens in VR when there’s a disconnect. I can see the image on my monitor, but must exit and relaunch the program to get it back in VR. 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...