Accessing TFT attached displays on Raspberry Pi
Nick Pratt
nbpratt at gmail.com
Sun Jan 11 17:40:55 UTC 2015
I've spent some more time playing with fx config params for my Raspberry Pi
(arm HF 8u60). I'm still unable to get any FX output on the attached TFT
display (Adafruit device plugged in to the GPIO pins such as:
https://www.adafruit.com/products/2315 (no touch) or
https://www.adafruit.com/products/1601 (with touch) ).
Is there any other logging that I can enable to assist with diagnosing the
issue other than what David suggested (attached below)
I'll happily send a committer with knowledge of the internals a loaner TFT
screen (these screens are only ~$30) if it facilitates getting this running
- being able to leverage the entire Java/FX SDK on a Pi+attached TFT would
be great.
Nick
On Sat, Jan 3, 2015 at 2:36 PM, Nick Pratt <nbpratt at gmail.com> wrote:
> This is the output from my Pi with the modified JDK:
>
> pi at raspberrypi ~ $ sudo /opt/java/jre/bin/java -Djavafx.platform=monocle
> -Dmonocle.screen.fb="/dev/fb1" -Ddispman.display=0 -Ddispman.layer=1
> -Dprism.verbose=true -Djavafx.verbose=true -jar JavaFXApp.jar
>
> Prism pipeline init order: es2 sw
>
> Using native-based Pisces rasterizer
>
> Using dirty region optimizations
>
> Using system sized 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_monocle
>
> Loaded /opt/jdk1.8.0_06/jre/lib/ext/../arm/libprism_es2_monocle.so from
> relative path
>
> succeeded.
>
> GLFactory using com.sun.prism.es2.MonocleGLFactory
>
> Loaded /opt/jdk1.8.0_06/jre/lib/ext/../arm/libglass_monocle.so from
> relative path
>
> (X) Got class = class com.sun.prism.es2.ES2Pipeline
>
> Initialized prism pipeline: com.sun.prism.es2.ES2Pipeline
>
> JavaFX: using com.sun.javafx.tk.quantum.QuantumToolkit
>
> Maximum supported texture size: 2048
>
> Non power of two texture support = true
>
> Maximum number of vertex attributes = 8
>
> Maximum number of uniform vertex components = 544
>
> Maximum number of uniform fragment components = 544
>
> Maximum number of varying components = 32
>
> Maximum number of texture units usable in a vertex shader = 8
>
> Maximum number of texture units usable in a fragment shader = 8
>
> Graphics Vendor: Broadcom
>
> Renderer: VideoCore IV HW
>
> Version: OpenGL ES 2.0
>
> vsync: true vpipe: true
>
> Calling main(String[]) method
>
> Loaded /opt/jdk1.8.0_06/jre/lib/ext/../arm/libjavafx_font.so from relative
> path
>
> Loaded /opt/jdk1.8.0_06/jre/lib/ext/../arm/libjavafx_font_freetype.so from
> relative path
>
> ES2ResourceFactory: Prism - createStockShader: Solid_TextureRGB.frag
>
More information about the openjfx-dev
mailing list