TGEA 1.8.0: Assert when starting Torque.
by Stefan Lundmark · in Torque Game Engine Advanced · 12/17/2008 (2:30 pm) · 5 replies
Can't even start Torque on a few of our computers here.
Quite disappointing since 1.7.1 works perfectly.
Quite disappointing since 1.7.1 works perfectly.
Quote:
Not that many adapters
PlatformVideoInfo::getAdapterInformation(const unsigned int adapterIndex=0) Line 76
GFXD3D9CardProfiler::init() Line 36 + 0x12 bytes
GFXPCD3D9Device::init(const GFXVideoMode & mode={...}, PlatformWindow * window=0x02a4f9d8) Line 364About the author
#2
12/17/2008 (3:32 pm)
Just out of curiosity: could you give some information about the system configs it is not running with?
#3
Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
2048 MB RAM
Nvidia GeForce 8800 GTX (768 MB)
Microsoft XP Professional 5.1
DirectX 9.0c (4.09.0000.0904)
Not the latest video drivers, however.
-----------------------------------
Tried your fix and it works, thank you!
12/17/2008 (3:55 pm)
Sure, and sorry.Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
2048 MB RAM
Nvidia GeForce 8800 GTX (768 MB)
Microsoft XP Professional 5.1
DirectX 9.0c (4.09.0000.0904)
Not the latest video drivers, however.
-----------------------------------
Tried your fix and it works, thank you!
#4
Unfortunately, I fear that quite a number of people will run into this issue. Shouldn't have trusted the WMI stuff in the first place.
12/17/2008 (4:11 pm)
Ok, cool. Thanks for reporting, Stefan.Unfortunately, I fear that quite a number of people will run into this issue. Shouldn't have trusted the WMI stuff in the first place.
#5
12/17/2008 (5:41 pm)
No clue what WMI is, what it does or why it's there, but I'm very glad I can play around with this stuff now :) Thanks again and I hope it was of some use.
Associate Rene Damm
To fix this (probably), change (in platformWin32/videoInfo/wmiVideoInfo.cpp)
bool WMIVideoInfo::_initialize() { // Init COM HRESULT hr = CoInitialize( NULL ); mComInitialized = SUCCEEDED( hr ); if( !mComInitialized ) return false; _initializeDXGI(); _initializeDxDiag(); return _initializeWMI(); }to
bool WMIVideoInfo::_initialize() { // Init COM HRESULT hr = CoInitialize( NULL ); mComInitialized = SUCCEEDED( hr ); if( !mComInitialized ) return false; bool success = false; success |= _initializeDXGI(); success |= _initializeDxDiag(); success |= _initializeWMI(); return success; }