WorldWideTelescope / wwt-windows-client

WorldWide Telescope Windows Application
Other
177 stars 55 forks source link

Crash with Intel Iris Xe graphics #196

Open pkgw opened 2 years ago

pkgw commented 2 years ago

A user reports a "WWT has encountered an error" crash on the following hardware:

Crash is:

HRESULT: [0x887A0005], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_DEVICE_REMOVED/DeviceRemoved], Message: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.

pkgw commented 2 years ago

Based on my initial investigations, this appears to be a driver crash. We could potentially figure out what WWT is doing that is making the driver unhappy and figure out a workaround, but that would likely take a huge amount of effort and resources that we just don't have. Hopefully we can identify a version of the driver that doesn't have this problem (which apparently triggers pretty much instantly on startup).

See this 2021 Intel forum thread for potentially related discussion. The Intel support folks pointed out that the original reporters were using OEM-customized drivers, and recommended switching to Intel's generic drivers.

This specific post gives the recipe for installing Intel's generic drivers. However, the latest available drivers are now newer. As of today the latest generic driver version is 30.0.101.1191, available here. The first thing to try would be update the drivers if they're not already at the latest version.

pkgw commented 2 years ago

Unfortunately, Intel generic drivers with versions ranging between 26.20.100.7985 and the latest, 30.0.101.1191, don't help. We'll see if Intel's support can offer any help, although frankly I'm not too optimistic.

pkgw commented 2 years ago

If anyone here has the relevant hardware, it looks like the most promising place to pursue this issue with Intel might be their Graphics community support forum.

pkgw commented 2 years ago

Also reported in a Dell Inspiron 7706 2-in-1 ... maybe. The machine in question also has a discrete graphics card, so you'd expect/hope that WWT would be using it rather than the Intel, but the nature of the crash is identical to the one reported above.

update: ah, the 2-in-1 is one of these compact setups where the discrete GPU is wired through the Intel hardware, and apparently it's not uncommon for apps to detect the Intel as the "primary" GPU and insist on using it. Less clear is whether there's any workaround. There are at least some models where there's an nVidia control panel that offers some control over the primary GPU, but the online discussion indicates that the setting may not do anything. Other discussion suggests that you have to run the app on an external display so that it's using an output wired to the discrete GPU. I've asked the reporter to provide updates if any of those options turn out to be helpful.

pkgw commented 2 years ago

Reporter with the 2-in-1 followed up to confirm that switching the preferred GPU to force the use of the nVidia made the problem go away. Dell's instructions:

https://www.dell.com/support/kbdoc/en-us/000103466/how-to-make-the-nvidia-graphics-processor-the-default-graphics-adapter-using-the-nvidia-control-panel

IceyOrange commented 1 year ago

I met the same problem and unfortunately choose another GPU is the only solution of this problem...