LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-15-2009, 12:27 PM   #16
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275

Quote:
Originally Posted by vik View Post
What do you mean by "True Multilib"? Are you using Alien Bob's packages or some other solution?

Are you using wine 32-bit or Alien Bob's wine 64-bit package?
I'm using Alien BOB's multilib package and his WINE 64-bit package.

I just installed via WINE the ms-powerpoint player 2007 and,
again, there is no sound when used in either KDE or Xfce.

I've check the ALSA configuration and it is correct, so at this point I think there must be a "switch" in WINE that needs to be "thrown" or a variable the needs to be pass along on the command line to get sound to work.

OTOH, when tested in the WINE config panel, sound does work with ALSA or OSS, but, again, as I've said before, there is no sound when playing powerpoint files.

Last edited by cwizardone; 10-15-2009 at 12:29 PM.
 
Old 10-15-2009, 01:41 PM   #17
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
WINE is not the problem, so it must be Powerpoint?

Just for chuckles I installed WinAmp with WINE and it came up blasting some rock song, so the problem is not with WINE.

It must be something with Powerpoint?

BTW, the video capabilities of WinAmp do not work in WINE for some reason. Too bad. However, as noted, sound does work.

Last edited by cwizardone; 10-15-2009 at 01:49 PM.
 
Old 10-15-2009, 03:17 PM   #18
vik
Member
 
Registered: Apr 2008
Distribution: Gentoo, FreeBSD
Posts: 225
Blog Entries: 8

Rep: Reputation: 50
Looking at the appdb for M$ Powerpoint 2007, it looks like wine support is spotty at best (silver and bronze ratings). Does this bug apply: http://bugs.winehq.org/show_bug.cgi?id=16485 ?

Last edited by vik; 10-15-2009 at 03:19 PM.
 
Old 10-18-2009, 05:29 PM   #19
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
The sounds in the Powerpoint file are probably MIDIs. There's a special procedure to get MIDI working in Wine.

I can't test these steps because I'm not using ALSA, but they should be correct.

Install a MIDI synthesizer that can provide a MIDI port. The easiest way to do this is with my TiMidity++ SlackBuild, which gives you a MIDI port at 128:0.
http://www.vcn.bc.ca/~dugan/timidity/index.html

Use "aconnect -i" to find out where your "Midi Through" port is. Let's say it's 14:0. Connect it to your TiMidity port with "aconnect 14:0 128:0."

Then try Powerpoint again.

Last edited by dugan; 10-18-2009 at 05:32 PM.
 
Old 10-18-2009, 07:14 PM   #20
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
Quote:
Originally Posted by dugan View Post
The sounds in the Powerpoint file are probably MIDIs. There's a special procedure to get MIDI working in Wine.

I can't test these steps because I'm not using ALSA, but they should be correct.

Install a MIDI synthesizer that can provide a MIDI port. The easiest way to do this is with my TiMidity++ SlackBuild, which gives you a MIDI port at 128:0.
http://www.vcn.bc.ca/~dugan/timidity/index.html

Use "aconnect -i" to find out where your "Midi Through" port is. Let's say it's 14:0. Connect it to your TiMidity port with "aconnect 14:0 128:0."

Then try Powerpoint again.
Thanks. Installing Timidity, via your instructions, is one of the first things I do with each new Slackware installation.

I would be very surprised if the audio files were MIDI, but I ran "acconect -i" and it was 14:0, so I also ran "aconnect 14:0 128:0." Unfortunately, it didn't make a difference. There is still No sound from Powerpoint from ms-office 2003 or the powerpoint viewer 2007.

However, I do thank you for taking the time to consider a solution.
 
Old 10-23-2009, 11:47 AM   #21
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
OK. A helpful BM over at the WINE forum has said I need to install the mp3.codec. I did a search for that on the same forum and it is suggested one rename the mp3.codec to, "winemp3.acm" and place it in the ./home/userename/.wine/drive_c/system32 folder.

One problem; I can't find the "mp3.codec."

I've download a package that was suppose to install the mp3.codec for the windows media player and used WINE to install it, but it is nowhere to be found and didn't solve the problem with powerpoint.
I download Alien BOB's complete packages of No Arch MPlayer codecs, but it not in there.
Anyone know where to find a working "mp3.codec"?
Many Thanks.

Last edited by cwizardone; 10-23-2009 at 11:49 AM.
 
Old 10-23-2009, 12:58 PM   #22
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Maybe you build it?

http://source.winehq.org/source/dlls/winemp3.acm/
 
Old 10-23-2009, 01:53 PM   #23
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
Quote:
Originally Posted by shadowsnipes View Post
Thanks for hunting that down.
The first file in that directory, while listed, doesn't actually exist. As to the rest, while I've built a few files, many years ago, i don't know enough, and no longer have the interest, in taking it any further (building files, that is).
Again, thanks.

Last edited by cwizardone; 10-23-2009 at 01:54 PM.
 
Old 02-22-2010, 12:53 PM   #24
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
Quote:
Originally Posted by vik View Post
What do you mean by "True Multilib"? Are you using Alien Bob's packages or some other solution?

Are you using wine 32-bit or Alien Bob's wine 64-bit package?
Yes, I'm using Alien Bob's multilib files and his 64 bit WINE package. Recently I did a fresh install of Slackware64, upgraded it to 'current', and just this morning re-installed the multilib files and WINE.
Sound works in WINE, but it does not work in ms-office Powerpoint 2003 or Powerpoint Viewer 2007 running in WINE. Do you think running the 32 bit version of WINE might be the solution?
 
Old 02-22-2010, 09:47 PM   #25
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
Tried CrossOver and there was audio in powerpoint, but it was full of noise, pops, and the voices sounded like overly caffeinated chipmunks.

Other than the lack of audio, both ms-office powerpoint 2003 and ms-powerpoint player 2007 are much more stable in WINE than in CrossOver for whatever reasons. powerpoint player 2007 crashed immediately in CrossOver and powerpoint 2003 crashed on the second pps file.

Too bad there isn't a fix for running them in WINE as I would never have to boot over to XP again (or run it in VB).
 
Old 02-27-2010, 05:28 PM   #26
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
Eureka!

Many thanks to dimesio over at WINEHQ who came up with the solution.
I've cut and pasted his recommendations and the solution.

dimesio's reply to my latest message:
Quote:
"The most likely cause is that you don't have 32 bit libmgp123 installed and/or your Wine package was compiled without mp3 support. This will affect any apps (like Powerpoint) that rely on Windows Media Player codecs to play sound. Apps that install their own codecs, like Winamp or VLC, are not affected.

Check that you have 32 bit libmpg123, and if you don't, install it. Also check that your Wine install includes winemp3.dll.so; if it doesn't, your Wine package lacks mp3 support. I've posted a workaround for that in the AppDB entry for Powerpoint 2003."

His solution (dated today, btw):
Quote:
"(Updated 2010-02-27)
Set riched20 to native after installing (needed for thesaurus). There is no need to copy the dll or use winetricks; Office 2003 installs its own riched20.dll, but the override must be set in winecfg for Wine to use it.
All but two of the default bullet characters are from Wingdings. If you want them to look the same as on Windows, install that font.

Starting with 1.1.38, set gdiplus to native, builtin for inserted gifs and pngs to display properly. There is no need to install gdiplus, as Office 2003 installs its own version. This override is not needed for earlier versions of Wine, as prior to 1.1.38 the default behavior was to favor gdiplus that was installed *by the app itself.
For mp3 sound to play out of the box, you must have 32 bit libmpg123 installed on your system and Wine must have been compiled with mp3 support. Not all distro packages provide this......

The workaround for lack of winemp3.acm is to use the codec installed by WMP9, l3codeca.acm. Copy l3codeca.acm to the wineprefix's /windows/system32 directory (or use winetricks to install WMP9), then create a symlink to it named winemp3.acm in the same directory."
It works! Finally! It was the workaround using a symbolic link to l3codeca.acm that did the trick.

A to dimesio at WINEHQ, and again, many thanks.

Now... if I can just remember how I once got alienbob's gnome-mplayer to play a video that uses the wvp2 codec....

Last edited by cwizardone; 02-27-2010 at 05:51 PM.
 
Old 02-28-2010, 07:05 AM   #27
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Some good news for you will be that slackware-current switched from mpg321 to mpg123 and as a result contains libmpg123.so now by default. This will solve one issue you have with Wine on Slackware.

Eric
 
Old 02-28-2010, 07:47 AM   #28
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275Reputation: 7275
Quote:
Originally Posted by Alien Bob View Post
Some good news for you will be that slackware-current switched from mpg321 to mpg123 and as a result contains libmpg123.so now by default. This will solve one issue you have with Wine on Slackware.
Eric
Yes, thank you, I did noticed that, but I did have to install the 32 bit package.
BTW, does your build of WINE have mp3 support?
Thanks.
 
Old 02-28-2010, 08:17 AM   #29
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by cwizardone View Post
BTW, does your build of WINE have mp3 support?
Not until I start building packages for Slackware 13.1... the one I have in my repository is for Slackware 13.0 which does not have libmpg123.so yet.
You can grab the wine.SlackBuild and create a package yourself with mp3 support on Slackware-current of course (if you are running that).

Eric
 
Old 02-28-2010, 10:29 AM   #30
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
I hope this thread will be useful for whoever will try building wine on multilib with mp3 support

http://bugs.winehq.org/show_bug.cgi?id=20042

looks like upgrading to mpg123-1.10.1 fixes the issue(?) with 64bit mpg123 headers (no need for patching those anymore for building wine with mp3 support on multilib slack64-current).

Last edited by ponce; 03-01-2010 at 02:09 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make sound work? lele Arch 10 11-25-2004 05:10 AM
Wine+KazaaLite... Cant make it work! :-( michelbehr Linux - Software 2 11-13-2004 02:08 AM
Need to run system-config-sound after every boot too make sound work in FC2 jrbiochem Linux - Hardware 11 08-04-2004 07:08 AM
How does Wine work and how do I MAKE it work? TheMusicGuy Linux - Newbie 7 03-10-2004 07:16 PM
Make WINe Work lectraplayer Linux - Newbie 12 07-24-2003 06:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration