"Potential ALSA version problem"

Trying to play YouTube and mpegs I get:

“Potential ALSA version problem:
VLC failed to initialize your sound output device (if any).
Please update alsa-lib to version 1.0.23-2-g8d80d5f or higher to try to fix this issue.”

.avi files run fine, .wmv files give me sound but hold video for the first couple of seconds.

I’m running a Toshiba laptop, with recently-installed 11.2 from the disk that came in Linux Pro Magazine. I just got my aircard working (thanks to Daniel at Linux Mafia), and with that we got the automatic updates on Saturday. I would have thought those included everything, but maybe not.

Assuming that the message is correct, can someone give me a step-by-step for updating ALSA?

Hmm … what version of vlc do you have installed ?

You might find post#34 in this thread audio/video problem at vlc/kaffeine/smplayer of interest.

and possible post#4 in this post: http://forums.opensuse.org/english/get-help-here/multimedia/442547-problem-vlc-alsa-potential-alsa-version-problem-please-update-alsa-lib.html#post2192873

When it comes to Linux, I am little more than an ignorant appliance operator, trying to learn so that I can escape Windoze once and for all.

It seems that the only fix is to fall back to an earlier ver of VLC. How do I do that?

What version of vlc are you running? Please open a terminal (do you know how to do that ? ) and type:

rpm -q vlc

Post here the output.

Please also provide a detailed list of what software repositories you have setup (hopefully not too many). You can do that by typing in a terminal:

zypper lr -d

and copy and paste the output that you read in the terminal here. Do you know how to do that? You can even copy and paste those commands into the terminal (to make it easier).

Yes, among the few things I’ve got covered here are how to find Terminal and copy / paste. I pretty much also understand about repositories, and know you add them through Yast. I think we added some at the installfest, downloaded the latest updates (Saturday) and I guess they auto-install because I also had a video conf change which I just got help here to fix earlier today.

vlc-1.1.2-2.6.x86_64

1 | 11.2 | 11.2 | Yes | Yes | 99 | rpm-md | Index of /suse/11.2 |
2 | 11.2_1 | 11.2 | Yes | Yes | 99 | rpm-md | Index of /pub/vlc/SuSE/11.2/ |
3 | 11.2_2 | 11.2 | Yes | Yes | 99 | rpm-md | http://www2.ati.com/suse/11.2/ |
4 | repo-debug | openSUSE-11.2-Debug | No | Yes | 99 | NONE | Index of /debug/distribution/11.2/repo/oss |
5 | repo-non-oss | openSUSE-11.2-Non-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.2/repo/non-oss |
6 | repo-oss | openSUSE-11.2-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.2/repo/oss |
7 | repo-source | openSUSE-11.2-Source | No | Yes | 99 | NONE | Index of /source/distribution/11.2/repo/oss |
8 | repo-update | openSUSE-11.2-Update | Yes | Yes | 99 | rpm-md | Index of /update/11.2

I think this vlc from videolan is your problem. I find the packman packaged vlc works better. I have this version:

vlc-1.1.2-1.pm.1.2.x86_64 

Note the ‘pm’ in the version number of the vlc I have. That indicates it is packaged by the packman packagers:

I note this for your repositories (where I fixed the format from your post):

1 | 11.2         | 11.2                  | Yes     | Yes     |   99     | rpm-md | http://packman.unixheads.com/suse/11.2/                         |
2 | 11.2_1       | 11.2                  | Yes     | Yes     |   99     | rpm-md | http://download.videolan.org/pub/vlc/SuSE/11.2                  |
3 | 11.2_2       | 11.2                  | Yes     | Yes     |   99     | rpm-md | http://www2.ati.com/suse/11.2/                                  |
4 | repo-debug   | openSUSE-11.2-Debug   | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/11.2/repo/oss/  |
5 | repo-non-oss | openSUSE-11.2-Non-Oss | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.2/repo/non-oss/    |
6 | repo-oss     | openSUSE-11.2-Oss     | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.2/repo/oss/]        |
7 | repo-source  | openSUSE-11.2-Source  | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/11.2/repo/oss/ |
8 | repo-update  | openSUSE-11.2-Update  | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.2/

… where repos#2 and #1 are KNOWN to cause problems with each other if used to install apps for the same openSUSE version.

I recommend you do the following:

  1. Download and install libdvdcss (which should come from videolan (repos#2 in your list).

  2. Remove videolan repository (#2) from your list of repos

  3. Replace ALL videolan packaged applications (except for libdvdcss) with Packman packaged versions.

  4. Remove any videolan configuration files under /home/yourusername/.some-directory-or-file and then try vlc again.

Running Yast, Package Search, libdvdcss comes back “not found.” What am I doing wrong?

How do I identify and how do I replace all videolan packages?

If the videolan repository is enabled, then libdvdcss is on that repository. Take a look here: Index of /pub/vlc/SuSE/11.2/x86_64/ Is quite clear libdvdcss is there. You probably reversed the instruction order I passed. I suggested install libdvdcss 1st and 2nd remove the repository.

What desktop are you using ? If using KDE its easy, as KDE uses the qt version of YaST.

If using KDE (with the qt version if YaST) go to YaST > Software > Software Management, and set it per the image below (with Packman repository selected) and select “Switch System packages” :
http://thumbnails28.imagebam.com/9352/195b7e93519855.jpg](ImageBam)

Edit : my example was made using openSUSE-11.2, but the same applies to openSUSE-11.3

I’m on KDE as installed from the Linux Pro Magazine disc from February.

I did not disable the repository yet.

I attempted to add Index of /pub/vlc/SuSE/11.2/x86_64/ (with and without trailing “/”) and Yast gives me “unable to create repository” . . .

How do I tell zypper to get this file?

Thats not a proper repository URL. Rather thats a URL I gave you to PROVE that libdvdcss was there. You had the repository correct previous !! Unfortunately this is made very painful because you are very new to this … sorry … but it will get easier … these are classic new user fumbles …

The repository is what you had before, which is:

http://download.videolan.org/pub/vlc/SuSE/11.2/

and you do NOT have to add it because you ALREADY have it added !!

… ie you do NOT specify the ‘architecture’ (x86_64 or i586 or whatever) as part of the repository entry.

What I tried to add was Index of /pub/vlc/SuSE/11.2/x86_64/ – dunno where the "index note came from.

Manually typing it in and even editing the current videolan line don’t work.

With the videolan line checked in both Enabled and Autorefresh, still no change.

I’m going through Package Search (webpin) – am I in the wrong place?

For that matter, how do we know that I haven’t got the latest libdvdcss – maybe it came with the other updated files last Saturday. How do I check?

I told you in two posts above. I provided the URL where libdvdcss was stored. and I gave you an example of a command to tell an application version of an rpm.

In the case of libdvdcss you can do a query of the rpm database with the ‘q’ option to see what is installed. ie

rpm -q libdvdcss 

If it is not installed, and if the videolan repository is still activite, then you can install it with:

su -c 'zupper in libdvdcss'

If the videolan repository is not active, you can do the installation with the following five commands sent sequentially in a terminal, entering root password when prompted for a pass word:

su
zypper ar http://download.videolan.org/pub/vlc/SuSE/11.2/ temporary-vlc
zypper in libdvdcss
zypper rr temporary-vlc
exit 

I think you need to read up a bit on openSUSE.

I’d love to. What do you suggest?

I have libdvdcss. I was able to find it after a cold boot.

I am now going to lock out videolan and see about changing stuff out.

Okay, I clicked on “Switch System Packages” and got a popup with a lot of “Conflict Resolution” notices.

Do I just tell each one to use the “inferior architecture”?

Two of the warnings says that it needs Mozilla-xulrunner 192, but this requirement cannot be provided.

I saved it to a file, but it’s 69K long.

I’m just going to try taking the first option in each selection category.

I recommend avoiding that selection. I think that means install an i586 package on an X86_64 (64-bit) PC.

What package wants those?