Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 16-10-2012, 06:08   #1
Registered User

Join Date: May 2011
Location: St. Petersburg
Boat: Beneteau 411
Posts: 10
Help with OpenCPN sound

After several hours of trying, I have once again failed to get sound to work in OpenCPN 3.0.2 on Linux Mint 13 Cinnamon (Ubuntu 12.04 derivative) with Linux 3.2.0-23-generic (x86_64) kernel. Sound works perfectly for all my other installed applications. I love OpenCPN and have used it for years now without sound, and this is my second major attempt at resolving the sound problem. I gave up after days of fighting with oss/pulseaudio/alsa back when I was using Ubuntu 11.
__________________

__________________
stephenippolito is offline   Reply With Quote
Old 16-10-2012, 07:33   #2
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Help with OpenCPN sound

Opencpn Sound problem Linux Mint 13
__________________

__________________
JesperWe is offline   Reply With Quote
Old 16-10-2012, 16:03   #3
Registered User

Join Date: Aug 2012
Location: San Jose, CA, USA
Posts: 65
Quote:
Originally Posted by JesperWe
You can also try the aoss wrapper which simulates the OSS interface using Alsa. See the FAQ entry in the user doc for details.
__________________
nkiesel is offline   Reply With Quote
Old 17-10-2012, 13:21   #4
Registered User

Join Date: May 2011
Location: St. Petersburg
Boat: Beneteau 411
Posts: 10
Thumbs up Re: Help with OpenCPN sound

Dear JesperWe, Thank You for directing me to the previous thread:

Opencpn Sound problem Linux Mint 13

I had unsuccessfully tried that approach before, but was successful when I retried it using the following steps:

1. Download the following files from the internet:

http://apt.wxwidgets.org/dists/squee....1-0_amd64.deb

http://apt.wxwidgets.org/dists/squee....1-0_amd64.deb

Download OpenCPN from SourceForge.net

2. Preference -> Synaptic Package Manager to REMOVE non-functional versions:

libwxbase2.8-0 version 2.8.12.1-6ubuntu2
libwxgtk2.8-0 version 2.8.12.1-6ubuntu2
opencpn if it was previously installed

3. Double-click downloaded files to open GDebi Package Installer and install in the following order:

libwxbase2.8-0_2.8.12.1-0_amd64.deb
libwxgtk2.8-0_2.8.12.1-0_amd64.deb
opencpn_3.0.2-1_amd64.deb

4. Preference -> Synaptic Package Manager to lock version and prevent "upgrade" to non-functional versions:

Select libwxbase2.8-0 and then use menu Package -> Lock Version
Select libwxgtk2.8-0 and then use menu Package -> Lock Version

5. Preference -> Update Manager to lock version and prevent "upgrade" to non-functional versions:

Right-click libwxbase2.8-0 to Ignore Updates For This Package
Right-click libwxgtk2.8-0 to Ignore Updates For This Package

6. Education -> OpenCPN open Toolbox (wrench symbol) select AIS menu and click button to Test Alert Sound
__________________
stephenippolito is offline   Reply With Quote
Old 17-10-2012, 15:13   #5
Registered User

Join Date: May 2011
Location: St. Petersburg
Boat: Beneteau 411
Posts: 10
Re: Help with OpenCPN sound

One additional note: All three packages must have "Mark for Complete Removal" before applying remove command in Synaptic Package Manager (step 2).

Also, thanks to nkiesel, as well, for his alternative suggestion of a course of action to correct the sound problem.
__________________
stephenippolito is offline   Reply With Quote
Old 29-10-2012, 08:01   #6
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Help with OpenCPN sound

...I'm a little confused by this.I've always understood X86 releases to be for Intel Processors and AMD64 to be for AMD 64 bit processors? I am getting the impression here, because the processor of problem machines isn't named, that it's suggested that an AMD release will work in all machines....?

My O-sound (in PuppyLinux Lucid 528) on an intel machine seems to work fine using the X86 debs...
__________________
HappySeagull is offline   Reply With Quote
Old 29-10-2012, 09:00   #7
Registered User

Join Date: Jan 2010
Location: Montevideo, Uruguay
Posts: 238
Re: Help with OpenCPN sound

Quote:
Originally Posted by HappySeagull View Post
...I'm a little confused by this.I've always understood X86 releases to be for Intel Processors and AMD64 to be for AMD 64 bit processors? I am getting the impression here, because the processor of problem machines isn't named, that it's suggested that an AMD release will work in all machines....?

My O-sound (in PuppyLinux Lucid 528) on an intel machine seems to work fine using the X86 debs...
Generally speaking, if the CPU is 64 bits (even intel) the amd64 is the recommended kernel. If you load the regular x86 kernel, you'll only get to use the CPU in 32-bit mode.

What to use is up to you. I need lots of memory for java (6GB per process), so I use the 64-bit mode kernel, otherwise the 32-bit mode kernel (x86) is more compatible with most software.

Incidentally, you can run 32-bit programs in 64-bit mode, but the appropiate libraries (wx, etc) must be installed. I had lots of unhappy times trying to get that to work with some software.

Diego
__________________
dpons is offline   Reply With Quote
Old 29-10-2012, 09:01   #8
Registered User

Join Date: May 2011
Location: St. Petersburg
Boat: Beneteau 411
Posts: 10
Re: Help with OpenCPN sound

The only 64 bit version available for download from both OpenCPN and apt.wxwidgets.org are labeled "amd64".

"x86" generally refers to intel architecture
"amd" generally refers to amd architecture

"64" generally refers to 64 bit architecture
"32" generally refers to 32 bit architecture
"32" is usually not included, but is implied by the absence of "64"

for example x86_64 refers to 64 bit intel architecture

The amd64 bit versions worked well in installs on both intel and amd hardware

Hope that answers your question
__________________
stephenippolito is offline   Reply With Quote
Old 29-10-2012, 09:13   #9
Registered User

Join Date: May 2011
Location: St. Petersburg
Boat: Beneteau 411
Posts: 10
Re: Help with OpenCPN sound

One other common variation is "i386" which is 32 bit intel architecture
__________________
stephenippolito is offline   Reply With Quote
Old 29-10-2012, 20:22   #10
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Help with OpenCPN sound

Thanks,stephenippolito.The " if the CPU is 64 bits (even intel) the amd64 is the recommended kernel" in particular clears that up.and Now that youmentionit ,I never see versions aimed at Intel 64 bit...
I wonder the "i386" isn't really dos-speak...I knowpeople that bought these...the ibm 386mhz Homecomputer ...floppies etc.

Now,....New machines with fast busses and big ram ... wow! java gorging on 6gb! I can'teven imagine it...
__________________
HappySeagull is offline   Reply With Quote
Old 30-10-2012, 08:32   #11
Registered User

Join Date: Jan 2010
Location: Montevideo, Uruguay
Posts: 238
Re: Help with OpenCPN sound


PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
29122 diego 20 0 7071m 475m 11m S 0 3.0 8:07.61 java
29149 diego 20 0 6994m 333m 10m S 0 2.1 9:12.25 java


Java processes are giant, in particular with big framework libraries. These ones use tomcat, postgres, hibernate and struts2, and nearly a thousand users. If I had to pick one reason why java does not have a future, this will be it. Nevertheless, nothing seems much superior for online apps at this time. I long for the gone days when we were fighting to gain a few bytes of memory in C

i386 is the default kernel installed by linux, it will work in 99.9999% of the intel-type machines.

Diego
__________________

__________________
dpons is offline   Reply With Quote
Reply

Tags
opencpn

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 11:27.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.