[2.1] NVIDIA GeForce GTX 950M - Stuck w/ resolution 800x600

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


Post Reply
123iamking
Gremlin
Posts: 152
Joined: Sat Aug 12, 2017 4:16 pm
x 4

[2.1] NVIDIA GeForce GTX 950M - Stuck w/ resolution 800x600

Post by 123iamking »

When I'm testing Ogre 2.1 performance with Directx 11, I'm really surprised that when I switch to my Game Graphic Card: NVIDIA GeForce GTX 950M, I can't set max resolution 1366x768 for 'OGRE Engine Rendering Setup' dialog but stuck with 800 x 600 (for example: I try Postprocessing Sample)
Here is the full log

Code: Select all

21:40:29: Creating resource group General
21:40:29: Creating resource group Internal
21:40:29: Creating resource group Autodetect
21:40:29: SceneManagerFactory for type 'DefaultSceneManager' registered.
21:40:29: Registering ResourceManager for type Material
21:40:29: Registering ResourceManager for type Mesh
21:40:29: Registering ResourceManager for type Mesh2
21:40:29: Registering ResourceManager for type OldSkeleton
21:40:29: MovableObjectFactory for type 'ParticleSystem' registered.
21:40:29: ArchiveFactory for archive type FileSystem registered.
21:40:29: ArchiveFactory for archive type Zip registered.
21:40:29: ArchiveFactory for archive type EmbeddedZip registered.
21:40:29: DDS codec registering
21:40:29: FreeImage version: 3.15.3
21:40:29: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
21:40:29: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic
21:40:29: ETC codec registering
21:40:29: Registering ResourceManager for type HighLevelGpuProgram
21:40:29: MovableObjectFactory for type 'Entity' registered.
21:40:29: MovableObjectFactory for type 'Item' registered.
21:40:29: MovableObjectFactory for type 'Light' registered.
21:40:29: MovableObjectFactory for type 'BillboardSet' registered.
21:40:29: MovableObjectFactory for type 'ManualObject2' registered.
21:40:29: MovableObjectFactory for type 'BillboardChain' registered.
21:40:29: MovableObjectFactory for type 'RibbonTrail' registered.
21:40:29: MovableObjectFactory for type 'WireAabb' registered.
21:40:29: Loading library .\RenderSystem_Direct3D11_d
21:40:29: Installing plugin: D3D11 RenderSystem
21:40:29: D3D11 : Direct3D11 Rendering Subsystem created.
21:40:29: D3D11: Driver Detection Starts
21:40:29: D3D11: Driver Detection Ends
21:40:29: Plugin successfully installed
21:40:29: Loading library .\RenderSystem_GL3Plus_d
21:40:29: Installing plugin: GL 3+ RenderSystem
21:40:29: OpenGL 3+ Rendering Subsystem created.
21:40:29: Plugin successfully installed
21:40:29: Loading library .\Plugin_ParticleFX_d
21:40:29: Installing plugin: ParticleFX
21:40:29: Particle Emitter Type 'Point' registered
21:40:29: Particle Emitter Type 'Box' registered
21:40:29: Particle Emitter Type 'Ellipsoid' registered
21:40:29: Particle Emitter Type 'Cylinder' registered
21:40:29: Particle Emitter Type 'Ring' registered
21:40:29: Particle Emitter Type 'HollowEllipsoid' registered
21:40:29: Particle Affector Type 'LinearForce' registered
21:40:29: Particle Affector Type 'ColourFader' registered
21:40:29: Particle Affector Type 'ColourFader2' registered
21:40:29: Particle Affector Type 'ColourImage' registered
21:40:29: Particle Affector Type 'ColourInterpolator' registered
21:40:29: Particle Affector Type 'Scaler' registered
21:40:29: Particle Affector Type 'Rotator' registered
21:40:29: Particle Affector Type 'DirectionRandomiser' registered
21:40:29: Particle Affector Type 'DeflectorPlane' registered
21:40:29: Plugin successfully installed
21:40:29: *-*-* OGRE Initialising
21:40:29: *-*-* Version 2.1.0unstable ('B')
21:40:29: D3D11 : RenderSystem Option: Allow NVPerfHUD = No
21:40:29: D3D11 : RenderSystem Option: Backbuffer Count = Auto
21:40:29: D3D11 : RenderSystem Option: Driver type = Hardware
21:40:29: D3D11 : RenderSystem Option: FSAA = 1
21:40:29: D3D11 : RenderSystem Option: Fast Shader Build Hack = Yes
21:40:29: D3D11 : RenderSystem Option: Floating-point mode = Fastest
21:40:29: D3D11 : RenderSystem Option: Full Screen = Yes
21:40:29: D3D11 : RenderSystem Option: Information Queue Exceptions Bottom Level = Info (exception on any message)
21:40:29: D3D11 : RenderSystem Option: Max Requested Feature Levels = 11.1
21:40:29: D3D11 : RenderSystem Option: Min Requested Feature Levels = 9.1
21:40:29: D3D11 : RenderSystem Option: Rendering Device = NVIDIA GeForce GTX 950M_1
21:40:30: D3D11 : RenderSystem Option: VSync = No
21:40:30: D3D11 : RenderSystem Option: VSync Interval = 1
21:40:30: D3D11 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
21:40:30: D3D11 : RenderSystem Option: sRGB Gamma Conversion = No
21:40:31: D3D11 : RenderSystem Option: sRGB Gamma Conversion = Yes
21:40:31: CPU Identifier & Features
21:40:31: -------------------------
21:40:31:  *   CPU ID: GenuineIntel: Intel(R) Core(TM) i5-4200H CPU @ 2.80GHz
21:40:31:  *   Logical cores: 4
21:40:31:  *      SSE: yes
21:40:31:  *     SSE2: yes
21:40:31:  *     SSE3: yes
21:40:31:  *      MMX: yes
21:40:31:  *   MMXEXT: yes
21:40:31:  *    3DNOW: no
21:40:31:  * 3DNOWEXT: no
21:40:31:  *     CMOV: yes
21:40:31:  *      TSC: yes
21:40:31:  *      FPU: yes
21:40:31:  *      PRO: yes
21:40:31:  *       HT: no
21:40:31: -------------------------
21:40:31: D3D11 : Subsystem Initialising
21:40:31: ***************************************
21:40:31: *** D3D11 : Subsystem Initialized OK ***
21:40:31: ***************************************
21:40:33: D3D11RenderSystem::_createRenderWindow "Postprocessing Sample", 800x600 fullscreen  miscParams: FSAA=1 externalWindowHandle=1640836 gamma=true title=Postprocessing Sample vsync=No 
21:40:33: D3D11 : Created D3D11 Rendering Window 'Postprocessing Sample' : 800x600, 32bpp
21:40:33: Registering ResourceManager for type Texture
21:40:33: Registering ResourceManager for type GpuProgram
21:40:33: RenderSystem capabilities
21:40:33: -------------------------
21:40:33: RenderSystem Name: Direct3D11 Rendering Subsystem
21:40:33: GPU Vendor: nvidia
21:40:33: Device Name: NVIDIA GeForce GTX 950M_1
21:40:33: Driver Version: 10.18.13.5946
21:40:33:  * Fixed function pipeline: no
21:40:33:  * Hardware generation of mipmaps: yes
21:40:33:  * Texture blending: yes
21:40:33:  * Anisotropic texture filtering: yes
21:40:33:  * Dot product texture operation: yes
21:40:33:  * Cube mapping: yes
21:40:33:  * Hardware stencil buffer: yes
21:40:33:    - Stencil depth: 8
21:40:33:    - Two sided stencil support: yes
21:40:33:    - Wrap stencil values: yes
21:40:33:  * Hardware vertex / index buffers: yes
21:40:33:  * 32-bit index buffers: yes
21:40:33:  * Vertex programs: yes
21:40:33:  * Number of floating-point constants for vertex programs: 512
21:40:33:  * Number of integer constants for vertex programs: 16
21:40:33:  * Number of boolean constants for vertex programs: 16
21:40:33:  * Fragment programs: yes
21:40:33:  * Number of floating-point constants for fragment programs: 512
21:40:33:  * Number of integer constants for fragment programs: 16
21:40:33:  * Number of boolean constants for fragment programs: 16
21:40:33:  * Geometry programs: yes
21:40:33:  * Number of floating-point constants for geometry programs: 512
21:40:33:  * Number of integer constants for geometry programs: 16
21:40:33:  * Number of boolean constants for geometry programs: 16
21:40:33:  * Tessellation Hull programs: yes
21:40:33:  * Number of floating-point constants for tessellation hull programs: 512
21:40:33:  * Number of integer constants for tessellation hull programs: 16
21:40:33:  * Number of boolean constants for tessellation hull programs: 16
21:40:33:  * Tessellation Domain programs: yes
21:40:33:  * Number of floating-point constants for tessellation domain programs: 512
21:40:33:  * Number of integer constants for tessellation domain programs: 16
21:40:33:  * Number of boolean constants for tessellation domain programs: 16
21:40:33:  * Compute programs: yes
21:40:33:  * Number of floating-point constants for compute programs: 512
21:40:33:  * Number of integer constants for compute programs: 16
21:40:33:  * Number of boolean constants for compute programs: 16
21:40:33:  * Supported Shader Profiles: cs_4_0 cs_4_1 cs_5_0 ds_5_0 gs_4_0 gs_4_1 gs_5_0 hlsl hs_5_0 ps_4_0 ps_4_0_level_9_1 ps_4_0_level_9_3 ps_4_1 ps_5_0 vs_4_0 vs_4_0_level_9_1 vs_4_0_level_9_3 vs_4_1 vs_5_0
21:40:33:  * Texture Compression: yes
21:40:33:    - DXT: yes
21:40:33:    - VTC: no
21:40:33:    - PVRTC: no
21:40:33:    - ATC: no
21:40:33:    - ETC1: no
21:40:33:    - ETC2: no
21:40:33:    - BC4/BC5: yes
21:40:33:    - BC6H/BC7: yes
21:40:33:    - ASTC: no
21:40:33:  * Hardware Occlusion Query: yes
21:40:33:  * User clip planes: yes
21:40:33:  * VET_UBYTE4 vertex element type: yes
21:40:33:  * Infinite far plane projection: yes
21:40:33:  * Hardware render-to-texture: yes
21:40:33:  * Floating point textures: yes
21:40:33:  * Non-power-of-two textures: yes
21:40:33:  * 1d textures: yes
21:40:33:  * Volume textures: yes
21:40:33:  * Max Texture resolution (2D) 16384
21:40:33:  * Max Texture resolution (3D) 2048
21:40:33:  * Max Texture resolution (Cubemaps) 16384
21:40:33:  * Multiple Render Targets: 8
21:40:33:    - With different bit depths: yes
21:40:33:  * Point Sprites: yes
21:40:33:  * Extended point parameters: yes
21:40:33:  * Max Point Size: 256
21:40:33:  * Vertex texture fetch: yes
21:40:33:  * Number of world matrices: 0
21:40:33:  * Number of texture units: 16
21:40:33:  * Stencil buffer depth: 8
21:40:33:  * Number of vertex blend matrices: 0
21:40:33:    - Max vertex textures: 4
21:40:33:    - Vertex textures shared: no
21:40:33:  * Render to Vertex Buffer : yes
21:40:33:  * Hardware Atomic Counters: no
21:40:33: DefaultWorkQueue('Root') initialising on thread main.
21:40:33: Particle Renderer Type 'billboard' registered
21:40:33: OverlayElementFactory for type Panel registered.
21:40:33: OverlayElementFactory for type BorderPanel registered.
21:40:33: OverlayElementFactory for type TextArea registered.
21:40:33: Registering ResourceManager for type Font
21:40:33: Creating resource group Essential
21:40:33: Added resource location 'E:/Source/OgreSDK/Samples/Media/packs/DebugPack.zip' of type 'Zip' to resource group 'Essential'
21:40:33: Added resource location 'E:/Source/OgreSDK/Samples/Media/2.0/scripts/materials/Common' of type 'FileSystem' to resource group 'General'
21:40:33: Added resource location 'E:/Source/OgreSDK/Samples/Media/2.0/scripts/materials/Common/GLSL' of type 'FileSystem' to resource group 'General'
21:40:33: Added resource location 'E:/Source/OgreSDK/Samples/Media/2.0/scripts/materials/Common/HLSL' of type 'FileSystem' to resource group 'General'
21:40:33: Added resource location 'E:/Source/OgreSDK/Samples/Media/2.0/scripts/materials/Common/Metal' of type 'FileSystem' to resource group 'General'
21:40:33: Creating resource group Popular
21:40:33: Added resource location 'E:/Source/OgreSDK/Samples/Media/2.0/scripts/Compositors' of type 'FileSystem' to resource group 'Popular'
21:40:33: Added resource location 'E:/Source/OgreSDK/Samples/Media/models' of type 'FileSystem' to resource group 'Popular'
21:40:33: Added resource location 'E:/Source/OgreSDK/Samples/Media/materials/textures' of type 'FileSystem' to resource group 'Popular'
21:40:33: Added resource location 'E:/Source/OgreSDK/Samples/Media/materials/textures/Cubemaps' of type 'FileSystem' to resource group 'Popular'
21:40:33: Added resource location 'E:/Source/OgreSDK/Samples/Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
21:40:33: Added resource location 'E:/Source/OgreSDK/Samples/Media/2.0/scripts/materials/TutorialSky_Postprocess' of type 'FileSystem' to resource group 'General'
21:40:33: Added resource location 'E:/Source/OgreSDK/Samples/Media/2.0/scripts/materials/Postprocessing' of type 'FileSystem' to resource group 'General'
21:40:33: Added resource location 'E:/Source/OgreSDK/Samples/Media/2.0/scripts/materials/Postprocessing/GLSL' of type 'FileSystem' to resource group 'General'
21:40:33: Added resource location 'E:/Source/OgreSDK/Samples/Media/2.0/scripts/materials/Postprocessing/HLSL' of type 'FileSystem' to resource group 'General'
21:40:33: Added resource location 'E:/Source/OgreSDK/Samples/Media/2.0/scripts/materials/Postprocessing/Metal' of type 'FileSystem' to resource group 'General'
21:40:33: Added resource location 'E:/Source/OgreSDK/Samples/Media/2.0/scripts/materials/Postprocessing/SceneAssets' of type 'FileSystem' to resource group 'General'
21:40:33: Parsing scripts for resource group Autodetect
21:40:33: Finished parsing scripts for resource group Autodetect
21:40:33: Creating resources for group Autodetect
21:40:33: All done
21:40:33: Parsing scripts for resource group Essential
21:40:33: Parsing script Materials.material
21:40:33: Parsing script DebugFont.fontdef
21:40:33: Finished parsing scripts for resource group Essential
21:40:33: Creating resources for group Essential
21:40:33: All done
21:40:33: Parsing scripts for resource group General
21:40:33: Parsing script Quad.program
21:40:33: Parsing script Copyback.material
21:40:33: Parsing script DepthUtils.material
21:40:33: Parsing script DPSM.material
21:40:33: Parsing script EsmGaussianBlurLogFilter.material
21:40:33: Parsing script SkyPostprocess.material
21:40:33: Parsing script ASCII.material
21:40:33: Parsing script BlackAndWhite.material
21:40:33: Parsing script Bloom.material
21:40:33: Parsing script Dither.material
21:40:33: Parsing script Embossed.material
21:40:33: Parsing script Glass.material
21:40:33: Parsing script Halftone.material
21:40:33: Parsing script Invert.material
21:40:33: Parsing script Laplace.material
21:40:33: Parsing script MotionBlur.material
21:40:33: Parsing script NightVision.material
21:40:33: Parsing script OldMovie.material
21:40:33: Parsing script OldTV.material
21:40:33: Parsing script Posterize.material
21:40:33: Parsing script RadialBlur.material
21:40:33: Parsing script SharpenEdges.material
21:40:33: Parsing script Sky.material
21:40:33: Parsing script Tiling.material
21:40:33: Parsing script Materials.material
21:40:33: Texture: loading Rocks_Diffuse.tga as Rocks_Diffuse.tga
21:40:33: Texture: loading Rocks_Normal.tga as Rocks_Normal.tga
21:40:33: WARNING: normal map texture Rocks_Normal.tga is not BC5S compressed. This is encouraged for lower memory usage. If you don't want to see this message without compressing to BC5, set getDefaultTextureParameters()[TEXTURE_TYPE_NORMALS].pixelFormat to PF_R8G8_SNORM (or PF_BYTE_LA if RSC_TEXTURE_SIGNED_INT is not supported)
21:40:34: Texture: loading Rocks_Spec.tga as Rocks_Spec.tga
21:40:34: Texture: loading fw12b.jpg as fw12b.jpg
21:40:34: Parsing script Postprocessing.compositor
21:40:34: Parsing script EsmGaussianBlurLogFilter.material.json
21:40:34: Parsing script Mipmaps.material.json
21:40:34: Finished parsing scripts for resource group General
21:40:34: Creating resources for group General
21:40:34: All done
21:40:34: Parsing scripts for resource group Internal
21:40:34: Finished parsing scripts for resource group Internal
21:40:34: Creating resources for group Internal
21:40:34: All done
21:40:34: Parsing scripts for resource group Popular
21:40:34: Parsing script LocalCubemaps.compositor
21:40:34: Parsing script PbsMaterials.compositor
21:40:34: Parsing script PlanarReflections.compositor
21:40:34: Parsing script ScreenSpaceReflections.compositor
21:40:34: Parsing script ShadowMapDebugging.compositor
21:40:34: Parsing script StaticShadowMaps.compositor
21:40:34: Parsing script StencilTest.compositor
21:40:34: Parsing script StereoRendering.compositor
21:40:34: Parsing script TutorialSky_Postprocess.compositor
21:40:34: Parsing script TutorialUav01_Setup.compositor
21:40:34: Parsing script TutorialUav02_Setup.compositor
21:40:34: Parsing script Tutorial_DynamicCubemap.compositor
21:40:34: Parsing script Tutorial_ReconstructPosFromDepth.compositor
21:40:34: Parsing script Tutorial_Terrain.compositor
21:40:35: Finished parsing scripts for resource group Popular
21:40:35: Creating resources for group Popular
21:40:35: All done
21:40:35: Texture: morning.jpg: Loading 6 faces(PF_R8G8B8,512x512x1) with 9 generated mipmaps from multiple Images. Internal format is PF_A8B8G8R8,512x512x1.
21:40:35: D3D11 : Loading Cube Texture, base image name : 'morning.jpg' with 9 mip map levels
21:40:35: Mesh: Loading tudorhouse.mesh.
21:40:35: WARNING: tudorhouse.mesh is an older format ([MeshSerializer_v1.8]); you should upgrade it as soon as possible using the OgreMeshTool tool.
21:40:36: Font DebugFont using texture size 512x512
21:40:36: Info: Freetype returned null for character 127 in font DebugFont
21:40:36: Info: Freetype returned null for character 128 in font DebugFont
21:40:36: Info: Freetype returned null for character 129 in font DebugFont
21:40:36: Info: Freetype returned null for character 130 in font DebugFont
21:40:36: Info: Freetype returned null for character 131 in font DebugFont
21:40:36: Info: Freetype returned null for character 132 in font DebugFont
21:40:36: Info: Freetype returned null for character 133 in font DebugFont
21:40:36: Info: Freetype returned null for character 134 in font DebugFont
21:40:36: Info: Freetype returned null for character 135 in font DebugFont
21:40:36: Info: Freetype returned null for character 136 in font DebugFont
21:40:36: Info: Freetype returned null for character 137 in font DebugFont
21:40:36: Info: Freetype returned null for character 138 in font DebugFont
21:40:36: Info: Freetype returned null for character 139 in font DebugFont
21:40:36: Info: Freetype returned null for character 140 in font DebugFont
21:40:36: Info: Freetype returned null for character 141 in font DebugFont
21:40:36: Info: Freetype returned null for character 142 in font DebugFont
21:40:36: Info: Freetype returned null for character 143 in font DebugFont
21:40:36: Info: Freetype returned null for character 144 in font DebugFont
21:40:36: Info: Freetype returned null for character 145 in font DebugFont
21:40:36: Info: Freetype returned null for character 146 in font DebugFont
21:40:36: Info: Freetype returned null for character 147 in font DebugFont
21:40:36: Info: Freetype returned null for character 148 in font DebugFont
21:40:36: Info: Freetype returned null for character 149 in font DebugFont
21:40:36: Info: Freetype returned null for character 150 in font DebugFont
21:40:36: Info: Freetype returned null for character 151 in font DebugFont
21:40:36: Info: Freetype returned null for character 152 in font DebugFont
21:40:36: Info: Freetype returned null for character 153 in font DebugFont
21:40:36: Info: Freetype returned null for character 154 in font DebugFont
21:40:36: Info: Freetype returned null for character 155 in font DebugFont
21:40:36: Info: Freetype returned null for character 156 in font DebugFont
21:40:36: Info: Freetype returned null for character 157 in font DebugFont
21:40:36: Info: Freetype returned null for character 158 in font DebugFont
21:40:36: Info: Freetype returned null for character 159 in font DebugFont
21:40:36: Info: Freetype returned null for character 160 in font DebugFont
21:40:36: Texture: DebugFontTexture: Loading 1 faces(PF_RG8,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_RG8,512x512x1.
21:40:39: Unregistering ResourceManager for type Font
21:40:39: DefaultWorkQueue('Root') shutting down on thread main.
21:40:39: *-*-* OGRE Shutdown
21:40:39: Unregistering ResourceManager for type OldSkeleton
21:40:39: Unregistering ResourceManager for type Mesh2
21:40:39: Unregistering ResourceManager for type Mesh
21:40:39: Unregistering ResourceManager for type Material
21:40:39: Unregistering ResourceManager for type HighLevelGpuProgram
21:40:39: Uninstalling plugin: ParticleFX
21:40:39: Plugin successfully uninstalled
21:40:39: Unloading library .\Plugin_ParticleFX_d
21:40:39: Uninstalling plugin: GL 3+ RenderSystem
21:40:39: *** Stopping Win32GL Subsystem ***
21:40:39: Plugin successfully uninstalled
21:40:39: Unloading library .\RenderSystem_GL3Plus_d
21:40:39: Uninstalling plugin: D3D11 RenderSystem
21:40:39: D3D11 : Shutting down cleanly.
21:40:39: Unregistering ResourceManager for type Texture
21:40:39: Unregistering ResourceManager for type GpuProgram
21:40:39: D3D11 : Direct3D11 Rendering Subsystem destroyed.
21:40:39: Plugin successfully uninstalled
21:40:39: Unloading library .\RenderSystem_Direct3D11_d
If I use my Intel Graphic card, then I can set resolution (Video Mode) to 1366x768 @ 32bit color.

Come to think of it, if I switch to OpenGL 3+, then I can set resolution up to 1024x768 but I can't choose graphic card.

Are these behaviors are normal for Ogre?

Thanks for reading :D
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5296
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1278
Contact:

Re: [2.1] NVIDIA GeForce GTX 950M - Stuck w/ resolution 800x

Post by dark_sylinc »

Yes to both of your questions:
  1. OpenGL cannot choose GPUs. There are a few extensions but it's tricky, often unreliable and depends on the vendors.
  2. The resolution problem is because your second card is not directly connected to the monitor, and Ogre assumes monitor and GPUs are tied together. This will eventually get fixed but it's not very high as priority in the TODO list. Note that it is your code the one in control of the actual resolution used (width & height parameters passed to Ogre::Root::createRenderWindow)
123iamking
Gremlin
Posts: 152
Joined: Sat Aug 12, 2017 4:16 pm
x 4

Re: [2.1] NVIDIA GeForce GTX 950M - Stuck w/ resolution 800x

Post by 123iamking »

Thank you dark_sylinc, I still want to ask a little more just to be sure :)
dark_sylinc wrote: OpenGL cannot choose GPUs. There are a few extensions but it's tricky, often unreliable and depends on the vendors.
But the normal way users gonna choose GPU in the final product is:
1. Right click the exe.
2. Hover to 'Run with graphics processor'
3. Now choose: Click 'High-performace NVIDIA processor'
So with this, OpenGL & D3D are the same - both can choose which GPUs it uses. Do I understand it correctly? Is it safe for the user do this with OpenGL?
dark_sylinc wrote: The resolution problem is because your second card is not directly connected to the monitor, and Ogre assumes monitor and GPUs are tied together. This will eventually get fixed but it's not very high as priority in the TODO list. Note that it is your code the one in control of the actual resolution used (width & height parameters passed to Ogre::Root::createRenderWindow)
I change the width & height for Ogre::Root::createRenderWindow to 1366 x 768 and it works - so only the 'Ogre setting dialog' restricts the resolution. I understand that 'Ogre setting dialog' restricts the resolution because the GPU is not tied to the monitor, but is it safe to break this restriction?

Cheers :)
User avatar
Daixiwen
Greenskin
Posts: 105
Joined: Fri Feb 08, 2013 11:30 am
Location: Oslo
x 16

Re: [2.1] NVIDIA GeForce GTX 950M - Stuck w/ resolution 800x600

Post by Daixiwen »

If you don't want your users to bother with the GPU selection and have the driver automatically select the NVidia/AMD graphics card over the Intel one, you can also give a hint to the driver by exporting those two symbols

Code: Select all

#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>

// activate better GPU
extern "C" {
__declspec(dllexport) DWORD NvOptimusEnablement = 1;
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
}
#endif
This will make the driver use the fast GPU by default.
Hardware, n.: part of the computer you can kick
Post Reply