Bug 113603 - sounds crash after some times
Summary: sounds crash after some times
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Sound (show other bugs)
Version: Final
Hardware: i686 All
: P5 - None : Major
Target Milestone: ---
Assignee: Takashi Iwai
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-28 06:55 UTC by Perret Florian
Modified: 2007-02-19 14:37 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
interrups (656 bytes, application/octet-stream)
2005-09-20 13:35 UTC, Perret Florian
Details
aplay (2.46 KB, application/octet-stream)
2005-09-20 13:36 UTC, Perret Florian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Perret Florian 2005-08-28 06:55:35 UTC
When watching movies (KDE, Kaffeine), sound disappears at about 20 minutes. All
the system can't play a sound, so I must restart the computer to have sound.
Sometimes I should restart many times before to recover (8 time yesterday !).

My laptop is an Asus A6G and lspci -vv gives :

0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
Subsystem: ASUSTeK Computer Inc.: Unknown device 1893
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 6
Region 0: I/O ports at e000 [size=256]
Region 1: I/O ports at e100 [size=64]
Region 2: Memory at 40000400 (32-bit, non-prefetchable) [size=512]
Region 3: Memory at 40000600 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Comment 1 Takashi Iwai 2005-08-29 09:43:34 UTC
If a rebooting doesn't help, it sounds like a hardware problem...
Comment 2 Perret Florian 2005-08-29 09:59:16 UTC
Or a driver problem ?
Reboot works in a majority of case. But sometimes sound works at start ant cuts
just after. This bug doesn't exist when I waork on windows or mandriva.

Some ideas :
- problem whith "saving energy" module.
- problem with computer too warm.

Is there a log for sound card ?
Comment 3 Takashi Iwai 2005-08-29 10:11:23 UTC
Well, it depends on what "can't play" means.

If it's related with DMA, i.e. a hardware problem or something very deep in
kernel, the interrupt won't be increased when the sound "stops".  You can see
the interrupt counts in /proc/interrupts.

If it's a mixer problem, you can check the mixer status when it happens, simply
by running alsamixer (or get a snapshot via "alsactl -f foo store").

If it's a problem with dmix plugin of alsa-lib, you don't need to reboot the
machine, but just stopping all apps accessing the sound should fix.  You can see
processes via "fuser /dev/snd/pcmC0D0*".

No, there is no log unless a fatal problem is detected on kernel.

Anyway, if this happens, try to play another file via aplay, e.g. "aplay -vv
somefile.wav".
Comment 4 Perret Florian 2005-09-03 08:47:51 UTC
In beta 4, I have no sound at all. And KDE gives me this log when I clik on
"test sound" in KDE config :

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 1082318912 (LWP 12609)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#14 0x400a4ae6 in Arts::PlayObject_base::_create ()
   from /opt/kde3/lib/libkmedia2_idl.so.1
#15 0x08057776 in ?? ()
#16 0xbfe2be7c in ?? ()
#17 0xbfe2be68 in ?? ()
#18 0x080d0724 in ?? ()
#19 0x00000001 in ?? ()
#20 0x0000006f in ?? ()
#21 0x00000000 in ?? ()
#22 0x01e2be6b in ?? ()
#23 0x00000000 in ?? ()
#24 0xbfe2be6b in ?? ()
#25 0x00000028 in ?? ()
#26 0x080d0718 in ?? ()
#27 0x080cad90 in ?? ()
#28 0x080d05e0 in ?? ()
#29 0x080cd52c in ?? ()
#30 0x080a4e6c in ?? ()
#31 0x080cd55c in ?? ()
#32 0x080cdb3c in ?? ()
#33 0x080ce5d4 in ?? ()
#34 0x080a4e6c in ?? ()
#35 0x080a4e6c in ?? ()
#36 0x080d0724 in ?? ()
#37 0x080cdd24 in ?? ()
#38 0x00000028 in ?? ()
#39 0x00000028 in ?? ()
#40 0x40829880 in mp_ () from /lib/tls/libc.so.6
#41 0x080cdaf0 in ?? ()
#42 0xbfe2beb8 in ?? ()
#43 0x406d2cd0 in ?? () from /usr/lib/libstdc++.so.6
#44 0xbfe2bf14 in ?? ()
#45 0x00000028 in ?? ()
#46 0xbfe2bed8 in ?? ()
#47 0x4068b957 in std::string::assign () from /usr/lib/libstdc++.so.6
#48 0x08053772 in ?? ()
#49 0xbfe2bedc in ?? ()
#50 0x08096c70 in ?? ()
#51 0xbfe2bf14 in ?? ()
#52 0x403b38a9 in Arts::Buffer::readString () from /opt/kde3/lib/libmcop.so.1
#53 0x4005a63e in Arts::ByteSoundReceiver::_Creator ()
   from /opt/kde3/lib/libsoundserver_idl.so.1
#54 0x403ce7d6 in Arts::Object_skel::_dispatch ()
   from /opt/kde3/lib/libmcop.so.1
#55 0x403cee56 in Arts::Dispatcher::handle () from /opt/kde3/lib/libmcop.so.1
#56 0x403cfc39 in Arts::Connection::receive () from /opt/kde3/lib/libmcop.so.1
#57 0x403cfe0b in Arts::Connection::receive () from /opt/kde3/lib/libmcop.so.1
#58 0x403b542b in Arts::StdIOManager::processOneEvent ()
   from /opt/kde3/lib/libmcop.so.1
#59 0x403adab1 in Arts::StdIOManager::run () from /opt/kde3/lib/libmcop.so.1
#60 0x403ad937 in Arts::Dispatcher::run () from /opt/kde3/lib/libmcop.so.1
#61 0x08059c94 in ?? ()
#62 0xbfe2e3a8 in ?? ()
#63 0x0000003b in ?? ()
#64 0x00000000 in ?? ()
#65 0x00000000 in ?? ()
#66 0xbfe2e42c in ?? ()
#67 0x40007fd7 in _dl_lookup_symbol_x () from /lib/ld-linux.so.2
#68 0x40721e60 in __libc_start_main () from /lib/tls/libc.so.6
#69 0x080520d1 in ?? ()
Comment 5 Perret Florian 2005-09-20 13:35:27 UTC
Answer to comment 3 :

I join the file "interrupts" and the result of "aplay".
For "alsactl -f foo store", nothing happens.
For "fuser /dev/snd/pcmC0D0*", I have : "/dev/snd/pcmC0D0p:    9101m  9115m"

I hope it can help you.
Comment 6 Perret Florian 2005-09-20 13:35:50 UTC
Created attachment 50422 [details]
interrups
Comment 7 Perret Florian 2005-09-20 13:36:12 UTC
Created attachment 50423 [details]
aplay
Comment 8 Perret Florian 2005-11-06 09:09:53 UTC
I've always the same problem in Suse 10 final version.
One more thing : when I select ALSA in the KDE's control center, the progress bar loop...
Comment 9 Takashi Iwai 2007-02-19 14:37:52 UTC
The race of dmix has been already fixed in the recent versions.