From mblaesing at doppel-helix.eu Tue Jan 8 06:27:32 2013 From: mblaesing at doppel-helix.eu (Matthias =?ISO-8859-1?Q?Bl=E4sing?=) Date: Tue, 08 Jan 2013 15:27:32 +0100 Subject: State of Bug 7179339 (Graphics corruption in netbeans) Message-ID: <1357655252.6043.0.camel@prometheus.glx> Hey, in September a bug was reportered, that netbeans shows rendering artifacts - the bug url was: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7179339 but that is not accessible. I think I can reproduce it. I'm now faced with the dilemma to choose whether I like scrolling artifacts better when scrolling horizontal (with the default X11 pipeline): https://bugs.freedesktop.org/show_bug.cgi?id=50850 or these artifacts that I hit when scrolling vertically (see attached screenshot). Some more information - the netbeans.conf (I only added the activation of the xrender pipeline): netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.zip.disableMemoryMapping=true -J-Dsun.java2d.xrender=True" This system is an ubuntu 12.10 system, that I modified with the xorg-edgers (newer X11-Drivers) repository. This is the version of openjdk: matthias at prometheus:~$ java -version java version "1.7.0_09" OpenJDK Runtime Environment (IcedTea7 2.3.3) (7u9-2.3.3-0ubuntu1~12.10.1) OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode) matthias at prometheus:~$ If more information is needed - just ask I'll try to retrieve it. Can I do more to support the bugfixing? Greetings Matthias -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot.png Type: image/png Size: 41405 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/xrender-dev/attachments/20130108/3d37aeb9/Screenshot-0001.png From linuxhippy at gmail.com Tue Jan 8 07:25:02 2013 From: linuxhippy at gmail.com (Clemens Eisserer) Date: Tue, 8 Jan 2013 16:25:02 +0100 Subject: State of Bug 7179339 (Graphics corruption in netbeans) In-Reply-To: <1357655252.6043.0.camel@prometheus.glx> References: <1357655252.6043.0.camel@prometheus.glx> Message-ID: Hi Matthias, I think I have good news for you - this bug should be fixed in the latest JDK8 builds available at: http://jdk8.java.net/ OpenJKD8 builds should have it too, however I don't know where pre-compiled openjdk-8 builds are available. > I'm now faced with the dilemma to choose whether I like scrolling > artifacts better when scrolling horizontal (with the default X11 > pipeline): > > https://bugs.freedesktop.org/show_bug.cgi?id=50850 This is quite unfourtunate. I wonder what is going wrong there (and why it works with xrender), as scrolling is done in both cases with XCopyArea.... Greetings, Clemens From mblaesing at doppel-helix.eu Tue Jan 8 11:58:56 2013 From: mblaesing at doppel-helix.eu (Matthias =?ISO-8859-1?Q?Bl=E4sing?=) Date: Tue, 08 Jan 2013 20:58:56 +0100 Subject: State of Bug 7179339 (Graphics corruption in netbeans) In-Reply-To: References: <1357655252.6043.0.camel@prometheus.glx> Message-ID: <1357675136.28881.10.camel@prometheus.glx> Hi Clemens, Am Dienstag, den 08.01.2013, 16:25 +0100 schrieb Clemens Eisserer: > I think I have good news for you - this bug should be fixed in the > latest JDK8 builds available at: http://jdk8.java.net/ Thanks for the heads up! > OpenJKD8 builds should have it too, however I don't know where > pre-compiled openjdk-8 builds are available. I think I can confirm this (the xrender case) fixed in JDK8 - I did a complete build from the clone of: http://hg.openjdk.java.net/jdk8/jdk8/ I created a minimal testcase enabling me to test the case in the horizontal and vertical scrolling direction. I reproduced the problem for both cases with the system jdk and was not able to reproduce the problem with the new openjdk build. As I also noticed the xrender pipeline is on by default, the normal user case whould be fixed to - nice :-) The big question: Is it possible to backport that patch to jdk7? Actually I don't care to much about offical packages, I'm willing to rebuild the openjdk package of ubuntu for me - I just want to jump the openjdk-8 wagon right now. Greetings Matthias From linuxhippy at gmail.com Tue Jan 8 13:23:09 2013 From: linuxhippy at gmail.com (Clemens Eisserer) Date: Tue, 8 Jan 2013 22:23:09 +0100 Subject: State of Bug 7179339 (Graphics corruption in netbeans) In-Reply-To: <1357675136.28881.10.camel@prometheus.glx> References: <1357655252.6043.0.camel@prometheus.glx> <1357675136.28881.10.camel@prometheus.glx> Message-ID: Hi again, > I reproduced the problem for both > cases with the system jdk and was not able to reproduce the problem > with the new openjdk build. Thanks for verifying it. > As I also noticed the xrender pipeline is on by default, the normal user > case whould be fixed to - nice :-) Well, there are a few known bugs I would like to fix, hopefully in Summer after finishing my master thesis. > The big question: Is it possible to backport that patch to jdk7? > Actually I don't care to much about offical packages, I'm willing to > rebuild the openjdk package of ubuntu for me - I just want to jump the > openjdk-8 wagon right now. Sure, it should be quite simple. The patches are available at: http://cr.openjdk.java.net/~ceisserer/7105461/webrev.06/ Have a lot of fun with the pipeline :) Regards, Clemens From mblaesing at doppel-helix.eu Mon Jan 14 13:24:15 2013 From: mblaesing at doppel-helix.eu (Matthias =?ISO-8859-1?Q?Bl=E4sing?=) Date: Mon, 14 Jan 2013 22:24:15 +0100 Subject: State of Bug 7179339 (Graphics corruption in netbeans) In-Reply-To: References: <1357655252.6043.0.camel@prometheus.glx> <1357675136.28881.10.camel@prometheus.glx> Message-ID: <1358198655.17685.6.camel@prometheus.glx> Hey Clemens, Am Dienstag, den 08.01.2013, 22:23 +0100 schrieb Clemens Eisserer: > > The big question: Is it possible to backport that patch to jdk7? > > Actually I don't care to much about offical packages, I'm willing to > > rebuild the openjdk package of ubuntu for me - I just want to jump the > > openjdk-8 wagon right now. > > Sure, it should be quite simple. The patches are available at: > http://cr.openjdk.java.net/~ceisserer/7105461/webrev.06/ > > Have a lot of fun with the pipeline :) thanks for your support - this worked quite nice. I rebuild the ubuntu package and got a much better experience in netbeans. I'll run netbeans now on the xrender pipeline. Attached you find a patch against the ubuntu openjdk-7 sources - if you find it useful feel free to use. Thanks again! Matthias -------------- next part -------------- A non-text attachment was scrubbed... Name: xrender-debian.patch Type: text/x-patch Size: 5281 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/xrender-dev/attachments/20130114/9fef866b/xrender-debian.patch