OcDS UPDATE v1.0.111.2158 - OUTDATED

DAZ Studio Integrated Plugin (Integrated Plugin maintained by OTOY)

Moderator: BK

Forum rules
Please keep character renders sensibly modest, please do not post sexually explicit scenes of characters.
User avatar
TakashiKurashima
Licensed Customer
Posts: 10
Joined: Sun Mar 31, 2013 2:02 am
Contact:

Hmmm, in my environment, OcDS inhibits the D|S scene initialization always.

<OcDS plugin on, restart D|S>
<D|S Start>

....
Fragment Shader:
Fragment Shader compiled successfully.
Linking Shader:
Fragment info
-------------
0(29) : warning C7050: "_rgb" might be used before being initialized
Shader Program successfully linked.

OctaneRender: Plugin started.

< at first, File-New scene >

*** Scene Cleared ***
Error occurred attempting to clear the scene

-----

<OcDS plugin off, restart D|S>
<D|S Start>

Compiling OpenGL Shader...
Fragment Shader:
Fragment Shader compiled successfully.
Linking Shader:
Fragment info
-------------
0(29) : warning C7050: "_rgb" might be used before being initialized
Shader Program successfully linked.

<at first, File-New scene >

*** Scene Cleared ***

--------

GPE does not occur If there are no objects in the scene, only error is reported in the log.
but it causes GPE with just only one "primitive sphere" in the scene.

If I do not load the file, I do not New scene, these errors do not occur, OcDS works smoothly.
I wonder if this is dependent on the some setting of OcDS.
I want you to tell me if there is a way to complete initialize OcDS setting.
User avatar
t_3
Posts: 2871
Joined: Tue Jul 05, 2011 5:37 pm

TakashiKurashima wrote:Hmmm, in my environment, OcDS inhibits the D|S scene initialization always.
*** Scene Cleared ***
Error occurred attempting to clear the scene
the only way to tell, if it is the plugin or something else would be to load scene files without the plugin turned on. after the error in the line above did occor, it won't run stable any longer.
TakashiKurashima wrote:If I do not load the file, I do not New scene, these errors do not occur, OcDS works smoothly.
yes, in this case DS doesn't do a scene clear - so this error does not occur (whatever is causing it); in addition the plugin does not need to clear the project and will just work.
TakashiKurashima wrote:I wonder if this is dependent on the some setting of OcDS.
not any i'm aware of. there were already other troubles, but not a scene clear error, which causes subsequent database errors. sorry to say, but this seems to be very specific to your setup ;)
TakashiKurashima wrote:I want you to tell me if there is a way to complete initialize OcDS setting.
it needs to run when DS calls for it (whenever "new" is selected, or whenever a scene is loaded). as this process is interrupted by an error, the octane data won't get correctly set up, and there is no way to do this later.

to somehow find out what happens, please do load scenes and clear scenes with "new" without the plugin. turn it off from the DS plugins dialog, or just temporarily remove the plugin dll from the plugins directory.

if the error on clear still shows up, it must be something else (of course). if not, i need to provide you a test version which does extensive logging of clear scene process, to see what or where it goes wrong...
The obvious is that which is never seen until someone expresses it simply

1x i7 2600K @5.0 (Asrock Z77), 16GB, 2x Asus GTX Titan 6GB @1200/3100/6200
2x i7 2600K @4.5 (P8Z68 -V P), 12GB, 1x EVGA GTX 580 3GB @0900/2200/4400
User avatar
TakashiKurashima
Licensed Customer
Posts: 10
Joined: Sun Mar 31, 2013 2:02 am
Contact:

You may tell the possibility of collision between the plug-ins, or other functional.

Well noted.
I try to create a clean DAZ Studio as much as possible, to eliminate the other plug-ins,
If I can find a plug-in that conflict with OcDS, I'll report it.

Regards.
User avatar
t_3
Posts: 2871
Joined: Tue Jul 05, 2011 5:37 pm

TakashiKurashima wrote:You may tell the possibility of collision between the plug-ins, or other functional.

Well noted.
I try to create a clean DAZ Studio as much as possible, to eliminate the other plug-ins,
If I can find a plug-in that conflict with OcDS, I'll report it.

Regards.
you don't need to put lots of effort into it! just turn the octane plugin off, try again to load a few scenes, klick "new", if the "error on clear" is gone, you don't need to look any further, as i need to do that from this point on ;)
The obvious is that which is never seen until someone expresses it simply

1x i7 2600K @5.0 (Asrock Z77), 16GB, 2x Asus GTX Titan 6GB @1200/3100/6200
2x i7 2600K @4.5 (P8Z68 -V P), 12GB, 1x EVGA GTX 580 3GB @0900/2200/4400
User avatar
TakashiKurashima
Licensed Customer
Posts: 10
Joined: Sun Mar 31, 2013 2:02 am
Contact:

I think I was able to make minimum error scene probably,

In my environment, loading many times the scene file below, and ACCESS_VIOLATION occurs.
This file has a scene where there is only one sphere primitive.

https://skydrive.live.com/#cid=9E5F8EE5 ... A682%21187

Indeed, the first error occurs in the scene cleanup at dzscene.cpp, next error become a fatal trying to read the duplicate dataset from memory DB.
However, I do not know why the first error does not occur if the OcDS plug-in off.

p.s. Scene cleanup error occurred even when I remove all plugins from the plugins directory other than OcDS.

=============================
CASE 1 : OcDS is off , load the scene file many times ..
=============================



Linking Shader:
Fragment info
-------------
0(29) : warning C7050: "_rgb" might be used before being initialized
Shader Program successfully linked.

*** Scene Cleared ***
*** Scene Cleared ***
File loaded in 0 min 0.0 sec.
Loaded file: Sphere.duf
Saved image: C:\3D\DAZStudio-SaveFiles\Sample\Sphere.duf.png
*** Scene Cleared ***
*** Scene Cleared ***
File loaded in 0 min 0.0 sec.
Loaded file: Sphere.duf
Saved image: C:\3D\DAZStudio-SaveFiles\Sample\Sphere.duf.png
*** Scene Cleared ***
*** Scene Cleared ***
File loaded in 0 min 0.0 sec.
Loaded file: Sphere.duf
Saved image: C:\3D\DAZStudio-SaveFiles\Sample\Sphere.duf.png
*** Scene Cleared ***
*** Scene Cleared ***
File loaded in 0 min 0.0 sec.
Loaded file: Sphere.duf
Saved image: C:\3D\DAZStudio-SaveFiles\Sample\Sphere.duf.png
*** Scene Cleared ***
*** Scene Cleared ***
File loaded in 0 min 0.0 sec.
Loaded file: Sphere.duf

....


=============================
CASE 2 : OcDS is on , load the scene file many times ..
=============================

-------------
0(29) : warning C7050: "_rgb" might be used before being initialized
Shader Program successfully linked.

OctaneRender: Plugin started.
*** Scene Cleared ***
*** Scene Cleared ***
File loaded in 0 min 0.0 sec.
Loaded file: Sphere.duf
Saved image: C:\3D\DAZStudio-SaveFiles\Sample\Sphere.duf.png
*** Scene Cleared ***
*** Scene Cleared ***
File loaded in 0 min 0.1 sec.
Loaded file: Sphere.duf
Saved image: C:\3D\DAZStudio-SaveFiles\Sample\Sphere.duf.png
WARNING: general\dzscene.cpp(1530): Error in DzScene::clear()
*** Scene Cleared ***
*** Scene Cleared ***
DEBUG: "20:37:56: 0"
DEBUG: "20:37:56: database name: :memory:"
DEBUG: "20:37:56: *********************************** SQL ERROR BEGIN ***********************************"
DEBUG: "20:37:56: No[19]: columns Pointer, Guid are not unique Unable to fetch row"
DEBUG: "20:37:56: driver text: Unable to fetch row"
DEBUG: "20:37:56: databaseText columns Pointer, Guid are not unique"
DEBUG: "20:37:56: query:



INSERT INTO [DzNodes] SELECT * FROM [import].[DzNodes]"
DEBUG: "20:37:56: ************************************ SQL ERROR END ************************************"
DEBUG: "20:37:56: 0"
DEBUG: "20:37:56: 0"
DEBUG: "20:37:56: database name: :memory:"
DEBUG: "20:37:56: *********************************** SQL ERROR BEGIN ***********************************"
DEBUG: "20:37:56: No[19]: columns Pointer, Guid, RootPtr are not unique Unable to fetch row"
DEBUG: "20:37:56: driver text: Unable to fetch row"
DEBUG: "20:37:56: databaseText columns Pointer, Guid, RootPtr are not unique"
DEBUG: "20:37:56: query:

INSERT INTO [DzMaterials] SELECT [Pointer], [RootPtr], [ParentPtr], [Label], [Md5], [Guid], [IsProcessed], 0 AS [MatIndex] FROM [import].[DzMaterials]"
DEBUG: "20:37:56: ************************************ SQL ERROR END ************************************"
DEBUG: "20:37:56: 0"
DEBUG: "20:37:56: 0"
DEBUG: "20:37:56: database name: :memory:"
DEBUG: "20:37:56: *********************************** SQL ERROR BEGIN ***********************************"
DEBUG: "20:37:56: No[19]: column Key is not unique Unable to fetch row"
DEBUG: "20:37:56: driver text: Unable to fetch row"
DEBUG: "20:37:56: databaseText column Key is not unique"
DEBUG: "20:37:56: query:

INSERT INTO [Settings] SELECT * FROM [import].[Settings]"


===============

or

===============

Executing startup script...
Started in: C:/Program Files/DAZ 3D/DAZStudio4
DAZ Studio Started
Creating Pixel Buffer
Pixel buffer - Width: 1024 Height: 1024
Compiling OpenGL Shader...
Fragment Shader:
Fragment Shader compiled successfully.
Linking Shader:
Fragment info
-------------
0(29) : warning C7050: "_rgb" might be used before being initialized
Shader Program successfully linked.

OctaneRender: Plugin started.
*** Scene Cleared ***
*** Scene Cleared ***
File loaded in 0 min 0.0 sec.
Loaded file: Sphere.duf
WARNING: general\dzscene.cpp(1530): Error in DzScene::clear()
*** Scene Cleared ***
*** Scene Cleared ***
DEBUG: "20:43:09: 0"
DEBUG: "20:43:09: database name: :memory:"
DEBUG: "20:43:09: *********************************** SQL ERROR BEGIN ***********************************"
DEBUG: "20:43:09: No[19]: column Key is not unique Unable to fetch row"
DEBUG: "20:43:09: driver text: Unable to fetch row"
DEBUG: "20:43:09: databaseText column Key is not unique"
DEBUG: "20:43:09: query:

INSERT INTO [Settings] SELECT * FROM [import].[Settings]"

===============

DAZStudio.exe caused ACCESS_VIOLATION in module "C:\Program Files\DAZ 3D\DAZStudio4\plugins\OctaneRender\plordazs.dll" at 0033:00000000108C6DFD, DzMatrix3::operator float * __ptr64()+1830549 byte(s)
User avatar
t_3
Posts: 2871
Joined: Tue Jul 05, 2011 5:37 pm

TakashiKurashima wrote:Indeed, the first error occurs in the scene cleanup at dzscene.cpp, next error become a fatal trying to read the duplicate dataset from memory DB.
However, I do not know why the first error does not occur if the OcDS plug-in off.
thanks for giving it a try! the really important things happen during the scene clear. unfortunately DS catches any exception that happens during this process, so it will never crash already at the point where the problem really exists, but of course afterwards things are not set up in valid way, and this causes all the following errors. i'll need to prepare a special debug version, which will need some time. i'll send you a pm as soon as done...
The obvious is that which is never seen until someone expresses it simply

1x i7 2600K @5.0 (Asrock Z77), 16GB, 2x Asus GTX Titan 6GB @1200/3100/6200
2x i7 2600K @4.5 (P8Z68 -V P), 12GB, 1x EVGA GTX 580 3GB @0900/2200/4400
User avatar
larsmidnatt
Licensed Customer
Posts: 499
Joined: Tue Sep 25, 2012 12:28 pm

i forget where we were having the discussion about the render viewport never loading/starting to render, but I have had it happen many times again. Most of the time hitting the reload button indeed fixes the issue. Sometimes only restarting DS works.

There are a few scenarios that cause it, such as loading a scene that already has octane data. Sometimes it just never loads. Other times it's after you have paused a render, and make a bunch of changes when paused and then unpause. Seems to get stuck.

But since reload does work the majority of times I'm not too worried, but I wanted to give an update.
Win10 x64
i9 10900k 64GB
2080S 8GB
DS 4.15 OcDS Prime ^_^
aalpontes
Licensed Customer
Posts: 3
Joined: Wed Dec 15, 2010 12:28 pm

I know its a little late, but good work, and get well soon. Hope your ear is better alreadyhttp://render.otoy.com/forum/posting.php?mode=reply&f=44&t=30373#
User avatar
t_3
Posts: 2871
Joined: Tue Jul 05, 2011 5:37 pm

aalpontes wrote:I know its a little late, but good work, and get well soon. Hope your ear is better alreadyhttp://render.otoy.com/forum/posting.php?mode=reply&f=44&t=30373#
yeah, it's ok already - thanks!
The obvious is that which is never seen until someone expresses it simply

1x i7 2600K @5.0 (Asrock Z77), 16GB, 2x Asus GTX Titan 6GB @1200/3100/6200
2x i7 2600K @4.5 (P8Z68 -V P), 12GB, 1x EVGA GTX 580 3GB @0900/2200/4400
Andrey79
Licensed Customer
Posts: 14
Joined: Fri Sep 21, 2012 5:14 pm

When you are planning next update for OctaneRender DS?
Post Reply

Return to “DAZ Studio”