Announcement

Collapse
No announcement yet.

Luoshuang's GPULightmass

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by 3darchstuffs View Post
    Hi all did anyone encountered with this error?

    <None> === Lightmass crashed: ===
    Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:c:\ue4-gpulightmassintegration\engine\source\runtime\core\public\Containers/Array.h] [Line: 611]
    Array index out of bounds: 8406332 from an array of size 8406332


    0x00007ffc392ba839 KERNELBASE.dll!UnknownFunction []
    0x00007ffbd3baed47 UnrealLightmass-Core.dll!UnknownFunction []
    0x00007ffbd3bb16d7 UnrealLightmass-Core.dll!UnknownFunction []
    0x00007ffbd3a4234a UnrealLightmass-Core.dll!UnknownFunction []
    0x00007ffbd39cd699 UnrealLightmass-Core.dll!UnknownFunction []
    0x00007ffbd39cdde9 UnrealLightmass-Core.dll!UnknownFunction []
    0x00007ff71e846528 UnrealLightmass.exe!UnknownFunction []
    0x00007ff71e7c8b70 UnrealLightmass.exe!UnknownFunction []
    0x00007ff71e7c905a UnrealLightmass.exe!UnknownFunction []
    0x00007ff71e78b39b UnrealLightmass.exe!UnknownFunction []
    0x00007ff71e7b374a UnrealLightmass.exe!UnknownFunction []
    0x00007ff71e7d6dd9 UnrealLightmass.exe!UnknownFunction []
    0x00007ff71e78bb64 UnrealLightmass.exe!UnknownFunction []
    0x00007ff71e7af36d UnrealLightmass.exe!UnknownFunction []
    0x00007ff71e7ce4da UnrealLightmass.exe!UnknownFunction []
    0x00007ff71e841bb8 UnrealLightmass.exe!UnknownFunction []
    0x00007ffc3b1e7bd4 KERNEL32.DLL!UnknownFunction []
    0x00007ffc3b68ce71 ntdll.dll!UnknownFunction []

    Please help if possible to solve this error. Thank you.

    PS. i have already tried clearing and validation cache several time.
    Any solution on this ... same problems here:
    Code:
    8:12:21 PM: Starting up SwarmAgent ...
    8:12:21 PM:  ... registering SwarmAgent with remoting service
    8:12:21 PM:  ... registering SwarmAgent network channels
    8:12:21 PM:  ... initializing SwarmAgent
    8:12:21 PM:  ......... certificate check has failed
    8:12:21 PM:  ...... initializing cache
    8:12:21 PM:  ......... using cache folder 'C:/Users/sumsion.f.shane/AppData/Local/UnrealEngine/4.22/Saved/Swarm\SwarmCache'
    8:12:21 PM:  ......... recreating SwarmAgent cache staging area
    8:12:21 PM:  ...... initializing connection to SwarmCoordinator
    8:12:21 PM:  ......... using SwarmCoordinator on RENDER-01
    8:12:28 PM:  ......... SwarmCoordinator failed to be initialized
    8:12:28 PM:  ...... initializing local performance monitoring subsystem
    8:12:29 PM:  ... initialization successful, SwarmAgent now running
    8:12:29 PM: [Interface:TryOpenConnection] Local connection established
    8:12:29 PM: [Job] Accepted Job 1BE15001-472B1437-B04C3DA1-C2433FC6
    8:15:00 PM: [Job] Launched Job UnrealLightmass_2019-04-04_20-59-18_1148416-64bit.exe
    8:15:00 PM: [Job]     PID is 39708
    8:15:00 PM: [Job]     GUID is "1BE15001-472B1437-B04C3DA1-C2433FC6"
    8:15:00 PM: LogLightmass: Display: Lightmass Win64 started on: W099. Command-line: 1BE15001472B1437B04C3DA1C2433FC6
    8:15:00 PM: Failed to determine engine directory: Defaulting to ../../../Engine/
    8:15:00 PM: Failed to load 'aqProf.dll' (GetLastError=126)
    8:15:00 PM: File 'aqProf.dll' does not exist
    8:15:00 PM: Failed to load 'VtuneApi.dll' (GetLastError=126)
    8:15:00 PM: File 'VtuneApi.dll' does not exist
    8:15:00 PM: Failed to load 'VtuneApi32e.dll' (GetLastError=126)
    8:15:00 PM: File 'VtuneApi32e.dll' does not exist
    8:15:00 PM: Lightmass Win64 started on: W099. Command-line: 1BE15001472B1437B04C3DA1C2433FC6
    8:15:00 PM: LogLightmass: Display: Processing scene GUID: 1BE15001472B1437B04C3DA1C2433FC6 with 14 threads
    8:15:00 PM: Processing scene GUID: 1BE15001472B1437B04C3DA1C2433FC6 with 14 threads
    8:15:00 PM: Building static lighting...
    8:15:00 PM: [OpenConnection] Registering TCP channel ...
    8:15:00 PM: [OpenConnection] Connecting to agent ...
    8:15:00 PM: [TryOpenConnection] Testing the Agent
    8:15:00 PM: [TryOpenConnection] Opening Connection to Agent
    8:15:00 PM: [TryOpenConnection] Local Process ID is 39708
    8:15:00 PM: [Job] Found a parent connection for PID 39708
    8:15:00 PM: [Job]     3AF7D342 -> 342EC621
    8:15:00 PM: [Interface:TryOpenConnection] Local connection established
    8:15:12 PM: Measured CPU frequency: 3.00 GHz
    8:15:12 PM: FStaticLightingSystem started using GKDOPMaxTrisPerLeaf: 4
    8:15:12 PM: Number of texture mappings: 4925
    8:15:12 PM: Number of fluid mappings:   0
    8:15:12 PM: Number of landscape mappings:   0
    8:15:12 PM: Number of BSP mappings:     0
    8:15:12 PM: Number of static mesh instance mappings: 4925
    8:15:12 PM: Reserving memory for 4925 meshes, 9416464 vertices, 12308295 triangles
    8:15:12 PM: Reserving memory for 0 meshes, 0 vertices, 0 triangles
    8:15:25 PM: Scene surface area calculated at 457.319 million units (52.258% of the estimated 875.117 million units)
    8:15:25 PM: Importance volume surface area calculated at 457.319 million units (0.000% of the estimated 0.000 million units)
    8:15:30 PM: Embree Build 4.9s
    8:15:30 PM: 
    8:15:30 PM: 
    8:15:30 PM: Collision Mesh Overview:
    8:15:30 PM: Num Triangles         : 12304327
    8:15:30 PM: MeshInfos             :     0.4Mb
    8:15:30 PM: UVs                   :    99.3Mb
    8:15:30 PM: LightmapUVs           :    99.3Mb
    8:15:30 PM: Embree Used Memory    :   911.9Mb
    8:15:30 PM: 
    8:15:30 PM: 
    8:15:30 PM: Preallocated 1.9Gb for kDOP nodes and triangles
    8:15:50 PM: Building kDOP took 19.88 seconds.
    8:15:50 PM: Static lighting kDOP: 8060524 nodes, 4030263 leaves, 16121052 triangles, 9414256 vertices
    8:15:50 PM: Static lighting kDOP: 23.722% wasted space in leaves
    8:15:50 PM: Preallocated 0.0Gb for kDOP nodes and triangles
    8:15:50 PM: Building kDOP took  0.00 seconds.
    8:15:50 PM: Static lighting kDOP: 8060524 nodes, 4030264 leaves, 16121052 triangles, 0 vertices
    8:15:50 PM: Static lighting kDOP: 100.000% wasted space in leaves
    8:15:50 PM: Processing...
    8:16:05 PM: GPULightmass Kernel: Importing mesh: 9414256 vertices, 5972079 triangles
    8:16:07 PM: GPULightmass Kernel: Embree SBVH Construction finished, 1867MS
    8:16:10 PM: GPULightmass Kernel: Convert to CudaBVH finished, 2972MS
    8:16:10 PM: GPULightmass Kernel: GPU BVH video memory size: 191.76MB, triangle payload size: 424.08MB
    8:16:10 PM: GPULightmass Kernel: Bind CudaBVH finished, 131MS
    8:16:10 PM: GPULightmass Kernel: GPU triangle parameterization data size: 234.78MB
    8:16:11 PM: GPULightmass Kernel: 3 masked collision maps imported
    8:16:11 PM: GPULightmass Kernel: 0 directional lights, 7 point lights and 56 spot lights imported
    8:16:11 PM: Started task graph with 4 named threads and 18 total threads with 1 sets of task threads.
    8:18:27 PM: LogThreadingWindows: Error: Runnable thread TaskGraphThreadNP 3 crashed.
    8:18:27 PM: LogWindows: Error: === Critical error: ===
    8:18:27 PM: LogWindows: Error: 
    8:18:27 PM: LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION writing address 0x00000000
    8:18:27 PM: LogWindows: Error: 
    8:18:27 PM: LogWindows: Error: [Callstack] 0x00007ffb3e09b4e7 GPULightmassKernel.dll!UnknownFunction []
    8:18:27 PM: LogWindows: Error: [Callstack] 0x00007ffb3dfa0ef2 GPULightmassKernel.dll!UnknownFunction []
    8:18:27 PM: LogWindows: Error: [Callstack] 0x00007ff7d2b4f593 UnrealLightmass.exe!UnknownFunction []
    8:18:27 PM: LogWindows: Error: [Callstack] 0x00007ff7d2b33cf1 UnrealLightmass.exe!UnknownFunction []
    8:18:27 PM: LogWindows: Error: [Callstack] 0x00007ff7d2b63d23 UnrealLightmass.exe!UnknownFunction []
    8:18:27 PM: LogWindows: Error: [Callstack] 0x00007ff7d2b4883b UnrealLightmass.exe!UnknownFunction []
    8:18:27 PM: LogWindows: Error: [Callstack] 0x00007ffb3d8b8601 UnrealLightmass-Core.dll!UnknownFunction []
    8:18:27 PM: LogWindows: Error: [Callstack] 0x00007ffb3d8c0a7b UnrealLightmass-Core.dll!UnknownFunction []
    8:18:27 PM: LogWindows: Error: [Callstack] 0x00007ffb3dc016ab UnrealLightmass-Core.dll!UnknownFunction []
    8:18:27 PM: LogWindows: Error: [Callstack] 0x00007ffb3dbfd217 UnrealLightmass-Core.dll!UnknownFunction []
    8:18:27 PM: LogWindows: Error: [Callstack] 0x00007ffc2fff7bd4 KERNEL32.DLL!UnknownFunction []
    8:18:27 PM: LogWindows: Error: [Callstack] 0x00007ffc306cce71 ntdll.dll!UnknownFunction []
    8:18:27 PM: LogWindows: Error: 
    8:18:27 PM: LogWindows: Error: Crash in runnable thread TaskGraphThreadNP 3
    8:18:27 PM: [MaintainConnections] Detected dropped local connection, cleaning up (342EC621)
    8:18:27 PM: [CloseConnection] Closing connection 342EC621 using handle 342EC621
    8:18:27 PM: [CloseConnection] Connection confirmed for disconnection 342EC621
    8:18:27 PM: [CloseConnection] Connection disconnected 342EC621
    8:18:27 PM: [GetMessage] Safely returning to 342EC621 with no message
    8:18:27 PM: [MaintainConnections] Local connection has closed (342EC621)
    8:18:27 PM: [MaintainConnections] Removed connection 342EC621
    8:18:48 PM: [Job] Job has failed! Job executable didn't exit cleanly. Exit code: 3
    8:18:48 PM: [CloseConnection] Closing connection 3AF7D342 using handle 3AF7D342
    8:18:48 PM: [CloseConnection] Connection confirmed for disconnection 3AF7D342
    8:18:48 PM: [CloseConnection] Closing orphaned Job (1BE15001-472B1437-B04C3DA1-C2433FC6)
    8:18:49 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:49 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:50 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:50 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:51 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:51 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:52 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:52 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:53 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:53 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:54 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:54 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:55 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:55 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:56 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:56 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:57 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:57 PM: [MaintainConnections] Connection 3AF7D342 is DISCONNECTING
    8:18:58 PM: [CloseConnection] Connection disconnected 3AF7D342
    8:18:58 PM: [GetMessage] Safely returning to 3AF7D342 with no message
    8:18:58 PM: [MaintainConnections] Local connection has closed (3AF7D342)
    8:18:58 PM: [MaintainConnections] Removed connection 3AF7D342
    8:18:58 PM: [MaintainConnections] All connections have closed

    Comment


      Originally posted by April J. Lewer View Post
      Here's a solution if anyone runs into the following error.
      I upgraded to a 1070ti from only a 1070 and Unreal threw this error. I tried first by adding GPULightmass again, but failed, so I just did a clean install.


      LightingResults: Error: <None> === Lightmass crashed: ===
      Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:c:\ue4-gpulightmassintegration\engine\source\runtime\core\public\Containers/Array.h] [Line: 611]
      Array index out of bounds: 24896745 from an array of size 24896745
      0x00007ffde29ba388 KERNELBASE.dll!UnknownFunction []
      0x00007ffd49eda78a UnrealLightmass-Core.dll!UnknownFunction []
      0x00007ffd49d43427 UnrealLightmass-Core.dll!UnknownFunction []
      0x00007ffd49c88169 UnrealLightmass-Core.dll!UnknownFunction []
      0x00007ff6822f94c4 UnrealLightmass.exe!UnknownFunction []
      0x00007ff6822f52bb UnrealLightmass.exe!UnknownFunction []
      0x00007ff6822f8a5a UnrealLightmass.exe!UnknownFunction []
      0x00007ff682317f83 UnrealLightmass.exe!UnknownFunction []
      0x00007ff68227527c UnrealLightmass.exe!UnknownFunction []
      0x00007ff68228b33c UnrealLightmass.exe!UnknownFunction []
      0x00007ff68229d7a7 UnrealLightmass.exe!UnknownFunction []
      0x00007ff68235d010 UnrealLightmass.exe!UnknownFunction []
      0x00007ffde33d3034 KERNEL32.DLL!UnknownFunction []
      0x00007ffde5fa3691 ntdll.dll!UnknownFunction []


      UE4 Version: 4.21.1
      Graphics Card: 1070ti


      The simple fix was to completely "reinstall" GPULightmass. All I did to fix the issue was:
      • Remove the "Binaries" and "Config" folders.
      • Add any backed up "Binaries" and "Config" folders (aka CPULightmass)
      • Copied newest version of GPULightmass back into the"Engine" folder to replace CPULightmass (this is the old way not using Situx's installer, either should work)
      When in doubt, just turn it off and on again.
      I got this on a fresh install of GPULightmass to 4.22.3 ... tried your above steps, not fixed ... have you had this come up again, where you might have had to solve it differently?
      https://forums.unrealengine.com/deve...65#post1658665

      Comment


        Thanks pax invictus for the updated GPU Lightmass for 4.23 preview 8!

        Comment


          Originally posted by NiukNiuk View Post
          Thanks pax invictus for the updated GPU Lightmass for 4.23 preview 8!
          Where can i find the download link of updated GPU Light mass for 4.23 preview 8​​?
          CHECK OUT:- Visit https://3darchstuffs.com/ for Unreal arch-viz tutorials, Unreal Demo EXE and Unreal projects with source files.


          https://www.youtube.com/playlist?lis...X3Sm2Z9NXEHFV9

          Comment


            Originally posted by 3darchstuffs View Post

            Where can i find the download link of updated GPU Light mass for 4.23 preview 8​​?
            Same link as the previous one


            Comment


              Originally posted by NiukNiuk View Post
              Thank you.
              CHECK OUT:- Visit https://3darchstuffs.com/ for Unreal arch-viz tutorials, Unreal Demo EXE and Unreal projects with source files.


              https://www.youtube.com/playlist?lis...X3Sm2Z9NXEHFV9

              Comment


                Originally posted by NiukNiuk View Post
                Thanks pax invictus for the updated GPU Lightmass for 4.23 preview 8!
                You're welcome!

                Comment


                  Originally posted by Luoshuang View Post
                  I've updated the Adaptive Hemisphere Sampler of GPULightmass's Brute Force GI Engine. Please redownload.

                  Also there are some screenshots of Brute Force (GPULightmass) vs Irradiance Caching (Lightmass, default production quality):
                  2min50s (GTX1080) vs 8min10s (i7-6700k), Simplified SunTemple
                  If you look at the timings only then it is not very impressive. However the quality has a big difference. If you want to tweak Lightmass parameters so that it prduces same quality images as GPULightmass then I believe it'll be at least 10x slower:

                  Click image for larger version Name:	V1.jpg Views:	1 Size:	121.6 KB ID:	1460558

                  Click image for larger version Name:	V2.jpg Views:	1 Size:	104.1 KB ID:	1460559

                  The downside is GPULightmass has noise while Irradiance Caching has 'built-in' smoothing. While a denoiser is definitely on the plan, I'm still working on the sampling algorithm to get better quality samples.

                  Edit 04/14/2018: I made some changes to the sampler to suppress the artifacts on the wall:
                  Click image for larger version

Name:	TIM截图20180414214138.jpg
Views:	1
Size:	12.7 KB
ID:	1460890Click image for larger version

Name:	TIM截图20180414214113.jpg
Views:	1
Size:	19.1 KB
ID:	1460889
                  Originally posted by pax invictus View Post

                  You're welcome!
                  hi where can I download the lighmass for 4.23-8??????

                  Comment


                    pax invictus Great work! Thank you!

                    Comment


                      Originally posted by RenHonor View Post



                      hi where can I download the lighmass for 4.23-8??????
                      Here:
                      https://forums.unrealengine.com/deve...42#post1655242
                      (Dropbox link)

                      Comment


                        I'm getting the same "Array index out of bounds" error as some other people here - did anyone figure out what's going on with that?

                        Comment


                          Would you like to provide your scene to me for debugging?

                          Comment


                            Updated for UE 4.23.0-release.

                            Binaries (still the same link):
                            https://www.dropbox.com/sh/fjr63yeut...Fena?dl=0&lst=

                            GPU Lightmass integration source code rebased onto 4.23.0-release:
                            https://github.com/irobot/UnrealEngi...4.23.0-release
                            Last edited by pax invictus; 09-04-2019, 04:47 PM.

                            Comment


                              Thank you pax invictus!

                              Comment


                                Originally posted by localstarlight View Post
                                I'm getting the same "Array index out of bounds" error as some other people here - did anyone figure out what's going on with that?
                                I always get that when trying to build a scene with one or less static things. Like a static mesh with no static/stationary lights. Or a static light with no static meshes etc.
                                Freelancer Game Dev Generalist and Unreal Consultant | Portfolio
                                Unreal products: Dynamic Picture Frames, Neo Kinect

                                Comment

                                Working...
                                X