Skip to content

Crash on dual-GPU laptops with NVIDIA GPU (cannot reach WPF Loaded event) #160

@Intsuho

Description

@Intsuho

Hi, I'm encountering a crash when running the application on a dual-GPU laptop. Here are the system details:

  • CPU: Intel Core7 240H

  • Integrated GPU driver version: 32.0.101.5972 (Released: 2024-08-19)

  • Discrete GPU: NVIDIA (Optimus enabled)

Issue Description:
When the application is launched using the integrated GPU, it crashes very early—before even reaching the WPF Loaded event. The crash stack includes the following key point:

Image

Workarounds That Helped:

  • Updating the Intel GPU driver to version 32.0.101.5972 resolved the issue.

  • Forcing the app to launch with the discrete NVIDIA GPU via the NVIDIA Control Panel (Optimus settings) also resolved the problem.

Questions:

From the behavior, it seems the app launches using the integrated GPU, but the crash occurs in DXRegisterObjectNV, which appears related to the NVIDIA GPU. Why would launching with the iGPU trigger an NVIDIA-related error?

Is there any recommended way to force the app to always launch with the discrete GPU? (e.g., via code, configuration, or manifest)

Thanks for your work, and I appreciate any insights you can provide!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions