Slow Mouse Response and some compile problems for TSE
by Danny Mejia · in Torque Game Engine Advanced · 12/10/2005 (7:05 pm) · 9 replies
Hi guys, I just bought TSE. All I can say is that it's awesome! Congrats to GarageGames for such a nice work ;) And thanks to the community for the wonderful support.
I've noticed that the Mouse Response is slow when I run TSE demo. When I move the mouse it takes 1 or 2 milliseconds before the pointer follows. I wonder where it comes from. I tried using it on a different PC but it still is slow. Is it because of the hardware? I have a GeForce FX 5700 Ulltra 256mb and a Geforce 5500 128mb. I wonder if there are any changes I should do in the code.
Another problem I had is that when I tried compiling it to my other PC it showed this compile error below. Do I need to install the latest NVidia SDK? I installed the latest DirectX SDK but this problem still shows. I wonder where this problem comes from. Please help. Thanks!
[\code]
Compiling...
DXDiagNVUtil.cpp
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(213) : error C2065: 'strcpy_instead_use_StringCbCopyA_or_StringCchCopyA' : undeclared identifier
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(237) : error C3861: 'strcpy_instead_use_StringCbCopyA_or_StringCchCopyA': identifier not found, even with argument-dependent lookup
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(289) : error C3861: 'strcpy_instead_use_StringCbCopyA_or_StringCchCopyA': identifier not found, even with argument-dependent lookup
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(472) : error C2065: 'swprintf_instead_use_StringCbPrintfW_or_StringCchPrintfW' : undeclared identifier
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(475) : error C3861: 'swprintf_instead_use_StringCbPrintfW_or_StringCchPrintfW': identifier not found, even with argument-dependent lookup
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(478) : error C3861: 'swprintf_instead_use_StringCbPrintfW_or_StringCchPrintfW': identifier not found, even with argument-dependent lookup
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(696) : error C3861: 'swprintf_instead_use_StringCbPrintfW_or_StringCchPrintfW': identifier not found, even with argument-dependent lookup
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(697) : error C2181: illegal else without matching if
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(698) : error C3861: 'swprintf_instead_use_StringCbPrintfW_or_StringCchPrintfW': identifier not found, even with argument-dependent lookup
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(795) : error C3861: 'swprintf_instead_use_StringCbPrintfW_or_StringCchPrintfW': identifier not found, even with argument-dependent lookup
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(796) : error C2181: illegal else without matching if
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(797) : error C3861: 'swprintf_instead_use_StringCbPrintfW_or_StringCchPrintfW': identifier not found, even with argument-dependent lookup
Build log was saved at "file://c:\Torque\tse\engine\out.vc7.win32.debug\\BuildLog.htm"
Torque Shader Engine - 12 error(s), 0 warning(s)
[\code]
I've noticed that the Mouse Response is slow when I run TSE demo. When I move the mouse it takes 1 or 2 milliseconds before the pointer follows. I wonder where it comes from. I tried using it on a different PC but it still is slow. Is it because of the hardware? I have a GeForce FX 5700 Ulltra 256mb and a Geforce 5500 128mb. I wonder if there are any changes I should do in the code.
Another problem I had is that when I tried compiling it to my other PC it showed this compile error below. Do I need to install the latest NVidia SDK? I installed the latest DirectX SDK but this problem still shows. I wonder where this problem comes from. Please help. Thanks!
[\code]
Compiling...
DXDiagNVUtil.cpp
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(213) : error C2065: 'strcpy_instead_use_StringCbCopyA_or_StringCchCopyA' : undeclared identifier
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(237) : error C3861: 'strcpy_instead_use_StringCbCopyA_or_StringCchCopyA': identifier not found, even with argument-dependent lookup
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(289) : error C3861: 'strcpy_instead_use_StringCbCopyA_or_StringCchCopyA': identifier not found, even with argument-dependent lookup
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(472) : error C2065: 'swprintf_instead_use_StringCbPrintfW_or_StringCchPrintfW' : undeclared identifier
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(475) : error C3861: 'swprintf_instead_use_StringCbPrintfW_or_StringCchPrintfW': identifier not found, even with argument-dependent lookup
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(478) : error C3861: 'swprintf_instead_use_StringCbPrintfW_or_StringCchPrintfW': identifier not found, even with argument-dependent lookup
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(696) : error C3861: 'swprintf_instead_use_StringCbPrintfW_or_StringCchPrintfW': identifier not found, even with argument-dependent lookup
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(697) : error C2181: illegal else without matching if
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(698) : error C3861: 'swprintf_instead_use_StringCbPrintfW_or_StringCchPrintfW': identifier not found, even with argument-dependent lookup
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(795) : error C3861: 'swprintf_instead_use_StringCbPrintfW_or_StringCchPrintfW': identifier not found, even with argument-dependent lookup
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(796) : error C2181: illegal else without matching if
c:\Torque\tse\engine\gfx\D3D\DXDiagNVUtil.cpp(797) : error C3861: 'swprintf_instead_use_StringCbPrintfW_or_StringCchPrintfW': identifier not found, even with argument-dependent lookup
Build log was saved at "file://c:\Torque\tse\engine\out.vc7.win32.debug\\BuildLog.htm"
Torque Shader Engine - 12 error(s), 0 warning(s)
[\code]
About the author
#2
12/11/2005 (1:01 am)
I don't think you would notice a 1-2ms delay in mouse movement -- might notice something like 32-128ms though. I'm not sure what causes it, but I also get the same problems.
#3
Whats ya'lls video init section of console.log look like?
12/11/2005 (4:45 pm)
@Mike - Do you get the same compile errors?Whats ya'lls video init section of console.log look like?
#4
sorry for the late reply, wasn't able to check again except on weekends.
@Randy... i built with both the DEBUG and NORMAL(Release) exe.
@Mike... you're right, it must have been a 32-128ms delay
i wonder why its that slow. hmmm.
INIT SECTION
Video Init:
DirectX version - 9.0c
Direct 3D device found
Cur. D3DDevice ref count=1
Pix version detected: 2.000000
Vert version detected: 2.000000
Initializing GFXCardProfiler (D3D9)
o Vendor : 'Inno3D'
o Card : 'GeForce FX 5500'
o Version: '66.93'
- Scanning card capabilities...
GFXCardProfiler (D3D9) - Setting capability 'autoMipMapLevel' to true.
- Loading card profiles...
- Loading card profile profile/D3D9.cs
- No card profile profile/D3D9.Inno3D.cs exists
- No card profile profile/D3D9.Inno3D.GeForceFX5500.cs exists
- No card profile profile/D3D9.Inno3D.GeForceFX5500.6693.cs exists
12/17/2005 (12:29 am)
Hello. Thanks for the reply Randy and Mike ^_^sorry for the late reply, wasn't able to check again except on weekends.
@Randy... i built with both the DEBUG and NORMAL(Release) exe.
@Mike... you're right, it must have been a 32-128ms delay
i wonder why its that slow. hmmm.
INIT SECTION
Video Init:
DirectX version - 9.0c
Direct 3D device found
Cur. D3DDevice ref count=1
Pix version detected: 2.000000
Vert version detected: 2.000000
Initializing GFXCardProfiler (D3D9)
o Vendor : 'Inno3D'
o Card : 'GeForce FX 5500'
o Version: '66.93'
- Scanning card capabilities...
GFXCardProfiler (D3D9) - Setting capability 'autoMipMapLevel' to true.
- Loading card profiles...
- Loading card profile profile/D3D9.cs
- No card profile profile/D3D9.Inno3D.cs exists
- No card profile profile/D3D9.Inno3D.GeForceFX5500.cs exists
- No card profile profile/D3D9.Inno3D.GeForceFX5500.6693.cs exists
#5
Ok your Nvidia drivers are old. Update to the latest 81.95 and recompile.
12/17/2005 (1:27 am)
On dxdiag diagnostic tool. Does it say DirectDraw and the next 2 questions (d3d and agp) enabled?Ok your Nvidia drivers are old. Update to the latest 81.95 and recompile.
Quote:
Video Init:
DirectX version - 9.0c
Direct 3D device found
Cur. D3DDevice ref count=1
Pix version detected: 3.000000
Vert version detected: 3.000000
Initializing GFXCardProfiler (D3D9)
o Vendor : 'NVIDIA'
o Card : 'GeForce 6800 GT'
o Version: '81.95'
- Scanning card capabilities.
#6
--------------------
DirectX Debug Levels
--------------------
Direct3D: 0/4 (retail)
DirectDraw: 0/4 (retail)
DirectInput: 0/5 (retail)
DirectMusic: 0/5 (retail)
DirectPlay: 0/9 (retail)
DirectSound: 0/5 (retail)
DirectShow: 0/6 (retail)
..
..
..
Microsoft.DirectX.DirectDraw.dll: 5.04.0000.2904 English Final Retail 12/6/2005 13:40:55 145920 bytes
12/27/2005 (10:51 pm)
In my dxdiag tool these are the ones with directdraw--------------------
DirectX Debug Levels
--------------------
Direct3D: 0/4 (retail)
DirectDraw: 0/4 (retail)
DirectInput: 0/5 (retail)
DirectMusic: 0/5 (retail)
DirectPlay: 0/9 (retail)
DirectSound: 0/5 (retail)
DirectShow: 0/6 (retail)
..
..
..
Microsoft.DirectX.DirectDraw.dll: 5.04.0000.2904 English Final Retail 12/6/2005 13:40:55 145920 bytes
#7
06/01/2006 (11:08 pm)
I'm having the exact same compiler error reported above. I have the latest DirectX9 SDK (April 2006) and the latest NVidia drivers. Is there something else I should be looking at?
#8
06/04/2006 (5:16 am)
Try updating your Windows Platform SDK to the lastest one.
#9
06/04/2006 (3:47 pm)
You know I couldn't find the link for any "updated" version. The best I found was for Windows Server 2003. I did get it to work, however, by moving the "Platform SDK" folders up in the Include and Library list. I put them right under the DirectX SDK ones and it worked.
Torque Owner Vashner