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

Problem when running Project on Intel GPUs #679

Closed
FlyingStudent opened this issue May 4, 2024 · 7 comments
Closed

Problem when running Project on Intel GPUs #679

FlyingStudent opened this issue May 4, 2024 · 7 comments

Comments

@FlyingStudent
Copy link

Hi Everyone
I am really sorry for this but i thought that I Used an Intel GPU while i use an amd GPU:
Screenshot (245)
Now, What is the solutoin for my problem?
My problem was that I am getting an opengl invalid enum and i think that the problem is due to GL_SHADER_BINARY_FORMAT_SPIR_V.
Here goes the image for the error that's occuring :
Screenshot (244)
Now, if I am using an AMD GPU why that problem occurs @VagueLobster ?

@Kirdow
Copy link

Kirdow commented May 4, 2024

Top line in the console output says

Renderer: Intel(R) HD Graphics 520

I'm gonna assume you're on a laptop, since laptops usually have a thing where they default to your CPU's integrated graphics and then use the GPU when you explicitly tell it to. My suggestion is to look up how to do this for AMD unless VagueLobster knows.

Another possibility if you use a desktop PC is that you connected your monitor to the motherboard instead of your graphics card. This causes your main GPU to be that of the motherboard, which is the CPU integrated graphics. (This is also why laptops default to the integrated GPU from the CPU, since the laptop monitors usually connect to the motherboard.) If this is the case, reconnect the monitor cable from the motherboard slot at the back of your PC and instead connect it to the GPU card itself. Then the problem should disappear.

@VagueLobster
Copy link
Contributor

VagueLobster commented May 4, 2024

Top line in the console output says

Renderer: Intel(R) HD Graphics 520

I'm gonna assume you're on a laptop, since laptops usually have a thing where they default to your CPU's integrated graphics and then use the GPU when you explicitly tell it to. My suggestion is to look up how to do this for AMD unless VagueLobster knows.

Another possibility if you use a desktop PC is that you connected your monitor to the motherboard instead of your graphics card. This causes your main GPU to be that of the motherboard, which is the CPU integrated graphics. (This is also why laptops default to the integrated GPU from the CPU, since the laptop monitors usually connect to the motherboard.) If this is the case, reconnect the monitor cable from the motherboard slot at the back of your PC and instead connect it to the GPU card itself. Then the problem should disappear.

@FlyingStudent I agree with Kirdow: Look it up on google on how to this for AMD, as i am using an Nvidia GPU myself!

@FlyingStudent
Copy link
Author

FlyingStudent commented May 4, 2024

Thanks you all I am really thankful for having such gorgeous community to help me ❤❤
I am going to try it out and tell you with the result before closing the comment.
Thanks again for your help @VagueLobster, @Kirdow

@FlyingStudent
Copy link
Author

Morning Everyone!
My problem ain't solved yet.
I learned how to change the current active GPU to AMD so i changed visual studio to use but as it turned out, I need to change the project I am running itself to use it because even though visual studio is using the AMD GPU my project runs on intel as the debugging window shows when i run my project.
Can anyone help me with that ?
Thank you all for support I really appreciate it .
Have a nice day

@FlyingStudent
Copy link
Author

Update:
problem is nearly solved.
when i plug my power adapter it switch to the AMD GPU but when there's no power it doesn't automatically.
Working on it

@FlyingStudent
Copy link
Author

Problem is solved !
Now, I am using my AMD GPU instead of my intel GPU.
Thank you all for your support. It was really helpful
Thanks Yan for this beautiful community that you have created ❤❤
Thanks @Kirdow , @VagueLobster for your support . you were a huge help ❤

@FlyingStudent FlyingStudent changed the title ShaderBinaryBug Again! Problem when running Project on Intel GPUs May 5, 2024
@ViktorPopp
Copy link

Please close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants