Page 1 of 1
KGS Ubuntu problem
Posted: Fri Jan 18, 2013 6:01 pm
by Berodan
Hi guys,
first of all i'd like to excuse my terrible english.
If there is a similar topic I didn't found it.
For a while I got a problem with KGS.
I use Ubuntu 12.04 (64bit, german edition) and mostly Java open JDK 6 and 7.
Sometimes my client doesn't react to any kind of command, it is frozen.
I can't reproduce it for sure, but it seems, KGS freezes whenchat or I want to change game settings.
Ingame chatting seems to work just fine.
I've started KGS with the terminal but no error was given.
(Re-) install several versions of java didn't dissolve the problem.
Is there anyone with the same problem or does someone know any solution?
Best wishes
Berodan
Re: KGS Ubuntu problem
Posted: Sat Jan 19, 2013 1:07 am
by betterlife
Start it as root? That's how i solved the sound problem:
sudo java -jar cgoban.jar
Re: KGS Ubuntu problem
Posted: Thu Jan 24, 2013 8:58 am
by Berodan
betterlife wrote:Start it as root? That's how i solved the sound problem:
sudo java -jar cgoban.jar
Sorry for the late answer.
Starting KGS with root didn't solve my problem.
KGS still freezes sometimes, last time when I clicked to place a stone...
In the terminal there is no error given. In fact, other than my command nothing is shown.
So, if someone knows a solution or a hint, I'd appreciate it!
Re: KGS Ubuntu problem
Posted: Thu Jan 24, 2013 10:08 am
by Dusk Eagle
I run KGS just fine on Debian Squeeze. Do you have any other programs on your computer that use Java, and do they run fine?
Re: KGS Ubuntu problem
Posted: Thu Jan 24, 2013 11:02 am
by wms
I run ubuntu and have no problems with the client freezing.
I do not run the client as root.
Re: KGS Ubuntu problem
Posted: Thu Jan 24, 2013 11:08 am
by Berodan
@DuskEagle: Regularly, I only use JDownloader which works fine.
@wms: The problems exists for a few weeks. Usually I don't run it at root either. It was only because of bitterlife's suggestion.
Re: KGS Ubuntu problem
Posted: Thu Jan 24, 2013 12:05 pm
by oren
wms wrote:I run ubuntu and have no problems with the client freezing.
Do you use the OpenJRE or Oracle?
Re: KGS Ubuntu problem
Posted: Thu Jan 24, 2013 12:24 pm
by Berodan
oren wrote:wms wrote:I run ubuntu and have no problems with the client freezing.
Do you use the OpenJRE or Oracle?
I've tried OpenJRE 6 and 7.
Guess I have to try Oracle.
Re: KGS Ubuntu problem
Posted: Thu Jan 24, 2013 2:17 pm
by nascent
I have had a similar problem on Debian GNU/Linux when using the BlackBox window manager.
I have found that, in my case, the problem is not the program "freezing", but is actually a window focus problem. When I would leave the main window to a child window, such as a game I am playing or observing, or a settings dialog, or to view another users info, I could not regain the cursur upon returning focus to the main window.
The problem seems to occur no matter which java implementation you are using (Oracle or OpenJDK/JRE), but I have not tried backversioning java.
I have found that the problem is dependant upon which window manager is being used. In my case I have the problem consistantly when using BlackBox window manager, but never when using WindowMaker.
I doubt this is a problem with the client. It is more likely a java problem. Java may have become dependant on "Gnome Extended Window Manager Hints" (or something similar) to work properly.
You can use WindowMaker without having to install Gnome.
Good luck,
--nascent--
ps: It is probably not a good idea to run java applications as root.
Re: KGS Ubuntu problem
Posted: Thu Jan 24, 2013 2:43 pm
by wms
Oh, right, yeah, definitely use the Oracle Java. I've seen lots of problems from the other JVMs.
Re: KGS Ubuntu problem
Posted: Fri Jan 25, 2013 3:01 pm
by Phelan
wms wrote:Oh, right, yeah, definitely use the Oracle Java. I've seen lots of problems from the other JVMs.
Most of the problems I've had with java applications has come from that particular system not having the oracle JVM installed, or not having it set as default.
Re: KGS Ubuntu problem
Posted: Tue Jan 29, 2013 5:52 am
by Berodan
It seems, my problem is solved using Oracle Java.
Thanks at all for the help!