Announcement

Collapse
No announcement yet.

Luoshuang's GPULightmass

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

    Originally posted by DsyD View Post

    I was, but I switched them out for spot lights to see if they were bugged with GPULM.

    I used git cherry-pick to merge the commit https://github.com/EpicGames/UnrealE...1ccb5575c6d40b into my 4.22.3 build and it seems to work. It looked like it was still broken at first, but it seemed to fix itself after I made some meaningless changes to my material instances and re-saved them. Maybe the material data is cached somewhere and not updated unless it's modified.
    AFAIK rect lights do not support more than one bounce of GI calculation with GPULightmass so I would recommend not using them.

    Comment


      Hello,

      I need some help with these light splotches that you can see on the images attached.

      I have already tryed to turn down the "FireflyClampingThreshold" from 10.000 to 100, with any difference at all in the results
      The light quality is set to "Production", and the gpu lightmass settings to extreme

      They only appear around the direct light that is comming trough the windows, the rest is clear without any light splotches...

      Thank you very much in advance!!

      Comment


        Hi
        I have been using GPULightmass for quite some time and I have never had any problems, I am using Unreal 4.22.1 and the following message appeared after doing the build.

        <None> === Lightmass crashed: ===Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xcf581000
        Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xcf581000

        0x00007ffefa36dab0 nvcuda.dll!UnknownFunction []
        0x00007ffefa36dc8b nvcuda.dll!UnknownFunction []
        0x00007ffefa459acf nvcuda.dll!UnknownFunction []
        0x00007ffefa55e868 nvcuda.dll!UnknownFunction []
        0x00007ffefa45a4ad nvcuda.dll!UnknownFunction []
        0x00007ffefa32e7f4 nvcuda.dll!UnknownFunction []
        0x00007ffefa333416 nvcuda.dll!UnknownFunction []
        0x00007ffefa32bc4a nvcuda.dll!UnknownFunction []
        0x00007ffefa4bea92 nvcuda.dll!UnknownFunction []
        0x00007ffeac2bf535 GPULightmassKernel.dll!UnknownFunction []
        0x00007ffeac2bedb0 GPULightmassKernel.dll!UnknownFunction []
        0x00007ffeac2bff8a GPULightmassKernel.dll!UnknownFunction []
        0x00007ffeac2b3b8c GPULightmassKernel.dll!UnknownFunction []
        0x00007ffeac2b3b09 GPULightmassKernel.dll!UnknownFunction []
        0x00007ffeac2b2c71 GPULightmassKernel.dll!UnknownFunction []
        0x00007ffeac2cc7bf GPULightmassKernel.dll!UnknownFunction []
        0x00007ff7f09d983f UnrealLightmass.exe!UnknownFunction []
        0x00007ff7f0a46ab6 UnrealLightmass.exe!UnknownFunction []
        0x00007ff7f0a16ec0 UnrealLightmass.exe!UnknownFunction []
        0x00007ff7f09cbb64 UnrealLightmass.exe!UnknownFunction []
        0x00007ff7f09ef36d UnrealLightmass.exe!UnknownFunction []
        0x00007ff7f0a0e4da UnrealLightmass.exe!UnknownFunction []
        0x00007ff7f0a81bb8 UnrealLightmass.exe!UnknownFunction []
        0x00007fff31fe7e94 KERNEL32.DLL!UnknownFunction []
        0x00007fff34ad7ad1 ntdll.dll!UnknownFunction []

        I don't know what's going on, if someone could guide me to know why this is, I'd really appreciate it

        Comment


          Originally posted by trebol View Post
          Hi
          I have been using GPULightmass for quite some time and I have never had any problems, I am using Unreal 4.22.1 and the following message appeared after doing the build.

          <None> === Lightmass crashed: ===Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xcf581000
          Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xcf581000

          0x00007ffefa36dab0 nvcuda.dll!UnknownFunction []
          0x00007ffefa36dc8b nvcuda.dll!UnknownFunction []
          0x00007ffefa459acf nvcuda.dll!UnknownFunction []
          0x00007ffefa55e868 nvcuda.dll!UnknownFunction []
          0x00007ffefa45a4ad nvcuda.dll!UnknownFunction []
          0x00007ffefa32e7f4 nvcuda.dll!UnknownFunction []
          0x00007ffefa333416 nvcuda.dll!UnknownFunction []
          0x00007ffefa32bc4a nvcuda.dll!UnknownFunction []
          0x00007ffefa4bea92 nvcuda.dll!UnknownFunction []
          0x00007ffeac2bf535 GPULightmassKernel.dll!UnknownFunction []
          0x00007ffeac2bedb0 GPULightmassKernel.dll!UnknownFunction []
          0x00007ffeac2bff8a GPULightmassKernel.dll!UnknownFunction []
          0x00007ffeac2b3b8c GPULightmassKernel.dll!UnknownFunction []
          0x00007ffeac2b3b09 GPULightmassKernel.dll!UnknownFunction []
          0x00007ffeac2b2c71 GPULightmassKernel.dll!UnknownFunction []
          0x00007ffeac2cc7bf GPULightmassKernel.dll!UnknownFunction []
          0x00007ff7f09d983f UnrealLightmass.exe!UnknownFunction []
          0x00007ff7f0a46ab6 UnrealLightmass.exe!UnknownFunction []
          0x00007ff7f0a16ec0 UnrealLightmass.exe!UnknownFunction []
          0x00007ff7f09cbb64 UnrealLightmass.exe!UnknownFunction []
          0x00007ff7f09ef36d UnrealLightmass.exe!UnknownFunction []
          0x00007ff7f0a0e4da UnrealLightmass.exe!UnknownFunction []
          0x00007ff7f0a81bb8 UnrealLightmass.exe!UnknownFunction []
          0x00007fff31fe7e94 KERNEL32.DLL!UnknownFunction []
          0x00007fff34ad7ad1 ntdll.dll!UnknownFunction []

          I don't know what's going on, if someone could guide me to know why this is, I'd really appreciate it
          There is not enough memory to build the lights, try reducing some lightmap resolution that might be eating lots of resources

          Comment


            Originally posted by Andres H RG View Post

            There is not enough memory to build the lights, try reducing some lightmap resolution that might be eating lots of resources
            thanks for the explanation

            Comment


              Anybody here knows how to make it work with 4.23 preview? Thanks!

              Comment


                For some reason after a few blocks it just slows down dramatically to a crawl, not sure why? Last build took 5 hours, same settings now (added some new stuff, nothing crazy) would take longer than a week to finish.

                It's ticking up 1 number every few seconds. 38/255
                Attached Files
                Last edited by Megaham; 08-01-2019, 01:30 PM.

                Comment


                  Do you have details on your hardware specs? I mean it could take hours and days if you have a really under powered video card. Or if you're using a laptop, it's throttling the GPU due to heat.
                  Originally posted by Megaham View Post
                  For some reason after a few blocks it just slows down dramatically to a crawl, not sure why? Last build took 5 hours, same settings now (added some new stuff, nothing crazy) would take longer than a week to finish.

                  It's ticking up 1 number every few seconds. 38/255

                  Comment


                    Originally posted by NiukNiuk View Post
                    Anybody here knows how to make it work with 4.23 preview? Thanks!
                    Nope, and GPULightmass is no longer supported :/ So, I am sure we'll be stuck with 4.22 until RTX Lightmass will be officially released

                    Comment


                      Originally posted by whooosh View Post
                      Do you have details on your hardware specs? I mean it could take hours and days if you have a really under powered video card. Or if you're using a laptop, it's throttling the GPU due to heat.
                      So I have GTX 1080 TI 8gb, Core I7 4930k, 64 gigs of ram

                      I removed all the additionally geometry I added and it's still taking about 10-20 times longer than it did before. I experience this before and remaking project / reimporting all the datasmith items fixed it. That doesn't seem like a practical solution though to remake the project every so often.
                      Last edited by Megaham; 08-02-2019, 02:54 PM.

                      Comment


                        Originally posted by motorsep View Post

                        Nope, and GPULightmass is no longer supported :/ So, I am sure we'll be stuck with 4.22 until RTX Lightmass will be officially released
                        Oh ok :/
                        I was hoping, now that its source code is available, that someone managed to port it to 4.23 preview :/
                        4.22.3 is buggy for me when baking lightmaps (see https://forums.unrealengine.com/unre...t-node-in-4-22 ), and it seems fixed in 4.23 so I was hoping to try this gpulightmass script on this version...
                        Thanks for your answer

                        Comment


                          Hi guys! I used GPU lightmass with Unreal Engine 4.20 and it worked perfectly with my GTX 1060. Now i bought the RTX 2060, but the GPU lightmass doesn't function anymore! I need to update Unreal Engine to a new version to use the GPU lightmass with my new grafich card?

                          Comment


                            You need to double check your lightmap UV's, if there are overlaps, it will cause much much longer render time. Have you tried to reduce all your lightmaps to something very low? Like 64pixels and test the speed?
                            Also be sure the UV channels are correct. Not much else I could suggest, your video card is really good for it.

                            Comment


                              Originally posted by guitarist898 View Post
                              Hi guys! I used GPU lightmass with Unreal Engine 4.20 and it worked perfectly with my GTX 1060. Now i bought the RTX 2060, but the GPU lightmass doesn't function anymore! I need to update Unreal Engine to a new version to use the GPU lightmass with my new grafich card?
                              I assume you reinstalled your nvidia drivers. If you haven't, when you reinstall, remove old settings. I had a 1080 and upgraded to 2080 on 4.20.0, remove your Swarm cache as well. You do not need to upgrade your engine unless you want real time ray tracing.

                              Comment


                                Originally posted by whooosh View Post

                                I assume you reinstalled your nvidia drivers. If you haven't, when you reinstall, remove old settings. I had a 1080 and upgraded to 2080 on 4.20.0, remove your Swarm cache as well. You do not need to upgrade your engine unless you want real time ray tracing.
                                I have only installed the new driver for the 2060 by the GeForce Experience. How can I remove the old settings and the swarm cache?

                                Comment

                                Working...
                                X