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

Any way to use integrated graphics card only? #303

Open
talbergs opened this issue Jan 20, 2018 · 7 comments
Open

Any way to use integrated graphics card only? #303

talbergs opened this issue Jan 20, 2018 · 7 comments
Labels
question This issue is a question regarding the project

Comments

@talbergs
Copy link

I would like to create an application that would tend to use integrated graphics card instead of descrete graphics card. Is there a way to achieve this?

Render without using opengl. ?

@veeableful
Copy link
Contributor

Hi @MartanLV, I'm not entirely sure about this but I think that's a setting that may only be set by the system. I believe there's no way to force usage of integrated graphics card inside of SDL2.

@veeableful veeableful added the question This issue is a question regarding the project label Feb 5, 2018
@talbergs
Copy link
Author

talbergs commented Feb 8, 2018

I am using app called gfxCardStatus, there I apply setting to use integrated only, once I run an example using this library, gfxCardStatus notifies it had just switched cards. Maybe it's some bug in gfxCardStatus app.

@veeableful
Copy link
Contributor

veeableful commented Feb 22, 2018

Hi @MartanLV, sorry I've been away for the lunar new year (Happy new year!).

I'll ask on the SDL2 forum about this to see if they have any input as I don't have the knowledge to help you solve this problem.

Edit: I'll do that after I've done testing on my Macbook Air.

@talbergs
Copy link
Author

@veeableful thank you.

@dragonfax
Copy link

Unity seems to be able to do this. I've seen their settings popup for some games, lets you select the GPU to use from a drop-down list.

I can understand the need for it. It would let you test out your code on a lower-end gpu, without having to move to a completely different machine.

@veeableful
Copy link
Contributor

@dragonfax I don't think SDL2 supports this :(

I posted the question to the SDL2 forum several months ago: https://discourse.libsdl.org/t/question-is-it-possible-to-set-sdl2-to-use-integrated-graphics-only/23929

But I didn't get any reply. I didn't find anything related after some Googling. I think you need to use system software to force integrated graphics if you have to use SDL2.

@veeableful
Copy link
Contributor

Some people (including Icculus) just replied!

https://discourse.libsdl.org/t/question-is-it-possible-to-set-sdl2-to-use-integrated-graphics-only/23929/4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This issue is a question regarding the project
Projects
None yet
Development

No branches or pull requests

3 participants