Ticket #112 (closed usability: fixed)

Opened 5 years ago

Last modified 3 years ago

Java3D apps displayed over X11 to Leopard don't produce any visuals

Reported by: merlereinhart@… Owned by: gstaplin@…
Priority: Nice to Have Milestone: 2.3.2
Component: xserver Version: 2.2.1 (xserver-1.3.0-apple20)
Keywords: Cc:

Description

This is a case of running an app on a Solaris 10 box that utilizes Java3D with the X11 display on a Leopard machine (in this case running X11-2.2.1, but seems to occur with any Leopard Xquartz older or newer). What seems to happen is that the Java app is not able to determine the appropriate display capabilities and thus doesn't display anything except an empty gray window.

Note, this is a regression from Tiger X11 as it works fine there.

It would appear that the Leopard X11 is not producing a visual configuration that is acceptable to Java, but Tiger is (the exact same machine running Tiger produces 32 visuals according to glxinfo while Leopard produces 8).

I've attached xdpyinfo run from the Solaris machine asking the Mac X11 server its capabilities (solaris_to_Leopard.txt and solaris_to_Tiger.txt).

I've also attached glxinfo output running on the Mac in Leopard and Tiger (note, there is a crasher in Leopard running the command 'glxinfo -l'). The files are leopard_glxinfo-l.txt, leopard_glxinfo.txt and tiger_glxinfo-l.txt.

Finally, I've also attached a simple Java3D app that will trigger the problem (the demo HelloUniverse java3D app can also be used to trigger it). The app is 'test.java'.

To test this, compiling and running this app on a Solaris machine with X11 displayed on a Leopard Mac will work. I did not have a Linux box available to test with so I couldn't try that in place of the Solaris box.

Finally, this may be related to ticket #45 relating to stereo.

Attachments

solaris_to_Leopard.txt (3.7 KB) - added by merlereinhart@… 5 years ago.
xdpyinfo run on Solaris querying Mac X-server capabilities
solaris_to_Leopard.2.txt (3.7 KB) - added by merlereinhart@… 5 years ago.
xdpyinfo run on Solaris querying Mac X-server capabilities
solaris_to_Tiger.txt (9.3 KB) - added by merlereinhart@… 5 years ago.
xdpyinfo run on the Solaris box querying the Tiger x-server
tiger_glxinfo-l.txt (8.1 KB) - added by merlereinhart@… 5 years ago.
Tiger X11 glxinfo -l output
leopard_glxinfo.txt (5.0 KB) - added by merlereinhart@… 5 years ago.
Leopard glxinfo output
leopard_glxinfo-l.txt (10.0 KB) - added by merlereinhart@… 5 years ago.
Leopard 'glxinfo -l' output...note crash
glxinfo_2008-05-14-163941_bifrost.crash (17.0 KB) - added by merlereinhart@… 5 years ago.
Leopard glxinfo -l crash log
test.java (3.0 KB) - added by merlereinhart@… 5 years ago.
The Java3D test app
Leopard_java3d_output.txt (3.6 KB) - added by merlereinhart@… 5 years ago.
Output of the test.java app on Leopard
Tiger_java3d_output.txt (3.4 KB) - added by merlereinhart@… 5 years ago.
Output of the test.java app on Tiger...this also properly paints the window with a stationary 3-d cube

Change History

Changed 5 years ago by merlereinhart@…

xdpyinfo run on Solaris querying Mac X-server capabilities

Changed 5 years ago by merlereinhart@…

xdpyinfo run on Solaris querying Mac X-server capabilities

Changed 5 years ago by merlereinhart@…

xdpyinfo run on the Solaris box querying the Tiger x-server

Changed 5 years ago by merlereinhart@…

Tiger X11 glxinfo -l output

Changed 5 years ago by merlereinhart@…

Leopard glxinfo output

Changed 5 years ago by merlereinhart@…

Leopard 'glxinfo -l' output...note crash

Changed 5 years ago by merlereinhart@…

Leopard glxinfo -l crash log

Changed 5 years ago by merlereinhart@…

The Java3D test app

Changed 5 years ago by merlereinhart@…

Output of the test.java app on Leopard

Changed 5 years ago by merlereinhart@…

Output of the test.java app on Tiger...this also properly paints the window with a stationary 3-d cube

comment:1 Changed 5 years ago by jeremyhu@…

  • Version set to 2.2.1 (xserver-1.3)
  • Milestone set to 3.0

comment:2 Changed 5 years ago by jeremyhu@…

  • Milestone changed from 3.0 to 2.4.0

comment:3 Changed 5 years ago by jeremyhu@…

  • Owner changed from jeremyhu@… to gstaplin@…

comment:4 Changed 4 years ago by zlgdgzl@…

wuchangxianxie Sunpower Solar Water Heater Co., Ltd is a private company, professional producing solar water heater, and having the most advanced production line in Chinese, like automatic foaming machine imported from Italy, automatic argon arc welding machine from America, and numerical control punch. We use Germany Bayer's polyurethane and SUS304 stainless steel from Korea and Taiwan. Our company is one of the earliest companies engaging in exporting, having many years experience in exporting, and 90% of our products are exported to overseas market.

Sunpower Solar Energy Industry Co., Ltd, covers an area of nearly 150000 square metre, Now it has more than 300 workers and staff members among which the primary. Medium and high grade technicians share 65% of the total personnel. It is of abumdant technical force, advanced craft testing means. Its annual productive capacity reaches to 300000 sets. Our factory is the first to pass the ISO9001: 2000 quality system attestation among the same trade. Our products have get EN12975: 2 certificate, and all of the products are strictly complied with its standard. The goods reach to the first-class international standard. Now already export 62 counties. Our gain is "Where is sunlight, where is Sunpower". OEM also welcome.

http://www.solar-water-heaters.com.cn

comment:5 Changed 4 years ago by gstaplin@…

The OpenGL visuals and fbconfigs were broken in the release you were using. I have since then fixed the visuals, fbconfigs, and stereo support. Can you try using 2.3.2.1 to see if it fixes the problem? If not, I will try to use a Java app remotely with indirect rendering.

Sorry about the delay in responding to this after it was assigned to me...

comment:6 Changed 4 years ago by jeremyhu@…

comment:7 Changed 4 years ago by jeremyhu@…

  • Status changed from new to closed
  • Resolution set to fixed

comment:8 Changed 4 years ago by jeremyhu@…

  • Milestone changed from OpenGL.framework DRI to 2.3.2
Note: See TracTickets for help on using tickets.