Email:
Password:   
| lost password | Register
Home » TypingMaster Intra » WordTris game slow with Remote X (LTSP) + FireFox Messages in this topic - RSS
2/5/2009 3:59:23 AM
TypingMaster
TypingMaster
Posts 82
Some customers have reported that WordTris game is slow especially with Terminal Server (LTSP) + FireFox, this is caused by heavy screen redrawing when game goes faster. The whole screen needs refreshing everytime when a key is hit.

This problem has been fixed in Java Applet version 7.00.721. Wordtris works now a bit differently (its now more like the ACTIVEX) - the word to be typed is positioned below the falling words and cursor is displayed there. Only this small area is updated when a key is hit, so there will be less traffic between Client and Terminal Server.

Fix has been released in TM Intra 3.00.384b build, its available here for installation:

http://download.typingmaster.com/java/tmintra3/install.htm
edited by TypingMaster on 2/5/2009

--
Best Regards,

TypingMaster, Inc.
www.TypingMaster.com
2/5/2009 11:06:46 AM
Lns
Posts 7
Hi,

Here's a followup message from one of my school techs, after I upgraded to the latest release:

---
I tried a small third grade on Typing Master Word Tris. It's better, but
still has lag and multiple images of the bar. The trouble seems to be in the
graphic movement. It's not freezing up anymore, but it is still clunky.
---

Please advise.
2/5/2009 12:00:06 PM
Lns
Posts 7
Another update:
---
The class I have right now isn't having any problems other than slow applet loads and one person playing word tris had a word bar that never moved.
---
2/6/2009 12:52:13 AM
TypingMaster
TypingMaster
Posts 82
Hi LNS, thank you for testing the new TypingMaster Intra 3.0.384 version with your Linux LTSP, it sounds to me that this fix solved 90 percent of screen refresh problems you had earlier with WordTris game and game is now more playable over RemoteX session. How many bits of color you use for remote sessions, it surely still affects a lot to performance.

Also, can you check bandwidth somehow, is there enough network bandwidth available when the whole class is playing the WordTris game? Could that be another bottleneck, or perhaps the free server CPU ?

P.S. How is the Bubbles game working with your terminals at the moment ?

--
Best Regards,

TypingMaster, Inc.
www.TypingMaster.com
2/17/2009 12:14:21 PM
Lns
Posts 7
I am using 16-bit hicolor. It's of importance to note that no other apps have this performance issue (I believe it is a Java centric issue). Bandwidth is not being utilized completely, and server CPU is not being fully utilized either. The screen refreshes are still 'clunky', but the thin-clients don't crash anymore (which is good, but still doesn't solve our problem).

Please see https://bugs.launchpad.net/libxcb/+bug/277069 - it looks like 'libxcb' (which replaced older X graphical libraries) might be the culprit. It would be greatly appreciated if you all could possibly help us pinpoint this bug, since you are all very experienced Java developers. We need all the information we can get so this can get fixed. If it is, TypingMaster would undoubtedly be "the" Linux/LTSP typing tutor system. Right now, though, it is not stable/usable enough because of this bug.
2/18/2009 3:01:27 AM
TypingMaster
TypingMaster
Posts 82
Lns wrote:

Please see https://bugs.launchpad.net/libxcb/+bug/277069 - it looks like 'libxcb' (which replaced older X graphical libraries) might be the culprit. It would be greatly appreciated if you all could possibly help us pinpoint this bug, since you are all very experienced Java developers.


Hi LNS,

Are you currently using libxcb or older X library? Does "older x library" fix the slowness issues also with TypingMaster ? Unfortunately I was not able to reproduce the slowness issues in our test lab anymore with newer TypingMaster version.

Unfortunately we are not familiar with Linux LibX code, so all I can do is to give out a few tips how to pinpoint the bug using our products.

- Testing AWT vs. SWING:
TypingMaster Intra/Online uses Java SWING classes, but if you like to test your LTSP with older Java 1.1 (AWT only) Applet, you can click this link to take just a Bubbles game:

Bubbles java 1

Does this game work any better? This may give some clue where the problem is.

If its exactly a same problem is with both AWT and SWING, it may be actually more related to simultaneous keyboard input with fast screen drawing, you could test this claim with our FLASH Bubbles game:

Flash bubbles games

--
Best Regards,

TypingMaster, Inc.
www.TypingMaster.com
2/18/2009 10:08:30 AM
Lns
Posts 7
Hi TypingMaster,

We are using the older libxcb libraries, which fixes slow Java issues in general, but still does not help the WordTris bug. It seems it might not be affected by that issue (at least not in whole since we still see other issues with it after going to the older libraries).

I will pass the links onto my on-site techs to test the AWT and Flash Bubbles game. Thank you for your quick responses!
9/1/2009 2:23:11 AM
TypingMaster
TypingMaster
Posts 82
Updated workaround instructions

Linux Terminal Server (LTSP) - Slow GUI issue
===================================
1. Add three lines to /opt/ltsp/i386/etc/lts.conf
[default]
LDM_DIRECTX = true
X_COLOR_DEPTH = 16

2. next, run command "sudo ltsp-update-image" to update the clients
(only applies to LTSP implementations that use NBD client images instead of NFS)

This issue is caused by a bug which existed in XCB - LTSP clients using Java programs
on the server, not the color depth or ssh encryption for clients. Please see
https://bugs.launchpad.net/suse/+bug/277069 for details of this.

--
Best Regards,

TypingMaster, Inc.
www.TypingMaster.com
pages: 1
|

Home » TypingMaster Intra » WordTris game slow with Remote X (LTSP) + FireFox