Neither ubuntu 8.10, nor open jdk, nor ATI drivers solve the problem on my machine (IBM thinkpad T60p).
** Description changed: - Ubuntu 8.04.1 on Lenovo T60p + Ubuntu 8.04 on Lenovo T60p, also happens in Ubuntu 8.10 (Intrepid Ibex) - ...$ uname -a - Linux luki 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux - Updated 22 July, 08 + 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://gb.archive.ubuntu.com hardy/multiverse Packages 100 /var/lib/dpkg/status 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. Attached is an example java program - on distributions with working java, the icon moves to the location of the mouse smoothly. On Ubuntu 8.04, on my T60p, it moves jerkily and slowly; I get aprox 1 frame every second, where on working machines it's as much as 60. - (to run example java program in the attachment, simply run the shell script "foo"). Looking at "top" output shows that Xorg uses 100% of CPU. + 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. - The has severe problems for use of processing (www.processing.org) as - well as many other java based programs and thus webpages. I suspect - this may be the culprit for several other misunderstood java related - bugs. + Attached below (bad-linux-java.tgz) is a small and simple example java program that goes wrong. On distributions with working java, the icon moves to the location of the mouse smoothly. On Ubuntu 8.04, on my T60p, it moves jerkily and slowly; I get aprox 1 frame every couple of seconds; on working machines it's as much as 60. + (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 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 a - friends 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 be something to do with ATI and X. + This causes severe problems for use of processing (www.processing.org) + as well as many other java based programs and thus also webpages. I + suspect this may be the culprit for several other misunderstood java + related bugs. -- Slow graphics/animation in Java, Xorg uses 100% cpu https://bugs.launchpad.net/bugs/250931 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs