Search Issue Tracker

Active

Planned for 2020.1

Votes

2

Found in

Issue ID

1263018

Regression

Yes

[GPU PLM] GPU lightmapper doesn't work on Linux any more

Global Illumination

-

Steps to reproduce:

1) Download, unzip and open the case 1263018 New Unity Project 19.4 upgrade.zip project that uses GPU lightmapper.
2) Start a lighting bake.
3) Observe the error:
2020.1.0a20 fail with: Failed to find a suitable OpenCL device for the GPU Lightmapper, falling back to CPU lightmapper. Please install the latest graphics driver.
Later versions fail with: [PathTracer] Failed to add geometry for mesh 'Cube'; mesh is missing required attribute(s). Please make sure the mesh contains at least positions, normals and texcoord0.

Tested using Ubuntu 18.4 with Nvidia driver version 440 (latest recommended driver on Ubuntu). I have tried both 1050Ti and 1080Ti with same result. Same on the 395 driver.

The CreateRRAPIFromOpenClContext function is found in the dynamic library and its input parameters look valid but calling it fails.

Works in these versions:
2019.1.14f1 148b5891095a
2019.4.3f1 f880dceab6fe
2020.1.0a7 d3d2f5b1d33e
2020.1.0a14 2a3307d3869b
2020.1.0a17 ccc6f9131a63
2020.1.0a19 6995b659db2e

Broken in these versions (Failed to find a suitable OpenCL device for the GPU Lightmapper, falling back to CPU lightmapper. Please install the latest graphics driver.):
2020.1.0a20 019325219793
2020.1.0a21 4ea9a24ebde1
2020.1.0b2 14d43bf8b596

The regression was introduced by https://ono.unity3d.com/unity/unity/pull-request/99082/_/platform/linux/opencl-cleanup.

Comments (2)

  1. Bfc79ae25d41d208a9354881c40adbd2?d=mm

    FutureSolarWA01

    Jul 22, 2020 10:20

    Very good research. Thanks for sharing. https://www.futuresolarwa.com.au/solar-battery/

  2. Fc25d221708f0813ec9aa589043d6e01?d=mm

    scottswayer

    Jul 16, 2020 09:02

    I noticed the same problem while using GPU light mapper in Linux. While opening the project, the screen shows an error message. Thanks for holding this study. I hope these steps provided here can assist me well to solve it. https://cbdbalmsalves.com/cbd-facts/tips-to-buy-best-cbd/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.