Skip to main content

"Gray square problem" also in Linux

5 replies [Last post]
salvadorjesus
Offline
Joined: 2009-04-02
Points: 0

Hello:

My name is Salvador and this is my fist message in this forum, so first of all, greetings to everyone.

I've been reading on several threads about the problem of a gray square on the Windows client in version 0.4.0. This problem showed up when upgrading to JRE update 12. In the wonderland blog there is a post regarding this issue and it's solution (version 0.4.1 for windows) published on March 9th:
http://blogs.sun.com/wonderland/entry/fix_for_0_4_release

There is one of all the thread at the forums:
http://forums.java.net/jive/thread.jspa?threadID=57425&tstart=105

I started a new thread to notice that the same problem happens with Linux.

I am running Ubuntu 8.04, 32 bits, with Sun JRE update 13, in two different machines; one with an Ati card, and the other one with a Nvidia card. Both machines uses the 'privative drivers' from Nvidia or Ati, suggested by ubuntu. I can run others opengl application with no problems.

This is a screen splash of the problem with the Nvidia Machine:
http://q5lldw.bay.livefilestore.com/y1ppKbzvQZ9D_nNvZib6Xn53lFz71kMw8dkJ...

This is a screen splash of the problem with the Ati Machine:
http://q5lldw.bay.livefilestore.com/y1pv6O4p8ILQrG5nkmP6bJkL638xSUUjLrBg...

The problem is not limited to the gray square. With both machines the screen becomes... unstable. With the Nvidia Machine, Gnome won't render any window with approximately the size of the gray square, or bigger. In this screen I opened two "home folder" windows. One is visible, because is small. The second is completely black, since it's larger:
http://q5lldw.bay.livefilestore.com/y1pkYvmHREmAlnen7mDoqMYB1LS1HrDah0Tj...

With the Ati machine is even more weird. The 3D render blinks all the time, like with the classic double buffer problem (in those days when you had to 'activate it' coding it). When you open another window, the windows appears, but the 3D render is always on the top. See what happen when I open a firefox:
http://q5lldw.bay.livefilestore.com/y1p1B6KSsQV3ujCqxisvp6mpwEMNuFr0FQnw...

You can see how on the Ati machines the 3D renders does not appear completely; There are some parts gray or missing. That's because it is blinking all the time. The screen was capture when the rendering was "repainting" (note the tip I suggested above about the double buffer).

I saw at the comments of the post in the wonderland blog regarding this issue that I'm not the only one having this problems with Linux.

I haven't try to install another JRE or to recompile the code to delete the JProgressbar by myself yet.

Any comments?

Thank you all:

Salvador

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
salvadorjesus
Offline
Joined: 2009-04-02
Points: 0

[b]Update[/b]: I tried the JRE 5.18 and the problem is now solved, [i]just like with the [b]Windows[/b] problem[/i]. But this is not a real solution, right? :-)

Maybe tomorrow I will have time to venture into code changes (the second solution for the windows issue).

Thank you!

jslott
Offline
Joined: 2006-01-05
Points: 0

I just finished confirming that, indeed, the jProgressBar issue in Main.java is causing the "gray square" problem on Linux (Ubuntu 8.10) under Java SE 6u13. We'll likely have to respin the 0.4.1 build for Linux as well.

If you'd like to fix it, comment out the three lines involving jProgressBar1 in Main.java in lg3d-wonderland/src/classes/org/jdesktop/lg3d/wonderland.

salvadorjesus
Offline
Joined: 2009-04-02
Points: 0

Great!

To respin the 0.4.1 would be such a good idea to help [i]n00bs[/i] in wonderland, like me! :-)

I wonder what happens with mac, but I don't have any to try.

Thank you for the help!

bernard_horan
Offline
Joined: 2007-06-04
Points: 0

Salvador

if you're working from source, then checkout the source from lg3d-wonderland and wonderland-modules tagged with rel-0_4_1.

Apple develops its own JDK so we're unlikely to see the same issue till they update it (which tends to be very infrequent).

regards

Bernard

jslott
Offline
Joined: 2006-01-05
Points: 0

Hmmm..... Java SE 6u13, that's a new one. I've got an 8.10 machine, I'll load u13 on there and let you know what I see.