Page 1 of 1
Is it possible to force maximum use of the video card with ogre3d?
Posted: Tue Feb 11, 2025 8:47 pm
by skinkairewalker
hello everyone !
Is it possible to force maximum use of the video card with ogre3d?
I'm testing the example: LightAttenuation.pb, and you can see that the video card is bottlenecking and having FPS drops as shown in the screenshot below:
Are there ways to fix this, forcing the video card to use more power or is it a configuration error on my video card?
MyPC specs:
Code: Select all
Processor: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 CPUs), ~2.3GHz
Graphics Integrated: Intel(R) UHD Graphics
Graphics Dedicated: NVIDIA GeForce RTX 3060 Laptop GPU
Memory: 16384MB RAM
Available OS Memory: 16164MB RAM
DirectX Version: DirectX 12
Re: Is it possible to force maximum use of the video card with ogre3d?
Posted: Tue Feb 11, 2025 10:02 pm
by miso
I think your desktop resolution is too high for this example, and therefore can't keep up with the render. Try it in true fullscreen with a lower resolution, or in windowed mode with a smaller rendertexture+quad+ortho camera.
Re: Is it possible to force maximum use of the video card with ogre3d?
Posted: Tue Feb 11, 2025 11:31 pm
by Skipper
Which of the two adapters do you uses for Ogre? The NVIDIA will likely be the faster one.
Also, make sure you have the latest OpenGl drivers installed for the adapter you're using...
Re: Is it possible to force maximum use of the video card with ogre3d?
Posted: Wed Feb 12, 2025 12:24 am
by skinkairewalker
miso wrote: Tue Feb 11, 2025 10:02 pm
I think your desktop resolution is too high for this example, and therefore can't keep up with the render. Try it in true fullscreen with a lower resolution, or in windowed mode with a smaller rendertexture+quad+ortho camera.
How do I change the resolution in case of full screen in this example?
Re: Is it possible to force maximum use of the video card with ogre3d?
Posted: Wed Feb 12, 2025 12:24 am
by skinkairewalker
Skipper wrote: Tue Feb 11, 2025 11:31 pm
Which of the two adapters do you uses for Ogre? The NVIDIA will likely be the faster one.
Also, make sure you have the latest OpenGl drivers installed for the adapter you're using...
Can I select which adapter to use in ogre3d?
Re: Is it possible to force maximum use of the video card with ogre3d?
Posted: Wed Feb 12, 2025 12:30 am
by miso
How do I change the resolution in case of full screen in this example?
Use openscreen() instead of openwindowedscreen(), and use it with a choosen resolution for a true fullscreen.
Re: Is it possible to force maximum use of the video card with ogre3d?
Posted: Wed Feb 12, 2025 10:07 am
by Fred
I noticed slower perfs than usual when enabling shadow, we will try to look at that after 6.20
Re: Is it possible to force maximum use of the video card with ogre3d?
Posted: Fri Feb 14, 2025 1:24 pm
by skinkairewalker
I'm doing some tests to find out if there is a problem with drivers or system configuration.
Re: Is it possible to force maximum use of the video card with ogre3d?
Posted: Fri Feb 14, 2025 7:52 pm
by skinkairewalker
Is it possible to choose which video card to use manually or automatically to obtain the best performance?
Re: Is it possible to force maximum use of the video card with ogre3d?
Posted: Tue Jul 01, 2025 2:00 pm
by minimy
Skipper wrote: Tue Feb 11, 2025 11:31 pm
Which of the two adapters do you uses for Ogre? The NVIDIA will likely be the faster one.
Also, make sure you have the latest OpenGl drivers installed for the adapter you're using...
Hello Skipper! How you change the graphic card ? Is this possible?
Can put an example please. Thanks
Re: Is it possible to force maximum use of the video card with ogre3d?
Posted: Mon Jul 07, 2025 3:07 pm
by skinkairewalker
Is there a method to force Windows to dedicate maximum performance to a specific application? The question is: why not integrate this into Ogre or some feature that forces operating systems to dedicate full power to our PB application?
https://www.youtube.com/watch?v=0vJR3UUGFzg
Re: Is it possible to force maximum use of the video card with ogre3d?
Posted: Mon Jul 07, 2025 4:23 pm
by pf shadoko
this is not a GPU problem
shadows and skeletal animations have been very slow since PB 6.20, so I've made 2 functions to manage them via shader
viewtopic.php?p=642095#p642095
Re: Is it possible to force maximum use of the video card with ogre3d?
Posted: Mon Jul 07, 2025 4:32 pm
by Fred
Also using the other GPU is a Windows thing, it shouldn't be the app which decide which one to use.