Pages: [1]   Go Down
Author Topic: Arduino IDE interface broken  (Read 1851 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,
I recently purchased an Arduino Uno to play around with, did some small things yet, but the interface is broken most of the time, so I'm not able to code anything.
When I'm moving my mouse trough the menu strange things start to happen to the interface. Elements begin overlapping like this:

The screenshot is from the Wiring IDE, however the exact same thing happens in Arduino IDE.

This is making it very hard to do anything with the Arduino and I have no idea what causes the problem. I tried reinstalling Java, but no luck. I also tried the Wiring IDE, and the same problem occurs...

I hope someone can help me with this!
« Last Edit: September 28, 2012, 09:13:32 am by NinjaTuna » Logged

Chile
Offline Offline
Edison Member
*
Karma: 35
Posts: 1251
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What if you rename the java folder inside wiring files? to something like "__java"
Logged

My website: http://ried.cl

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

When I use Arduino/Wiring without a java folder in the installation directory I only get a splash screen and then the program shuts down.

Edit: I have reinstalled Java and now both Wiring and Arduino start without a java folder in their installation directories, however the original distorted interface problem persists...
« Last Edit: October 10, 2012, 10:24:56 am by NinjaTuna » Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Does this happen on any other application?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've never encountered it before...
Logged

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

When you re-installed Java, did you by any chance removed all Java and related components from your system first?  Sometimes simply reinstalling it over an old installation does not clear the problem.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think I have been thorough enough in my attempts to remove Java. I used JavaRa, searched my entire PC for any reference to Java, and even wiped every entry in my registry that was associated to Java. But still, no luck, the problem persists...
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It looks like an interaction problem between Java and your graphics card driver. Is that up to date?
Logged

Canada
Offline Offline
Full Member
***
Karma: 0
Posts: 246
Code Monkey
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,
I recently purchased an Arduino Uno to play around with, did some small things yet, but the interface is broken most of the time, so I'm not able to code anything.
When I'm moving my mouse trough the menu strange things start to happen to the interface. Elements begin overlapping like this:

The screenshot is from the Wiring IDE, however the exact same thing happens in Arduino IDE.

Looks like 2D corruption.  Try setting

sun.java2d.noddraw=true

on the VM that launches the IDE. I forget how exactly to do this on Windows, sorry! But you need to add "-Dsun.java2d.noddraw=true" to the list of VM options and restart.
Logged

I yield() for co-routines.

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My video drivers are updated.

For Wiring, I tried creating a wiring.vmoptions file containing

-Dsun.java2d.opengl=true
-Dsun.java2d.d3d=false
-Dsun.java2d.noddraw=true

as stated here and here. I cannot find anything more on the subject so I do not know if this information is entirely correct and applicable...
It did not solve my problem.
Logged

Canada
Offline Offline
Full Member
***
Karma: 0
Posts: 246
Code Monkey
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

My video drivers are updated.

For Wiring, I tried creating a wiring.vmoptions file containing

-Dsun.java2d.opengl=true
-Dsun.java2d.d3d=false
-Dsun.java2d.noddraw=true

as stated here and here. I cannot find anything more on the subject so I do not know if this information is entirely correct and applicable...
It did not solve my problem.

Actually sun.java2d.noddraw is Windows only (as is sun.java2d.d3d). What platform are you running things on? Oh, and I wouldn't enable OpenGL while trying to solve this.

Another likely Windows tweak is:

sun.java2d.ddoffscreen=false
Logged

I yield() for co-routines.

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm on Win7 Enterprise 64bit and I'm not entirely sure how to set these tweaks you speak of. Is a .vmoptions correct way to do it?
Logged

Pages: [1]   Go Up
Jump to: