It is currently Wed Apr 30, 2025 9:30 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
Offline
 Post subject: KGS sound on Linux - current status
Post #1 Posted: Sat Jan 21, 2012 8:33 pm 
Dies in gote

Posts: 69
Liked others: 29
Was liked: 29
Rank: EGF 1d
KGS: CBlue
KGS sound partially works for me on OpenJDK 7 (and Pulseaudio), without the need for any wrapper or proxy hacks:
Pass sound and chat notification sound work.
Stone clacking and voice transmission does not work.

Maybe at least stone clacking could be changed to use the same means for sound generation as chat/pass do?

It should be noted that Oracle (formerly Sun) Java has been removed from some distributions due to the way Oracle decided to handle Java after it took over, so it becomes that more important to support OpenJDK now.


This post by C. Blue was liked by: judicata
Top
 Profile  
 
Offline
 Post subject: Re: KGS sound on Linux - current status
Post #2 Posted: Sun Jan 22, 2012 4:49 pm 
Lives in sente
User avatar

Posts: 932
Location: New York, NY
Liked others: 146
Was liked: 150
Rank: KGS 1k
Universal go server handle: judicata
All true. I'd rather use openjdk, but I always end up installing the Sun/Oracle version.

Top
 Profile  
 
Offline
 Post subject: Re: KGS sound on Linux - current status
Post #3 Posted: Mon Jan 23, 2012 9:39 am 
Lives with ko
User avatar

Posts: 295
Location: Linz, Austria
Liked others: 21
Was liked: 44
Rank: EGF 4 kyu
GD Posts: 627
Actually, starting with version 7, the official Oracle JDK and the OpenJDK are nearly identical, and the differences are expected to disappear soon...

(See for example http://blogs.oracle.com/henrik/entry/moving_to_openjdk_as_the.)

I would be very surprised if you still found something that works with the latest Oracle JDK 7 and not with the latest OpenJDK 7 (version 6 is a different story :P).

Top
 Profile  
 
Offline
 Post subject: Re: KGS sound on Linux - current status
Post #4 Posted: Mon Jan 23, 2012 12:03 pm 
Lives with ko
User avatar

Posts: 269
Location: Seattle
Liked others: 127
Was liked: 123
Rank: AGA 12k
GD Posts: 292
KGS: RedBeard
DGS: Akahige
I'm not sure it's an OpenJDK issue. I have the same problem with Debian 6.03 using the sun-java6-jdk package, however the issue is intermittent. Pre-pending "padsp" to the "javaws" command seems to help. Sometimes I have to bring up KGS with "padsp javaws cgoban.jnlp", kill pulseaudio, and restart it before the sound plays correctly.

I haven't had much time to thoroughly test the issue, but I believe it has more to do with pulseaudio than Java. You can duplicate the issue using the Java Sound Demo app.

Top
 Profile  
 
Offline
 Post subject: Re: KGS sound on Linux - current status
Post #5 Posted: Mon Apr 09, 2012 6:45 am 
Dies in gote

Posts: 20
Liked others: 5
Was liked: 1
Rank: 3k
I had a similar issue but with the sun jdk (solution here).
It turned out, weirdly, that the issue was with the alsa driver. Renaming that driver so that it isn't loaded helped and everything has since worked like a charm with padsp infront of the java command.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 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