LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-19-2005, 03:34 PM   #1
landroni
Member
 
Registered: Feb 2005
Distribution: Xubuntu 12.04 LTS
Posts: 154

Rep: Reputation: 16
buggy xfmedia and xmms using oss


I am sorry: could not find a prettier name for this thread. I have just installed xfce and I want to get off everything that is KDE. In KDE Amarok was playing fine. In xfce xfmedia is buggy. That is it plays the song but the sound comes out in an intermittent way. So, I get half a second of song, quart a second of pause and so on. As xfmedia is based on xine, I believe the problem has to be solved at its level. Xine was always buggy on my computer - an old Dell; 400 MHz and 256 Mb. That is why I always liked mplayer - almost no problems. I understand that there is no way to make xfmedia use mplayer as engine.

But what can I do to make xine play well?

I will mention that my sound card NeomagicMedia 256 has definite problems with alsa. Yesterday I tried to change the sound card module to the alternative one - the one that supports alsa - and the computer refused to boot. It hanged at the moment of initializing the alsa service. All this on a fresh Mandriva 2006 install. I have no idea how, but I managed to solve this myself: find the configuration file for modprobe and manually change the driver for the default one, so that at Linux boot alsa could not hang my computer. As soon as I got it booted, I stopped the alsa service and reinitialized the sound service, that is oss. So, now I have oss with xine giving me problems. At the same time xmms gives me the same headaches, as it crashes at start. I am tired of xmms crashing: it was similar with KDE on Mandrake 10.1 Official.

So, how can I make xfmedia or xmms play correctly using oss? Is there any way to make alsa work, if the latter is a better alternative to oss?

Last edited by landroni; 11-19-2005 at 03:36 PM.
 
Old 11-24-2005, 03:51 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Maybe it would be best to change your soundcard to something like a creative soundblaster live or audigy. Soundblaster Live cards are very cheap and are well supported on Linux. OSS is being phased out so most distros that use a 2.6 kernel default to alsa. Another thing you may try is to change the sound system in xine and xmms to oss, but I am not sure if this will work.
 
Old 01-25-2006, 11:41 AM   #3
landroni
Member
 
Registered: Feb 2005
Distribution: Xubuntu 12.04 LTS
Posts: 154

Original Poster
Rep: Reputation: 16
It was concerning 01:00.1 Multimedia audio controller: Neomagic Corporation NM2360 [MagicMedia 256ZX Audio] and the alsa driver. I managed to get snd-nm256 work with my Dell CS 400 laptop by compiling the 2.6.14.4 kernel, which includes the alsa-1.0.10 driver, which in turn includes an AC 97 reset workaround (you should include in /etc/modprobe.conf the line: options snd-nm256 reset_workaround_2=1). Now the computer does not crash at all with the snd-nm256.

One more thing. Consider using
mplayer -ao oss
if you intend to use mplayer and the snd-nm256 module. It gives better results. Otherwise xine works well and Xfmedia is something at least worth trying (just as the entire Xfce 4.2 and soon 4.4 desktop environment).
 
Old 01-25-2006, 06:40 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by landroni
It was concerning 01:00.1 Multimedia audio controller: Neomagic Corporation NM2360 [MagicMedia 256ZX Audio] and the alsa driver. I managed to get snd-nm256 work with my Dell CS 400 laptop by compiling the 2.6.14.4 kernel, which includes the alsa-1.0.10 driver, which in turn includes an AC 97 reset workaround (you should include in /etc/modprobe.conf the line: options snd-nm256 reset_workaround_2=1). Now the computer does not crash at all with the snd-nm256.

One more thing. Consider using
mplayer -ao oss
if you intend to use mplayer and the snd-nm256 module. It gives better results. Otherwise xine works well and Xfmedia is something at least worth trying (just as the entire Xfce 4.2 and soon 4.4 desktop environment).
I have XFCE 4.2 installed on NetBSD and I like it a lot. I'll checkout Xfmedia when I compile XFCE CVS on one of my linux machines.
 
Old 01-26-2006, 09:24 AM   #5
landroni
Member
 
Registered: Feb 2005
Distribution: Xubuntu 12.04 LTS
Posts: 154

Original Poster
Rep: Reputation: 16
After having tried Xfce I do not want to touch KDE and KDE applications any more. I look forward to Xfce4.4, as it will contain a nice - as people say - file manager (I still like emelFM2 very much; very flexible, still young but a decent replacement for Total Commander) and Xfburn. Not that K3B were that bad, neither Konqueror, but I do not have the KDE libraries installed so no K3B and no KDE programs on my computer. And the guys from Xfce do a very good job - a nice, clean and fast desktop environment that offers enough advanced features (some that KDE lacks). And as said earlier, if you look for a decent alternative to KDE or Gnome (haven't tried it for a long time, but when I did I was disappointed; although Gnome has several nice applications), try Xfce. About Xfmedia, I do not know why XMMS is so popular as it cannot compare with Xfmedia. Anyway, this is my personal opinion. Again, thanks reddazz.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xmms > Freezing with OSS, no sound with Alsa kloss Linux - Software 1 10-09-2005 05:45 AM
xmms-crossfade built-in OSS problem arised SeriousArnoud Linux - Software 1 06-03-2005 01:54 PM
XMMS and OSS piggysmile Linux - Software 4 04-15-2005 08:11 AM
No Sound under FreeBSD, no devices in xmms/oss-plugin Fonk *BSD 4 03-14-2005 09:04 AM
xmms, alsa and oss externalgreenfu Debian 2 07-11-2003 06:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration