Mp3s crash artsd
I'm on a nForce2 Motherboard system running 2.6.8-rc2. I reinstalled Slackware 10 (i was on slack 9.1 which i upgraded to slack-current periodically) & i dont know whats wrong with arts.
I've got the package arts installed as well as esound, alsa etc & all kde apps & libraries. The problem is Kde apps like noatun, juk, kaboodle all cause a segfault in artsd whenever i try to play mp3s. The same apps play back wav's just fine. Kde's sounds schemes, which i think are in ogg format play okay as well. Its just mp3s that have this problem. I installed lame 3.96 from liunuxpackages.net & still all kde apps which try to play mp3 crash. Playing mp3s using mpg321 & xmms is okay. Regardless of what I choose in the Sound System Enlightenment/ Alsa, artsd still crashes with mp3s. Anybody have any experience / idea ? Should i just reinstall ? |
This is mainly just a guess, but...
Try upgrading/reinstalling sox... some programs use it to go between formats (eg. mp3->something else playable) before playing the files.
|
Similar problem here
Tried SOX long ago. Caused horrid mouse lags in X (don't ask me how it's possible), but offers no solution to music playing. In my case, though, OGG's also cause aRts to crash :( |
Looks like i wasn't paying attention before i posted here. I thought that the system notifications in kde used the ogg format but its only kopete which currently uses ogg & even that isnt playing :(
Suslik what is your config ? As in soundcard + kernel setup ? Th weird part is that everything's fine for wav playback in kde apps using arts. Mp3s play fine in xmms. So I'm guessing its a kde 3.2.3 problem. I'll try downgrading to kde 3.2.1 & post any updates. |
Quote:
I am sure its the aRts/KDE multimedia dipendancy issue. Some kind of 3rd party decoder library is missing. :( Now, which one? I'll wait till KDE 3.3 binaries come out for Slack10, and see if it's multimedia back end changes anyting. I doubt that, though. I think I was a smart ass and unchecked something durring Slack10 install. Can you post the aRts' crash message? I wanna be sure we have problem at same place. |
This is the Backtrace from Juk
Code:
(no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1". Code:
(no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1". |
I reinstalled slackware.
Didnt upgrade the kernel, didnt touch any configuration file. Logged on as root for the first time to create a new user & logged off. Logged in as a normal user. Tried playing a mp3 file & i get the same error & Artsd Crashes :( Any idea why is this happening ? Is this normal ( kde apps crashings artsd) on a brand new untouched default install ? It shouldn't be. Why are only 2 people having this problem so far? Anyone else using Kde 3.2.3 with Slackware 10 ? Can some one who's got a clean/fresh installation of Slackware 10 confirm this ? If you dont have any problem playing mp3, would you be kind enough to post a listing of your installed packages (ls /var/adm/packages ) |
I seem to be on a roll here, posting messaages & replies to them. I googled a little on artsd+mp3+crash & came across a couple of links which seemed interesting
http://bugs.kde.org/show_bug.cgi?id=80497 http://lists.debian.org/debian-kde/2.../msg00226.html http://lists.debian.org/debian-kde/2.../msg00179.html http://lists.freshrpms.net/pipermail...ay/009454.html If you go through them you'll find out that theres an error with combination of mpeglib & gcc 3.3 Apparently gcc 3.3 is generating incorrect code when using any optimizations for the compiler. Prior to kde 3.2.3 there were errors in the playback of some mp3s. Someone added a patch for kde 3.2.3 that fixes the distortions in playback but seems to crash artsd when I try playing mp3s :( The only thing i can think of doing right now is to reverse the patch in kdemultimedia or try recompiling arts & kdemultimedia with the optimizarion set to -O0. Anyone else suffer from this or am i just alone ? |
Quote:
Based on your research, I'm toying with the idea of recompiling arts & kdemultimedia with the optimization set to -O0. All one needs to do is obtain (from the slackware source CD or download from slackware-10.0/source) kde/KDE.options and everything under each of kde/arts/ and kde/kdemultimedia/ taking care to preserve the relative paths, substitute O0 for all occurences of O2 in kde/KDE.options, then run the SlackBuild scripts in kde/arts and kde/kdemultimedia. Another approach is to use xmms until someone else solves the problem :-) Lyle |
I dont wanna recompile kde considering kde 3.3 beta 2 has been released & slackware packages are available.
I Think i'll try kde 3.3 beta 2 & i'll report if they fixed anything :) |
Do you have to use arts for mp3s?
Try amaroK (it's the highest rated sound app on kde-apps, most people prefer it over juk/noatun/kaboodle) Before you compile it install the packages gstreamer and gst-plugins (and run gst-register to register the plugins). Then compile and install. In amaroK options, select the gstreamer sound system, outputing to alsasink or osssink. Personally I don't use arts at all. I play music with amaroK, don't have any systems sounds, and sound from flash animations is sent directly to the sound system. The only other thing is Korn mail notification, where i just have it execute: gst-launch filesrc location=/location/of/soundfile.wav ! wavparse ! alsasink |
Quote:
- ...now, the Gstreamer. The 1001 sound servers saga continues. I hope this is the last one. |
Quote:
You can change all of the system notifications to gstreamer. Just disable playing a sound and instead execute a gst-launch command. KDE's going to change to gstreamer anyway, but it works now. |
I think we have a temp solution
brenton's got a point. But i'm gonna turn it upsidedown to arrive to a more universal solution.
GStreamer has an aRts output plug in. This means for: - MP3 and OGG use amaroK > Gstreamer > aRts > OSS/ALSA (in essence, we use Gstreamer as an alternative mp3 decoder, bypassing kdemultimedia) - wav (notifications) use directly aRts > OSS/ALSA aRts performs software mixing = sound from both MP3 (converted by GStreamer into wav) and Wav notifications will be mixed and heard at same time. Alternative way would be to add software mixing to alsa directly. This way you can have XMMS and aRts using the same soundcard concurrently. I think dmix is for that, and I would rather see that working.a solution From DMix FAQ 3. Will this allow N applications to open /dev/dsp, so I can run more than one application that produces sound at a time. Yes, that's the goal. It already works with a lot of software that directly uses ALSA. |
There's no need to use aRts in amaroK. If you output gstreamer directly to alsa you can still play multiple sounds.
You can just use gstreamer to play your notifications. Although, I've found that gstreamer has trouble playing short files, it might repeat the end or make a clicking noise. There might be a way to fix it, I don't know, I don't really use notifications. |
All times are GMT -5. The time now is 10:36 PM. |