codecs again

ok my friend, you right, but still no sound;

this is the new sound test:

tsalsa.txt - nopaste.com (beta)

these the others:

raffaella@linux-38p0:~> rpm -qa | grep alsa
alsa-driver-kmp-pae-1.0.16.20080908_2.6.25.11_0.1-1.1
alsa-utils-1.0.17.git20080820-1.1
alsa-oss-1.0.17.git20080715-2.10
alsa-plugins-1.0.17.git20080905-1.1
alsa-firmware-1.0.17.git20080617-2.1
alsa-tools-1.0.17.git20080715-1.11
alsa-1.0.17.git20080905-1.1
raffaella@linux-38p0:~>

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

raffaella@linux-38p0:~> rpm -q libasound2
libasound2-1.0.17.git20080905-1.1
raffaella@linux-38p0:~>

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

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
raffaella@linux-38p0:~>

You mean, “new script output”, … the sound test hasn’t changed … :slight_smile:

Thanks for that script output (and the rest of the post). It confirms a successful and correct alsa update to the latest cutting edge 1.0.18 RC1 alsa driver and 1.0.18 RC alsa utils.

Your mixer setting also looks better in that script. …

I also note this from the script:

snd_hda_intel/parameters/model:<NULL>.....
snd_hda_intel/parameters/position_fix:0 .... 

OK, lets focus on your /etc/modprobe.d/sound file:

Please add the following line to that file:
options snd-hda-intel model=auto position_fix=1 enable=yes
such that the file looks like:

options snd slots=snd-hda-intel
options snd-hda-intel model=auto position_fix=1 enable=yes
# dtXw.E3on1JbzRhE:VIA High Definition Audio Controller
alias snd-card-0 snd-hda-intel 

then restart your alsa driver with: su -c ‘rcalsasound restart’ (or simply restart your PC) and test your audio with:
speaker-test -Dplug:front -c2 -l5 -twav

and if that fails, try:

options snd slots=snd-hda-intel
options snd-hda-intel position_fix=1 enable=yes
# dtXw.E3on1JbzRhE:VIA High Definition Audio Controller
alias snd-card-0 snd-hda-intel 

then restart your alsa driver with: su -c ‘rcalsasound restart’ (or simply restart your PC) and test your audio with:
speaker-test -Dplug:front -c2 -l5 -twav

Please note that if after making an edit to your /etc/modprobe.d/sound file, if you run “alsaconf” or go into “yast > hardware > sound” you will wipe out the custom edit to the /etc/modprobe.d/sound file (so don’t do those two things).

I forgot to ask, how are you connecting to the internet? Ndiswrapper has been known to interfer with alsa (one’s audio driver) on occasion.

If none of the above work, please try looking at dmesg content for hints. You can do that by typing in a gnome-terminal or konsole, immediately after booting:dmesg > dmesg.txtand then go to /home/your-username/dmesg.txt and open that file with a text editor. Copy and paste that file to a pastebin site such as general pastebin - simplified internet collaboration , sumbit the paste, and then post here the URL that you are given (such that we can look for possible hints why audio is not working).

and finally:

general pastebin - Mine - post number 1198072

internet connection is by cable, my friend

Thanks. What was the content of your /etc/modprobe.d/sound file when you ran that? I need to know. Please do not guess.

I note this:

ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3037: autoconfig: line_outs=1 (0x1f/0x0/0x0/0x0/0x0)

ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3041: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)

ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3045: hp_outs=0 (0x0/0x0/0x0/0x0/0x0)

ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3046: mono: mono_out=0x0

ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/hda_codec.c:3054: inputs: mic=0x1d, fmic=0x0, line=0x0, fline=0x0, cd=0x0, aux=0x0

alsactl[1316]: segfault at 0 ip b7d77f83 sp bf973ddc error 4 in libc-2.8.so[b7d05000+13d000]

the bit in red does not look good. A segfault with “alsactl” ?

I also note this:
hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
… I would like to know if the position_fix=1 setting caused that, or if it is a recommendation to use something like “position_fix=1”. Hence please advise as to the /etc/modprobe.d/sound file that was in use.

Finally, if you have not done so already, would you put your Installation CD/DVD in your drive, and reboot, and then do the “media check” that is on the installation menu for your openSUSE CD/DVD. That will confirm that the CD/DVD was good.

I’ve read of a user getting that segfault when a bad model option was chosen in their /etc/modprobe.d/sound file. Did you get that with “model=auto” in your /etc/modprobe.d/sound file?

my friend,

this is the last ‘sound’ file:

cat /etc/modprobe.d/sound
options snd slots=snd-hda-intel
options snd-hda-intel model=auto position_fix=1 enable=yes

dtXw.E3on1JbzRhE:VIA High Definition Audio Controller

alias snd-card-0 snd-hda-intel

‘segfault’ (I don’t know what it means) still exist:

alsactl[1316]: segfault at 0 ip b7d77f83 sp bf973ddc error 4 in libc-2.8.so[b7d05000+13d000]

but…
but…

with both configurations of ‘sound’ (the one you see before and the other without 'model=auto= options), I hear a very very very weak voice when I restart computer.

Great, wright?

Are we near the final solution?

Ok, great, … can you remove the “model=auto” and change that to:

cat /etc/modprobe.d/sound
options snd slots=snd-hda-intel
options snd-hda-intel position_fix=1 enable=yes
# dtXw.E3on1JbzRhE:VIA High Definition Audio Controller
alias snd-card-0 snd-hda-intel  

and see if that gets rid of the ‘segfault’. Note after saving the edit you have to restart alsa with: su -c ‘rcalsasound restart’

Specifically, I don’t know what it means either. Generically, it typically means a memory allocation problem.

I hope so, 'cause I’m just about out of ideas. :slight_smile:

Please check your mixer … See if you can move your volume levels up there. Don’t forget to move up both your master and PCM and Front volume levels. (but you had them around 65% or so, which should be adequate).

There is a possibility that your PCM level is reset to zero each time you start alsa, and if so, there is a command we can send that may fix that. :slight_smile:

If worst comes to worst, go into YaST > Hardware > Sound > Other > Volume and move the volume up there, but I fear that will overwrite your /etc/modprobe.d/sound file, and you will lose the very important “position_fix=1” setting. … Its possible the YaST > Hardware > Sound > Edit function has a place to enter the “position_fix=1” … (I do not know as I have never tried that, and I am not at a Linux PC now).

oldcpu,

you GREAT!!

now it works (but segfault still exists).

when you will come in Rome, write me so we will drink a good red wine bottle.

many thanks

beppe_rm

Fantastic. Enjoy your audio. … Post some more if you have problems sorting codecs and stuff. …

I think we have a good group here.

I sent the Packman packager an email about the latest Packman packaged vlc (which is pretty good, BUT it has a problem handling mpeg files - this may be a generic vlc and not a packaging problem). Still smplayer and also libxine1/xine-ui and amarok work real good with the packman packaged libffmpeg0.

As for Rome, well, please stick around our forum! If you are still around next year, thats possible. My wife and I tried to visit Rome this year, but too many other priorities and places to visit pre-empted such a trip. Rome is on our list of European cities to visit next year.

“Rome is on our list of European cities to visit next year.”

very good idea!

ok, I hope not to loose myself this year, so your trip will be very amazing.

I tried to lay down and sleep, but that segfault popped into me head and would not go away. >:( …

If you have the time, could you do me a favour and raise a bug report on openSUSE-11.0 with alsa 1.0.18 RC1 on your Fujitsu-Siemens Amilo 1705 with openSUSE-11.0 with the 2.6.25.11-pae (32-bit) kernel and a VIA82xx VT1708 hardware audio codec. Note you get a seg fault, although your sound works with position_fix=1 in the /etc/modprobe.d/sound file.

And reference this thread in your bug report. A segfault is usually serious, and there could be side affects you have not seen yet.

Bug reporting link is here:
Submitting Bug Reports - openSUSE

sorry for delay, olcpu, but I am still out of my computer; on mondayI’llbe back and sure I’ll make the bug report, but…in which kind of bug category do I have to make the report(Submitting Bug Reports - openSUSE option #3)
bye, and hope sleep well

Just follow the openSUSE-11.0 bug submission menus. I do not know what you mean by option#3.

Oldcpu,
I had, note I say had, problems like this. I found this post in a search for mp3 playing capability. I found it very helpful & it worked for me too! Thank you so much!