KGS Ubuntu problem

Comments, questions, rants, etc, that are specifically about KGS go here.
Post Reply
Berodan
Beginner
Posts: 7
Joined: Fri Jan 18, 2013 5:58 pm
GD Posts: 0

KGS Ubuntu problem

Post 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
User avatar
betterlife
Dies in gote
Posts: 59
Joined: Wed Apr 28, 2010 1:42 am
Rank: EGF 1 Dan
GD Posts: 0
Universal go server handle: betterlife
Location: Zürich, Switzerland
Has thanked: 161 times
Been thanked: 15 times
Contact:

Re: KGS Ubuntu problem

Post by betterlife »

Start it as root? That's how i solved the sound problem:
sudo java -jar cgoban.jar
Berodan
Beginner
Posts: 7
Joined: Fri Jan 18, 2013 5:58 pm
GD Posts: 0

Re: KGS Ubuntu problem

Post 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!
User avatar
Dusk Eagle
Gosei
Posts: 1758
Joined: Tue Apr 20, 2010 4:02 pm
Rank: 4d
GD Posts: 0
Has thanked: 378 times
Been thanked: 375 times

Re: KGS Ubuntu problem

Post 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?
We don't know who we are; we don't know where we are.
Each of us woke up one moment and here we were in the darkness.
We're nameless things with no memory; no knowledge of what went before,
No understanding of what is now, no knowledge of what will be.
User avatar
wms
Lives in gote
Posts: 450
Joined: Tue Apr 20, 2010 4:23 pm
GD Posts: 0
KGS: wms
Location: Portland, OR USA
Has thanked: 257 times
Been thanked: 287 times
Contact:

Re: KGS Ubuntu problem

Post by wms »

I run ubuntu and have no problems with the client freezing.

I do not run the client as root.
Berodan
Beginner
Posts: 7
Joined: Fri Jan 18, 2013 5:58 pm
GD Posts: 0

Re: KGS Ubuntu problem

Post 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.
User avatar
oren
Oza
Posts: 2777
Joined: Sun Apr 18, 2010 5:54 pm
GD Posts: 0
KGS: oren
Tygem: oren740, orenl
IGS: oren
Wbaduk: oren
Location: Seattle, WA
Has thanked: 251 times
Been thanked: 549 times

Re: KGS Ubuntu problem

Post by oren »

wms wrote:I run ubuntu and have no problems with the client freezing.


Do you use the OpenJRE or Oracle?
Berodan
Beginner
Posts: 7
Joined: Fri Jan 18, 2013 5:58 pm
GD Posts: 0

Re: KGS Ubuntu problem

Post 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.
nascent
Beginner
Posts: 17
Joined: Mon Jan 21, 2013 8:57 pm
Rank: igs 12 kyu
GD Posts: 0
KGS: nascent
IGS: nascent
Has thanked: 15 times
Been thanked: 4 times

Re: KGS Ubuntu problem

Post 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.
User avatar
wms
Lives in gote
Posts: 450
Joined: Tue Apr 20, 2010 4:23 pm
GD Posts: 0
KGS: wms
Location: Portland, OR USA
Has thanked: 257 times
Been thanked: 287 times
Contact:

Re: KGS Ubuntu problem

Post by wms »

Oh, right, yeah, definitely use the Oracle Java. I've seen lots of problems from the other JVMs.
User avatar
Phelan
Gosei
Posts: 1449
Joined: Tue Apr 20, 2010 3:15 pm
Rank: KGS 6k
GD Posts: 892
Has thanked: 1550 times
Been thanked: 140 times

Re: KGS Ubuntu problem

Post 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.
a1h1 [1d]: You just need to curse the gods and defend.
Good Go = Shape.
Associação Portuguesa de Go
Berodan
Beginner
Posts: 7
Joined: Fri Jan 18, 2013 5:58 pm
GD Posts: 0

Re: KGS Ubuntu problem

Post by Berodan »

It seems, my problem is solved using Oracle Java.

Thanks at all for the help!
Post Reply