Maniphest T66834

Blender Eevee: Lighting doesn't work
Closed, Archived

Assigned To
Sebastian Parborg (zeddb)
Authored By
PROPHESSOR (PROPHESSOR)
Jul 13 2019, 3:30 AM
Tags
  • BF Blender
Subscribers
PROPHESSOR (PROPHESSOR)
Sebastian Parborg (zeddb)

Description

System Information
Operating system: Linux Mint 18.3 Cinamon 3.6.7 x86_64 Linux 4.15.0-54-generic
Graphics card: AMD Radeon HD 7660G
From screenfetch: AMD ARUBA (DRM 2.50.0 / 4.15.0-54-generic, LLVM 6.0.1)

Blender Version
Broken: 2.80 Release Candidate
Worked: 2.80 aed82dafff8

Short description of error
After version aed82dafff8, the lighting in the Eevee render (the first screenshot) stopped working.

Moreover, by changing the blending mode in the material, the following effect is obtained (the second screenshot).

Same scene, but in softwaregl mode (third screenshot).

Same scene, but using Cycles rendering (fourth screenshot).

The same scene, but in the aed82dafff8 version in normal mode (fifth screenshot).

Also, I attach the .blend file (although there is nothing special about it, the same can be done in the standard scene), the system-info.txt file, as well as errors that appear when blender starts.

UDP: I just noticed that when using a diffuse shader, the light is displayed correctly.

Console output on start:

prophessor@prophessor ~ [139]> 
tmp/blender2.8/blender2.8/blender2.8/blender2.8/blender2.8/blender2.8rc/blender
Read prefs: /home/prophessor/.config/blender/2.80/config/userpref.blend
Received X11 Error:
	error code:   181
	request code: 156
	minor code:   34
	error text:   GLXBadFBConfig
Received X11 Error:
	error code:   181
	request code: 156
	minor code:   34
	error text:   GLXBadFBConfig
Warning: Could not find a matching GPU name. Things may not behave as expected.
Detected OpenGL configuration:
Vendor: X.Org
Renderer: AMD ARUBA (DRM 2.50.0 / 4.15.0-54-generic, LLVM 6.0.1)
Received X11 Error:
	error code:   8
	request code: 156
	minor code:   34
	error text:   BadMatch (invalid parameter attributes)
Received X11 Error:
	error code:   8
	request code: 156
	minor code:   34
	error text:   BadMatch (invalid parameter attributes)
found bundled python: /home/prophessor/tmp/blender2.8/blender2.8/blender2.8/blender2.8/blender2.8/blender2.8rc/2.80/python
Warning: class FSPY_BLENDER_OT_import_project contains a property which should be an annotation!
/home/prophessor/.config/blender/2.80/scripts/addons/fspy_blender/__init__.py:50
    assign as a type annotation: FSPY_BLENDER_OT_import_project.filter_glob
    assign as a type annotation: FSPY_BLENDER_OT_import_project.update_existing_camera
    assign as a type annotation: FSPY_BLENDER_OT_import_project.import_background_image
OpenCL error: CL_PLATFORM_NOT_FOUND_KHR in device_opencl_get_num_platforms_safe(&num_platforms) (/home/sources/blender-release/intern/cycles/device/device_opencl.cpp:142)
fake_module: addon missing 'bl_info' gives bad performance!: '/home/prophessor/.config/blender/2.80/scripts/addons/export_map.py'
fake_module: addon missing 'bl_info' gives bad performance!: '/home/prophessor/.config/blender/2.80/scripts/addons/md5-0.6.py'
Read blend: /tmp/quit.blend
Received X11 Error:
	error code:   8
	request code: 156
	minor code:   34
	error text:   BadMatch (invalid parameter attributes)
Received X11 Error:
	error code:   8
	request code: 156
	minor code:   34
	error text:   BadMatch (invalid parameter attributes)
Read blend: /home/prophessor/Blender/2.80/bladerunner2049_1.blend
Received X11 Error:
	error code:   8
	request code: 156
	minor code:   34
	error text:   BadMatch (invalid parameter attributes)
Received X11 Error:
	error code:   8
	request code: 156
	minor code:   34
	error text:   BadMatch (invalid parameter attributes)

OpenGL Information:

prophessor@prophessor ~> glxinfo | grep "OpenGL"
OpenGL vendor string: X.Org
OpenGL renderer string: AMD ARUBA (DRM 2.50.0 / 4.15.0-54-generic, LLVM 6.0.1)
OpenGL core profile version string: 4.3 (Core Profile) Mesa 18.3.0-devel
OpenGL core profile shading language version string: 4.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.3 (Compatibility Profile) Mesa 18.3.0-devel
OpenGL shading language version string: 4.30
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.3.0-devel
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

Exact steps for others to reproduce the error
Just add any light in Eevee mode

Event Timeline

PROPHESSOR (PROPHESSOR) created this task.Jul 13 2019, 3:30 AM
PROPHESSOR (PROPHESSOR) updated the task description.
PROPHESSOR (PROPHESSOR) updated the task description.Jul 13 2019, 3:45 AM

I just noticed that when using a diffuse shader, the light is displayed correctly.

Sebastian Parborg (zeddb) changed the task status from Unknown Status to Unknown Status.Jul 15 2019, 12:05 PM
Sebastian Parborg (zeddb) claimed this task.
Sebastian Parborg (zeddb) added a subscriber: Sebastian Parborg (zeddb).

Your GPU is too old and we do not support it anymore: https://code.blender.org/2019/04/supported-gpus-in-blender-2-80/

PROPHESSOR (PROPHESSOR) added a comment.Jul 16 2019, 6:29 AM
In T66834#722424, @Sebastian Parborg (zeddb) wrote:

Your GPU is too old and we do not support it anymore: https://code.blender.org/2019/04/supported-gpus-in-blender-2-80/

But my GPU supports OpenGL up to 4.2: https://feedback.wildfiregames.com/report/opengl/device/Radeon%20HD%207660G

Sebastian Parborg (zeddb) added a comment.EditedJul 16 2019, 11:56 AM

Yes, but your GPU has been End of Life (EOL) for a while now and AMD doesn't provide any support or driver updates for it anymore.
What you are experiencing is a driver bug that will probably never be fixed. We can't provide support for these kinds of problems.

We are of course open patches that works around this issue, but we won't look into it ourselves. However in this case, it would be better to have it fixed in Mesa.