Cruisers & Sailing Forums (https://www.cruisersforum.com/forums/)
-   OpenCPN (https://www.cruisersforum.com/forums/f134/)
-   -   Help with OpenCPN sound (https://www.cruisersforum.com/forums/f134/help-with-opencpn-sound-91101.html)

stephenippolito 16-10-2012 05:08

Help with OpenCPN sound
 
:banghead: 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.

JesperWe 16-10-2012 06:33

Re: Help with OpenCPN sound
 
https://www.cruisersforum.com/forums/...3-a-85354.html

nkiesel 16-10-2012 15:03

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.

stephenippolito 17-10-2012 12:21

Re: Help with OpenCPN sound
 
Dear JesperWe, Thank You for directing me to the previous thread:

https://www.cruisersforum.com/forums/...3-a-85354.html

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:

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

https://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 17-10-2012 14:13

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.

HappySeagull 29-10-2012 07:01

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...

dpons 29-10-2012 08:00

Re: Help with OpenCPN sound
 
Quote:

Originally Posted by HappySeagull (Post 1071044)
...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

stephenippolito 29-10-2012 08:01

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 29-10-2012 08:13

Re: Help with OpenCPN sound
 
One other common variation is "i386" which is 32 bit intel architecture

HappySeagull 29-10-2012 19:22

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...

dpons 30-10-2012 07:32

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 :D

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

Diego


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

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.


ShowCase vBulletin Plugins by Drive Thru Online, Inc.