Am Montag, den 28.09.2009, 16:28 +0200 schrieb Rafał Miłecki: > It doesn't work for me, and sorry but I'm too dumb to fix that :( > > Playback speed in mplayer is alright, but my AV doesn't get any audio signal.
> It seems KMS set also second pair of registers, probably for my LVDS > (PANEL). No reason for that, but shouldn't hurt, right? As long as register 0x0534 isn't changed that shouldn't hurt bit. > > I don't know meaning of > R600_AUDIO_SUPPORTED_SIZE_RATE (0x7394) > is this something important? No, that register only tells alsa which sampling rates and bits per sample are supported. As long as you don't want to use 24bit audio or sampling rates other than 48000 Hz we don't need to change a bit. > It reminds me RV770 issue from radeonhd, where we don't get working > audio. All registers are 100% alright, but no sound. Your script is missing something, the 0x7400, 0x7700 and 0x7800 are only bases. Try comparing the whole 0x7400-0x74ff, 0x7700-0x77ff and 0x7800-0x78ff ranges. For the RV770 i have the strong feeling that ATI have started to double buffer the HDMI registers, and there is a bit somewhere that tells the hardware to start using the new values on the next vertical or horizontal retrace. > Maybe order of setting registers matters? Do we set registers in > different order than radeonhd does? There are registers in the 0x7304-0x7340 range that can deadlock the audio codec if not written in the right order (i think they are for interrupt and dma control), but i really avoid touching those, the bios sets them up on boot pretty fine. > Please, check attached log files. In both cases I've started playback > *just once*. In case of radeonhd there is one > RHDHdmiUpdateAudioSettings operation. However KMS prints 4*playing > messages. Yeah that's another point that could go wrong. At the moment i enable hdmi on any digital interface i can find, even if it's an LVDS, the worst thing that could happen is that you don't get a picture on your panel. Bye, Christian. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel