codecs again

Hi all,

I installed opensuse on fujitsu siemens amilo li 1705, intel core duo 800.000 Mhz; well, when I try ti install libxine1 useful for codecs, it tell me I have libexine1…586, it needs libxine1…686; I try to change library, but nothing. and codecs don’t work.
Am I in wrong?
Many thanks for the advices

sorry, may be the library installe is libxine1…686, change in libxine1…586

Codecs don’t work with what?

Do you have the packman packaged libffmpeg0 installed? Typically that is where most of one’s multimedia codecs come from (although they can be provided by other sources).

Can you post here the output of typing the following in a gome-terminal / konsole:

rpm -q libxine1 libffmpeg0 libquicktime0 w32codec-all xine-ui libxine1-w32dll

many thanks oldcpu,

no codec works (the most important like mp3, avi, mms, dvd);

libffmpeg0 is onstalled, but I don’t know it it came from packman or other;

this is the output:

my@linux-38p0:~> rpm -q libxine1 libffmpeg0 libquicktime0 w32codec-all xine-ui libxine1-w32dll
package libxine1 is not installed
libffmpeg0-0.4.9.13782-1.1
package libquicktime0 is not installed
w32codec-all-20071007-0.pm.1
package xine-ui is not installed
package libxine1-w32dll is not installed
my@linux-38p0:~>

You can tell packman apps by the “pm” in the version numbering.

Hence from the above you can see that w32codec-all comes from Packman, and the remainder from somewhere else.

I am suprised that libxine1 is not installed. Do you have xine-lib installed? Type:rpm -qa | grep xine Is xine-lib installed instead of libxine1 ?

If xine-lib is installed, remove it first. Then install libxine1:su -c ‘zypper install libxine1’

Also, you have the videolan libffmpeg0 installed ( libffmpeg0-0.4.9.13782-1.1 ) That package provides most of your codecs, and unfortunately the videolan libffmpeg0 is not compatible with most of the packman packaged players. Hence I recommend you replace the videolan packaged libffmpeg0 with the packman packaged libffmpeg0.

I recommend you also setup your repositories with 4, and only 4, repositories in your repository list. ie with only OSS, NON-OSS, Update and Packman. Just those 4. No others. Disable any others. (for now, … you can add more when you learn better the implications of adding others). There is guidance on how to do this here: Repositories - openSUSE-Community

thanks oldcpu,

now the situation is:

my@linux-38p0:~> rpm -q libxine1 libffmpeg0 libquicktime0 w32codec-all xine-ui libxine1-w32dll
libxine1-1.1.15-0.pm.1
package libffmpeg0 is not installed
package libquicktime0 is not installed
w32codec-all-20071007-0.pm.1
package xine-ui is not installed
package libxine1-w32dll is not installed
my@linux-38p0:~>

libxine1 is pm, so I try to reinstall codecs…ok?

Yes. Install the packman packaged libffmpeg0 and libquicktime0. Installing xine-ui and also smplayer is a good idea.
su -c ‘zypper install libffmpeg0 libquicktime0 xine-ui smplayer’

ok old cpu,
now this is the situation:

my@linux-38p0:~> rpm -q libxine1 libffmpeg0 libquicktime0 w32codec-all xine-ui libxine1-w32dll smplayer
libxine1-1.1.15-0.pm.1
libffmpeg0-0.4.9svn-20080906.pm.0
libquicktime0-1.0.3-100.pm.1
w32codec-all-20071007-0.pm.1
xine-ui-0.99.5cvs-20080426.pm.0
package libxine1-w32dll is not installed
smplayer-0.6.2-0.pm.1
my@linux-38p0:~>

I see dvd and .avi, but I don’t hear, but I don’t see mms streaming.

unfortunately I’m going to work, see you later

bye and many thanks

That looks good.

Do you have basic sound?

Copy and paste the following into a gnome-terminal or konsole:speaker-test -Dplug:front -c2 -l5 -twavnote that is case sensitive. You should hear a female voice saying ‘left front’, ‘right front’ … etc … 5 times. Do you? If you do not, you have a generic sound problem, and not a codec problem.

Also, try to play avi files with different codecs. Can you play any of them? Do you have libdvdcss2 and libdvdread installed? Copy and paste the following into a gnome-terminal or konsole and paste there the output:
rpm -q libdvdcss2 libdvdread

Are you trying to stream mms from a web site? If so, that is a different problem.

I recommend you use (install) mplayerplug-in. Also install flash-player if you have not done so already.

ok oldcpu, the situation is:

  • speaker test gave no result, so I have an hardware problem (driver?);
  • I have mplayerplug-in and flash-player;the streaming doesn’t work from a tested web site;
  • I have libdvdread3 instead of libdvdread, and libdvdcss instead of libdvdcss2 (i don.t find it in my four repositories);

many thanks

possibly a driver problem. Possibly a software (mixer) configuration problem.

Can you provide more information on your configuration? Please, with your PC connected to the internet copy and paste the following into a gnome-terminal / konsole:

wget http://home.cfl.rr.com/infofiles/tsalsa && su -c 'bash ./tsalsa' 

when prompted for a password please enter your root password. Please try to accurately answer the question on the number of plugs/jacks on your PC (for example my PC has 3 i/o plugs/jacks). When the script completes it will pass you a URL. Please post that URL here.

Also, please copy and paste the following into a gnome-terminal/konsole and post the output here.rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

I recommend libdvdcss2 over libdvdcss (although frankly I do not know the difference). libdvdcss2 can be found in the videlan repos. One could add that repos briefly, install libdvdcss2 (and only that app), and then remove the videolan repos.

tsalsa.txt - nopaste.com (beta)

raffaella@linux-38p0:~> rpm -qa | grep alsa
alsa-oss-1.0.15-48.1
alsa-utils-1.0.16-35.1
alsa-1.0.16-39.1
alsa-plugins-1.0.16-57.1

raffaella@linux-38p0:~> rpm -qa | grep pulse
libpulse0-0.9.10-26.5
these are konsole answers:

raffaella@linux-38p0:~> rpm -q libasound2
libasound2-1.0.16-39.1

raffaella@linux-38p0:~> uname -a
Linux linux-38p0 2.6.25.11-0.1-pae #1 SMP 2008-07-13 20:48:28 +0200 i686 i686 i386 GNU/Linux

raffaella@linux-38p0:~> cat /etc/modprobe.d/sound

options snd slots=snd-hda-intel

dtXw.E3on1JbzRhE:VIA High Definition Audio Controller

alias snd-card-0 snd-hda-intel

thanks oldcpu

sorry cpu, this is the right output of wget:

tsalsa.txt - nopaste.com (beta)

Thanks for that. I checked your mixer settings from that script output and it looks fine. I note you have openSUSE-11.0 with the 2.6.25.11-pae (32-bit) kernel. Your Fujitsu-Siemens Amilo 1705 has a VIA82xx VT1708 hardware audio codec.

I note from the alsa rpm query that you have the 1.0.16 of alsa provided with the openSUSE-11.0 distribution, and you do not have alsa-firmware installed. That may (or may not) be needed.

I conducted a search on the alsa web site for the VT1708 and I noted there were some updates in 1.0.17 of alsa to fix a noise problem with VT1708.
Search results for VT1708 - AlsaProject

That suggests to me that even if we were able to get your sound working with 1.0.16 of alsa that there would be noise that you would want to fix. I also found posts of ubuntu users for your model computer where they hand edited the alsa source code and custom compiled to get sound working …

… anyway … I’m thinking it is worth trying the most recent alsa drivers, to get your sound working … If you agree, with your PC connected to the internet, please open a gnome-terminal or konsole, type “su” (no quotes, enter root password when prompted) to get root permissions in that terminal session, and then copy and paste the following six zypper commands one at a time in sequence:

zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.0/ multimedia
zypper install alsa alsa-oss alsa-plugins alsa-utils alsa-tools alsa-firmware libasound2
zypper rr multimedia
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.0_Update/ multimedia
zypper install alsa-driver-kmp-pae
zypper rr multimedia

You may need to insert your installation CD/DVD during the zypper command install. Please restart your PC after that installation is complete (in order to unload the old alsa module and load the new alsa modules).

Then test your sound with the sound test I provided previous. Also, when testing your sound, in addition to testing the speakers, plug a headset in and test that as well.

I note a Ubuntu user had to hand edit the Ubuntu equivalent of the /etc/modprobe.d/sound file (called “alsa-base” in Ubuntu) to get sound working. They added the lines:options snd-hda-intel model=3stack enable=yes
options snd-hda-intel model=auto position_fix=1 enable=yesbut I am reluctant to recommend that, as my research into the alsa documentation suggest ‘3stack’ is NOT a VT1708 model option. However its possible the second line “model=auto position_fix=1 enable=yes” overwrites the previous, and the values “position_fix=1 enable=yes” may be appropriate. That’s a problem I find when reading Ubuntu posts … one has to work harder (than openSUSE technical posts) to determine if the approach is technically valid.

Good luck, and let us know how the alsa update worked out.

Many thnaks oldcpu,

but it refuses to work, with or without options; well I’ll try indendently…

sorry again, why I don’t see mms streaming?

a lot of “thank you”

Did you succeed in the update? Did you try the test sound again after the alsa update, and the sound did not work? Is that when you tried the edits to the /etc/modprobe.d/sound file?

My apologies for being “so thick” on this, but I simply can not read between the line as to what you have done, and if I “lean to chance” and make an assumption, my assumption could be wrong at your expense.

sorry oldcpu,

the alsa-utils and alsa-driver update went ok, I tried sound test with no result;
I changed option setting of “sound” file (by Yast), again no result of the test;

really I lost the hope to hear some sound, isn’t it?

well, I’ll retry.

many thanks in any case

Oh yea of little faith … Don’t desert the ship yet. :smiley:

Lets review and confirm things are correct at this stage. Previous you posted a tsalsa script, … it had your mixer in a bad state, but given that alsa web site noted you would have noise in your audio, I saw no point in focusing on that. Now that you report you have updated your alsa driver, lets take a look at that mixer setting.

In the tsalsa output you had this setting:Amixer contents for card 0 [VT82xx] _____________________________________
amixer set ‘Master Front’,0 0%,0% on
amixer set ‘PCM’,0 68% 68%
amixer set ‘Front’,0 67%,67% on
amixer set ‘Mic’,0 0% off 0% off
amixer set ‘Capture’,0 Capture 0 0%,Capture 0 0% on
amixer set ‘Capture’,1 Capture 0 0%,Capture 0 0% on
amixer set ‘Input Source’,0 Items: ‘Stereo Mixer’ ‘Mic’ Item0: ‘Stereo Mixer’ With your master front set at 0% you will have no volume! Try to turn it up in your mixer!!

and again, test it with this test:speaker-test -Dplug:front -c2 -l5 -twavPlease also advise if you get any errors when you run that

If that does not work, please provide more information so we can confirm your configuration (after the alsa update) is where you say it is. ie … once again, … please, with your PC connected to the internet copy and paste the following into a gnome-terminal / konsole:

wget http://home.cfl.rr.com/infofiles/tsalsa && su -c 'bash ./tsalsa' 

when prompted for a password please enter your root password. Please try to accurately answer the question on the number of plugs/jacks on your PC (for example my PC has 3 i/o plugs/jacks). When the script completes it will pass you a URL. Please post that URL here.

Also, please copy and paste the following into a gnome-terminal/konsole and post the output here.rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

And a new test, … IMMEDIATELY after rebooting your pc, please copy and paste this into a gnome-terminal or konsole:dmesg > dmesg.txtand then open the file (under /home/your-username/dmesg.txt) with a text editor, and post the output to this web site: general pastebin - simplified internet collaboration (or to another such web site) and submit it, and then post the URL here. (the file is too big to post here directly).

Don’t forget as well to check out YAST > Hardware > Sound > Other > Volume and turn the volume there up to 70% or so.