I wasn’t entirely sure where to post this, but this section seemed to be the most fitting place. Plus I haven’t reported a bug on this matter yet because I first wanted to find out whether I’m alone with my issue or whether others have observed similar behaviour.
So this is what I get (or, better, got until about 1 hour ago; read on for reasoning):
After starting up X any running or newly started (audio) player app would stop responding, even to a signal 9; SMPlayer just keeps running as a process, mpd shows as a defunct process that cannot be removed. Subsequently X doesn’t cleanly shut down, a process for ~/.xsession-errors keeps existing; this can be killed for X to shut down completely. Then, when trying to shut down or reboot the machine, the shutdown process stops after shutting down HAL. Result: I need to hard-reset the machine to continue.
Now I suspected a problem with one or more of the ALSA packages I had installed from the BuildService, so I downgraded ALSA to system default and the problem disappeared.
Relevant system specs:
AMD Sempron 2800+ @ 2,000 MHz
1,024 MB DDRAM (PC3200)
ASUS A7N8X-E Deluxe mainboard
nVidia nForce2 sound system (on-board; using snd_intel8x0)
TerraTec DMX Xfire 1024 soundcard (PCI; using snd_cs46xx)
ALSA packages from openSUSE BuildServe Multimedia:Audio and Multimedia:Audio:KMP repos (in the meantime uninstalled or resp. replaced by their counterparts from the OSS repo)
X.org X Server packages from openSUSE BuildService X11:Xorg repo
My question is now whether there are others using ALSA from OBS experiencing similar problems, so it might be worthwhile to report a bug. Please don’t hesitate to ask for any additional info I could provide to make a case.
I’ve never seen such behavior with the OBS packaged rpms. Exactly what rpms did you install ? ie what is the output of rpm -qa | grep alsa
What happens if instead you just restart alsa with a simple: su -c 'rcalsasound restart’
I also noticed that, when bringing up X again, the KDE sound system was nowhere to be seen (no ‘speaker’ icon in the tray), and no error message came up asking me whether to permanently forget about recently removed sound devices. Then I wanted to fire up Konqueror to post this, but it took a long time to start up (>1 min), then froze after entering one character in the address line, so I had to kill it. (I’m now posting this using Seamonkey.)
Please let me know if I can do anything else to troubleshoot this.
As an addendum to my installed pkgs list: I remember previously using an alsa-firmware 1.0.19 SVN package which I don’t remember where I got it from. Though I see no difference with this here alsa-firmware 1.0.17.
IMHO this does not look correct. You have the alsa-driver-kmp-pae with out the other appropriate alsa packages being updated. That is NOT the way one is supposed to update from the OBS and that could explain the weird behaviour you are experiencing.
Yes, you might be correct here. Just pulled in the Multimedia:Libs repo and upgraded all packages available from there – with the notable exception of alsa-plugins-pulse, which requires Pulseaudio to be installed… do I really have to? :o Edit: Unfortunately, without alsa-plugins-pulse, my sound devices aren’t recognized correctly.
The reason for me not having had these packages might be that the Multimedia:Libs repo, to my knowledge, didn’t yet exist when I started using ALSA from OBS, or I just overlooked it because the repo’s name isn’t really descriptive.
Anyway, thank you very much. I’ll reboot and see whether it got any better now.
Just as I suspected… I removed alsa-plugins-pulse in the process, and now my sound devices aren’t recognized correctly: KMix shows a Cirrus Logic CS4294 rev. 5 and a Realtek ALC650F. But only after I started X, because before mpd played fine.
Admins: If you deem it better you can detach this post from this thread and put it in a new topic.
OK, things didn’t get much better… I resorted to even installing Pulse because the newer version of alsa-plugins-pulse needs it. Now I get system sounds on first startup of X and the sound devices are shown correctly in KMix. But… I still can’t play any audio from player (e.g. mpd); I get the same hangups as before, also when shutting down X and the machine. In addition, YaST hangs at reading volume settings when trying to access the sound settings – I wanted to re-check the Pulse settings.
These are the respective pkgs I now have installed:
The ONLY way I can check your settings, is IF you give me the output of the script: /usr/sbin/alsa-info.sh
That script is NOT the be-all and end-all, and if there are other things (such as your 11.1 having had pulse removed) that you have done, then that make a big difference in understanding what is happening. I’m now highly suspicious you have tried all sorts of things, and not undone them, making it very difficult to guess what is happening on your PC. … Hopefully my suspicion is wrong.
If your system sound works, then your sound probably works, and your problem is likely a codec problem. I hope you don’t have many repositories added to your software package manager, as I have lost count of the dozens (yes dozens) of users who added many repositories and then had problems that they could not sort. I always recommend 4 and ONLY 4 repositories, and many users ignore that advice believing it does not apply to them, and they end up in trouble such that no one can bail them out of.
Perhaps I’ll run that if I have the nerve to go OBS again. I now reverted to default ALSA again and everything works as expected.
I never installed Pulse in the first place. I only pulled it in today for testing purposes, and when I recognized that it doesn’t alleviate much of the situation I uninstalled it again.
What do you mean by that?
How can it be a codec problem if I have no issues with the default ALSA packages? Plus I should add that the system sound worked only on 1st startup of X, and only as long as I didn’t start any media players; after firing up mpd it stopped working.
In fact I have some 20 repos in my list, though not all of them active. Here’s the situation after downgrading ALSA again.
Of course that’s the ideal. But if one wants to keep package versions fairly up-to-date, your suggestion won’t hold water for long. Why should I pull in updates from the Updates repo, but not from the OBS if I have OBS pkgs installed?
I might add here that the whole feckin’ thing ran fine for some 3 months until sometime last week when it started to break after an update; unfortunately I wasn’t able to trace it back to a specific update run.
Ah great! Then my recommendation is to stay with the default alsa. Stick with what works.
I try hard only to recommend updates to OBS if something is not working, and one has researched the alsa site to learn there is a fix that has a reasonable possibility of being fixed by an update.
Pulse is installed by default. You must have changed the default install to not have pulse installed.
I have made a point of ONLY helping users with sound who have default sound installs. I typically do not waste the time of users who do not go with the default sound setup, as they are in territory that I do not go myself.
If you have no problem with the default packages then it probably is not a codec issue.
If I was a betting man, which I am no longer, I would bet those repos could have caused the problem.
Well, thats just thing with having too many repos. One never knows when one of them is going to cause a problem later on.
Anyway, my view you have equally strong views about having many repos, just like I have very strong views about the need to have minimal. I have lost count of the number of users whose excessive number of repos caused problems in areas they (mistakenly) thought were not credible. I think now that having too many repos was your fundamental problem (with the installation of some obscure or even common package that has had a completely unexpected effect). You probably think it was not such a problem.
I’ll leave it here and depart this thread. Others can pitch in who support your multiple repos view point.
But as far as writing a bug report, my recommendation is not to bother, at least not a bug report on the baseline openSUSE-11.1 nor on alsa. Once the devs see how many repos you had, they may not be interested in the bug report.