It is currently Mon Sep 01, 2025 12:02 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
Offline
 Post subject: KGS Ubuntu problem
Post #1 Posted: Fri Jan 18, 2013 6:01 pm 
Beginner

Posts: 7
Liked others: 0
Was liked: 0
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

Top
 Profile  
 
Offline
 Post subject: Re: KGS Ubuntu problem
Post #2 Posted: Sat Jan 19, 2013 1:07 am 
Dies in gote
User avatar

Posts: 59
Location: Zürich, Switzerland
Liked others: 162
Was liked: 15
Rank: EGF 1 Dan
Universal go server handle: betterlife
Start it as root? That's how i solved the sound problem:
sudo java -jar cgoban.jar

Top
 Profile  
 
Offline
 Post subject: Re: KGS Ubuntu problem
Post #3 Posted: Thu Jan 24, 2013 8:58 am 
Beginner

Posts: 7
Liked others: 0
Was liked: 0
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!

Top
 Profile  
 
Offline
 Post subject: Re: KGS Ubuntu problem
Post #4 Posted: Thu Jan 24, 2013 10:08 am 
Gosei
User avatar

Posts: 1758
Liked others: 378
Was liked: 375
Rank: 4d
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.

Top
 Profile  
 
Offline
 Post subject: Re: KGS Ubuntu problem
Post #5 Posted: Thu Jan 24, 2013 11:02 am 
Lives in gote
User avatar

Posts: 450
Location: Portland, OR USA
Liked others: 257
Was liked: 287
KGS: wms
I run ubuntu and have no problems with the client freezing.

I do not run the client as root.

Top
 Profile  
 
Offline
 Post subject: Re: KGS Ubuntu problem
Post #6 Posted: Thu Jan 24, 2013 11:08 am 
Beginner

Posts: 7
Liked others: 0
Was liked: 0
@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.

Top
 Profile  
 
Offline
 Post subject: Re: KGS Ubuntu problem
Post #7 Posted: Thu Jan 24, 2013 12:05 pm 
Oza
User avatar

Posts: 2777
Location: Seattle, WA
Liked others: 251
Was liked: 549
KGS: oren
Tygem: oren740, orenl
IGS: oren
Wbaduk: oren
wms wrote:
I run ubuntu and have no problems with the client freezing.


Do you use the OpenJRE or Oracle?

Top
 Profile  
 
Offline
 Post subject: Re: KGS Ubuntu problem
Post #8 Posted: Thu Jan 24, 2013 12:24 pm 
Beginner

Posts: 7
Liked others: 0
Was liked: 0
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.

Top
 Profile  
 
Offline
 Post subject: Re: KGS Ubuntu problem
Post #9 Posted: Thu Jan 24, 2013 2:17 pm 
Beginner

Posts: 17
Liked others: 15
Was liked: 4
Rank: igs 12 kyu
KGS: nascent
IGS: 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.

Top
 Profile  
 
Offline
 Post subject: Re: KGS Ubuntu problem
Post #10 Posted: Thu Jan 24, 2013 2:43 pm 
Lives in gote
User avatar

Posts: 450
Location: Portland, OR USA
Liked others: 257
Was liked: 287
KGS: wms
Oh, right, yeah, definitely use the Oracle Java. I've seen lots of problems from the other JVMs.


This post by wms was liked by: Phelan
Top
 Profile  
 
Offline
 Post subject: Re: KGS Ubuntu problem
Post #11 Posted: Fri Jan 25, 2013 3:01 pm 
Gosei
User avatar

Posts: 1449
Liked others: 1562
Was liked: 140
Rank: KGS 6k
GD Posts: 892
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

Top
 Profile  
 
Offline
 Post subject: Re: KGS Ubuntu problem
Post #12 Posted: Tue Jan 29, 2013 5:52 am 
Beginner

Posts: 7
Liked others: 0
Was liked: 0
It seems, my problem is solved using Oracle Java.

Thanks at all for the help!

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group