Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't create control on Intel integrated gpu #136

Open
Krugpelke opened this issue Aug 9, 2024 · 3 comments
Open

Can't create control on Intel integrated gpu #136

Krugpelke opened this issue Aug 9, 2024 · 3 comments
Labels
4.0 bug Something isn't working needs verification
Milestone

Comments

@Krugpelke
Copy link
Contributor

Krugpelke commented Aug 9, 2024

GPU - Intel UHD Graphics 630
GLWpfControl - 4.0.0 - 4.3.2
Can't create GLWpfControl, DXOpenDeviceNV returns an empty GLDeviceHandle, DXInterop.GetLastError shows -1073283022 and Marshal.GetLastWin32Error shows 0, so not sure why this is happening.
Previously I thought that this might be due to missing NV_DX_interop support, but Wgl.Arb.GetExtensionsString does show this string.
I've tried changing multisampling samples, opengl version from 3.0 to 4.6 and context profiles, but neither seems to have any impact.

@NogginBops NogginBops added this to the 4.3.3 milestone Aug 9, 2024
@NogginBops NogginBops added bug Something isn't working needs verification 4.0 labels Aug 9, 2024
@Krugpelke
Copy link
Contributor Author

So this is either integrated+dedicated gpu issue, or a multi-monitor issue. I've successfully created and rendered the example project (except with multisampling enabled) after specifying to only use the integrated card in bios and starting the pc with a single monitor. I'll test more when I get to pcs with only integrated gpus.

@Krugpelke
Copy link
Contributor Author

This is what I tested with the example project:

iGPU+dGPU PC with two monitors

  • Both monitor cables in dGPU slots runs fine on dGPU but results in empty GLDeviceHandle when running on iGPU.
  • One monitor cable in dGPU other in iGPU slot runs fine on iGPU but throws WGL: The driver does not appear to support OpenGL trying to create NativeWindow when running on dGPU.

iGPU PC with two monitors

  • Runs fine.

iGPU+dGPU laptop

Interesting thing to note though, when rendering on iGPU, everything seems to render correctly but the debug callback is actually showing this error:
[DebugSeverityHigh source=DebugSourceApi type=DebugTypeError id=1282] Error has been generated. GL error GL_INVALID_OPERATION in FramebufferRenderbuffer: (ID: 1914656587) Generic error
This happens at ReallocateFramebufferIfNeeded when trying to attach depth-stencil renderbuffer to framebuffer.

@NogginBops NogginBops modified the milestones: 4.3.3, 4.3.4 Oct 31, 2024
@NogginBops
Copy link
Member

Hopefully in the next version we'll be able to fix a lot of the integrated graphics issues.
No guarantees though. Any info or updates are appreciated in fixing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.0 bug Something isn't working needs verification
Projects
None yet
Development

No branches or pull requests

2 participants