[Bf-blender-cvs] [55d14210ccc] master: Raised AMD CEDAR on Linux from unsupported to limited support
Jeroen Bakker
noreply at git.blender.org
Wed Dec 9 12:13:48 CET 2020
Commit: 55d14210cccc7a3dae98787200a6dc3649462bba
Author: Jeroen Bakker
Date: Wed Dec 9 12:10:32 2020 +0100
Branches: master
https://developer.blender.org/rB55d14210cccc7a3dae98787200a6dc3649462bba
Raised AMD CEDAR on Linux from unsupported to limited support
There is a workaround available by setting the environment variable `R600_DEBUG=nosb`.
===================================================================
M source/blender/gpu/opengl/gl_backend.cc
===================================================================
diff --git a/source/blender/gpu/opengl/gl_backend.cc b/source/blender/gpu/opengl/gl_backend.cc
index 7e948149a7f..8f3d1ffabaa 100644
--- a/source/blender/gpu/opengl/gl_backend.cc
+++ b/source/blender/gpu/opengl/gl_backend.cc
@@ -152,8 +152,10 @@ void GLBackend::platform_init()
}
}
if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_ANY)) {
+ /* Platform seems to work when SB backend is disabled. This can be done
+ * by adding the environment variable `R600_DEBUG=nosb`. */
if (strstr(renderer, "AMD CEDAR")) {
- GPG.support_level = GPU_SUPPORT_LEVEL_UNSUPPORTED;
+ GPG.support_level = GPU_SUPPORT_LEVEL_LIMITED;
}
}
}
More information about the Bf-blender-cvs
mailing list