Re: No sound via HDMI with M4A78 PRO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 10 May 2010, Paul Menzel wrote:
> Am Sonntag, den 09.05.2010, 10:24 +0200 schrieb Stefan Lucke:
> > On Friday 07 May 2010, Stefan Lucke wrote:
> 
> > > I need some help with passing audio via HDMI.
> > > 
> > > When my monitor (LG M2362D) is connected via RGB and analog audio, sound seems to OK.
> > > 
> > > 	time aplay -D default -v -v summkl-18.wav
> > > 	..
> > > 	real    1m5.222s
> > > 	user    0m1.522s
> > > 	sys     0m0.299s
> > > 
> > > with kernel A and 
> > > 	time aplay -D hw:1,3 -v -v summkl-18.wav
> > > 	..
> > > thereis no sound and execution time is
> > > 	real    0m10.518s
> > > 	user    0m0.024s
> > > 	sys     0m0.056s
> 
> I did not get this. Is it working with Linux kernel A? Did you make
> sure, that the HDMI cable is working.

Cable is and monitor is ok as I get sound from my popcornhour.
HDMI playback with kernel A (2.6.32.7) is 6 times fast (10.5 sec, not audible)
than analog playback (65 sec audible).

enable_msi=0 turn fast running aplay into a slow one, but stil no sound.

>From /proc/interrupts with slow running aplay:
 16:      23310     293608   IO-APIC-fasteoi   ohci_hcd:usb3, ohci_hcd:usb4, hda_intel
 17:      17996    1553666   IO-APIC-fasteoi   ehci_hcd:usb1
 18:          1        314   IO-APIC-fasteoi   ohci_hcd:usb5, ohci_hcd:usb6, ohci_hcd:usb7, radeon
 19:          0          0   IO-APIC-fasteoi   ehci_hcd:usb2
 21:          1        105   IO-APIC-fasteoi   saa7146 (0)
 22:       5693      62311   IO-APIC-fasteoi   ahci, ohci1394
 25:          0          0   PCI-MSI-edge      hda_intel
 26:       7520     124542   PCI-MSI-edge      eth0

>From /proc/interrupts with fast running aplay:
 16:      23470     303478   IO-APIC-fasteoi   ohci_hcd:usb3, ohci_hcd:usb4, hda_intel
 17:      18280    1582252   IO-APIC-fasteoi   ehci_hcd:usb1
 18:          1        314   IO-APIC-fasteoi   ohci_hcd:usb5, ohci_hcd:usb6, ohci_hcd:usb7, radeon
 19:         84        640   IO-APIC-fasteoi   ehci_hcd:usb2, hda_intel
 21:          1        105   IO-APIC-fasteoi   saa7146 (0)
 22:       5802      63430   IO-APIC-fasteoi   ahci, ohci1394
 26:       7629     125377   PCI-MSI-edge      eth0

Thats now with kernel 2.6.33.3 and alsa driver from 20100508.
With this kernel "fast running" aplay is quite near expected duration
65.222 * 44100 / 48000 = 59.9227


stefan@jarada /data/cd_data/Summ $ time aplay -D hw:1,3 -v -v summkl-18.wav
Playing WAVE 'summkl-18.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz)
         please, try the plug plugin
Hardware PCM card 1 'HDA ATI HDMI' device 3 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 4096
  period_time  : 85333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 4096
  period_event : 0
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
  appl_ptr     : 0
  hw_ptr       : 0


real    0m59.835s
user    0m0.047s
sys     0m0.054s

> 
> > > Duration with kernel B and above command is about 95 minutes.
> > > 
> > > Hopefully some can help me with sounf over hdmi.
> > > 
> > > motherboard: asus M4A78 PRO
> > > kernel A: 2.6.32.7
> > > kernel B: 2.6.33
> > 
> > 
> > Now with alsa driver from daily snapshot 20100508, which plays as slow as 
> > kernel B from above, I get a message regarding DMA/IRQ issues:
> > 
> > [ 1886.789461] ALSA pcm_lib.c:1745: playback write error (DMA or IRQ trouble?)
> > [ 1897.792865] ALSA pcm_lib.c:1745: playback write error (DMA or IRQ trouble?)
> 
> Did you find something on the Web what could cause this.

No.

..

> 
> Please do not compress the `alsa-info.sh` output. Just paste it into the
> message or attach as plain text.
> 
> Anyway, did you try different module options [1]?

..

> [1] http://alsa-project.org/main/index.php/Help_To_Debug_Intel_HDA
> 

Thanks, good link,

Stefan Lucke

------------------------------------------------------------------------------

_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux