General Category > Ongoing Anim8or Development

New command line option -traceinit to initialization progress

<< < (2/2)

Trevor:
AHA!
I found out why an8 > 1103 doesnt load in HW mode.

--- Code: ---begin: InitInstance()
       creating main window.
       main window created.
       creating final OpenGL context.
       UsingDummyWindow = false.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 1).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 9.
begin: Draw3DOpenGL::CreateContext(pixelFormat = 9).
end:   Draw3DOpenGL::CreateContext() return value = 0x00010000.
       final OpenGL context created.
       creating child windows.
       child windows created.
call:  MakeCurrent(hdc, glContext).
       MakeCurrent() successful.
call:  theOpenGL->Initialize().
       theOpenGL->Initialize() successful.
begin: Draw3DOpenGL::ReadExtensions()
       GL_MAX_TEXTURE_SIZE = 2048.
       OpenGL version = 1.5.
       GL_MAX_SAMPLES_EXT = 7572332.
       determining actual maxSamplesPerPixel (failures OK).
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 2).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 60.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 3).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 61.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 4).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 61.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 5).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 62.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 6).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 62.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 7).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 8).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 9).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 10).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 11).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 12).
FAIL:  nNumFormats = 0.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 13).
...
...
...
...
And so on...
And so on...
--- End code ---

So, the GL_MAX_SAMPLES_EXT = 7572332. is clearly wrong and should be 7, not 7572332

Now, I guess to test this theorey I should waut untill it reaches this number ...
in fact I will... ... *waits Patiantly... Has dinner... Still waits*

Steve:
Fantastic! I'll clamp the number at 32 and post a quick update. You may have found the smoking gun!!!

Trevor:
YAY.

haha, aftewr 4 hrs its still loading...
its on 225200 at the moment moving at 20 a second

Trev

Steve:
Ha ha. It'll take approximately 5.6 days to finish!!!

If you don't want to wait next Saturday to run Anim8or, here's a quick drop with a patch to catch bad values. Le me know if it works and I'll make an official build. Please post the -traceinit log as well.

Build 1127+ dated November 10, 2014: http://www.anim8or.com/download/preview/files/animcl1127plus.zip

Thanks!

Trevor:
YAY it works :)


--- Code: ---begin: InitInstance()
       creating main window.
       main window created.
       Anim8or = 0.98a (build 1127 +) 10-Nov-14.
       OS = Windows 98 SE  A  (4.10) build 67766446.
       CPU = x86 Intel Pentium model 2 stepping 7.
       creating final OpenGL context.
       UsingDummyWindow = false.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 1).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 9.
begin: Draw3DOpenGL::CreateContext(pixelFormat = 9).
end:   Draw3DOpenGL::CreateContext() return value = 0x00010000.
       final OpenGL context created.
       creating child windows.
       child windows created.
call:  MakeCurrent(hdc, glContext).
       MakeCurrent() successful.
call:  theOpenGL->Initialize().
       theOpenGL->Initialize() successful.
begin: Draw3DOpenGL::ReadExtensions()
       OpenGL vendor: ATI Technologies Inc.
       OpenGL renderer: RADEON 9700 PRO x86/SSE2
       OpenGL version: 1.5.4454 Win9x Release
       GL_MAX_TEXTURE_SIZE = 2048.
       OpenGL version = 1.5.
       GL_MAX_SAMPLES_EXT = 7572380.
WARNING! excessive value for GL_MAX_SAMPLES_EXT, clamped to 32.
       determining actual maxSamplesPerPixel.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 2).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 60.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 3).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 61.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 4).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 61.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 5).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 62.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 6).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = 62.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 7).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 8).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 9).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 10).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 11).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 12).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 13).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 14).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 15).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 16).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 17).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 18).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 19).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 20).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 21).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 22).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 23).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 24).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 25).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 26).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 27).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 28).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 29).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 30).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 31).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
begin: Draw3DOpenGL::ChoosePixelFormat(samples = 32).
end:   Draw3DOpenGL::ChoosePixelFormat() return value = -1.
       maxSamplesPerPixel = 6.
end:   Draw3DOpenGL::ReadExtensions()
call:  MakeCurrent(hdc, NULL).
end:   InitInstance().
--- End code ---

Trev

Navigation

[0] Message Index

[*] Previous page

Go to full version