Page 1 of 1

change which gfx card gzdoom uses

Posted: Tue Jan 29, 2013 21:20
by rrwoods
When I start GZDoom and go to the console, I see this line:

GL_RENDERER: MOBILE INTEL(R) HD GRAPHICS

In my device manager, under Display Adapters, I see this:

AMD Radeon HD 6490M
Mobile Intel(R) HD Graphics

My OS is Windows 7. Is there something in GZDoom's configuration I can use to change which graphics card it uses?

Re: change which gfx card gzdoom uses

Posted: Wed Jan 30, 2013 0:32
by Tiger
Perhaps I could be wrong, but is it possible to disable one of the graphical devices within BIOS? For example, disabling Intel's GMA or ATi? This is possibly one solution that might help.

Re: change which gfx card gzdoom uses

Posted: Wed Jan 30, 2013 0:38
by NeuralStunner
I'm not sure if vid_adapter would affect this. (If it's 0, you could try setting it to 1, and vice versa.)

Re: change which gfx card gzdoom uses

Posted: Wed Jan 30, 2013 15:24
by Enjay
Tiger wrote:Perhaps I could be wrong, but is it possible to disable one of the graphical devices within BIOS? For example, disabling Intel's GMA or ATi? This is possibly one solution that might help.
That would be my suggestion too. Quite often onboard cards are automatically disabled when another card is added. It seems that hasn't happened with this setup. Sometimes they can be disabled via the bios settings.

Re: change which gfx card gzdoom uses

Posted: Wed Jan 30, 2013 22:03
by rrwoods
Hmm, I'll have to try disabling it in the BIOS. I'm having trouble getting to the BIOS on this machine at the moment but when I figure it out I'll post my findings. FWIW, disabling the onboard in the Device Manager causes GZDoom to crash as soon as it starts, but I don't know if the other card is even being seen when I do that.

Re: change which gfx card gzdoom uses

Posted: Thu Jan 31, 2013 21:19
by rrwoods
Apologies for the double, but I thought this might deserve a bump.

This is apparently an issue with the Samsung Series 7 laptops. They (for some reason) feature both integrated graphics and a dedicated GPU, and use some sort of dynamic switching. OpenGL applications don't trigger the switch to the dedicated card. See http://forum.notebookreview.com/samsung ... -bios.html for more details.

Re: change which gfx card gzdoom uses

Posted: Thu Jan 31, 2013 21:39
by Gez
Sad to see yet another company that treats OpenGL as an inconsequential afterthought.

You might attempt to use one of these things (listed from most recent to most ancient):
http://code.google.com/p/qindie-gl/
http://titaniumgl.tk/
http://sourceforge.net/projects/dxglwrap/
http://www.majorgeeks.com/GLDirect_d381.html

Re: change which gfx card gzdoom uses

Posted: Thu Jan 31, 2013 21:59
by rrwoods
I installed the fix from the thread I linked earlier and it actually gives me control over which graphics card I want an application to use, which is actually really nice. So if anyone else is having this problem and they bought their Samsung Series 7 before April-June-ish 2012, maybe give that a shot.

Re: change which gfx card gzdoom uses

Posted: Tue Feb 05, 2013 23:15
by Rachael
Gez wrote:Sad to see yet another company that treats OpenGL as an inconsequential afterthought.

You might attempt to use one of these things (listed from most recent to most ancient):
http://code.google.com/p/qindie-gl/
I have tried version 1.0-rev3 of the above linked driver. It actually worked really well, on my old Intel GPU laptop, except for a few minor bugs. 1.0-rev4 does *NOT* work with GZDoom, however... as I have found.

It should be noted that in order to get 1.0-rev3 to work in GZDoom, the .dll had to be hex-edited and the GL version had to be changed from 1.1 to 1.2. It is a simple string search-replace. After that it worked like a charm. When I get home, I will post a fixed .dll for people who have troubles running GZDoom ... it may be a solution for some people.

For the technically motivated, it is probably a lot better to simply recompile the .dll with the version changed instead of hex-editing it, since it is open-source, but the hex-edit solution is an effective one if you do not have a compiler installed.

Re: change which gfx card gzdoom uses

Posted: Wed Feb 06, 2013 0:15
by Gez
...Or don't want to bother hunting down dependencies and tweaking project files. ;)

Re: change which gfx card gzdoom uses

Posted: Wed Feb 06, 2013 1:39
by Rachael
As promised...
QindieGL.1.0.rev3-gzdoom.zip
QindieGL version 1.0 revision 3 hex-edited to show "OpenGL version 1.2" for GZDoom.
(295.87 KiB) Downloaded 185 times


The following did not work on the Intel GPU I tested it on:

Screen wipe effects do not work.
Texture mipmapping does not work. You must set texture filter to either "None" or "Linear" but you cannot use mipmapped.
I am pretty sure shaders do not work, but they are untested.

There may be a number of other things that also do not work.

Tested on SwiftShader 2.0, works ok, minus the problems listed above.

Also, tested on a NVidia GPU, and the screen wouldn't even draw except the menu and status bar; so I'd only recommend this if you're having problems already. Same problem occurs on SwiftShader 3.0.

On the ATI GPU I tested it on, the game simply crashed, but I do not know if it is at all related to this setup or not. The game crashed even using Swiftshader's Direct3D driver, which worked fine on the other two machines.