Skip to main content

opengl pipeline unusable - Mustang b81 on OpenSuse 10.0

10 replies [Last post]
pandygy
Offline
Joined: 2006-04-26

Hi,

I've tried to run Swing apps (like SwingSet2, NetBeans 5.0) on Mustang b81 with nvidia 1.0-8756 on OpenSuse 10.0 x86, OpenGL pipeline enabled (-Dsun.java2d.opengl=True).
When starting apps from the shell, the only message i see is that the opengl pipeline is successfully initialized, but the rendering is messed up: the applications are rendered approximately in the left 2/3 of the whole window size with a strange low resolution, coloring artifacts, fonts almost unreadable etc. Shortly - completely unusable.
While I had problems with older nvidia drivers, those caused most of the time jvm crash (NetBeans didn't even start up).
No jvm crash this time, but the the opengl pipeline is simply unusable. Did anybody met such problem?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
philrace
Offline
Joined: 2003-06-09

I can't be sure this completely addresses what you are
seeing but the point size issue is probably this:
Java has always used 72 dpi as its default resolution.
Windows typically uses 96 spi (VGA resolution)
So that's why the sizes look different - they are
different. Where this matters (the windows look and feel)
Java will correctly scale to match the window size.
But in general if you say new Font("Tahoma", Font.PLAIN, 11); in JDK it will NOT be the same size as "11pt" in
notepad. This has absolutely nothing to do with LCD text
and its been like this since JDK 1.0

Now I don't know where in netbeans you are seeing these
different sizes since SFAIK it uses the Win L&F and
that most definitely does correctly match sizes to
windows, but it could just be that netbeans is
choosing a different size than you expect in some case for its own
reasons.

pandygy
Offline
Joined: 2006-04-26

Hi,

i've sent to Chris and You as well a screenshot with this issue. Let me know if more hw/sw details are needed.
Thanks,
George.

campbell
Offline
Joined: 2003-06-24

Hi George,

Just to follow up, it appears that you're not the only one running into this problem. There's one more thread on this forum that seems to be related:
http://forums.java.net/jive/thread.jspa?forumID=25&threadID=15736&messag...

And more recently the same problem has been reported on the javagaming.org forums (read this thread for more info):
http://www.javagaming.org/forums/index.php?topic=14093.0

The problem seems to be specific to the Nvidia GeForce 6200 board, and we've submitted a high priority bug report with Nvidia about this issue. Hopefully it will be resolved shortly.

Thanks,
Chris

pandygy
Offline
Joined: 2006-04-26

Hi Chris,

thanks for the update. I will try soon build 97 with the latest nVidia drivers.

A bit offtopic, but i will put my question here anyway :-) so...
I've just installed build 97 on my Win XP notebook and I was quite (unpleasantly) surprised by the LCD text rendering (something I didn't care about up to now, as I had a good old CRT). The font rendering in Java 6 doesn't match the native cleartype rendering at all.
I've found some open bugs about the rastering, but no update on them. I wonder why this isn't a hot topic, I was quite shocked how "non-native" NetBeans 5.5 looks on Win XP thanks to the font rendering. I don't even want to mention why the Java rendered fonts are approximately by 3 pixels smaller than the windows rendered... (Windows rendered Tahoma 11px has approximately the same size as Java rendered Tahoma 14px, but the Java one looks as it would be a completely different font...).
As Java 6 is already in RC phase I'm afraid fonts will remain unchanged. Is this issue tracked (just with lower priority)?

Thanks,
George.

trembovetski
Offline
Joined: 2003-12-31

It would help if you could submit some screenshots (in png, please).

We know that there are some font fidelity issues, but they're far from "shocking".

Thanks,
Dmitri

danielcas
Offline
Joined: 2006-04-28

Hi, I'm colombian, my english is small.
I nedd the java's helps, please, where download the help?

campbell
Offline
Joined: 2003-06-24

What Nvidia hardware do you have installed? Are you using the Xgl server by any chance? Do native OpenGL apps look okay (glxgears, etc)? Could you post a screenshot showing the buggy behavior?

Thanks,
Chris

pandygy
Offline
Joined: 2006-04-26

Hi Chris,

its a 6200AX 128MB card, no Xgl installed (stock OpenSuse 10.0 with patches from February). Native OpenGL apps work fine. I will send more details and a screenshot later, i don't have access to this box right now.
Thanks,
George.

trembovetski
Offline
Joined: 2003-12-31

just FYI, Chris is on a two-week vacation, so you may not get the answer right away.

Dmitri

alexlamsl
Offline
Joined: 2004-09-02

OT: human-based vacation auto-reply messages? :-O