Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-06-06, 09:26 AM   #1
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default java2d in OpenGL mode buggy

Hello!

There is screen corruption when Sun's java 1.6.0-beta2-b86 is rendering 2d graphics using OpenGL in firefox 1.5.0.4.

./jdk1.6.0/bin/ControlPanel->Java tab->Java runtime settings->View button
Java runtime parameters:
-Dsun.java2d.opengl=true

Java test pages:
http://www.java.com/en/download/help/testvm.xml
http://www.javatester.org/version.html
text broken ->scroll up as java applet hides and down to see it is OK now
pink background no text -> scroll up/down as above. Not always help.

With antialiasing enabled there is worse effect.

If scrolling up/down does not helps it means that OpenGL is frozen.
Close and open web browser to restore.

http://www.v-workshops.com/java/
blank white page -> no blue-black picture with red word and snow falling

http://www.cis.upenn.edu/~matuszek/G...JavaTests.html
white empty boxex, should be in colour

Setting -Dsun.java2d.opengl=false fixes all these rendering bugs.

My config:
Linux 2.6.17.1
X.org 6.9.0
nvidia driver 1.0-8762
Geforce 6150 a2
kde 3.5.3
zbiggy is offline   Reply With Quote
Old 07-06-06, 09:53 AM   #2
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: java2d in OpenGL mode buggy

It can also be a bug in the java2d code. Do some more tests (for instance test with mesa) to see if it really are the nvidia drivers.
Thunderbird is offline   Reply With Quote
Old 07-06-06, 10:35 AM   #3
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: java2d in OpenGL mode buggy

Can this problem be capture in a screenshot? Also, please generate and post an nvidia-bug-report.log.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 07-06-06, 01:37 PM   #4
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default Re: java2d in OpenGL mode buggy

Quote:
Originally Posted by netllama
Can this problem be capture in a screenshot? Also, please generate and post an nvidia-bug-report.log.

Thanks,
Lonni
If during browsing one applet will fail to display (is rendered as white square) next applets will be rendered as white squares too till web browser will be closed and reopened.

If applet is rendered partialy (only some characters, parts of picture ar broken) it is possible to recover right outlook by scrolling page till java applet will go offwindow and scroll back to make it visible again. Another method to recover java applet is to grab small window, or dialog window and move it over broken java applet.
Attached Thumbnails
Click image for larger version

Name:	cis.upenn.jpg
Views:	155
Size:	32.3 KB
ID:	19176  Click image for larger version

Name:	java.com.jpg
Views:	136
Size:	8.8 KB
ID:	19178  Click image for larger version

Name:	java-console.jpg
Views:	160
Size:	33.5 KB
ID:	19179  Click image for larger version

Name:	java.konqueror.jpg
Views:	145
Size:	8.2 KB
ID:	19180  
Attached Files
File Type: zip nvidia-bug-report.log.zip (26.0 KB, 116 views)
zbiggy is offline   Reply With Quote
Old 07-06-06, 01:42 PM   #5
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: java2d in OpenGL mode buggy

Thanks. This is a known bug.

-Lonni
netllama is offline   Reply With Quote
Old 07-06-06, 01:44 PM   #6
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default Re: java2d in OpenGL mode buggy

Another 2 pictures.
Attached Thumbnails
Click image for larger version

Name:	java-console.jpg
Views:	150
Size:	33.5 KB
ID:	19184  Click image for larger version

Name:	javatester.jpg
Views:	140
Size:	23.4 KB
ID:	19185  
zbiggy is offline   Reply With Quote
Old 07-12-06, 03:18 PM   #7
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default Re: java2d in OpenGL mode buggy

Another way to fix wrongly rendered java applets is to minimize web browser to task bar and then restore it.

The coloured text you see in Java Console screenshot can not be fixed in any way.

Attached files show another example. The file named test-applet1-restore.jpg shows how applet looks after doing minimizing/maximizing web browser window. The coloured text can not be fixed - should be always black.

If applet can not be rendered well at all every web browser tabs and windows must be closed. After opening web browser again applet is rendered well.

Update: Forgot to add link to this applet:
http://mozillapl.org/files/java/test/applet.html
Applet works in simple way, after run it shows all special characters used in Polish language.
Then you can type in any words in left box below TextField box and press 'Zapisz' (which means Save in English). What you type will show in both boxes above 'Zapisz' button.
Attached Thumbnails
Click image for larger version

Name:	test-applet.jpg
Views:	117
Size:	5.8 KB
ID:	19267  Click image for larger version

Name:	test-applet1-restore.jpg
Views:	107
Size:	6.0 KB
ID:	19268  
zbiggy is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
320.17 can't detect video modes on Lenovo laptop tadawson NVIDIA Linux 13 07-14-12 01:40 AM
Very slow X startup Jeremy NVIDIA Linux 96 05-23-03 10:11 AM
Error messages... HELP!!!! Imperito NVIDIA Linux 3 09-24-02 10:46 PM
Nvidia GF4 MX 440 + Mandrake tomchristopher NVIDIA Linux 3 08-18-02 09:42 AM
nVidia drivers + Red Hat Linux 7.3 Error404 NVIDIA Linux 17 08-16-02 11:34 AM

All times are GMT -5. The time now is 10:39 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.