我想知道是否有人设法通过硬件加速在Linux上获得JavaFX 2.2或8的工作版本。
Oracle提供了兼容GPU的列表:http://www.oracle.com/technetwork/java/javafx/downloads/supportedconfigurations-1506746.html
但是上次我尝试使用现代的nVIDIA显卡和Ubuntu,它又恢复了软件渲染。
答案 0 :(得分:0)
Ubuntu 12.04和nVidia GTX 750 Ti(官方驱动程序):
www@www-MS-7577:~$ java -Dprism.verbose=true -jar JavaFXApp.jar
Prism pipeline init order: es2 sw
Using platform text rasterizer
Using java-based Pisces rasterizer
Using dirty region optimizations
Not using texture mask for primitives
Not forcing power of 2 sizes for textures
Using hardware CLAMP_TO_ZERO mode
Opting in for HiDPI pixel scaling
Prism pipeline name = com.sun.prism.es2.ES2Pipeline
Loading ES2 native library ... prism_es2
succeeded.
GLFactory using com.sun.prism.es2.X11GLFactory
(X) Got class = class com.sun.prism.es2.ES2Pipeline
Initialized prism pipeline: com.sun.prism.es2.ES2Pipeline
Maximum supported texture size: 16384
Maximum texture size clamped to 4096
Non power of two texture support = true
Graphics Vendor: NVIDIA Corporation
Renderer: GeForce GTX 750 Ti/PCIe/SSE2
Version: 4.4.0 NVIDIA 340.46
vsync: true vpipe: true
new alphas
QuantumRenderer: shutdown