Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21st June 2012, 09:40 AM
depierce Offline
Registered User
 
Join Date: Dec 2009
Posts: 10
linuxchrome
Fedora 17, pulseaudio, KDE, phonon, distortion

I installed Fedora 17 x86_64 a couple nights ago. Up to date. I used the KDE spin for the initial install and am using the K Desktop. My current repos include fedora, adobe, google, livna, rpmfusion (rawhides and testing are off). My sound card is a Creative Labs SB X-Fi, using snd_ctxfi.

My problem - my very serious, I'm-going-to-ditch-Fedora-for-good problem - is sound distortion occurring in any audio app, using any codec, after X amount of time, where X is random. The distortion may be an echo effect of some kind, but when it starts, it is so horrible and persistent I am forced to kill whatever audio app is running lest I damage my ears or my Grado SR325s. And I'm not certain I've avoided either horrid end, actually.

I have no clue where to start. This card works as expected, at least in standard stereo mode, in Windows XP, Windows 7 and FreeBSD 9.0. Any pointers would be appreciated.
Reply With Quote
  #2  
Old 21st June 2012, 03:05 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,855
linuxfirefox
Re: Fedora 17, pulseaudio, KDE, phonon, distortion

My more or less uninformed suggestions:

Determine which kernel module is used for your sound device by finding it in the output of lspci
Code:
lspci | less
Then get a more detailed report by using lspci with the specific slot number of the device. For example,

Code:
lspci -v -s 00:14.2
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
	Subsystem: Giga-byte Technology Device a002
	Flags: bus master, slow devsel, latency 32, IRQ 16
	Memory at fdff4000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd-hda-intel
That would give you a specific name to use in searching for problems with the module.


One recommendation from http://fedoraproject.org/wiki/How_to...sound_problems is to temporarily remove alsa-plugins-pulseaudio. This got my FC 17 machine from no-audio to audio, so (not being a sophisticated user of audio) I just left it removed.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #3  
Old 21st June 2012, 06:23 PM
depierce Offline
Registered User
 
Join Date: Dec 2009
Posts: 10
linuxchrome
Re: Fedora 17, pulseaudio, KDE, phonon, distortion

There don't appear to be any outstanding bugs on the snd_ctxfi driver. I've never had an issue with it on other Linux distros either recently. I am inclined to believe, based on prior experience with Fedora and pulseaudio that ripping out pulseaudio and setting up a proper alsa conf would solve the issue. But that clearly isn't how Fedora was designed and I'd like to give the "community" a chance to help me straighten this out.

# lspci -vv -s 05:02.0
05:02.0 Multimedia audio controller: Creative Labs SB X-Fi
Subsystem: Creative Labs Device 0031
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32 (1000ns min, 1250ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 18
Region 0: I/O ports at d200 [size=32]
Region 1: Memory at f1000000 (64-bit, non-prefetchable) [size=2M]
Region 3: Memory at ec000000 (64-bit, non-prefetchable) [size=64M]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Kernel driver in use: snd_ctxfi

Last edited by depierce; 21st June 2012 at 06:33 PM.
Reply With Quote
  #4  
Old 21st June 2012, 10:27 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,855
linuxfirefox
Re: Fedora 17, pulseaudio, KDE, phonon, distortion

The suggestion on the Fedora audio debugging page is to temporarily remove the pulseaudio plugin. If it (temporarily) fixes the problem then you know something about pulseaudio needs fixing instead of merely suspecting it.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #5  
Old 22nd June 2012, 03:52 AM
depierce Offline
Registered User
 
Join Date: Dec 2009
Posts: 10
linuxchrome
Re: Fedora 17, pulseaudio, KDE, phonon, distortion

Quote:
Originally Posted by tashirosgt View Post
The suggestion on the Fedora audio debugging page is to temporarily remove the pulseaudio plugin. If it (temporarily) fixes the problem then you know something about pulseaudio needs fixing instead of merely suspecting it.
Would you please link me the Fedora audio debugging page?
Reply With Quote
  #6  
Old 22nd June 2012, 02:48 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,855
linuxfirefox
Re: Fedora 17, pulseaudio, KDE, phonon, distortion

http://fedoraproject.org/wiki/How_to...sound_problems
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #7  
Old 22nd June 2012, 03:00 PM
Quantum Offline
Registered User
 
Join Date: Jun 2012
Location: Seattle, Ecotopia
Posts: 32
linuxkonqueror
Re: Fedora 17, pulseaudio, KDE, phonon, distortion

I get exactly the same problem -a weird echoing/spazzing of audio after a period of time-- and I have a completely different audio card, I too run KDE, and this is on Debian not Fedora. I get it in MythTV while watching TV shows.

I suspect that rather than in a driver, this is caused by a higher-level function. I too don't know where to start; I've already removed most of Pulse.

Last edited by Quantum; 22nd June 2012 at 03:51 PM.
Reply With Quote
  #8  
Old 23rd June 2012, 05:34 AM
depierce Offline
Registered User
 
Join Date: Dec 2009
Posts: 10
linuxchrome
Re: Fedora 17, pulseaudio, KDE, phonon, distortion

Quote:
Originally Posted by tashirosgt View Post
That page hasn't been touched since October '09. I ended up ripping out all pulseaudio* pkgs with the exception of pulseaudio-libs and -libs-glib2. I mean I tried removing those last two as well, but quickly discovered KDE expects those libs and dies without them (facepalm). Also switched phonon backend to use VLC (https://wirejungle.wordpress.com/201...-sound-in-kde/). After trying to beat it up by playing several flacs at once and streaming some youtube nonsense while generating KDE notification sounds on events - I can say it appears my problems are resolved.

Quantum, you might want to give what I did a shot. Can't hurt.
Reply With Quote
  #9  
Old 23rd June 2012, 03:23 PM
Quantum Offline
Registered User
 
Join Date: Jun 2012
Location: Seattle, Ecotopia
Posts: 32
linuxkonqueror
Re: Fedora 17, pulseaudio, KDE, phonon, distortion

I'd already done exactly that. I'll bet your problem comes back.
Reply With Quote
  #10  
Old 23rd June 2012, 04:00 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,855
linuxfirefox
Re: Fedora 17, pulseaudio, KDE, phonon, distortion

I'm curious whether you notice anything different about the threads involved in audio processes when the sound problem happens - like a larger number of threads. The man page for "ps" says that "ps -eLf" and "ps axms" show information about threads, but I myself don't have any experience intrerpreting their output.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
  #11  
Old 23rd June 2012, 04:07 PM
Quantum Offline
Registered User
 
Join Date: Jun 2012
Location: Seattle, Ecotopia
Posts: 32
linuxkonqueror
Re: Fedora 17, pulseaudio, KDE, phonon, distortion

I'll check it next time. I usually just bookmark the TV show, stop it, then restart and it's OK.
Reply With Quote
Reply

Tags
distortion, fedora, fedora 17, kde, phonon, pulseaudio

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
phonon-backend-gstreamer vs phonon-backend-vlc vs phonon-backend-xine COKEDUDE Using Fedora 0 29th May 2012 02:18 PM
VLC as phonon backend ? Kushagra1276 F15 Development 1 8th April 2011 05:22 PM
Phonon and ALSA DMix doesn't work (F11) nils06 Using Fedora 1 2nd September 2009 08:10 PM
Problem with Phonon on Fedora 8 oda Using Fedora 1 20th April 2009 12:37 AM
Audio Distortion Under Fedora 9 Quasar8000 Hardware & Laptops 2 15th June 2008 06:25 PM


Current GMT-time: 18:27 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat