Other |
---|
internalResolved |
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
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.
|