I don't believe the problem is related to java nor XFree86 for that matter. I have seen this same problem on two Matrox G400 Dual Head PCI cards that I have. The same problem occurs in Windows as well even with their newest drivers.
When using the mirror mode which shows the same screen on both, there are no problems, but as soon as you make them show two displays the result is painfully slow. Try moving a Yahoo chat window onto the second display or run something like winamp with a visual output plug and you'll see it start to crawl. It seems to me that any program that makes multiple bitblt's to the display quickly will result in the same problem. Since theirs no easy way for you to make multiple updates and "sync" then with the vertical refresh (referred to as back buffering), you might be best to help java cause one bigger "paint" instead of several little ones (which happens when you try to do a scrolling list or updating several labels). Option 1: Create two panels to contain your same information. Hide one of the two panels. Then during your updates, make changes to the hidden one, when you're dowe with a batch of them show the hidden one and hide the other. During your next cycle work with the new hidden one. This will allow the painting to occur for the larger single rectangle region only once at a time. Option 2: Depending on how fast you really need to refresh the data, you may just benefit from tracking the data as much as you want, but you use a separate thread to delay the output every XXX milliseconds. That way you still track it, but you don't cause so much painting. Jesse Sarnovsky ExoBrain, Inc. [EMAIL PROTECTED] -----Original Message----- From: Oktay Akbal [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 16, 2002 2:24 AM To: [EMAIL PROTECTED] Subject: weird xinerama problem Hello! We made an Application that runs with sun j2sdk1.4.0 on Suse7.3. The PCs have Matrox G400 Dual-Head-Cards. Our Application mainly consists of several sub-Applications that are lauchned in seperate Threads. Everything works normally. Moving the Applications to the second screen and back is no Problem. One of the Applications launches a JDialog that stays on screen to display some changing Information. As soon this Dialog is moved to a Screen different from the one the Application is running on the whole Application slows down (nearly freezing Screen refresh does take minutes). the java-Process is consuming all cpu-time. When the dialog is moved back to the same screen the application is running on it takes 5-10 seconds and all returns to normal. Someone has an idea ? I will try to make an easy Test-Programm at monday. Could this problem be related to XFree86 (4.1.0) and not to Java? Unfortunatly all Xinerama-PCs I have access to are identically configured. Thanks Oktay ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]