GLWpfControl icon indicating copy to clipboard operation
GLWpfControl copied to clipboard

Black screen in Example app with Intel UHD Graphics 770

Open simfero opened this issue 1 year ago • 5 comments

When I run the Example app with the 4.3.3. release, I am just seeing a black screen in the Control 1 and Control 2 tabs. Control 3 tab just has an orange background. I have two GPUs: Intel UHD Graphics 770 and Nvidia RTX A2000. Disabling Nvidia didn't help. Setting different TK versions didn't help. Version 4.2.3 works fine.

With 4.3.2 I had this issue https://github.com/opentk/GLWpfControl/issues/129. With 4.3.3 it doesn't crash as with 4.3.2, but just shows black screen.

I know this issue is similar to https://github.com/opentk/GLWpfControl/issues/73, but I am having similar issues with the latest release 4.3.3.

Enabled OpenGL debug callback:

[DebugSeverityHigh source=DebugSourceApi type=DebugTypeError id=1282] Error has been generated. GL error GL_INVALID_OPERATION in FramebufferRenderbuffer: (ID: 1914656587) Generic error
[DebugSeverityHigh source=DebugSourceApi type=DebugTypeError id=1282] Error has been generated. GL error GL_INVALID_OPERATION in FramebufferRenderbuffer: (ID: 1914656587) Generic error

simfero avatar Nov 07 '24 19:11 simfero

Try to plug your monitor cable into the motherboard instead of the gpu

Xerxes004 avatar Nov 13 '24 23:11 Xerxes004

Actually, the monitor was plugged into the motherboard. I tried plugging it into the NVIDIA GPU instead and I no longer observe any issues. So the issue is with the onboard Intel UHD Graphics 770 as initially noted.

simfero avatar Dec 11 '24 17:12 simfero

The issue is likely due to the intel driver implementation for d3d9, which I mention in #149.

Xerxes004 avatar Dec 17 '24 19:12 Xerxes004

@Xerxes004 wasn't this issue supposedly resolved in 4.3.3?

simfero avatar Dec 17 '24 22:12 simfero

@simfero unfortunately no. Depending on the intel drivers, there’s either a bug where the depth buffer creation fails, or a bug where the WGL interop doesn’t get hooked up properly to OpenTK. I had to downgrade to the 31 driver using “rollback” in device manager, and also fork the GlWpfControl repo to delete all of the depth buffer creation. I’m waiting on the new Intel B580 cards to ship, which will hopefully not have the same issues. I solved MSAA by just doing it in OpenGL instead of relying on DX.

Xerxes004 avatar Dec 18 '24 00:12 Xerxes004

@simfero would it be possible for you to test https://github.com/opentk/GLWpfControl/pull/151? It's an attempt to fix these issues with integrated graphics cards.

NogginBops avatar Jul 03 '25 00:07 NogginBops

Sure, I can do it next week.

On Wed, Jul 2, 2025, 5:31 PM Julius Häger @.***> wrote:

NogginBops left a comment (opentk/GLWpfControl#145) https://github.com/opentk/GLWpfControl/issues/145#issuecomment-3029845020

@simfero https://github.com/simfero would it be possible for you to test #151 https://github.com/opentk/GLWpfControl/pull/151? It's an attempt to fix these issues with integrated graphics cards.

— Reply to this email directly, view it on GitHub https://github.com/opentk/GLWpfControl/issues/145#issuecomment-3029845020, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALKOF6YCCJTQJWAWJVOQV2L3GR2XHAVCNFSM6AAAAACAVKVIVSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTAMRZHA2DKMBSGA . You are receiving this because you were mentioned.Message ID: @.***>

simfero avatar Jul 03 '25 03:07 simfero

This issue should be fixed with #151, closing this issue. If this issue is not solved by #151 feel free to re-open this issue.

NogginBops avatar Oct 06 '25 12:10 NogginBops