Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have some issues with my graphics card and I want to disable Hardware Acceleration for java apps. Everything that uses HA is displayed blurry.

I've seen some tutorials on how to set this parameter -Dsun.java2d.d3d=false

The problem is that the Java Control panel itself is using hardware acceleration and I cannot see anything in order to add this parameter.

Edit: Went to java control panel in safe mode, added that parameter and problem continues..

Edit2: Win 7 x64 JRE 6 update 30

Edit3: my deployment.properties (after your suggestions) file is:

#deployment.properties
#Sun Jan 08 01:12:04 EET 2012 deployment.version=6.0 
deployment.capture.mime.types=true deployment.browser.path=C\:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe
#Java Deployment jre's
#Sun Jan 08 01:12:04 EET 2012 deployment.javaws.jre.0.registered=true 
deployment.javaws.jre.0.platform=1.6 deployment.javaws.jre.0.osname=Windows 
deployment.javaws.jre.0.path=C\:\\Program Files (x86)\\Java\\jre6\\bin\\javaw.exe 
deployment.javaws.jre.0.product=1.6.0_30 deployment.javaws.jre.0.osarch=x86 
deployment.javaws.jre.0.location=http\://java.sun.com/products/autodl/j2se 
deployment.javaws.jre.0.enabled=true deployment.javaws.jre.0.args=-Dsun.java2d.d3d\=false 
deployment.javaws.jre.1.args=-Dsun.java2d.d3d\=false 
deployment.javaws.jre.0.args=-Dsun.java2d.noddraw=true
deployment.javaws.jre.1.args=-Dsun.java2d.noddraw=true

still hardware acceleration is enabled. Is there a possibility that applications can override these settings?

share|improve this question
    
what version of java? what is the OS? . . . If the program was using an OpenGl hardware acceleration, and it is blurry, I wonder if adjusting and locking manually your graphics cards opengl antialising (None) and asotropic (none) filtering things. . - Just from trying to read about it on the web now. If it is text, some cleartype setting ? –  Psycogeek Dec 31 '11 at 12:01
1  
Whatever uses hardware acceleration displays blurry image. Nothing is drawn actually, only artifacts. This is verified and it is not driver related but a hardware failure –  Odys Dec 31 '11 at 13:22
1  
That looks like the deployment properties file for the 32bit version, maybe there's another for 64bit –  mavhc Jan 19 '12 at 20:44
    
Everything that uses HA is displayed blurry. Why don't you fix this problem instead? :-/ –  Tom Wijsman Apr 2 '12 at 10:40

3 Answers 3

Using directx does not imply hardware acceleration is being used behind the scenes. You might want to resuce global acceleration if you see defective drawing (or update drivers)

share|improve this answer
    
In Win7 you cannot change the hardware acceleration if you have video drivers installed. Because I cannot do this, I have to disable acceleration one level below global-HW-acceleration. –  Odys Apr 5 '12 at 8:17
    
If you use drivers from HCL (catalog.update.microsoft.com) the slider to reduce acceleration is back, and you can use official support channels to complain that you have to use it. Can you post a picture of "blur" you get? –  ZaB Apr 5 '12 at 16:57

In my case the graphic corruption disappeared after adding the parameter -Dsun.java2d.noddraw=true

alt text

share|improve this answer
    
It is obvious that java paths differ badly from post to post. –  ZaB Apr 2 '12 at 11:41
    
And the relation between java paths and runtime parameters is ... ? –  alexandrul Apr 2 '12 at 15:22

It seems that editing that setting in the Java Control Panel causes the file

C:\Users\username\AppData\LocalLow\Sun\Java\Deployment\deployment.properties

(Or whereever %appdata% points to)

to get a line:

deployment.javaws.jre.1.args=-Dsun.java2d.d3d\=false

That's per user settings, there's also a system settings option, that may be in All Users, not tested

share|improve this answer
    
What does Jre.1.args means? –  Odys Jan 15 '12 at 11:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.