-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Using OpenGL as the renderer leads to TDR(0x0000116) #3332
Comments
You'll need to debug it, and figure out what is waiting on render thread? |
I can't figure out because when I click next step,the screen stuck and tdr makes it black screen,I tried a few times to locate this error.I think it's graphics driver error because it's opengl driver for intel graphics accelerator is quite different from older graphics.I have tried all suitable driver and win10,11before,nothing helps.The output in vs2019 shows bgfx running in multi-threaded mode.Then |
Yes, this is API thread waiting for render thread to finish. You need to switch to render thread, and see where is GL renderer.
I don't have hardware or driver you're using, so it's impossible for me to reproduce this locally and figure out, that's why I'm saying you have to debug and see what's going on. I don't even have guess what it might be other than faulty drivers since I never seen anything like that elsewhere. |
I have already been on render thread when I goto return WAIT_OBJECT_0 == WaitForSingleObject(si->m_handle, milliseconds);
|
That call stack doesn't make sense based on latest version: Line 2225 in 0de1f03
You're in constructor. You should link code where you are. |
I have found the where the problem is.
In renderer_gl.h
This line of code calls glGetQueryObjectiv = igxelpgicd32.dll |
Set But this is definitely driver issue. |
Win11 23H2 thinkpad, CPU:Intel Ultra7 155H,Graphics:Intel Arc(Core graphics)
18-ibl.cpp
line419: init.type = args.m_type;
I change it into init.type = bgfx::RendererType::OpenGL; in Visual Studio and execute single-step debugging about bgfx::init(init);
Call Stack:
return WAIT_OBJECT_0 == WaitForSingleObject(si->m_handle, milliseconds);
I get stuck at this,however,on an older version of thinkpad it's all fine,older version of thinkpad:i7-1260p,Intel iris xe and nvidia mx550
I have update driver for graphic(Arc graphic) tried everything I could do but nothing helped
The text was updated successfully, but these errors were encountered: