[RFT] Major snd_hda rewrite

Mickaël Maillot mickael.maillot at gmail.com
Sat Jan 21 13:17:31 UTC 2012


2012/1/19 Mickaël Maillot <mickael.maillot at gmail.com>

> 2012/1/19 Mickaël Maillot <mickael.maillot at gmail.com>
>
>>
>> sorry, i was booting on the wrong kernel .....
>> here is the good verbose dmesg with ELD: http://fneufn.eu/freebsd/**
>> dmesg.verb.htpc.20120119.txt<http://fneufn.eu/freebsd/dmesg.verb.htpc.20120118.txt>
>>
>> pciconf -vl with nvidia part:
>>
>> vgapci0 at pci0:3:0:0:     class=0x030000 card=0x841f1043 chip=0x0a6410de
>> rev=0xa2 hdr=0x00
>>     vendor     = 'nVidia Corporation'
>>     device     = 'GT218 [ION]'
>>     class      = display
>>     subclass   = VGA
>> hdac1 at pci0:3:0:1:       class=0x040300 card=0x841f1043 chip=0x0be310de
>> rev=0xa1 hdr=0x00
>>     vendor     = 'nVidia Corporation'
>>     device     = 'High Definition Audio Controller'
>>     class      = multimedia
>>     subclass   = HDA
>>
>>
> with the good link: http://fneufn.eu/freebsd/dmesg.verb.htpc.20120119.txt
>
>
So i tried DTS-HDMA and Dolby TrueHD without success.
when i play DTS-HDMA, my receiver display DTS-HR and seams to play dts core
with lots of interruptions.
and when i play TrueHD, my receiver display TrueHD but doesn't play
anything.

and sysctl show:
dev.pcm.4.play.vchanmode: passthrough
dev.pcm.4.play.vchanrate: 192000
dev.pcm.4.play.vchanformat: ac3:2.0

i tried without vchan with same results.

i can't set more than 2 channels for my hdmi output (dsp4), i want to set 8
channels like alsa does.
i never show things like PCMDIR_...: Stream setup.... in my messages, so
may be i use oss wrongly.
you can find the source code of xbmc used to play losseless file here:
https://github.com/Fneufneu/xbmc/blob/freebsdAE/xbmc/cores/AudioEngine/Sinks/AESinkOSS.cpp

and my dmesg: http://fneufn.eu/freebsd/dmesg.verb.htpc.20120121.txt


More information about the freebsd-current mailing list