Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: JavaFX large image crashes ImageView Date: Thu, 08 Jan 2015 20:19:14 -0500 Organization: A noiseless patient Spider Lines: 43 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 9 Jan 2015 01:20:55 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="c50a9e5d554cfaba13eda1c71e805135"; logging-data="3138"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19+9joczRfUOl42xJsuwPtI73nMX/rl7AA=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 In-Reply-To: Cancel-Lock: sha1:wC3gd7jzgxlCQXYvqzI0+w+XU4k= Xref: csiph.com comp.lang.java.programmer:30668 On 01/07/2015 08:32 PM, Jeff Higgins wrote: > New to JavaFX. > Is my example code flawed? Shrugs. > Is there a problem with large images in JavaFX? Perhaps, see below. > Something else? Perhaps, see below. In an answer at stackoverflow a certain José Pereda helpfully pointed me to some resources. Perhaps there are problems with large images in JavaFX. Perhaps my hardware is not up to the task. Using the -Dprism.verbose=true switch, I see that I'm not able to use hardware acceleration. Do I really need all that? I'm able to wrangle that image and more in Swing and SWT! 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 Failed Graphics Hardware Qualifier check. System GPU doesn't meet the es2 pipe requirement Prism pipeline name = com.sun.prism.sw.SWPipeline GraphicsPipeline.createPipeline: error initializing pipeline com.sun.prism.es2.ES2Pipeline *** Fallback to Prism SW pipeline It's all too bad. I have a nice little Swing image annotation application that I think would benefit from the JavaFX scenegraph rather that my little homemade one but now it seems I'll be unable to try it. Boo hoo.