Slow graphics/animation in Java, Xorg uses 100% cpu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sun-java6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 8.04 on Lenovo T60p, also happens in Ubuntu 8.10 (Intrepid Ibex)
seems to be kernel independent
happens for me with:
...$ lspci | grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc M56GL [Mobility FireGL V5200]
The problem happens with all java implementations: java-1.5.0-sun, java-6-sun, and java-6-openjdk
The problem happens with fglx as well as with the standard (unaccelerated) driver
sun-java6-jre:
Installed: 6-06-0ubuntu1
Candidate: 6-06-0ubuntu1
Version table:
*** 6-06-0ubuntu1 0
500 http://
100 /var/lib/
Bug has been present since release of Ubuntu 8.04.
Graphics/animation in java are often horribly slow (depends on application, but is consistent). This is not the case on Ubuntu 7.X, or earlier versions. It also not the case on other distributions. It is not the case on all other machines, so it may be something about the graphics driver and this graphics card. This happens with all versions of Java, so I suspect the bug is in some library that java is talking to, maybe xulrunner? I tested this on another machine, using an intel graphics card (Intel Mobile GM965/GL960) and the same version of ubuntu and java - it did not show the same bug. So it may also be something to do with ATI and X.
Attached below (bad-linux-
(to run the example java program in the attachment, simply run the shell script "foo"). Looking at "top" output shows that Xorg uses 100% of CPU.
This causes severe problems for use of processing (www.processing
description: | updated |
description: | updated |
description: | updated |
Changed in sun-java6 (Ubuntu): | |
status: | New → Confirmed |
I can confirm this behavior, I also have an ATI graphics controller:
ATI Technologies Inc M24 1P [Radeon Mobility X600]
and have not been able to run any graphic intense java applications in Ubuntu 8.04.
The good news is that java graphics in Intrepid Beta works fine for me, so I will just stick with that.