On Mon, 2 Feb 2026 13:30:40 GMT, Ambarish Rapte <[email protected]> wrote:

> Issue:
> As described in the bug, a crash occurs on macOS VM created using Parallels.
> The crash occurs when trying to create a 
> [MTLArgumentEncoder](https://github.com/openjdk/jfx/blob/5ac1620ac0ba20170ae9758e20893feba5ebc58b/modules/javafx.graphics/src/main/native-prism-mtl/MetalShader.m#L76C49-L76C82),
>  which is required for creating Shaders(Both Prism and Decora)
> This crash is not observed on macOS VM created using Apple Virtualization 
> Framework.
> 
> Fix:
> Support for MTLArgumentEncoder is mandatory for Prism Metal Rendering 
> pipeline. Without support for MTLArgumentEncoder the Shaders cannot be 
> created.
> In this scenario Prism should gracefully fallback to Software rendering.
> Added a check to verify if the minimum 
> [MTLGPUFamilyMac2](https://developer.apple.com/documentation/metal/mtlgpufamily/mac2?language=objc)
>  GPU family is supported by the platform. If not supported then Metal 
> Pipeline cannot be used, and rendering falls back to software pipeline.

This pull request has now been integrated.

Changeset: 3ae6bc00
Author:    Ambarish Rapte <[email protected]>
URL:       
https://git.openjdk.org/jfx/commit/3ae6bc00b803517941d3459641b0c66b749beecf
Stats:     25 lines in 2 files changed: 25 ins; 0 del; 0 mod

8375466: Metal rendering pipeline crashes on virtualized OS

Reviewed-by: kcr, jdv

-------------

PR: https://git.openjdk.org/jfx/pull/2061

Reply via email to