LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-23-2008, 01:52 PM   #1
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Fedora 9 - sound plays too fast - makes xine skip


I'm having a problem with sound on my Fedora 9 box. I did a fresh install over F8, which worked fine.

The sound plays too fast. Just barely enough to notice. I timed a song that was supposed to take 3:15 to complete, but it did it in right about 3 minutes flat. I first noticed it when playing the Star Wars theme mp3, which I had naturally heard hundreds of times and it just sounded a little off. Of course it is annoying that my music is playing too fast, but xine can actually tell this and inserts a slight blank spot in the song every 3 - 5 seconds to compensate for this. It sounds like playing a really scratched up CD. When I play a song with verbose=9 in xine it gives me this every time there is a jump in the song (one line per jump):
audio_out: inserting 7535 0-frames to fill a gap of 15402 pts
audio_out: inserting 7562 0-frames to fill a gap of 15457 pts
audio_out: inserting 7545 0-frames to fill a gap of 15423 pts
audio_out: inserting 7539 0-frames to fill a gap of 15410 pts

But if I use an app that uses gstreamer it plays fast without the skipping.

Does anybody have a clue what would be causing this? Or even where I could begin to start diagnosing this?

It is very annoying and I will probably go back to Fedora 8 if I can't fix this (not that anybody really cares what I do).
 
Old 05-26-2008, 02:36 PM   #2
syavne
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora Core
Posts: 9

Rep: Reputation: 0
Same problem here!

I've been unable to debug the problem (nothing usefull in the logs) but indeed the sound is too fast!, in my case is really enough to notice.

mplayer doesn't have the problem so I switched to it, however, I prefer to use Amarok with the xine engine.

In fact something in xine is broken and I browsed too many hours already trying to find a way to detect the problem and fill a bug report.

This happens only in my work's PC, the one in my home is not presenting this behaviour.
 
Old 05-26-2008, 02:55 PM   #3
wvmp324
LQ Newbie
 
Registered: May 2008
Posts: 1

Rep: Reputation: 0
I am experiencing the same audio problem after loading Fedora 9. There is a blank/skip every couple seconds when playing audio using Xine or VLC. However ,this blanking does not occur when playing the same audio using Mplayer, mpg123, Realplayer 11, and xmms, but the audio plays too fast. I did not experience this issue on any of the previous Fedora releases (Fedora 3 through 8). The problem seems to be associated with the sound driver in Fedora 9 for the Intel 82801 AC'97 integrated sound chip that is in my system. I have an external Sound Blaster MP3+ card which I tried (after disabling the Legacy sound chip in BIOS setup), and the audio plays correctly with no blanks/skips in Xine or VLC, and at the proper speed in Mplayer, mpg123, Realplayer 11, and xmms.
 
Old 05-26-2008, 09:04 PM   #4
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Original Poster
Rep: Reputation: 45
I have a integrated sound chip that I believe would be intel as well. I just decided to go back to Fedora 8. I use it for music and video too much for there to be any major issues. I'll just have to wait for Fedora 10. Unless I hear that the problem gets fixed later on, that is...
 
Old 06-03-2008, 11:39 AM   #5
syavne
LQ Newbie
 
Registered: Jun 2004
Distribution: Fedora Core
Posts: 9

Rep: Reputation: 0
Strange behaviour

Yesterday, I found some a post about some issues on Dell computers related to the clock source and the tickless kernel mode.

I found the clock sources available with the command:
cat /sys/devices/system/clocksource/clocksource0/available_clocksource

And then changed the clock source on the fly with the command:
echo acpi_pm > /sys/devices/system/clocksource/clocksource0/current_clocksource

Nothing seemed to happen immediately but two or three hours later I opened Amarok and all the music started playing fine!!!.

Today I opened Amarok to play some music and found the problem again, even when I wrote clocksource=acpi_pm in grub.conf the day before.

So, I don't know if the clock source change did something yesterday to fix it or if something related to the updates applied during the day did the trick...

Anyway... it seems to be a there's a way to fix it.
 
Old 06-03-2008, 09:37 PM   #6
justaguy_75ae
Member
 
Registered: May 2008
Posts: 42

Rep: Reputation: 16
Post

look at creative cards I have never had issues with them in linux. the audigy se is the cheapest and is quite good $26.00... im using the audigy 2 zg

Last edited by justaguy_75ae; 06-03-2008 at 09:43 PM.
 
Old 06-14-2008, 12:07 AM   #7
Sergio89
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
Hi there. Just registered to post the (my) solution, cause I was having the same problem.

I went to ALSA's official site and downloaded alsa-driver-1.0.17rc1, uncompressed it and made a simple ./configure, make and make install. The problemm, after a reboot, disapeared.

Hope it helps.
 
Old 07-21-2008, 02:57 PM   #8
gjarmour
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
ok.. I am still relatively new and been self learning linux. i have 4 kids so expenses for buying a soundcard for pleasure just aint in the budget regardless of the price. i tried to muck my way thru this and research and am getting no where. im hoping someone here can help me try the fix that Sergio89 posted here.

when i try the ./configure this is what I am getting

[gil@armourws alsa-driver-1.0.17]$ ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /home/gil/Download/alsa-driver-1.0.17
checking cross compile...
checking for directory with kernel source... ./configure: line 4685: cd: /lib/modules/2.6.25.10-86.fc9.i686/source: No such file or directory
/lib/modules/2.6.25.10-86.fc9.i686/source
checking for directory with kernel build... /lib/modules/2.6.25.10-86.fc9.i686/build
checking for kernel linux/version.h... no
The file /include/linux/version.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /lib/modules/2.6.25.10-86.fc9.i686/source).

It would be greatly appreciated if I get some help in breaking down what I need to do to get beyond this.
 
Old 07-22-2008, 04:52 PM   #9
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Original Poster
Rep: Reputation: 45
I believe it is telling you that you don't have the kernel source installed.

Follow this:
http://www.mjmwired.net/resources/mj...html#kernelsrc
 
Old 07-25-2008, 09:50 AM   #10
gjarmour
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Ok update to this. I tried to follow the article you linked to. (I have used that setup as well when configuring other things as well as its a great help and I highly recommend everyone use the info there for reference) but it did not work for me. I got as far as downloading the source file but the install of it didnt work as outlined. I chalk it up to my inexperience with windows and building from source. Maybe one day I will learn it.

However by sheer chance I took a gamble and did a search to see if someone somewhere had already compiled an .rpm for the alsa-driver-1.0.17 for the .fc9.i386.rpm or .fc9.i686.rpm.

I hit on the following site...

http://atrpms.net/dist/f9/alsa-driver

I downloaded the
alsa-kmdl-2.6.25.10-86.fc9-1.0.17-68.fc9.i686.rpm first and installed with the command;

sudo rpm -Uvh alsa-kmdl-2.6.25.10-86.fc9-1.0.17-68.fc9.i686.rpm

as it is the dependency for the next file I downloaded
alsa-driver-1.0.17-68.fc9.i386.rpm

then installing that with

sudo rpm -Uvh alsa-driver-1.0.17-68.fc9.i386.rpm

once done I rebooted and it totally fixed my problem.

So I appreciate the information given. I wish I was as knowledgable as being able to do it the ways that were suggested, but hopefully in me posting this information someone else may have an easier time.

Cheers!
 
  


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
Xine Plays DVD's in Slow Motion, Sound works then Doesn't Balarabay1 SUSE / openSUSE 2 03-19-2006 06:39 PM
my xine engine at times plays the sound of audio file and the video window turns blue amolgupta Linux - Software 1 07-29-2005 12:55 PM
AC97 sound card -- mp3 plays too fast -- chipmunk effect guybrush3322 Linux - Hardware 2 03-13-2005 10:08 PM
xine - plays sound but no video edudlive Linux - Software 3 08-29-2004 07:17 PM
xine only plays the soundtrack, no speech or sound effects sohmc Linux - Software 5 05-08-2004 06:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:26 PM.

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