Not detecting Multiple Cards in Laptop
-
- Gnoblar
- Posts: 16
- Joined: Mon Mar 07, 2011 11:08 am
Not detecting Multiple Cards in Laptop
Hi:
I run a demo on my laptop and I find that the system does not list both graphics cards.
I have an Alienware M11x Laptop. I has a Intel HD graphics family and a nVidia Geforce GT 540.
The problem is that when the Ogre3d popup shows at the beginning of the demo., the Ogre Rendering Device list on DirectX shows only the Intel HD Graphics family (a card for Desktop aplications only) and does not list the Geforce GT540.
Why is this?
How can I force Ogre to detect the card?
How can I list the correct cards and choose it manually?
Thanks in Advance
I run a demo on my laptop and I find that the system does not list both graphics cards.
I have an Alienware M11x Laptop. I has a Intel HD graphics family and a nVidia Geforce GT 540.
The problem is that when the Ogre3d popup shows at the beginning of the demo., the Ogre Rendering Device list on DirectX shows only the Intel HD Graphics family (a card for Desktop aplications only) and does not list the Geforce GT540.
Why is this?
How can I force Ogre to detect the card?
How can I list the correct cards and choose it manually?
Thanks in Advance
- Jabberwocky
- OGRE Moderator
- Posts: 2819
- Joined: Mon Mar 05, 2007 11:17 pm
- Location: Canada
- x 218
- Contact:
Re: Not detecting Multiple Cards in Laptop
I had a similar problem using a modern dell XPS. The XPS has 2 video cards, an integrated (crappy) one, and a high powered ATI one.
The problem was that the XPS uses the integrated card by default for all applications that weren't explicitly listed inside the ATI Catalyst Control panel. The reason for this is to conserve power, the battery lasts for much longer using the integrated video card.
I can't remember the exact instructions I followed to add my game to the list, so it would use the proper video card. But here's some different instructions I found on line that seem to explain the process:
http://h20000.www2.hp.com/bizsupport/Te ... R1002_USEN
Scroll down to the part that talks about the ATI Catalyst Control Center window.
Perhaps you're having the same issue.
The problem was that the XPS uses the integrated card by default for all applications that weren't explicitly listed inside the ATI Catalyst Control panel. The reason for this is to conserve power, the battery lasts for much longer using the integrated video card.
I can't remember the exact instructions I followed to add my game to the list, so it would use the proper video card. But here's some different instructions I found on line that seem to explain the process:
http://h20000.www2.hp.com/bizsupport/Te ... R1002_USEN
Scroll down to the part that talks about the ATI Catalyst Control Center window.
Perhaps you're having the same issue.
-
- Gnoblar
- Posts: 16
- Joined: Mon Mar 07, 2011 11:08 am
Re: Not detecting Multiple Cards in Laptop
Thanks, it looks like the same problem.
I'll check it out later, and tell you how it went.
Thanks!
I'll check it out later, and tell you how it went.
Thanks!
-
- Gnoblar
- Posts: 16
- Joined: Mon Mar 07, 2011 11:08 am
Re: Not detecting Multiple Cards in Laptop
Even after putting my executable on the NVIDIA list.
Ogre continues not seeing the correct card.
I even tried forcing the laptop to use the nVidia card for ANYTHING and it continues switching to the Intel HD.
What else can I do?
Ogre continues not seeing the correct card.
I even tried forcing the laptop to use the nVidia card for ANYTHING and it continues switching to the Intel HD.
What else can I do?
- Jabberwocky
- OGRE Moderator
- Posts: 2819
- Joined: Mon Mar 05, 2007 11:17 pm
- Location: Canada
- x 218
- Contact:
Re: Not detecting Multiple Cards in Laptop
Interesting.
I had the exact same problem as you, but putting my game it in that list solved it for me. I'm still assuming this is probably related to your laptop's dual card power saving setup. Maybe you need to talk to Alienware or NVIDIA tech support.
I had the exact same problem as you, but putting my game it in that list solved it for me. I'm still assuming this is probably related to your laptop's dual card power saving setup. Maybe you need to talk to Alienware or NVIDIA tech support.
-
- Gnoblar
- Posts: 5
- Joined: Fri Dec 02, 2011 5:58 am
Re: Not detecting Multiple Cards in Laptop
This is the same exact situation I'm in. If you found an answer please let me know!
-
- Gnoblar
- Posts: 5
- Joined: Fri Dec 02, 2011 5:58 am
Re: Not detecting Multiple Cards in Laptop
Try building it in Release mode, that has solved my problem so far (not with the multiple cards, but i can atleast create ogre heads now)
-
- Kobold
- Posts: 25
- Joined: Sun Jan 09, 2005 10:16 pm
- Location: Alexandria, Egypt
- Contact:
Re: Not detecting Multiple Cards in Laptop
Yes that happens to me to (Dell 5110 with 525M).
That is because NVIDIA has that technology called OPTIMUS which enables you to select one of your NVIDIA GPU and the Built In Intel GPU to be used. It is not supported at all on NVIDAI Linux drivers (although you can use Bumblebee on Linux which still does not work with OGRE last time i checked).
Although NVIDIA windows drivers have the ability to select which GPU that will be used with the application you are running, it still fails in OGRE, It always goes to the Intelcard.
I am doing some debugging but i am not expert in the field, i hope i can find a solution.
*EDIT*
My mistake it works without problem on windows, what made made me think that my GPU is not detected is the "ShaderSystemMultiLight" sample, which i think it checks for ps_3_0 profile and it is not listed for some reason after changing the code to fp30 it worked without issues.
That is because NVIDIA has that technology called OPTIMUS which enables you to select one of your NVIDIA GPU and the Built In Intel GPU to be used. It is not supported at all on NVIDAI Linux drivers (although you can use Bumblebee on Linux which still does not work with OGRE last time i checked).
Although NVIDIA windows drivers have the ability to select which GPU that will be used with the application you are running, it still fails in OGRE, It always goes to the Intelcard.
I am doing some debugging but i am not expert in the field, i hope i can find a solution.
*EDIT*
My mistake it works without problem on windows, what made made me think that my GPU is not detected is the "ShaderSystemMultiLight" sample, which i think it checks for ps_3_0 profile and it is not listed for some reason after changing the code to fp30 it worked without issues.
Kariem2k.blogspot.com
-
- Halfling
- Posts: 62
- Joined: Fri Mar 23, 2007 2:48 pm
- x 2
Re: Not detecting Multiple Cards in Laptop
It's been working for me for over a year now with few issues.kariem2k wrote:(although you can use Bumblebee on Linux which still does not work with OGRE last time i checked).
I use the following to run my compiled games or ogitor..
Code: Select all
optirun ./game
Code: Select all
optirun $SHELL
gdb ./game
exit
- dark_sylinc
- OGRE Team Member
- Posts: 5296
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1278
- Contact:
Re: Not detecting Multiple Cards in Laptop
This is an old thread.
However, NVIDIA released Optimus rendering policies guidelines not long ago.
If the user has driver 302 or higher, we can hint the driver to use the dedicated GPU. All we need to do is to export a variable:
Hope this info helps whoever is in need.
Cheers
Dark Sylinc
However, NVIDIA released Optimus rendering policies guidelines not long ago.
If the user has driver 302 or higher, we can hint the driver to use the dedicated GPU. All we need to do is to export a variable:
Code: Select all
extern "C" {
_declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
}
Cheers
Dark Sylinc
- Jabberwocky
- OGRE Moderator
- Posts: 2819
- Joined: Mon Mar 05, 2007 11:17 pm
- Location: Canada
- x 218
- Contact:
Re: Not detecting Multiple Cards in Laptop
Thanks dark_sylinc - appreciate you posting this info.
-
- Kobold
- Posts: 36
- Joined: Thu Oct 04, 2012 12:00 pm
- x 6
Re: Not detecting Multiple Cards in Laptop
Hi guys. I have this problem. I tried the export suggested by dark_sylinc but it doesn't work. I have no doubt that that should work in most instances, but with Ogre it doesn't for some reason.
I've set the nvidia control panel to force the nvidia card always, and it works for other games I have, but not for any Ogre app I've tried. I'm trying this in a new Windows 8 PC. Ogre is listing only one device, the Intel card.
It seems that Ogre is doing something wrong that most games don't, any clues?
I've set the nvidia control panel to force the nvidia card always, and it works for other games I have, but not for any Ogre app I've tried. I'm trying this in a new Windows 8 PC. Ogre is listing only one device, the Intel card.
It seems that Ogre is doing something wrong that most games don't, any clues?
- dark_sylinc
- OGRE Team Member
- Posts: 5296
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1278
- Contact:
Re: Not detecting Multiple Cards in Laptop
I'm no an Optimus expert, but:Tiffer wrote:I've set the nvidia control panel to force the nvidia card always, and it works for other games I have, but not for any Ogre app I've tried. I'm trying this in a new Windows 8 PC. Ogre is listing only one device, the Intel card.
It seems that Ogre is doing something wrong that most games don't, any clues?
- NVIDIA whitelists games. That's why they work and Ogre doesn't
- Read the PDF. First you need driver 302 or higher, otherwise the export trick won't work.
- Read the PDF. As stated in that document, there are many stuff that can override settings (even the driver settings) and stop using Optimus; which are evaluated before reading the exported variable.
- Captain_Deathbeard
- Gremlin
- Posts: 179
- Joined: Mon Nov 21, 2005 6:16 pm
- Location: UK
- x 7
- Contact:
Re: Not detecting Multiple Cards in Laptop
BUMP! Instead of starting a new thread.
My game is released, so when you have tens of thousands of people playing your game this issue becomes a bigger problem.
I have a lot of reports, and they are always from laptop users with dual cards.
I have no idea to fix this on my end, and telling them things like "update your drivers" don't usually get any results.
Has anybody had any results with fixing this? I think it should be considered an Ogre bug, though unfortunately we don't have a bug forum.
My game is released, so when you have tens of thousands of people playing your game this issue becomes a bigger problem.
I have a lot of reports, and they are always from laptop users with dual cards.
I have no idea to fix this on my end, and telling them things like "update your drivers" don't usually get any results.
Has anybody had any results with fixing this? I think it should be considered an Ogre bug, though unfortunately we don't have a bug forum.
- dark_sylinc
- OGRE Team Member
- Posts: 5296
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1278
- Contact:
Re: Not detecting Multiple Cards in Laptop
Not really, NVIDIA whitelists which programs automatically get the good card. Great way to piss any non-mainstream devs.Captain_Deathbeard wrote:Has anybody had any results with fixing this? I think it should be considered an Ogre bug, though unfortunately we don't have a bug forum.
We have JIRA for bugs.
The export trick should work, but it's not guaranteed.
So basically you're reduced to either getting very popular, or tech-savvy users who know how to bypass Optimus defaults and force the good card.
I wish I had one of these devices to experiment with so I could get the best possible results. I agree it's really pissing to get users/fans complaining they can't your game run on the 'good' card.
-
- Minaton
- Posts: 933
- Joined: Mon Mar 05, 2012 11:37 am
- Location: Germany
- x 110
Re: Not detecting Multiple Cards in Laptop
I can check this. In my laptop has an nvidia and intel hd4000. Just tell me what I should test.
- Captain_Deathbeard
- Gremlin
- Posts: 179
- Joined: Mon Nov 21, 2005 6:16 pm
- Location: UK
- x 7
- Contact:
Re: Not detecting Multiple Cards in Laptop
Thanks transporter,
heres a link to my game demo:
http://www.indiedb.com/games/kenshi/dow ... enshi-0404
The standard ogre config window pops up at start, so it should show both your video cards.
heres a link to my game demo:
http://www.indiedb.com/games/kenshi/dow ... enshi-0404
The standard ogre config window pops up at start, so it should show both your video cards.
- Jabberwocky
- OGRE Moderator
- Posts: 2819
- Joined: Mon Mar 05, 2007 11:17 pm
- Location: Canada
- x 218
- Contact:
Re: Not detecting Multiple Cards in Laptop
For ATI users, did you try the ATI Catalyst Control panel setting stuff I discussed above? I'm not sure why that didn't work for some folks in this thread, but it worked for my game on one laptop I tested on. Perhaps there is an equivalent setting for nvidia cards.
- Senzin
- Halfling
- Posts: 57
- Joined: Wed Apr 06, 2011 8:54 pm
- x 3
Re: Not detecting Multiple Cards in Laptop
I also have a laptop with dual nVidia and Intel HD4000. When I start my project, only Intel HD4000 is shown.
I tried the NvOptimusEnablement export trick but it had no effect.
To fix this, I had to go into the nVidia control panel and add the game. Once the game was added, I had to explicitly set it to use the nVidia card instead of Intel as that's not the default setting when you add a new game.
I tried the NvOptimusEnablement export trick but it had no effect.
To fix this, I had to go into the nVidia control panel and add the game. Once the game was added, I had to explicitly set it to use the nVidia card instead of Intel as that's not the default setting when you add a new game.
- dark_sylinc
- OGRE Team Member
- Posts: 5296
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1278
- Contact:
Re: Not detecting Multiple Cards in Laptop
What happens if you also export this variable in OgreMain.dll, and what about doing the same in RenderSystem_Direct3D9.dll?Senzin wrote:I also have a laptop with dual nVidia and Intel HD4000. When I start my project, only Intel HD4000 is shown.
I tried the NvOptimusEnablement export trick but it had no effect.
-
- Greenskin
- Posts: 105
- Joined: Tue Dec 14, 2010 9:46 am
- x 1
- Contact:
Re: Not detecting Multiple Cards in Laptop
Is this issue fixed? My OGRE app can detect NVIDIA card, but no video mode detected.If I choose NVIDIA card, there will be "request video mode can't found" error.
Thanks.
Thanks.
-
- Kobold
- Posts: 36
- Joined: Tue Nov 11, 2014 9:29 am
- x 2
Re: Not detecting Multiple Cards in Laptop
I also have the same issue on my notebook.
My notebook owns HD Graphics 3000 and Geforce GT 635. Ogre can only detect HD Graphics 3000.
I change prefered graphics processor to nvidia, add my game to customize nvidia program setting, both not work.
I disable the HD Graphics 3000, ogre still can not detect GT 635.
Don't y, don't have a clue.
My notebook owns HD Graphics 3000 and Geforce GT 635. Ogre can only detect HD Graphics 3000.
I change prefered graphics processor to nvidia, add my game to customize nvidia program setting, both not work.
I disable the HD Graphics 3000, ogre still can not detect GT 635.
Don't y, don't have a clue.
- spacegaier
- OGRE Team Member
- Posts: 4304
- Joined: Mon Feb 04, 2008 2:02 pm
- Location: Germany
- x 135
- Contact:
Re: Not detecting Multiple Cards in Laptop
Did you try this version export trick that was mentioned earlier in this thread?
http://www.ogre3d.org/forums/viewtopic. ... 93#p477193
http://www.ogre3d.org/forums/viewtopic. ... 93#p477193
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
-
- Gnoblar
- Posts: 3
- Joined: Thu Oct 16, 2014 6:15 am
Re: Not detecting Multiple Cards in Laptop
I have the same problem on a laptop with two video cards - Intel HD3000 and Nvidia GT540M, running Windows 7 64-bit. I have Ogre SDK v1.9.0 for VC11. I'm trying to run the Basic Tutorial 2 (http://www.ogre3d.org/tikiwiki/tiki-ind ... Tutorial+2) on the Nvidia card.
I've tried setting the Nvidia GPU as default in the Nvidia control panel and explicitly adding the executable to the list of programs to use the Nvidia GPU. Every time only the Intel card is available.
I've tried adding the NvOptimusEnablement declaration in one of the header files of the basic tutorial application I'm compiling. Still only one card.
There is no mention of "nvidia" or "540m" in Ogre.log, but strangely the Nvidia GPU Activity icon in the system tray shows the application as using the GPU while it is running.
Is there a solution to this problem?
I've tried setting the Nvidia GPU as default in the Nvidia control panel and explicitly adding the executable to the list of programs to use the Nvidia GPU. Every time only the Intel card is available.
I've tried adding the NvOptimusEnablement declaration in one of the header files of the basic tutorial application I'm compiling. Still only one card.
There is no mention of "nvidia" or "540m" in Ogre.log, but strangely the Nvidia GPU Activity icon in the system tray shows the application as using the GPU while it is running.
Is there a solution to this problem?
-
- Orc Shaman
- Posts: 737
- Joined: Fri May 31, 2013 2:28 am
- x 65
Re: Not detecting Multiple Cards in Laptop
its ok,you are probably running ogre on the nvidia gpuThere is no mention of "nvidia" or "540m" in Ogre.log, but strangely the Nvidia GPU Activity icon in the system tray shows the application as using the GPU while it is running.
its just driver info issue...optimus uses your nvidia as "co processor" and resulting frameBuffer is sent to intel for actual rendering to take place...
if you want to be sure...switch back to intel and search for performance/fps change...try something heavy...
the woods are lovely dark and deep
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..
coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..
coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos