dotnet / dotnet/wpf

High GPU usage

Open
#6,082 4 comments 0 reactions 0 assignees View on GitHub
needs more information
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

* .NET Core Version: 3.1 and 6.0
* Windows version: Windows 10 and Windows 11
* Does the bug reproduce also in WPF for .NET Framework 4.8?: I dont know, all apps are only .NET (Core)
* Is this bug related specifically to tooling in Visual Studio (e.g. XAML Designer, Code editing, etc...)? No

**Problem description:**
For some people my applications use like 20-40% of GPU usage, for some even 90% when they're visible. The same applications work pretty fine for me and a lot of other people. When minimized to taskbar the GPU usage goes down to 0%. These people have extremely strong graphic cards like Nvidia 3080. My applications don't do any special that would explain the high GPU usage and I don't use any third party controls.

Happens as soon as there is another process running which uses Directx 11/12 (for example a game).

Disabling HW acceleration using `DisableHWAcceleration` solves the issue but thats just a workaround, not a fix. Its still not clear where the issue comes from.

**Actual behavior:**
High GPU usage

**Expected behavior:**
Low GPU usage

**Minimal repro:**
As this is per computer a "minimal repro" wouldn't help here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.