Hi All,

While running the D3DM Comparison Test on WinCE 6.0 CEPC I am getting
the exception in D3DMREF.DLL.
I have build my OS design with the SYSGEN_D3DM, SYSGEN_D3DMREF
variables enabled and also included the D3DM driver under test.

I am running the test with the following command and I also tried with
various option available.
RUN tux -o -d d3dm_drivercomp.dll -c "/t1 /e1 /i -c \Release
\D3DMDumpsE1\"

Is there anything I am missing or I need to include in OS support (I
have also included the dependencies mentioned in MSDN WINCETK help).

Does anyone here face the same problem? How can I pass this test?


Test log:

*** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
*** TEST STARTING
***
*** Test Name: (CullTest) D3DMCULL_NONE Test; X-Axis Rotation
Step #1
*** Test ID: 0
*** Library Path: \release\d3dm_drivercomp.dll
*** Command Line: /t1 /e1 /i -c \Release\D3DMDumpsE1\
*** Kernel Mode: No
*** Random Seed: 1572
*** Thread Count: 1
***
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
D3DMQA: ShellProc(SPM_BEGIN_TEST, ...) called
BEGIN TEST: "(CullTest) D3DMCULL_NONE Test; X-Axis Rotation Step
#1", Threads=1, Seed=1572
D3DMQA: Creating D3DM object.
D3DMQA: Getting adapter display mode
D3DMQA: Creating Direct3D device
D3DMQA: Beginning ExecuteCullTest.
D3DMQA: Capturing window client extents
D3DMQA: Capture extent rectangle: (top: 99, left: 128, right:
192, bottom: 163)
D3DMQA: HDC dumped to \Release
\D3DMDumpsE1\TSTDRV_TESTCASE0000_FRAME0000.BMP.
D3DMQA: Creating D3DM object.
D3DMQA: Loading driver: D3DMREF.DLL
D3DMQA: Getting adapter display mode
D3DMQA: Creating Direct3D device
D3DMQA: Beginning ExecuteCullTest.


Hoping for reply soon. Thanks in advance.

Thanks,
Vikas

Re: D3DM Comparison Test raises exception in D3DMREF.DLL by Louis

Louis
Tue Jun 17 17:59:35 PDT 2008

Can you run this with a debugger attached and get the exception's debug
output and the callstack? This would greatly help us determine what's going
on.

--
Louis Clausen
Software Design Engineer in Test
Windows Devices Core Multimedia

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
"Vikas" <vikasmpatil@gmail.com> wrote in message
news:09f302dd-c923-4f91-9bdc-d03e00c33b1a@h1g2000prh.googlegroups.com...
> Hi All,
>
> While running the D3DM Comparison Test on WinCE 6.0 CEPC I am getting
> the exception in D3DMREF.DLL.
> I have build my OS design with the SYSGEN_D3DM, SYSGEN_D3DMREF
> variables enabled and also included the D3DM driver under test.
>
> I am running the test with the following command and I also tried with
> various option available.
> RUN tux -o -d d3dm_drivercomp.dll -c "/t1 /e1 /i -c \Release
> \D3DMDumpsE1\"
>
> Is there anything I am missing or I need to include in OS support (I
> have also included the dependencies mentioned in MSDN WINCETK help).
>
> Does anyone here face the same problem? How can I pass this test?
>
>
> Test log:
>
> *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> *** TEST STARTING
> ***
> *** Test Name: (CullTest) D3DMCULL_NONE Test; X-Axis Rotation
> Step #1
> *** Test ID: 0
> *** Library Path: \release\d3dm_drivercomp.dll
> *** Command Line: /t1 /e1 /i -c \Release\D3DMDumpsE1\
> *** Kernel Mode: No
> *** Random Seed: 1572
> *** Thread Count: 1
> ***
> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> D3DMQA: ShellProc(SPM_BEGIN_TEST, ...) called
> BEGIN TEST: "(CullTest) D3DMCULL_NONE Test; X-Axis Rotation Step
> #1", Threads=1, Seed=1572
> D3DMQA: Creating D3DM object.
> D3DMQA: Getting adapter display mode
> D3DMQA: Creating Direct3D device
> D3DMQA: Beginning ExecuteCullTest.
> D3DMQA: Capturing window client extents
> D3DMQA: Capture extent rectangle: (top: 99, left: 128, right:
> 192, bottom: 163)
> D3DMQA: HDC dumped to \Release
> \D3DMDumpsE1\TSTDRV_TESTCASE0000_FRAME0000.BMP.
> D3DMQA: Creating D3DM object.
> D3DMQA: Loading driver: D3DMREF.DLL
> D3DMQA: Getting adapter display mode
> D3DMQA: Creating Direct3D device
> D3DMQA: Beginning ExecuteCullTest.
>
>
> Hoping for reply soon. Thanks in advance.
>
> Thanks,
> Vikas


Re: D3DM Comparison Test raises exception in D3DMREF.DLL by Vikas

Vikas
Tue Jun 17 22:20:42 PDT 2008

On Jun 18, 5:59 am, "Louis Clausen" <loui...@online.microsoft.com>
wrote:
> Can you run this with a debugger attached and get the exception's debug
> output and the callstack? This would greatly help us determine what's going
> on.
>
> --
> Louis Clausen
> Software Design Engineer in Test
> Windows Devices Core Multimedia
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
> You assume all risk for your use."Vikas" <vikasmpa...@gmail.com> wrote in message
>
> news:09f302dd-c923-4f91-9bdc-d03e00c33b1a@h1g2000prh.googlegroups.com...
>
> > Hi All,
>
> > While running the D3DM Comparison Test on WinCE 6.0 CEPC I am getting
> > the exception in D3DMREF.DLL.
> > I have build my OS design with the SYSGEN_D3DM, SYSGEN_D3DMREF
> > variables enabled and also included the D3DM driver under test.
>
> > I am running the test with the following command and I also tried with
> > various option available.
> > RUN tux -o -d d3dm_drivercomp.dll -c "/t1 /e1 /i -c \Release
> > \D3DMDumpsE1\"
>
> > Is there anything I am missing or I need to include in OS support (I
> > have also included the dependencies mentioned in MSDN WINCETK help).
>
> > Does anyone here face the same problem? How can I pass this test?
>
> > Test log:
>
> > *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> > *** TEST STARTING
> > ***
> > *** Test Name: (CullTest) D3DMCULL_NONE Test; X-Axis Rotation
> > Step #1
> > *** Test ID: 0
> > *** Library Path: \release\d3dm_drivercomp.dll
> > *** Command Line: /t1 /e1 /i -c \Release\D3DMDumpsE1\
> > *** Kernel Mode: No
> > *** Random Seed: 1572
> > *** Thread Count: 1
> > ***
> > vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> > D3DMQA: ShellProc(SPM_BEGIN_TEST, ...) called
> > BEGIN TEST: "(CullTest) D3DMCULL_NONE Test; X-Axis Rotation Step
> > #1", Threads=1, Seed=1572
> > D3DMQA: Creating D3DM object.
> > D3DMQA: Getting adapter display mode
> > D3DMQA: Creating Direct3D device
> > D3DMQA: Beginning ExecuteCullTest.
> > D3DMQA: Capturing window client extents
> > D3DMQA: Capture extent rectangle: (top: 99, left: 128, right:
> > 192, bottom: 163)
> > D3DMQA: HDC dumped to \Release
> > \D3DMDumpsE1\TSTDRV_TESTCASE0000_FRAME0000.BMP.
> > D3DMQA: Creating D3DM object.
> > D3DMQA: Loading driver: D3DMREF.DLL
> > D3DMQA: Getting adapter display mode
> > D3DMQA: Creating Direct3D device
> > D3DMQA: Beginning ExecuteCullTest.
>
> > Hoping for reply soon. Thanks in advance.
>
> > Thanks,
> > Vikas

Hi Louis,

Thanks for looking into the issue. here is the Output from WinCE debug
window and Call satck

Call Stack:

Call Stack: tux.exe: 0x033F0002 10:44:08 06/18/2008 India Standard
Time
D3DMREF!RDRenderTarget::Clear(RDColor {...}, _D3DM_CLEAR *
0x10090014) line 416 + 7 bytes
D3DMREF!RefDev::Clear(_D3DM_COMMAND * 0x10090010) line 308
D3DMREF!RefDev::ProcessCommand(_D3DM_COMMAND * * 0x1008ec88)
line 224 + 12 bytes
D3DMREF!RefRastDrawPrimitive(_D3DM_DRAWPRIMITIVE_DATA *
0x1008eca8) line 76 + 12 bytes
D3DM!CCommandBuffer::Flush(const CContext * 0x10074390) line 148
+ 14 bytes
D3DM!CSwapChain::Present(const tagRECT * 0x00000000, const
tagRECT * 0x00000000, HWND__ * 0x00000000, const _RGNDATA *
0x00000000) line 573 + 12 bytes
D3DM!CDevice::Present(const tagRECT * 0x00000000, const tagRECT *
0x00000000, HWND__ * 0x00000000, const _RGNDATA * 0x00000000) line
665 + 44 bytes
D3DM_DRIVERCOMP!CullPrimTest(_TESTCASEARGS * 0x1008eea4) line
160 + 22 bytes
D3DM_DRIVERCOMP!DriverCompTest::ExecuteCullTest(unsigned long
0x00000000, unsigned int * 0x1008f350, _FRAMEDESCRIPTION * *
0x1008f358) line 242 + 9 bytes
D3DM_DRIVERCOMP!TuxTest(unsigned int 0x00000065, unsigned long *
0x1008fc4c, _FUNCTION_TABLE_ENTRY * 0x4061fa1c) line 774 + 23 bytes
TUX!CTest::SendTestProcMsg(unsigned int 0x00000065, unsigned long
* 0x1008fc4c, unsigned int 0x0000000c, _FUNCTION_TABLE_ENTRY *
0x4061fa1c) line 2627 + 32 bytes
TUX!CTest::Execute(_TPS_EXECUTE * 0x1008fc4c) line 2653
TUX!CSuite::ExecuteThread() line 846 + 21 bytes
TUX!CSuite::StaticExecuteThread(void * 0x100210d0) line 144
COREDLL!ThreadBaseFunc(unsigned long (void *)* 0x0001be70, void *
0x100210d0) line 1096 + 7 bytes
End Call Stack: tux.exe: 0x033F0002 10:44:08 06/18/2008 India
Standard Time

Output From Debug:

Run Programs s tux -o -d d3dm_drivercomp.dll -c "/t1 /e1 /i -c \Release
\D3DMDumpsE1\"
4294870206 PID:400002 TID:3330002 RELFSD: Opening file tux.exe from
desktop
4294871082 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
'coredll.dll' (0x8F6FA630) at address 0x40010000-0x400BC000 in Process
'tux.exe' (0x884BB0E4)
4294871229 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
'tux.exe' (0x884BB0E4) at address 0x00010000-0x00026000 in Process
'tux.exe' (0x884BB0E4)
PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
\MBXREFPCI\RELDIR\CEPC_X86_DEBUG\TUX.EXE'
s tux -o -d d3dm_drivercomp.dll -c "/t1 /e1 /i -c \Release
\D3DMDumpsE1\" 10:39:45 06/18/2008 India Standard Time
End s tux -o -d d3dm_drivercomp.dll -c "/t1 /e1 /i -c \Release
\D3DMDumpsE1\" 10:39:45 06/18/2008 India Standard Time

4294871666 PID:3320002 TID:3330002 Heap Statistics at 0x400A1768
4294871826 PID:400002 TID:3330002 RELFSD: Opening file KATO.DLL from
desktop
4294871992 PID:400002 TID:3330002 OSAXST1: >>> Loading Module
'kato.dll' (0x884FAA48) at address 0x40540000-0x40548000 in Process
'NK.EXE' (0x80E13C80)
PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
\MBXREFPCI\RELDIR\CEPC_X86_DEBUG\KATO.DLL'
4294872145 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
'kato.dll' (0x884FAA48) at address 0x40540000-0x40548000 in Process
'tux.exe' (0x884BB0E4)
4294872327 PID:400002 TID:3330002 RELFSD: Opening file
d3dm_drivercomp.dll from desktop
4294885090 PID:400002 TID:3330002 OSAXST1: >>> Loading Module
'd3dm_drivercomp.dll' (0x88536000) at address 0x40550000-0x4066D000 in
Process 'NK.EXE' (0x80E13C80)
PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
\MBXREFPCI\RELDIR\CEPC_X86_DEBUG\D3DM_DRIVERCOMP.DLL'
4294885245 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
'd3dm_drivercomp.dll' (0x88536000) at address 0x40550000-0x4066D000 in
Process 'tux.exe' (0x884BB0E4)
4294885378 PID:400002 TID:3330002 RELFSD: Opening file QAD3DMX.dll
from desktop
4294885441 PID:400002 TID:3330002 OSAXST1: >>> Loading Module
'qad3dmx.dll' (0x8853615C) at address 0x40670000-0x40675000 in Process
'NK.EXE' (0x80E13C80)
PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
\MBXREFPCI\RELDIR\CEPC_X86_DEBUG\QAD3DMX.DLL'
4294885455 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
'qad3dmx.dll' (0x8853615C) at address 0x40670000-0x40675000 in Process
'tux.exe' (0x884BB0E4)
4294885587 PID:400002 TID:3330002 RELFSD: Opening file
D3DMImageManagement.dll from desktop
4294885790 PID:400002 TID:3330002 OSAXST1: >>> Loading Module
'd3dmimagemanagement.dll' (0x885362F8) at address
0x40680000-0x40687000 in Process 'NK.EXE' (0x80E13C80)
PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
\MBXREFPCI\RELDIR\CEPC_X86_DEBUG\D3DMIMAGEMANAGEMENT.DLL'
4294885801 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
'd3dmimagemanagement.dll' (0x885362F8) at address
0x40680000-0x40687000 in Process 'tux.exe' (0x884BB0E4)
4294885807 PID:3320002 TID:3330002 D3DMQA:
ShellProc(SPM_LOAD_DLL, ...) called
4294885807 PID:3320002 TID:3330002 D3DMQA: D3DMImageManagement.dll:
New debug logger set: 40682C30
4294885807 PID:3320002 TID:3330002 D3DMQA:
ShellProc(SPM_SHELL_INFO, ...) called
4294885807 PID:3320002 TID:3330002 D3DMQA:
ShellProc(SPM_REGISTER, ...) called
PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
\MBXREFPCI\RELDIR\CEPC_X86_DEBUG\D3DM.DLL'
4294885841 PID:3320002 TID:3330002 <TESTGROUP>
4294885841 PID:3320002 TID:3330002
4294885841 PID:3320002 TID:3330002 ***
==================================================================
4294885841 PID:3320002 TID:3330002 *** SUITE INFORMATION
4294885841 PID:3320002 TID:3330002 ***
4294885841 PID:3320002 TID:3330002 *** Suite Name: N/A (built
on the fly)
4294885841 PID:3320002 TID:3330002 *** Suite Description: N/A
4294885841 PID:3320002 TID:3330002 *** Number of Tests: 3209
4294885841 PID:3320002 TID:3330002 ***
==================================================================
4294885841 PID:3320002 TID:3330002
4294885842 PID:3320002 TID:3330002 ***
==================================================================
4294885842 PID:3320002 TID:3330002 *** SYSTEM INFORMATION
4294885842 PID:3320002 TID:3330002 ***
4294885842 PID:3320002 TID:3330002 *** Date and Time:
06/18/2008 10:46 AM (Wednesday)
4294885842 PID:3320002 TID:3330002 ***
4294885842 PID:400002 TID:3330002 WARN:
OALIoCtlHalGetDeviceinfo::SPI_GETBOOTMENAME: Buffer too small
4294885842 PID:3320002 TID:3330002 *** Device Name:
CEPC1115
4294885843 PID:3320002 TID:3330002 ***
4294885844 PID:3320002 TID:3330002 *** OS Version: 6.00
4294885844 PID:3320002 TID:3330002 *** Build Number: 1937
4294885844 PID:3320002 TID:3330002 *** Platform ID: 3
"Windows CE"
4294885844 PID:3320002 TID:3330002 *** Version String: ""
4294885844 PID:3320002 TID:3330002 ***
4294885844 PID:3320002 TID:3330002 *** Processor Type:
0x000002AE (686) "Intel Pentium II"
4294885844 PID:3320002 TID:3330002 *** Processor Architecture:
0x0000 (0) "Intel"
4294885844 PID:3320002 TID:3330002 *** Page Size:
0x00001000 (4,096)
4294885844 PID:3320002 TID:3330002 *** Minimum App Address:
0x00010000 (65,536)
4294885844 PID:3320002 TID:3330002 *** Maximum App Address:
0x7FFFFFFF (2,147,483,647)
4294885844 PID:3320002 TID:3330002 *** Active Processor Mask:
0x00000001
4294885844 PID:3320002 TID:3330002 *** Number Of Processors: 1
4294885844 PID:3320002 TID:3330002 *** Allocation Granularity:
0x00010000 (65,536)
4294885844 PID:3320002 TID:3330002 *** Processor Level:
0x0006 (6)
PB Debugger Unloaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
\MBXREFPCI\RELDIR\CEPC_X86_DEBUG\D3DM.DLL'
4294885844 PID:3320002 TID:3330002 *** Processor Revision:
0x0005 (5)
4294885845 PID:3320002 TID:3330002 ***
==================================================================
4294885845 PID:3320002 TID:3330002
4294885845 PID:3320002 TID:3330002 ***
==================================================================
4294885845 PID:3320002 TID:3330002 *** MEMORY INFO
PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
\MBXREFPCI\RELDIR\CEPC_X86_DEBUG\D3DM.DLL'
4294885845 PID:3320002 TID:3330002 ***
4294885845 PID:3320002 TID:3330002 *** Memory Total: 122,019,840
bytes
4294885845 PID:3320002 TID:3330002 *** Memory Used: 9,117,696
bytes
4294885845 PID:3320002 TID:3330002 *** Memory Free: 112,902,144
bytes
4294885845 PID:3320002 TID:3330002 ***
4294885845 PID:3320002 TID:3330002 *** Kernel Used: 188,416
bytes
4294885846 PID:3320002 TID:3330002 *** Water Mark: 27,564
pages
4294885846 PID:3320002 TID:3330002 ***
4294885846 PID:3320002 TID:3330002 *** Store Total: 121,856,000
bytes
4294885846 PID:3320002 TID:3330002 *** Store Used: 57,344
bytes
4294885846 PID:3320002 TID:3330002 *** Store Free: 121,798,656
bytes
4294885846 PID:3320002 TID:3330002 ***
==================================================================
4294885846 PID:3320002 TID:3330002
4294885848 PID:3320002 TID:3330002 D3DMQA:
ShellProc(SPM_START_SCRIPT, ...) called
4294885848 PID:3320002 TID:3330002 D3DMQA:
ShellProc(SPM_BEGIN_GROUP, ...) called
4294885848 PID:3320002 TID:3330002 BEGIN GROUP: TUXTEST.DLL
4294885848 PID:3320002 TID:3330002 <TESTCASE ID=0>
4294885848 PID:3320002 TID:3330002 ***
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
4294885848 PID:3320002 TID:3330002 *** TEST STARTING
4294885848 PID:3320002 TID:3330002 ***
4294885848 PID:3320002 TID:3330002 *** Test Name: (CullTest)
D3DMCULL_NONE Test; X-Axis Rotation Step #1
4294885848 PID:3320002 TID:3330002 *** Test ID: 0
4294885848 PID:3320002 TID:3330002 *** Library Path: \release
\d3dm_drivercomp.dll
4294885848 PID:3320002 TID:3330002 *** Command Line: /t1 /e1 /i -
c \Release\D3DMDumpsE1\
4294885848 PID:3320002 TID:3330002 *** Kernel Mode: No
4294885848 PID:3320002 TID:3330002 *** Random Seed: 28952
4294885848 PID:3320002 TID:3330002 *** Thread Count: 1
4294885848 PID:3320002 TID:3330002 ***
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
4294885848 PID:3320002 TID:3330002 D3DMQA:
ShellProc(SPM_BEGIN_TEST, ...) called
4294885848 PID:3320002 TID:3330002 BEGIN TEST: "(CullTest)
D3DMCULL_NONE Test; X-Axis Rotation Step #1", Threads=1, Seed=28952
4294885849 PID:3320002 TID:33f0002 D3DMQA: Creating D3DM object.
4294885911 PID:400002 TID:33f0002 RELFSD: Aborting CreateFile of
D3DM.DLL since module was found in rom
4294885911 PID:400002 TID:33f0002 OSAXST1: >>> Loading Module
'd3dm.dll' (0x8853681C) at address 0x404D0000-0x40511000 in Process
'NK.EXE' (0x80E13C80)
4294885924 PID:3320002 TID:33f0002 OSAXST1: >>> Loading Module
'd3dm.dll' (0x8853681C) at address 0x404D0000-0x40511000 in Process
'tux.exe' (0x884BB0E4)
4294886612 PID:3320002 TID:33f0002 Direct3D Mobile Debug Middleware in
use.
4294886612 PID:400002 TID:33f0002 AddToProcessInputLocaleTable: Added
process to ProcessInputLocale table, hProcess = 0x03320002
4294886612 PID:400002 TID:33f0002 Grow Gdi handle table from 256 to
320
4294886681 PID:3320002 TID:33f0002 D3DMQA: Getting adapter
display mode
4294886682 PID:3320002 TID:33f0002 D3DMQA: Creating Direct3D
device
4294886717 PID:3320002 TID:33f0002 D3DMQA: Beginning
ExecuteCullTest.
4294886806 PID:3320002 TID:33f0002 D3DMQA: Capturing window
client extents
4294886806 PID:3320002 TID:33f0002 D3DMQA: Capture extent
rectangle: (top: 99, left: 128, right: 192, bottom: 163)
4294887128 PID:400002 TID:33f0002 RELFSD: Opening file
D3DMDumpsE1\TSTDRV_TESTCASE0000_FRAME0000.BMP from desktop
4294887132 PID:3320002 TID:33f0002 D3DMQA: HDC dumped to \Release
\D3DMDumpsE1\TSTDRV_TESTCASE0000_FRAME0000.BMP.
PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
\MBXREFPCI\RELDIR\CEPC_X86_DEBUG\D3DMREF.DLL'
PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
\MBXREFPCI\RELDIR\CEPC_X86_DEBUG\DDRAW.DLL'
4294887233 PID:400002 TID:33f0002 ERROR: C:\ymzki\private\winceos
\COREOS\gwe\winmgr\wmbase\.\wmbase.cpp line 655:
4294887233 PID:400002 TID:33f0002 CreateWindow failed: Could not find
class=DummyWindow
4294887233 PID:3320002 TID:33f0002 Leaked D3DM Object : Vertex
buffer, 0x10074CE4
4294887299 PID:3320002 TID:33f0002 OSAXST1: <<< Unloading Module
'd3dm.dll' (0x8853681C) at address 0x404D0000-0x40511000 in Process
'tux.exe' (0x884BB0E4)
4294887304 PID:3320002 TID:33f0002 OSAXST1: <<< Unloading Module
'd3dm.dll' (0x8853681C) at address 0x404D0000-0x40511000 in Process
'tux.exe' (0x884BB0E4)
4294887315 PID:3320002 TID:33f0002 D3DMQA: Creating D3DM object.
4294887389 PID:400002 TID:33f0002 RELFSD: Aborting CreateFile of
D3DM.DLL since module was found in rom
4294887389 PID:400002 TID:33f0002 OSAXST1: >>> Loading Module
'd3dm.dll' (0x8853681C) at address 0x404D0000-0x40511000 in Process
'NK.EXE' (0x80E13C80)
4294887404 PID:3320002 TID:33f0002 OSAXST1: >>> Loading Module
'd3dm.dll' (0x8853681C) at address 0x404D0000-0x40511000 in Process
'tux.exe' (0x884BB0E4)
4294888154 PID:3320002 TID:33f0002 Direct3D Mobile Debug Middleware in
use.
4294888221 PID:3320002 TID:33f0002 D3DMQA: Loading driver:
D3DMREF.DLL
4294888457 PID:400002 TID:33f0002 RELFSD: Opening file D3DMREF.DLL
from desktop
4294890685 PID:400002 TID:2fe0002 ERROR: C:\ymzki\private\winceos
\COREOS\gwe\winmgr\wmbase\.\wbase.cpp line 1325:
4294890685 PID:400002 TID:2fe0002 !bFound, etc.
4294891129 PID:400002 TID:33f0002 OSAXST1: >>> Loading Module
'd3dmref.dll' (0x88536C78) at address 0x40690000-0x406CC000 in Process
'NK.EXE' (0x80E13C80)
4294891144 PID:3320002 TID:33f0002 OSAXST1: >>> Loading Module
'd3dmref.dll' (0x88536C78) at address 0x40690000-0x406CC000 in Process
'tux.exe' (0x884BB0E4)
4294891211 PID:400002 TID:33f0002 RELFSD: Aborting CreateFile of
DDRAW.dll since module was found in rom
4294891211 PID:400002 TID:33f0002 OSAXST1: >>> Loading Module
'ddraw.dll' (0x88536AF8) at address 0x404B0000-0x404C6000 in Process
'NK.EXE' (0x80E13C80)
4294891227 PID:3320002 TID:33f0002 OSAXST1: >>> Loading Module
'ddraw.dll' (0x88536AF8) at address 0x404B0000-0x404C6000 in Process
'tux.exe' (0x884BB0E4)
4294891910 PID:3320002 TID:33f0002 DirectDraw Debug Runtime in use.
4294891910 PID:3320002 TID:33f0002 D3DMQA: Getting adapter
display mode
4294891912 PID:3320002 TID:33f0002 GWES Hook fails to retrieve
driver's device identifier. IDirectDraw::GetDeviceIdentifier fails.
4294891912 PID:3320002 TID:33f0002 D3DMQA: Creating Direct3D
device
4294891915 PID:3320002 TID:33f0002 D3DMQA: Beginning
ExecuteCullTest.
4294891917 PID:3320002 TID:33f0002 Exception 'Access Violation' (14):
Thread-Id=033f0002(pth=884efdfc), Proc-Id=03320002(pprc=884bb0e4)
'tux.exe', VM-active=03320002(pprc=884bb0e4) 'tux.exe'
4294891917 PID:3320002 TID:33f0002 PC=406a6a57(d3dmref.dll+0x00016a57)
RA=406a6693(d3dmref.dll+0x00016693) SP=1008eb44, BVA=d3b51200

Thanks,
Vikas

Re: D3DM Comparison Test raises exception in D3DMREF.DLL by Louis

Louis
Wed Jun 18 15:27:32 PDT 2008

This looks like a problem between the reference driver and the DDraw driver.
The reference driver uses a system-memory DDraw surface and assumes that the
lXPitch is the same as the pixel size (so non-rotated). The system memory
surface also needs to be writable by apps.

Have you run the DDrawTK to verify the DDraw driver is working properly?

--
Louis Clausen
Software Design Engineer in Test
Windows Devices Core Multimedia

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
"Vikas" <vikasmpatil@gmail.com> wrote in message
news:17369852-6755-461f-a39d-f743c28216e1@z24g2000prf.googlegroups.com...
> On Jun 18, 5:59 am, "Louis Clausen" <loui...@online.microsoft.com>
> wrote:
>> Can you run this with a debugger attached and get the exception's debug
>> output and the callstack? This would greatly help us determine what's
>> going
>> on.
>>
>> --
>> Louis Clausen
>> Software Design Engineer in Test
>> Windows Devices Core Multimedia
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> You assume all risk for your use."Vikas" <vikasmpa...@gmail.com> wrote in
>> message
>>
>> news:09f302dd-c923-4f91-9bdc-d03e00c33b1a@h1g2000prh.googlegroups.com...
>>
>> > Hi All,
>>
>> > While running the D3DM Comparison Test on WinCE 6.0 CEPC I am getting
>> > the exception in D3DMREF.DLL.
>> > I have build my OS design with the SYSGEN_D3DM, SYSGEN_D3DMREF
>> > variables enabled and also included the D3DM driver under test.
>>
>> > I am running the test with the following command and I also tried with
>> > various option available.
>> > RUN tux -o -d d3dm_drivercomp.dll -c "/t1 /e1 /i -c \Release
>> > \D3DMDumpsE1\"
>>
>> > Is there anything I am missing or I need to include in OS support (I
>> > have also included the dependencies mentioned in MSDN WINCETK help).
>>
>> > Does anyone here face the same problem? How can I pass this test?
>>
>> > Test log:
>>
>> > *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
>> > *** TEST STARTING
>> > ***
>> > *** Test Name: (CullTest) D3DMCULL_NONE Test; X-Axis Rotation
>> > Step #1
>> > *** Test ID: 0
>> > *** Library Path: \release\d3dm_drivercomp.dll
>> > *** Command Line: /t1 /e1 /i -c \Release\D3DMDumpsE1\
>> > *** Kernel Mode: No
>> > *** Random Seed: 1572
>> > *** Thread Count: 1
>> > ***
>> > vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
>> > D3DMQA: ShellProc(SPM_BEGIN_TEST, ...) called
>> > BEGIN TEST: "(CullTest) D3DMCULL_NONE Test; X-Axis Rotation Step
>> > #1", Threads=1, Seed=1572
>> > D3DMQA: Creating D3DM object.
>> > D3DMQA: Getting adapter display mode
>> > D3DMQA: Creating Direct3D device
>> > D3DMQA: Beginning ExecuteCullTest.
>> > D3DMQA: Capturing window client extents
>> > D3DMQA: Capture extent rectangle: (top: 99, left: 128, right:
>> > 192, bottom: 163)
>> > D3DMQA: HDC dumped to \Release
>> > \D3DMDumpsE1\TSTDRV_TESTCASE0000_FRAME0000.BMP.
>> > D3DMQA: Creating D3DM object.
>> > D3DMQA: Loading driver: D3DMREF.DLL
>> > D3DMQA: Getting adapter display mode
>> > D3DMQA: Creating Direct3D device
>> > D3DMQA: Beginning ExecuteCullTest.
>>
>> > Hoping for reply soon. Thanks in advance.
>>
>> > Thanks,
>> > Vikas
>
> Hi Louis,
>
> Thanks for looking into the issue. here is the Output from WinCE debug
> window and Call satck
>
> Call Stack:
>
> Call Stack: tux.exe: 0x033F0002 10:44:08 06/18/2008 India Standard
> Time
> D3DMREF!RDRenderTarget::Clear(RDColor {...}, _D3DM_CLEAR *
> 0x10090014) line 416 + 7 bytes
> D3DMREF!RefDev::Clear(_D3DM_COMMAND * 0x10090010) line 308
> D3DMREF!RefDev::ProcessCommand(_D3DM_COMMAND * * 0x1008ec88)
> line 224 + 12 bytes
> D3DMREF!RefRastDrawPrimitive(_D3DM_DRAWPRIMITIVE_DATA *
> 0x1008eca8) line 76 + 12 bytes
> D3DM!CCommandBuffer::Flush(const CContext * 0x10074390) line 148
> + 14 bytes
> D3DM!CSwapChain::Present(const tagRECT * 0x00000000, const
> tagRECT * 0x00000000, HWND__ * 0x00000000, const _RGNDATA *
> 0x00000000) line 573 + 12 bytes
> D3DM!CDevice::Present(const tagRECT * 0x00000000, const tagRECT *
> 0x00000000, HWND__ * 0x00000000, const _RGNDATA * 0x00000000) line
> 665 + 44 bytes
> D3DM_DRIVERCOMP!CullPrimTest(_TESTCASEARGS * 0x1008eea4) line
> 160 + 22 bytes
> D3DM_DRIVERCOMP!DriverCompTest::ExecuteCullTest(unsigned long
> 0x00000000, unsigned int * 0x1008f350, _FRAMEDESCRIPTION * *
> 0x1008f358) line 242 + 9 bytes
> D3DM_DRIVERCOMP!TuxTest(unsigned int 0x00000065, unsigned long *
> 0x1008fc4c, _FUNCTION_TABLE_ENTRY * 0x4061fa1c) line 774 + 23 bytes
> TUX!CTest::SendTestProcMsg(unsigned int 0x00000065, unsigned long
> * 0x1008fc4c, unsigned int 0x0000000c, _FUNCTION_TABLE_ENTRY *
> 0x4061fa1c) line 2627 + 32 bytes
> TUX!CTest::Execute(_TPS_EXECUTE * 0x1008fc4c) line 2653
> TUX!CSuite::ExecuteThread() line 846 + 21 bytes
> TUX!CSuite::StaticExecuteThread(void * 0x100210d0) line 144
> COREDLL!ThreadBaseFunc(unsigned long (void *)* 0x0001be70, void *
> 0x100210d0) line 1096 + 7 bytes
> End Call Stack: tux.exe: 0x033F0002 10:44:08 06/18/2008 India
> Standard Time
>
> Output From Debug:
>
> Run Programs s tux -o -d d3dm_drivercomp.dll -c "/t1 /e1 /i -c \Release
> \D3DMDumpsE1\"
> 4294870206 PID:400002 TID:3330002 RELFSD: Opening file tux.exe from
> desktop
> 4294871082 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
> 'coredll.dll' (0x8F6FA630) at address 0x40010000-0x400BC000 in Process
> 'tux.exe' (0x884BB0E4)
> 4294871229 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
> 'tux.exe' (0x884BB0E4) at address 0x00010000-0x00026000 in Process
> 'tux.exe' (0x884BB0E4)
> PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
> \MBXREFPCI\RELDIR\CEPC_X86_DEBUG\TUX.EXE'
> s tux -o -d d3dm_drivercomp.dll -c "/t1 /e1 /i -c \Release
> \D3DMDumpsE1\" 10:39:45 06/18/2008 India Standard Time
> End s tux -o -d d3dm_drivercomp.dll -c "/t1 /e1 /i -c \Release
> \D3DMDumpsE1\" 10:39:45 06/18/2008 India Standard Time
>
> 4294871666 PID:3320002 TID:3330002 Heap Statistics at 0x400A1768
> 4294871826 PID:400002 TID:3330002 RELFSD: Opening file KATO.DLL from
> desktop
> 4294871992 PID:400002 TID:3330002 OSAXST1: >>> Loading Module
> 'kato.dll' (0x884FAA48) at address 0x40540000-0x40548000 in Process
> 'NK.EXE' (0x80E13C80)
> PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
> \MBXREFPCI\RELDIR\CEPC_X86_DEBUG\KATO.DLL'
> 4294872145 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
> 'kato.dll' (0x884FAA48) at address 0x40540000-0x40548000 in Process
> 'tux.exe' (0x884BB0E4)
> 4294872327 PID:400002 TID:3330002 RELFSD: Opening file
> d3dm_drivercomp.dll from desktop
> 4294885090 PID:400002 TID:3330002 OSAXST1: >>> Loading Module
> 'd3dm_drivercomp.dll' (0x88536000) at address 0x40550000-0x4066D000 in
> Process 'NK.EXE' (0x80E13C80)
> PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
> \MBXREFPCI\RELDIR\CEPC_X86_DEBUG\D3DM_DRIVERCOMP.DLL'
> 4294885245 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
> 'd3dm_drivercomp.dll' (0x88536000) at address 0x40550000-0x4066D000 in
> Process 'tux.exe' (0x884BB0E4)
> 4294885378 PID:400002 TID:3330002 RELFSD: Opening file QAD3DMX.dll
> from desktop
> 4294885441 PID:400002 TID:3330002 OSAXST1: >>> Loading Module
> 'qad3dmx.dll' (0x8853615C) at address 0x40670000-0x40675000 in Process
> 'NK.EXE' (0x80E13C80)
> PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
> \MBXREFPCI\RELDIR\CEPC_X86_DEBUG\QAD3DMX.DLL'
> 4294885455 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
> 'qad3dmx.dll' (0x8853615C) at address 0x40670000-0x40675000 in Process
> 'tux.exe' (0x884BB0E4)
> 4294885587 PID:400002 TID:3330002 RELFSD: Opening file
> D3DMImageManagement.dll from desktop
> 4294885790 PID:400002 TID:3330002 OSAXST1: >>> Loading Module
> 'd3dmimagemanagement.dll' (0x885362F8) at address
> 0x40680000-0x40687000 in Process 'NK.EXE' (0x80E13C80)
> PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
> \MBXREFPCI\RELDIR\CEPC_X86_DEBUG\D3DMIMAGEMANAGEMENT.DLL'
> 4294885801 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
> 'd3dmimagemanagement.dll' (0x885362F8) at address
> 0x40680000-0x40687000 in Process 'tux.exe' (0x884BB0E4)
> 4294885807 PID:3320002 TID:3330002 D3DMQA:
> ShellProc(SPM_LOAD_DLL, ...) called
> 4294885807 PID:3320002 TID:3330002 D3DMQA: D3DMImageManagement.dll:
> New debug logger set: 40682C30
> 4294885807 PID:3320002 TID:3330002 D3DMQA:
> ShellProc(SPM_SHELL_INFO, ...) called
> 4294885807 PID:3320002 TID:3330002 D3DMQA:
> ShellProc(SPM_REGISTER, ...) called
> PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
> \MBXREFPCI\RELDIR\CEPC_X86_DEBUG\D3DM.DLL'
> 4294885841 PID:3320002 TID:3330002 <TESTGROUP>
> 4294885841 PID:3320002 TID:3330002
> 4294885841 PID:3320002 TID:3330002 ***
> ==================================================================
> 4294885841 PID:3320002 TID:3330002 *** SUITE INFORMATION
> 4294885841 PID:3320002 TID:3330002 ***
> 4294885841 PID:3320002 TID:3330002 *** Suite Name: N/A (built
> on the fly)
> 4294885841 PID:3320002 TID:3330002 *** Suite Description: N/A
> 4294885841 PID:3320002 TID:3330002 *** Number of Tests: 3209
> 4294885841 PID:3320002 TID:3330002 ***
> ==================================================================
> 4294885841 PID:3320002 TID:3330002
> 4294885842 PID:3320002 TID:3330002 ***
> ==================================================================
> 4294885842 PID:3320002 TID:3330002 *** SYSTEM INFORMATION
> 4294885842 PID:3320002 TID:3330002 ***
> 4294885842 PID:3320002 TID:3330002 *** Date and Time:
> 06/18/2008 10:46 AM (Wednesday)
> 4294885842 PID:3320002 TID:3330002 ***
> 4294885842 PID:400002 TID:3330002 WARN:
> OALIoCtlHalGetDeviceinfo::SPI_GETBOOTMENAME: Buffer too small
> 4294885842 PID:3320002 TID:3330002 *** Device Name:
> CEPC1115
> 4294885843 PID:3320002 TID:3330002 ***
> 4294885844 PID:3320002 TID:3330002 *** OS Version: 6.00
> 4294885844 PID:3320002 TID:3330002 *** Build Number: 1937
> 4294885844 PID:3320002 TID:3330002 *** Platform ID: 3
> "Windows CE"
> 4294885844 PID:3320002 TID:3330002 *** Version String: ""
> 4294885844 PID:3320002 TID:3330002 ***
> 4294885844 PID:3320002 TID:3330002 *** Processor Type:
> 0x000002AE (686) "Intel Pentium II"
> 4294885844 PID:3320002 TID:3330002 *** Processor Architecture:
> 0x0000 (0) "Intel"
> 4294885844 PID:3320002 TID:3330002 *** Page Size:
> 0x00001000 (4,096)
> 4294885844 PID:3320002 TID:3330002 *** Minimum App Address:
> 0x00010000 (65,536)
> 4294885844 PID:3320002 TID:3330002 *** Maximum App Address:
> 0x7FFFFFFF (2,147,483,647)
> 4294885844 PID:3320002 TID:3330002 *** Active Processor Mask:
> 0x00000001
> 4294885844 PID:3320002 TID:3330002 *** Number Of Processors: 1
> 4294885844 PID:3320002 TID:3330002 *** Allocation Granularity:
> 0x00010000 (65,536)
> 4294885844 PID:3320002 TID:3330002 *** Processor Level:
> 0x0006 (6)
> PB Debugger Unloaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
> \MBXREFPCI\RELDIR\CEPC_X86_DEBUG\D3DM.DLL'
> 4294885844 PID:3320002 TID:3330002 *** Processor Revision:
> 0x0005 (5)
> 4294885845 PID:3320002 TID:3330002 ***
> ==================================================================
> 4294885845 PID:3320002 TID:3330002
> 4294885845 PID:3320002 TID:3330002 ***
> ==================================================================
> 4294885845 PID:3320002 TID:3330002 *** MEMORY INFO
> PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
> \MBXREFPCI\RELDIR\CEPC_X86_DEBUG\D3DM.DLL'
> 4294885845 PID:3320002 TID:3330002 ***
> 4294885845 PID:3320002 TID:3330002 *** Memory Total: 122,019,840
> bytes
> 4294885845 PID:3320002 TID:3330002 *** Memory Used: 9,117,696
> bytes
> 4294885845 PID:3320002 TID:3330002 *** Memory Free: 112,902,144
> bytes
> 4294885845 PID:3320002 TID:3330002 ***
> 4294885845 PID:3320002 TID:3330002 *** Kernel Used: 188,416
> bytes
> 4294885846 PID:3320002 TID:3330002 *** Water Mark: 27,564
> pages
> 4294885846 PID:3320002 TID:3330002 ***
> 4294885846 PID:3320002 TID:3330002 *** Store Total: 121,856,000
> bytes
> 4294885846 PID:3320002 TID:3330002 *** Store Used: 57,344
> bytes
> 4294885846 PID:3320002 TID:3330002 *** Store Free: 121,798,656
> bytes
> 4294885846 PID:3320002 TID:3330002 ***
> ==================================================================
> 4294885846 PID:3320002 TID:3330002
> 4294885848 PID:3320002 TID:3330002 D3DMQA:
> ShellProc(SPM_START_SCRIPT, ...) called
> 4294885848 PID:3320002 TID:3330002 D3DMQA:
> ShellProc(SPM_BEGIN_GROUP, ...) called
> 4294885848 PID:3320002 TID:3330002 BEGIN GROUP: TUXTEST.DLL
> 4294885848 PID:3320002 TID:3330002 <TESTCASE ID=0>
> 4294885848 PID:3320002 TID:3330002 ***
> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> 4294885848 PID:3320002 TID:3330002 *** TEST STARTING
> 4294885848 PID:3320002 TID:3330002 ***
> 4294885848 PID:3320002 TID:3330002 *** Test Name: (CullTest)
> D3DMCULL_NONE Test; X-Axis Rotation Step #1
> 4294885848 PID:3320002 TID:3330002 *** Test ID: 0
> 4294885848 PID:3320002 TID:3330002 *** Library Path: \release
> \d3dm_drivercomp.dll
> 4294885848 PID:3320002 TID:3330002 *** Command Line: /t1 /e1 /i -
> c \Release\D3DMDumpsE1\
> 4294885848 PID:3320002 TID:3330002 *** Kernel Mode: No
> 4294885848 PID:3320002 TID:3330002 *** Random Seed: 28952
> 4294885848 PID:3320002 TID:3330002 *** Thread Count: 1
> 4294885848 PID:3320002 TID:3330002 ***
> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> 4294885848 PID:3320002 TID:3330002 D3DMQA:
> ShellProc(SPM_BEGIN_TEST, ...) called
> 4294885848 PID:3320002 TID:3330002 BEGIN TEST: "(CullTest)
> D3DMCULL_NONE Test; X-Axis Rotation Step #1", Threads=1, Seed=28952
> 4294885849 PID:3320002 TID:33f0002 D3DMQA: Creating D3DM object.
> 4294885911 PID:400002 TID:33f0002 RELFSD: Aborting CreateFile of
> D3DM.DLL since module was found in rom
> 4294885911 PID:400002 TID:33f0002 OSAXST1: >>> Loading Module
> 'd3dm.dll' (0x8853681C) at address 0x404D0000-0x40511000 in Process
> 'NK.EXE' (0x80E13C80)
> 4294885924 PID:3320002 TID:33f0002 OSAXST1: >>> Loading Module
> 'd3dm.dll' (0x8853681C) at address 0x404D0000-0x40511000 in Process
> 'tux.exe' (0x884BB0E4)
> 4294886612 PID:3320002 TID:33f0002 Direct3D Mobile Debug Middleware in
> use.
> 4294886612 PID:400002 TID:33f0002 AddToProcessInputLocaleTable: Added
> process to ProcessInputLocale table, hProcess = 0x03320002
> 4294886612 PID:400002 TID:33f0002 Grow Gdi handle table from 256 to
> 320
> 4294886681 PID:3320002 TID:33f0002 D3DMQA: Getting adapter
> display mode
> 4294886682 PID:3320002 TID:33f0002 D3DMQA: Creating Direct3D
> device
> 4294886717 PID:3320002 TID:33f0002 D3DMQA: Beginning
> ExecuteCullTest.
> 4294886806 PID:3320002 TID:33f0002 D3DMQA: Capturing window
> client extents
> 4294886806 PID:3320002 TID:33f0002 D3DMQA: Capture extent
> rectangle: (top: 99, left: 128, right: 192, bottom: 163)
> 4294887128 PID:400002 TID:33f0002 RELFSD: Opening file
> D3DMDumpsE1\TSTDRV_TESTCASE0000_FRAME0000.BMP from desktop
> 4294887132 PID:3320002 TID:33f0002 D3DMQA: HDC dumped to \Release
> \D3DMDumpsE1\TSTDRV_TESTCASE0000_FRAME0000.BMP.
> PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
> \MBXREFPCI\RELDIR\CEPC_X86_DEBUG\D3DMREF.DLL'
> PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
> \MBXREFPCI\RELDIR\CEPC_X86_DEBUG\DDRAW.DLL'
> 4294887233 PID:400002 TID:33f0002 ERROR: C:\ymzki\private\winceos
> \COREOS\gwe\winmgr\wmbase\.\wmbase.cpp line 655:
> 4294887233 PID:400002 TID:33f0002 CreateWindow failed: Could not find
> class=DummyWindow
> 4294887233 PID:3320002 TID:33f0002 Leaked D3DM Object : Vertex
> buffer, 0x10074CE4
> 4294887299 PID:3320002 TID:33f0002 OSAXST1: <<< Unloading Module
> 'd3dm.dll' (0x8853681C) at address 0x404D0000-0x40511000 in Process
> 'tux.exe' (0x884BB0E4)
> 4294887304 PID:3320002 TID:33f0002 OSAXST1: <<< Unloading Module
> 'd3dm.dll' (0x8853681C) at address 0x404D0000-0x40511000 in Process
> 'tux.exe' (0x884BB0E4)
> 4294887315 PID:3320002 TID:33f0002 D3DMQA: Creating D3DM object.
> 4294887389 PID:400002 TID:33f0002 RELFSD: Aborting CreateFile of
> D3DM.DLL since module was found in rom
> 4294887389 PID:400002 TID:33f0002 OSAXST1: >>> Loading Module
> 'd3dm.dll' (0x8853681C) at address 0x404D0000-0x40511000 in Process
> 'NK.EXE' (0x80E13C80)
> 4294887404 PID:3320002 TID:33f0002 OSAXST1: >>> Loading Module
> 'd3dm.dll' (0x8853681C) at address 0x404D0000-0x40511000 in Process
> 'tux.exe' (0x884BB0E4)
> 4294888154 PID:3320002 TID:33f0002 Direct3D Mobile Debug Middleware in
> use.
> 4294888221 PID:3320002 TID:33f0002 D3DMQA: Loading driver:
> D3DMREF.DLL
> 4294888457 PID:400002 TID:33f0002 RELFSD: Opening file D3DMREF.DLL
> from desktop
> 4294890685 PID:400002 TID:2fe0002 ERROR: C:\ymzki\private\winceos
> \COREOS\gwe\winmgr\wmbase\.\wbase.cpp line 1325:
> 4294890685 PID:400002 TID:2fe0002 !bFound, etc.
> 4294891129 PID:400002 TID:33f0002 OSAXST1: >>> Loading Module
> 'd3dmref.dll' (0x88536C78) at address 0x40690000-0x406CC000 in Process
> 'NK.EXE' (0x80E13C80)
> 4294891144 PID:3320002 TID:33f0002 OSAXST1: >>> Loading Module
> 'd3dmref.dll' (0x88536C78) at address 0x40690000-0x406CC000 in Process
> 'tux.exe' (0x884BB0E4)
> 4294891211 PID:400002 TID:33f0002 RELFSD: Aborting CreateFile of
> DDRAW.dll since module was found in rom
> 4294891211 PID:400002 TID:33f0002 OSAXST1: >>> Loading Module
> 'ddraw.dll' (0x88536AF8) at address 0x404B0000-0x404C6000 in Process
> 'NK.EXE' (0x80E13C80)
> 4294891227 PID:3320002 TID:33f0002 OSAXST1: >>> Loading Module
> 'ddraw.dll' (0x88536AF8) at address 0x404B0000-0x404C6000 in Process
> 'tux.exe' (0x884BB0E4)
> 4294891910 PID:3320002 TID:33f0002 DirectDraw Debug Runtime in use.
> 4294891910 PID:3320002 TID:33f0002 D3DMQA: Getting adapter
> display mode
> 4294891912 PID:3320002 TID:33f0002 GWES Hook fails to retrieve
> driver's device identifier. IDirectDraw::GetDeviceIdentifier fails.
> 4294891912 PID:3320002 TID:33f0002 D3DMQA: Creating Direct3D
> device
> 4294891915 PID:3320002 TID:33f0002 D3DMQA: Beginning
> ExecuteCullTest.
> 4294891917 PID:3320002 TID:33f0002 Exception 'Access Violation' (14):
> Thread-Id=033f0002(pth=884efdfc), Proc-Id=03320002(pprc=884bb0e4)
> 'tux.exe', VM-active=03320002(pprc=884bb0e4) 'tux.exe'
> 4294891917 PID:3320002 TID:33f0002 PC=406a6a57(d3dmref.dll+0x00016a57)
> RA=406a6693(d3dmref.dll+0x00016693) SP=1008eb44, BVA=d3b51200
>
> Thanks,
> Vikas


Re: D3DM Comparison Test raises exception in D3DMREF.DLL by Vikas

Vikas
Mon Jun 23 20:54:37 PDT 2008

On Jun 19, 3:27 am, "Louis Clausen" <loui...@online.microsoft.com>
wrote:
> This looks like a problem between the reference driver and the DDraw driv=
er.
> The reference driver uses a system-memory DDraw surface and assumes that =
the
> lXPitch is the same as the pixel size (so non-rotated). The system memory
> surface also needs to be writable by apps.
>
> Have you run the DDrawTK to verify the DDraw driver is working properly?
>
> --
> Louis Clausen
> Software Design Engineer in Test
> Windows Devices Core Multimedia
>
> This posting is provided "AS IS" with no warranties, and confers no right=
s.
> You assume all risk for your use."Vikas" <vikasmpa...@gmail.com> wrote in=
message
>
> news:17369852-6755-461f-a39d-f743c28216e1@z24g2000prf.googlegroups.com...
>
> > On Jun 18, 5:59 am, "Louis Clausen" <loui...@online.microsoft.com>
> > wrote:
> >> Can you run this with a debugger attached and get the exception's debu=
g
> >> output and the callstack? This would greatly help us determine what's
> >> going
> >> on.
>
> >> --
> >> Louis Clausen
> >> Software Design Engineer in Test
> >> Windows Devices Core Multimedia
>
> >> This posting is provided "AS IS" with no warranties, and confers no
> >> rights.
> >> You assume all risk for your use."Vikas" <vikasmpa...@gmail.com> wrote=
in
> >> message
>
> >>news:09f302dd-c923-4f91-9bdc-d03e00c33b1a@h1g2000prh.googlegroups.com..=
.
>
> >> > Hi All,
>
> >> > While running the D3DM Comparison Test on WinCE 6.0 CEPC I am gettin=
g
> >> > the exception in D3DMREF.DLL.
> >> > I have build my OS design with the SYSGEN_D3DM, SYSGEN_D3DMREF
> >> > variables enabled and also included the D3DM driver under test.
>
> >> > I am running the test with the following command and I also tried wi=
th
> >> > various option available.
> >> > RUN tux -o -d d3dm_drivercomp.dll -c "/t1 /e1 /i -c \Release
> >> > \D3DMDumpsE1\"
>
> >> > Is there anything I am missing or I need to include in OS support (I
> >> > have also included the dependencies mentioned in MSDN WINCETK help)=
.
>
> >> > Does anyone here face the same problem? How can I pass this test?
>
> >> > Test log:
>
> >> > *** vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv=
vv
> >> > *** TEST STARTING
> >> > ***
> >> > *** Test Name: (CullTest) D3DMCULL_NONE Test; X-Axis Rotation
> >> > Step #1
> >> > *** Test ID: 0
> >> > *** Library Path: \release\d3dm_drivercomp.dll
> >> > *** Command Line: /t1 /e1 /i -c \Release\D3DMDumpsE1\
> >> > *** Kernel Mode: No
> >> > *** Random Seed: 1572
> >> > *** Thread Count: 1
> >> > ***
> >> > vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> >> > D3DMQA: ShellProc(SPM_BEGIN_TEST, ...) called
> >> > BEGIN TEST: "(CullTest) D3DMCULL_NONE Test; X-Axis Rotation Step
> >> > #1", Threads=3D1, Seed=3D1572
> >> > D3DMQA: Creating D3DM object.
> >> > D3DMQA: Getting adapter display mode
> >> > D3DMQA: Creating Direct3D device
> >> > D3DMQA: Beginning ExecuteCullTest.
> >> > D3DMQA: Capturing window client extents
> >> > D3DMQA: Capture extent rectangle: (top: 99, left: 128, right:
> >> > 192, bottom: 163)
> >> > D3DMQA: HDC dumped to \Release
> >> > \D3DMDumpsE1\TSTDRV_TESTCASE0000_FRAME0000.BMP.
> >> > D3DMQA: Creating D3DM object.
> >> > D3DMQA: Loading driver: D3DMREF.DLL
> >> > D3DMQA: Getting adapter display mode
> >> > D3DMQA: Creating Direct3D device
> >> > D3DMQA: Beginning ExecuteCullTest.
>
> >> > Hoping for reply soon. Thanks in advance.
>
> >> > Thanks,
> >> > Vikas
>
> > Hi Louis,
>
> > Thanks for looking into the issue. here is the Output from WinCE debug
> > window and Call satck
>
> > Call Stack:
>
> > Call Stack: tux.exe: 0x033F0002 10:44:08 06/18/2008 India Standard
> > Time
> > D3DMREF!RDRenderTarget::Clear(RDColor {...}, _D3DM_CLEAR *
> > 0x10090014) line 416 + 7 bytes
> > D3DMREF!RefDev::Clear(_D3DM_COMMAND * 0x10090010) line 308
> > D3DMREF!RefDev::ProcessCommand(_D3DM_COMMAND * * 0x1008ec88)
> > line 224 + 12 bytes
> > D3DMREF!RefRastDrawPrimitive(_D3DM_DRAWPRIMITIVE_DATA *
> > 0x1008eca8) line 76 + 12 bytes
> > D3DM!CCommandBuffer::Flush(const CContext * 0x10074390) line 148
> > + 14 bytes
> > D3DM!CSwapChain::Present(const tagRECT * 0x00000000, const
> > tagRECT * 0x00000000, HWND__ * 0x00000000, const _RGNDATA *
> > 0x00000000) line 573 + 12 bytes
> > D3DM!CDevice::Present(const tagRECT * 0x00000000, const tagRECT *
> > 0x00000000, HWND__ * 0x00000000, const _RGNDATA * 0x00000000) line
> > 665 + 44 bytes
> > D3DM_DRIVERCOMP!CullPrimTest(_TESTCASEARGS * 0x1008eea4) line
> > 160 + 22 bytes
> > D3DM_DRIVERCOMP!DriverCompTest::ExecuteCullTest(unsigned long
> > 0x00000000, unsigned int * 0x1008f350, _FRAMEDESCRIPTION * *
> > 0x1008f358) line 242 + 9 bytes
> > D3DM_DRIVERCOMP!TuxTest(unsigned int 0x00000065, unsigned long *
> > 0x1008fc4c, _FUNCTION_TABLE_ENTRY * 0x4061fa1c) line 774 + 23 bytes
> > TUX!CTest::SendTestProcMsg(unsigned int 0x00000065, unsigned long
> > * 0x1008fc4c, unsigned int 0x0000000c, _FUNCTION_TABLE_ENTRY *
> > 0x4061fa1c) line 2627 + 32 bytes
> > TUX!CTest::Execute(_TPS_EXECUTE * 0x1008fc4c) line 2653
> > TUX!CSuite::ExecuteThread() line 846 + 21 bytes
> > TUX!CSuite::StaticExecuteThread(void * 0x100210d0) line 144
> > COREDLL!ThreadBaseFunc(unsigned long (void *)* 0x0001be70, void *
> > 0x100210d0) line 1096 + 7 bytes
> > End Call Stack: tux.exe: 0x033F0002 10:44:08 06/18/2008 India
> > Standard Time
>
> > Output From Debug:
>
> > Run Programs s tux -o -d d3dm_drivercomp.dll -c "/t1 /e1 /i -c \Release
> > \D3DMDumpsE1\"
> > 4294870206 PID:400002 TID:3330002 RELFSD: Opening file tux.exe from
> > desktop
> > 4294871082 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
> > 'coredll.dll' (0x8F6FA630) at address 0x40010000-0x400BC000 in Process
> > 'tux.exe' (0x884BB0E4)
> > 4294871229 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
> > 'tux.exe' (0x884BB0E4) at address 0x00010000-0x00026000 in Process
> > 'tux.exe' (0x884BB0E4)
> > PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
> > \MBXREFPCI\RELDIR\CEPC_X86_DEBUG\TUX.EXE'
> > s tux -o -d d3dm_drivercomp.dll -c "/t1 /e1 /i -c \Release
> > \D3DMDumpsE1\" 10:39:45 06/18/2008 India Standard Time
> > End s tux -o -d d3dm_drivercomp.dll -c "/t1 /e1 /i -c \Release
> > \D3DMDumpsE1\" 10:39:45 06/18/2008 India Standard Time
>
> > 4294871666 PID:3320002 TID:3330002 Heap Statistics at 0x400A1768
> > 4294871826 PID:400002 TID:3330002 RELFSD: Opening file KATO.DLL from
> > desktop
> > 4294871992 PID:400002 TID:3330002 OSAXST1: >>> Loading Module
> > 'kato.dll' (0x884FAA48) at address 0x40540000-0x40548000 in Process
> > 'NK.EXE' (0x80E13C80)
> > PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
> > \MBXREFPCI\RELDIR\CEPC_X86_DEBUG\KATO.DLL'
> > 4294872145 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
> > 'kato.dll' (0x884FAA48) at address 0x40540000-0x40548000 in Process
> > 'tux.exe' (0x884BB0E4)
> > 4294872327 PID:400002 TID:3330002 RELFSD: Opening file
> > d3dm_drivercomp.dll from desktop
> > 4294885090 PID:400002 TID:3330002 OSAXST1: >>> Loading Module
> > 'd3dm_drivercomp.dll' (0x88536000) at address 0x40550000-0x4066D000 in
> > Process 'NK.EXE' (0x80E13C80)
> > PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
> > \MBXREFPCI\RELDIR\CEPC_X86_DEBUG\D3DM_DRIVERCOMP.DLL'
> > 4294885245 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
> > 'd3dm_drivercomp.dll' (0x88536000) at address 0x40550000-0x4066D000 in
> > Process 'tux.exe' (0x884BB0E4)
> > 4294885378 PID:400002 TID:3330002 RELFSD: Opening file QAD3DMX.dll
> > from desktop
> > 4294885441 PID:400002 TID:3330002 OSAXST1: >>> Loading Module
> > 'qad3dmx.dll' (0x8853615C) at address 0x40670000-0x40675000 in Process
> > 'NK.EXE' (0x80E13C80)
> > PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
> > \MBXREFPCI\RELDIR\CEPC_X86_DEBUG\QAD3DMX.DLL'
> > 4294885455 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
> > 'qad3dmx.dll' (0x8853615C) at address 0x40670000-0x40675000 in Process
> > 'tux.exe' (0x884BB0E4)
> > 4294885587 PID:400002 TID:3330002 RELFSD: Opening file
> > D3DMImageManagement.dll from desktop
> > 4294885790 PID:400002 TID:3330002 OSAXST1: >>> Loading Module
> > 'd3dmimagemanagement.dll' (0x885362F8) at address
> > 0x40680000-0x40687000 in Process 'NK.EXE' (0x80E13C80)
> > PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
> > \MBXREFPCI\RELDIR\CEPC_X86_DEBUG\D3DMIMAGEMANAGEMENT.DLL'
> > 4294885801 PID:3320002 TID:3330002 OSAXST1: >>> Loading Module
> > 'd3dmimagemanagement.dll' (0x885362F8) at address
> > 0x40680000-0x40687000 in Process 'tux.exe' (0x884BB0E4)
> > 4294885807 PID:3320002 TID:3330002 D3DMQA:
> > ShellProc(SPM_LOAD_DLL, ...) called
> > 4294885807 PID:3320002 TID:3330002 D3DMQA: D3DMImageManagement.dll:
> > New debug logger set: 40682C30
> > 4294885807 PID:3320002 TID:3330002 D3DMQA:
> > ShellProc(SPM_SHELL_INFO, ...) called
> > 4294885807 PID:3320002 TID:3330002 D3DMQA:
> > ShellProc(SPM_REGISTER, ...) called
> > PB Debugger Loaded symbols for 'D:\WINCE600\OSDESIGNS\MBXREFPCI
> > \MBXREFPCI\RELDIR\CEPC_X86_DEBUG\D3DM.DLL'
> > 4294885841 PID:3320002 TID:3330002 <TESTGROUP>
> > 4294885841 PID:3320002 TID:3330002
> > 4294885841 PID:3320002 TID:3330002 ***
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > 4294885841 PID:3320002 TID:3330002 *** SUITE INFORMATION
> > 4294885841 PID:3320002 TID:3330002 ***
> > 4294885841 PID:3320002 TID:3330002 *** Suite Name: N/A (built
> > on the fly)
> > 4294885841 PID:3320002 TID:3330002 *** Suite Description: N/A
> > 4294885841 PID:3320002 TID:3330002 *** Number of Tests: 3209
> > 4294885841 PID:3320002 TID:3330002 ***
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > 4294885841 PID:3320002 TID:3330002
> > 4294885842 PID:3320002 TID:3330002 ***
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > 4294885842 PID:3320002 TID:3330002 *** SYSTEM INFORMATION
> > 4294885842 PID:3320002 TID:3330002 ***
> > 4294885842 PID:3320002 TID:3330002 *** Date and Time:
> > 06/18/2008 10:46 AM (Wednesday)
> > 4294885842 PID:3320002 TID:3330002 ***
> > 4294885842 PID:400002 TID:3330002 WARN:
> > OALIoCtlHalGetDeviceinfo::SPI_GETBOOTMENAME: Buffer too small
> > 4294885842 PID:3320002 TID:3330002 *** Device Name:
> > CEPC1115
>
> ...
>
> read more =BB

Hi Louis,

Yes, i am not able to run ddrawtk test successfully. Test Case 102 is
not passing.
First i will look into that test and get back to u if any issue comes
up.

Thanks for your help!

Vikas