JavaFX:在Linux上经过测试/确认的硬件(GPU)加速 [英] JavaFX: Tested/confirmed hardware (GPU) acceleration on Linux

查看:399
本文介绍了JavaFX:在Linux上经过测试/确认的硬件(GPU)加速的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有人通过硬件加速在Linux上获得了JavaFX 2.2或8的工作版本.

I would like to know if anyone managed to get a working version of JavaFX 2.2 or 8 on Linux with hardware acceleration.

Oracle提供了兼容GPU的列表: http://www.oracle.com/technetwork/java/javafx/downloads/supportedconfigurations-1506746.html

Oracle provides a list of compatible GPUs: http://www.oracle.com/technetwork/java/javafx/downloads/supportedconfigurations-1506746.html

但是上次我尝试使用现代的nVIDIA卡和Ubuntu时,它已恢复为软件渲染.

But last time I've tried with a modern nVIDIA card and Ubuntu it reverted to software rendering.

推荐答案

Ubuntu 12.04和nVidia GTX 750 Ti(官方驱动程序):

Ubuntu 12.04 and nVidia GTX 750 Ti (Official drivers):

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

这篇关于JavaFX:在Linux上经过测试/确认的硬件(GPU)加速的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆