-
Bug
-
Resolution: Duplicate
-
P2
-
internal
-
x86_64
-
os_x
System to test should have a dual graphics card.
1) Enable Metal API validation (export METAL_DEVICE_WRAPPER_TYPE=1)
2) Launch SwingSet2 demo or any other application with Metal rendering pipeline (-Dsun.java2d.metal=true)
3) toggle "Automatic graphics switching" setting
Application launched in step 2 crashes with following error.
-[MTLDebugRenderCommandEncoder setFragmentSamplerState:atIndex:]:1950: failed assertion `sampler is associated with a different device'
Note : the crash is observed both ways - a switch from integrated GPU to discrete GPU and the other way round.
1) Enable Metal API validation (export METAL_DEVICE_WRAPPER_TYPE=1)
2) Launch SwingSet2 demo or any other application with Metal rendering pipeline (-Dsun.java2d.metal=true)
3) toggle "Automatic graphics switching" setting
Application launched in step 2 crashes with following error.
-[MTLDebugRenderCommandEncoder setFragmentSamplerState:atIndex:]:1950: failed assertion `sampler is associated with a different device'
Note : the crash is observed both ways - a switch from integrated GPU to discrete GPU and the other way round.
- duplicates
-
JDK-8262496 Lanai: Do not use resources of off-line MTLDevice
- Resolved
- relates to
-
JDK-8262115 Crash on graphics card switch when Metal API validation enabled
- Resolved
-
JDK-8262882 Lanai: NetBeans crashes often when switching between dual and single screen
- Resolved
-
JDK-8262496 Lanai: Do not use resources of off-line MTLDevice
- Resolved
-
JDK-8261620 Running metal with API validation crashes immediately
- Resolved
-
JDK-8262254 Crash on graphics card switch when dialog is open with Metal API validation
- Closed
(1 relates to)