wpf: WPF - cannot redraw page on Intel 11th Core Iris Xe Integration graphic card
- .NET Core Version: 3.1
- Windows version: (
Windows 10 20H2
) - Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes
Problem description: I use CefSharp with WPF on Intel 11th Core Iris Xe Integration graphic card, it can’t redraw content. but when I closed WPF hardware acceleration, it can work normally.
Actual behavior: open acceleration then CefSharp can’t redraw content.
Expected behavior: open acceleration, CefSharp can redraw content normally
Minimal repro: the step for repeat problem can see from this Issues CefSharp
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 10
- Comments: 41 (6 by maintainers)
Links to this issue
- Risolto: Re: Iris Xe and AWS Workspaces - Intel Community
- Re: 3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Re: Re:3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Re:3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Re:3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Re:3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Re: Re:3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Re:3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Re:3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Re:3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Re:3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Re:3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Re: 3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Re: 3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Re: Graphics failure with WPF 3D content and Iris XE - Intel Community
- Re: 3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Re: 3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Re: 3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Re: 3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Solved: Re: Iris Xe and AWS Workspaces - Intel Community
- Résolu : Re: Iris Xe and AWS Workspaces - Intel Community
- Gelöst: Re: Iris Xe and AWS Workspaces - Intel Community
- Solved: Re:Iris Xe and AWS Workspaces - Intel Community
- Solved: Re: Iris Xe and AWS Workspaces - Intel Community
- Solved: Re: Iris Xe and AWS Workspaces - Intel Community
- Solved: Re: Iris Xe and AWS Workspaces - Intel Community
- Solved: Re: Iris Xe and AWS Workspaces - Intel Community
- Solved: Re: Iris Xe and AWS Workspaces - Intel Community
- Graphics failure with WPF 3D content and Iris XE - Intel Community
- Re: Re:3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Re: Re:3D rendering issue on 12th gen Intel Core i3 - Intel Community
- 3D rendering issue on 12th gen Intel Core i3 - Intel Community
- Решено: Re: Iris Xe and AWS Workspaces - Intel Community
- Solved: Re: Iris Xe and AWS Workspaces - Intel Community
- Solucionado: Iris Xe and AWS Workspaces - Intel Community
- Solucionado: Iris Xe and AWS Workspaces - Intel Communities
- .net - WriteableBitmap.WritePixels not refreshing on some PCs - Stack Overflow
- Hardware acceleration broken for all of Intel Gen 11 iGPUs
According to Intel, the fix is included in the drivers version 27.20.100.9616 https://www.intel.com/content/www/us/en/support/articles/000058136/graphics/graphics-for-11th-generation-intel-processors.html
The ETA is June 9th https://community.intel.com/t5/Graphics/Iris-Xe-and-AWS-Workspaces/m-p/1283236#M97290
Beta version is already available https://downloadcenter.intel.com/product/80939/Graphics
Did someone already try the beta version? Did it fix the bug?
I found this documented on an official Intel site finally:
https://community.intel.com/t5/Graphics/Iris-Xe-and-AWS-Workspaces/td-p/1244351
Intel’s bug #14013495876. The latest update from an Intel rep:
Assuming this bug-report is valid (I’m a bit skeptical about these sorts of reports since often the problem is in a driver and not the hardware/processor etc.)…
If one of those is the case, then only WPF can this remedy this problem. A (true) processor-specific bug - esp. one that affects a new CPU/GPU architecture as a class and .NET Core 3.1 (which suggests that it would likely affect .NET 5 as well) - ought to be treated as a bad problem and fixed as quickly as you can. Please consider investigating this further. Since this affects .NET Framework, clearly this also affects Windows 10 and Surface devices…
If this is a driver problem that’s common to 11th gen Intel chipset’s integrated GPU, I’m sure we have the ability to reach out to them through internal channels and work with them to fix their drivers so that hardware-accelerated rendering works as expected.
/cc @SamBent
Just installed the 30.0.10.9667 drivers from 6/8/2021 and it appears to have been fixed. Running an 1165G7
I confirmed that a .net45 app (CefSharp.WPF) with WriteableBitmap has this issues. The device is Dell Vostro 5301 with Iris Xe and NVIDIA MX350 graphic card. And the .net runtime is .net48 from Windows 10 2004. Using NVIDIA graphic card in NVIDIA Control Panel or using software rendering in WPF can solve this.
And when resizing, it’ll render the previous frame. So it’ll seem to be normal when continously resizing.
Is someone able to reach out to someone from
Intel
and get the ball rolling on fixing this issue? Or provide a suggestion on how we might contactIntel
directly?Reported this to Lenovo, who told me to send it to Intel as well. So I tried with the latest DHC-driver: 27.20.100.9316 And that didn’t help either. So I made an Intel Support Account and created a case, with video documentation and replication steps. Was not that difficult to do, actually.
So hopefully this will be addressed soon.
I’ve tried the latest Intel Xe driver version 27.20.100.9168 (date 8/1/2021) on a Dell 9310 XPS 13 and it’s still there 😦
Does recreating a new WriteableBitmap for every frame fix this for you?
I tested again with Intel i5-1135G7 and 30.0.101.1404 drivers. The issue didn’t appear.
Just installed 30.0.101.1404 drivers from 3/8/2022 and it looks like the issue has appeared again. Running on Intel i5-1135G7. Everything has been fine with 27.20.100.9616 before.
Here’s a snippet to work around the bug:
@apisarev Thank you. Fixed
@DavidGretzschel I have an i7-1165G7 too.
I use
SetupDiEnumDeviceInfo
andSetupDiGetDeviceInstanceId
to get pid and vid for the graphic card. And check if the graphic card isIntel(R) Iris(R) Xe Graphics
. It’s faster than WMI. But in the case of multiple graphics cards, it may not be accurate enough.I acquired a machine to try and fix this issue for users of our application. I discovered that it happens even with Microsoft’s example for WriteableBitmap, an extremely rudimentary drawing application. It does almost nothing when running on the Iris Xe. https://docs.microsoft.com/en-us/dotnet/api/system.windows.media.imaging.writeablebitmap?view=net-5.0
In our application we use SkiaSharp for rendering and it only draws the first frame. Subsequent updates do not appear unless a resize occurs. Tweaking SkiaSharp to use a new WriteableBitmap for every paint “fixes” the issue but causes massive memory and performance issues.
I have a question that who should be fix this problem?
Hi @LMing123. Thank you for the report. This is not something that can be fixed in WPF.
maybe, same build were tested on other platform, for example: Intel 10th Core CPU and 9th Core CPU, it work perfect.