ALSA Multichannel through HDMI
A message that is not in the archive (sent off-list or not yet received): 20100112045102.GA29735@localhost
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): 20100112132140.GA7647@localhost
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): 20100113010942.GA6435@localhost
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): 20100113014550.GA10184@localhost
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): 20100113045238.GB26275@localhost
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): 20100113050254.GA28475@localhost
Quoted 58 lines · Wu Fengguang
Quoted 44 lines · John Ettedgui
Quoted 33 lines · Wu Fengguang
Quoted 23 lines · John Ettedgui
Quoted 22 lines · Wu Fengguang
Quoted 20 lines · John Ettedgui
Quoted 11 lines · Wu Fengguang
Quoted 11 lines
Quoted 11 lines
You can play a 5.1 track and find something like this in dmesg:
HDMI: ASP channel %d => slot %d
HDMI: ASP channel %d => slot %d
HDMI: ASP channel %d => slot %d
HDMI: ASP channel %d => slot %d
HDMI: ASP channel %d => slot %d
HDMI: ASP channel %d => slot %d
HDMI: ASP channel %d => slot %d
HDMI: ASP channel %d => slot %dQuoted 5 lines
Quoted 2 lines
After trying speaker-test -c6, I could not find anything like that. If I try mplayer -channel 6, it just does not output any sound.
Did you enable
CONFIG_SND_DEBUG_VERBOSE?Yes.
Quoted 8 lines
Quoted 3 lines
Then we need more debugging..
Can you send me the file
/proc/asound/card*/eld*?Attached to this email
Quoted 2 lines
And the alsainfo output:
http://www.alsa-project.org/alsa-info.shand this one is at
http://www.alsa-project.org/db/?f=59773f9117f653f3d20d21b90dc2104eeb5d1ecdQuoted 7 lines
John, please try this and then redo speaker-test and check dmesg:
# echo monitor_present 1 > /proc/asound/card*/eld*Thanks,
FengguangAlright, I guess this is the output we are looking for:
Quoted 12 lines
ALSA
sound/pci/hda/patch_intelhdmi.c:842:hdmi_setup_stream: NID=0x2, stream=0x1, new-format=0x11
ALSAsound/pci/hda/hda_intel.c:1641:azx_pcm_prepare: bufsize=0x10000, format=0x11
HDMI: ASP channel 0 => slot 0
HDMI: ASP channel 0 => slot 0
HDMI: ASP channel 0 => slot 0
HDMI: ASP channel 0 => slot 0
HDMI: ASP channel 0 => slot 0
HDMI: ASP channel 0 => slot 0
HDMI: ASP channel 0 => slot 0
HDMI: ASP channel 0 => slot 0
Quoted 8 lines
Oh well, I guess your hardware doesn't support channel mapping..
You can still do it in user space:
http://article.gmane.org/gmane.linux.alsa.user/33393Thanks,
Fengguang
I am sorry to resurrect this thread after so long, but I still have not been able to get anywhere.
Also it just came to my attention that if my receiver always sees the hdmi connection as stereo (apart from when using ac3/dts passthrough) channel remapping is not the solution, but somehow something else is messed up.
I think I should try some options in modprobe.conf for snd-hda-intel but I am not sure which ones, and from all the examples I can find on the web, it seems none of them are talking about a radeon hdmi connection...
So I'm asking for advice here again :)
Thanks!
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 13 lines · John Ettedgui
On Tue, Jan 12, 2010 at 9:02 PM, Wu Fengguang <[email protected]> wrote:
I am sorry to resurrect this thread after so long, but I still have not been able to get anywhere.
Also it just came to my attention that if my receiver always sees the hdmi connection as stereo (apart from when using ac3/dts passthrough) channel remapping is not the solution, but somehow something else is messed up.I think I should try some options in modprobe.conf for snd-hda-intel but I am not sure which ones, and from all the examples I can find on the web, it seems none of them are talking about a radeon hdmi connection...
Quoted 7 lines
So I'm asking for advice here again :)
Thanks!
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Hi, I think there are developments in ffmpeg projects, to support multichannel passthrough through HDMI, ALSO only provides infra and interface to the HDMI. The passthrough decoding is handled by apps.
Here is the snippet from the ffmpeg's 'svn log'
------------------------------------------------------------------------
r25760 | cehoyos | 2010-11-17 20:22:59 +0800 (Wed, 17 Nov 2010) | 6 lines
Add support for IEC 61937 ("SPDIF") encapsulation for E-AC-3. Only works via HDMI.
Patch by Anssi Hannula (anssi d hannula a iki d fi), based on some work by myself.
------------------------------------------------------------------------
You can search in ffmpeg's development's mailing list for more information.
Thank you.
Quoted 36 lines · Mohammad Bahathir Hashim
Quoted 13 lines · John Ettedgui
On Tue, Jan 12, 2010 at 9:02 PM, Wu Fengguang <[email protected]> wrote:
I am sorry to resurrect this thread after so long, but I still have not been able to get anywhere.
Also it just came to my attention that if my receiver always sees the hdmi connection as stereo (apart from when using ac3/dts passthrough) channel remapping is not the solution, but somehow something else is messed up.I think I should try some options in modprobe.conf for snd-hda-intel but I am not sure which ones, and from all the examples I can find on the web, it seems none of them are talking about a radeon hdmi connection...
Quoted 7 lines
So I'm asking for advice here again :)
Thanks!
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develHi, I think there are developments in ffmpeg projects, to support multichannel passthrough through HDMI, ALSO only provides infra and interface to the HDMI. The passthrough decoding is handled by apps.
Here is the snippet from the ffmpeg's 'svn log'
------------------------------------------------------------------------
r25760 | cehoyos | 2010-11-17 20:22:59 +0800 (Wed, 17 Nov 2010) | 6 linesAdd support for IEC 61937 ("SPDIF") encapsulation for E-AC-3. Only works via HDMI.
Quoted 8 lines
Patch by Anssi Hannula (anssi d hannula a iki d fi), based on some work by myself.
------------------------------------------------------------------------You can search in ffmpeg's development's mailing list for more information.
Thank you.
Hey Mohammad,
I'm actually trying to get a 5.1 setup working without passthrough, if I use mplayer with passthrough my receiver behaves just fine, but I am trying to send the 6 channels from the computer.
I was actually told that the current ALSA driver for radeon's hdmi does not support more than 2 channels, and that would explain why I'm getting this behavior. Is that true though?
Thanks!
John
Quoted 52 lines · John Ettedgui
Quoted 36 lines · Mohammad Bahathir Hashim
Quoted 13 lines · John Ettedgui
On Tue, Jan 12, 2010 at 9:02 PM, Wu Fengguang <[email protected]> wrote:
I am sorry to resurrect this thread after so long, but I still have not been able to get anywhere.
Also it just came to my attention that if my receiver always sees the hdmi connection as stereo (apart from when using ac3/dts passthrough) channel remapping is not the solution, but somehow something else is messed up.I think I should try some options in modprobe.conf for snd-hda-intel but I am not sure which ones, and from all the examples I can find on the web, it seems none of them are talking about a radeon hdmi connection...
Quoted 7 lines
So I'm asking for advice here again :)
Thanks!
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develHi, I think there are developments in ffmpeg projects, to support multichannel passthrough through HDMI, ALSO only provides infra and interface to the HDMI. The passthrough decoding is handled by apps.
Here is the snippet from the ffmpeg's 'svn log'
------------------------------------------------------------------------
r25760 | cehoyos | 2010-11-17 20:22:59 +0800 (Wed, 17 Nov 2010) | 6 linesAdd support for IEC 61937 ("SPDIF") encapsulation for E-AC-3. Only works via HDMI.
Quoted 8 lines
Patch by Anssi Hannula (anssi d hannula a iki d fi), based on some work by myself.
------------------------------------------------------------------------You can search in ffmpeg's development's mailing list for more information.
Thank you.
Hey Mohammad,
I'm actually trying to get a 5.1 setup working without passthrough, if I use mplayer with passthrough my receiver behaves just fine, but I am trying to send the 6 channels from the computer.
Quoted 7 lines
I was actually told that the current ALSA driver for radeon's hdmi does not support more than 2 channels, and that would explain why I'm getting this behavior. Is that true though?
Thanks!
John
Currently, I don't have HT AVR with HDMI, but for normal SPDIF through TOSLINK will stream any standard 5.1 DTS/AC3 raw bitstream to my cheap AVR (Yamaha RX-V361) without any problem.
$ mplayer -ao alsa:device=spdif -ac hwdts,hwac3, foo.mkv
It is not about how many channels that HDMI can support, but how to pass the bitstream correctly to the receiver. As we can see in this thread, the support for higher bandwidth/format of the DTS/AC3 format is currently being developed by Anssi Hannula.
http://article.gmane.org/gmane.comp.video.ffmpeg.devel/121073/
Eventually it will be incorprated in MPlayer-svn.
Thank you.
Quoted 73 lines · Mohammad Bahathir Hashim
Quoted 52 lines · John Ettedgui
Quoted 36 lines · Mohammad Bahathir Hashim
Quoted 13 lines · John Ettedgui
On Tue, Jan 12, 2010 at 9:02 PM, Wu Fengguang <[email protected]> wrote:
I am sorry to resurrect this thread after so long, but I still have not been able to get anywhere.
Also it just came to my attention that if my receiver always sees the hdmi connection as stereo (apart from when using ac3/dts passthrough) channel remapping is not the solution, but somehow something else is messed up.I think I should try some options in modprobe.conf for snd-hda-intel but I am not sure which ones, and from all the examples I can find on the web, it seems none of them are talking about a radeon hdmi connection...
Quoted 7 lines
So I'm asking for advice here again :)
Thanks!
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develHi, I think there are developments in ffmpeg projects, to support multichannel passthrough through HDMI, ALSO only provides infra and interface to the HDMI. The passthrough decoding is handled by apps.
Here is the snippet from the ffmpeg's 'svn log'
------------------------------------------------------------------------
r25760 | cehoyos | 2010-11-17 20:22:59 +0800 (Wed, 17 Nov 2010) | 6 linesAdd support for IEC 61937 ("SPDIF") encapsulation for E-AC-3. Only works via HDMI.
Quoted 8 lines
Patch by Anssi Hannula (anssi d hannula a iki d fi), based on some work by myself.
------------------------------------------------------------------------You can search in ffmpeg's development's mailing list for more information.
Thank you.
Hey Mohammad,
I'm actually trying to get a 5.1 setup working without passthrough, if I use mplayer with passthrough my receiver behaves just fine, but I am trying to send the 6 channels from the computer.
Quoted 7 lines
I was actually told that the current ALSA driver for radeon's hdmi does not support more than 2 channels, and that would explain why I'm getting this behavior. Is that true though?
Thanks!
JohnCurrently, I don't have HT AVR with HDMI, but for normal SPDIF through TOSLINK will stream any standard 5.1 DTS/AC3 raw bitstream to my cheap AVR (Yamaha RX-V361) without any problem.
$ mplayer -ao alsa:device=spdif -ac hwdts,hwac3, foo.mkvIt is not about how many channels that HDMI can support, but how to pass the bitstream correctly to the receiver. As we can see in this thread, the support for higher bandwidth/format of the DTS/AC3 format is currently being developed by Anssi Hannula.
Quoted 6 lines
http://article.gmane.org/gmane.comp.video.ffmpeg.devel/121073/
Eventually it will be incorprated in MPlayer-svn.
Thank you.
But that only applies to streams that I would want to passthrough from my system to my receiver.
I already have videos with audio streams that my receiver cannot decode but my computer can.
There is not much I can do about the receiver... so being able to send the already decoded stream (not using the passthrough ability) is very useful. (These streams are encoded in TrueHD, that is mentioned in the link you gave, but even if I can send them to my receiver with these patches, it would do me no good as the receiver cannot do anything with them).
I can already do what I want today using jack/rca cables, but it'd be nicer to do so using the hdmi cable :)
Thanks,
John
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Hi!
Quoted 7 lines · John Ettedgui
I'm actually trying to get a 5.1 setup working without passthrough, if I use mplayer with passthrough my receiver behaves just fine, but I am trying to send the 6 channels from the computer.
I was actually told that the current ALSA driver for radeon's hdmi does not support more than 2 channels, and that would explain why I'm getting this behavior. Is that true though?
Yes.
However, strangely your log output seems to show the intel's hdmi parser being used instead:
Quoted 2 lines
ALSA
sound/pci/hda/patch_intelhdmi.c:842:hdmi_setup_stream: NID=0x2, stream=0x1, new-format=0x11
Were you just trying some patch at the time?
Signature · 1 line
Anssi Hannula
Quoted 17 lines · Anssi Hannula
Hi!
Quoted 7 lines · John Ettedgui
I'm actually trying to get a 5.1 setup working without passthrough, if I use mplayer with passthrough my receiver behaves just fine, but I am trying to send the 6 channels from the computer.
I was actually told that the current ALSA driver for radeon's hdmi does not support more than 2 channels, and that would explain why I'm getting this behavior. Is that true though?
Yes.
However, strangely your log output seems to show the intel's hdmi parser being used instead:
Quoted 8 lines
Quoted 2 lines
ALSA
sound/pci/hda/patch_intelhdmi.c:842:hdmi_setup_stream: NID=0x2, stream=0x1, new-format=0x11Were you just trying some patch at the time?
--
Anssi Hannula
Hi,
yes Wu gave me a patch to try against the kernel, I'm guessing this is the reason you see something unexpected.
Since I just moved to jack/rca cables I'm in no hurry anymore, but is there any reason why the driver cannot work with more than 2 channels? Anything I could do to help with that?
Thank you!
John
Quoted 16 lines · John Ettedgui
Quoted 15 lines · Anssi Hannula
Quoted 7 lines · John Ettedgui
I'm actually trying to get a 5.1 setup working without passthrough, if I use mplayer with passthrough my receiver behaves just fine, but I am trying to send the 6 channels from the computer.
I was actually told that the current ALSA driver for radeon's hdmi does not support more than 2 channels, and that would explain why I'm getting this behavior. Is that true though?
Yes.
However, strangely your log output seems to show the intel's hdmi parser being used instead:
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
ALSA
sound/pci/hda/patch_intelhdmi.c:842:hdmi_setup_stream: NID=0x2, stream=0x1, new-format=0x11Were you just trying some patch at the time?
yes Wu gave me a patch to try against the kernel, I'm guessing this is the reason you see something unexpected.
Did 6 channels work with that patch? (possibly with a wrong channel order)
Also, could you provide the patch?
(so that I won't ask you or anyone else to test unnecessary stuff :) )
I wasn't able to locate the original thread in archives.
Quoted 2 lines
Since I just moved to jack/rca cables I'm in no hurry anymore, but is there any reason why the driver cannot work with more than 2 channels?
I don't really know (it is simply not implemented).
Quoted 1 line
Anything I could do to help with that?
Possibly. But see above, so that we won't try the same things you already tried :)
Signature · 1 line
Anssi Hannula
Quoted 20 lines · Anssi Hannula
Quoted 19 lines · John Ettedgui
Quoted 18 lines · Anssi Hannula
Quoted 7 lines · John Ettedgui
I'm actually trying to get a 5.1 setup working without passthrough, if I use mplayer with passthrough my receiver behaves just fine, but I am trying to send the 6 channels from the computer.
I was actually told that the current ALSA driver for radeon's hdmi does not support more than 2 channels, and that would explain why I'm getting this behavior. Is that true though?
Yes.
However, strangely your log output seems to show the intel's hdmi parser being used instead:
Quoted 2 lines
ALSA
sound/pci/hda/patch_intelhdmi.c:842:hdmi_setup_stream: NID=0x2, stream=0x1, new-format=0x11
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Were you just trying some patch at the time?
yes Wu gave me a patch to try against the kernel, I'm guessing this is the reason you see something unexpected.
Did 6 channels work with that patch? (possibly with a wrong channel order)
Not any better as far as I remember.
Quoted 3 lines
Also, could you provide the patch?
(so that I won't ask you or anyone else to test unnecessary stuff :) )
I attached it to this email.
Quoted 7 lines
I wasn't able to locate the original thread in archives.
Quoted 2 lines
Since I just moved to jack/rca cables I'm in no hurry anymore, but is there any reason why the driver cannot work with more than 2 channels?
I don't really know (it is simply not implemented).
Alright.
Quoted 6 lines
Quoted 2 lines
Anything I could do to help with that?
Possibly. But see above, so that we won't try the same things you already tried :)
Sure :)
Quoted 7 lines
--
Anssi Hannula
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Thanks,
John
--- sound/pci/hda/patch_atihdmi.c | 2 -- sound/pci/hda/patch_intelhdmi.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-)
sound/pci/hda/patch_atihdmi.c +0 -2
@@ -189,7 +189,6 @@ static struct hda_codec_preset snd_hda_p { .id = 0x1002793c, .name = "RS600 HDMI", .patch = patch_atihdmi }, { .id = 0x10027919, .name = "RS600 HDMI", .patch = patch_atihdmi }, { .id = 0x1002791a, .name = "RS690/780 HDMI", .patch = patch_atihdmi }, - { .id = 0x1002aa01, .name = "R6xx HDMI", .patch = patch_atihdmi }, { .id = 0x10951390, .name = "SiI1390 HDMI", .patch = patch_atihdmi }, { .id = 0x17e80047, .name = "Chrontel HDMI", .patch = patch_atihdmi }, {} /* terminator */
@@ -198,7 +197,6 @@ static struct hda_codec_preset snd_hda_pMODULE_ALIAS ("snd-hda-codec-id:1002793c" );MODULE_ALIAS ("snd-hda-codec-id:10027919" );MODULE_ALIAS ("snd-hda-codec-id:1002791a" ); -MODULE_ALIAS ("snd-hda-codec-id:1002aa01" );MODULE_ALIAS ("snd-hda-codec-id:10951390" );MODULE_ALIAS ("snd-hda-codec-id:17e80047" );
sound/pci/hda/patch_intelhdmi.c +2 -0
@@ -987,6 +987,7 @@ static struct hda_codec_preset snd_hda_p { .id = 0x80862804, .name = "G45 DEVIBX", .patch = patch_intel_hdmi }, { .id = 0x80860054, .name = "Q57 DEVIBX", .patch = patch_intel_hdmi }, { .id = 0x10951392, .name = "SiI1392 HDMI", .patch = patch_intel_hdmi }, + { .id = 0x1002aa01, .name = "R6xx HDMI", .patch = patch_intel_hdmi }, {}/* terminator */ };
@@ -997,6 +998,7 @@ MODULE_ALIAS("snd-hda-codec-id:80862803"MODULE_ALIAS ("snd-hda-codec-id:80862804" );MODULE_ALIAS ("snd-hda-codec-id:80860054" );MODULE_ALIAS ("snd-hda-codec-id:10951392" ); +MODULE_ALIAS ("snd-hda-codec-id:1002aa01" );MODULE_LICENSE ("GPL" );MODULE_DESCRIPTION ("Intel HDMI HD-audio codec" );
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 21 lines · John Ettedgui
Quoted 20 lines · Anssi Hannula
Quoted 19 lines · John Ettedgui
Quoted 18 lines · Anssi Hannula
Quoted 7 lines · John Ettedgui
I'm actually trying to get a 5.1 setup working without passthrough, if I use mplayer with passthrough my receiver behaves just fine, but I am trying to send the 6 channels from the computer.
I was actually told that the current ALSA driver for radeon's hdmi does not support more than 2 channels, and that would explain why I'm getting this behavior. Is that true though?
Yes.
However, strangely your log output seems to show the intel's hdmi parser being used instead:
Quoted 2 lines
ALSA
sound/pci/hda/patch_intelhdmi.c:842:hdmi_setup_stream: NID=0x2, stream=0x1, new-format=0x11
Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Were you just trying some patch at the time?
yes Wu gave me a patch to try against the kernel, I'm guessing this is the reason you see something unexpected.
Did 6 channels work with that patch? (possibly with a wrong channel order)
Not any better as far as I remember.
OK. Did 2 channel audio continue to work with it?
If you are not sure, here's the patch doing the same thing against current alsa driver:
http://stuff.onse.fi/0001-ALSA-hda-Use-generic-HDMI-code-for-ATI-HDMI-codecs.patch
Confirming that would help (it would allow to switch the ATI chip to use the generic parser instead of the ATI-specific one), though not with the multichannel issue (see below).
[...]
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Since I just moved to jack/rca cables I'm in no hurry anymore, but is there any reason why the driver cannot work with more than 2 channels?
I don't really know (it is simply not implemented).
Quoted 8 lines
Alright.
Quoted 6 lines
Quoted 2 lines
Anything I could do to help with that?
Possibly. But see above, so that we won't try the same things you already tried :)
Sure :)
Looking again at the the alsa info output you provided, I don't think I have any great ideas. It looks like the chip simply reports that it supports a maximum of 2 channels.
One option could be hardcoding "chans = 8;" in generic_hdmi_build_pcms() in sound/pci/hda/patch_hdmi.c (assuming you have the above patch and 2 channel audio works with it). However, I find it rather unlikely that it would make any difference.
Signature · 1 line
Anssi Hannula
Quoted 59 lines · Anssi Hannula
Quoted 21 lines · John Ettedgui
Quoted 20 lines · Anssi Hannula
Quoted 19 lines · John Ettedgui
Quoted 18 lines · Anssi Hannula
Quoted 7 lines · John Ettedgui
I'm actually trying to get a 5.1 setup working without passthrough, if I use mplayer with passthrough my receiver behaves just fine, but I am trying to send the 6 channels from the computer.
I was actually told that the current ALSA driver for radeon's hdmi does not support more than 2 channels, and that would explain why I'm getting this behavior. Is that true though?
Yes.
However, strangely your log output seems to show the intel's hdmi parser being used instead:
Quoted 2 lines
ALSA
sound/pci/hda/patch_intelhdmi.c:842:hdmi_setup_stream: NID=0x2, stream=0x1, new-format=0x11Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Were you just trying some patch at the time?
yes Wu gave me a patch to try against the kernel, I'm guessing this is the reason you see something unexpected.
Did 6 channels work with that patch? (possibly with a wrong channel order)
Not any better as far as I remember.
OK. Did 2 channel audio continue to work with it?
If you are not sure, here's the patch doing the same thing against current alsa driver:
http://stuff.onse.fi/0001-ALSA-hda-Use-generic-HDMI-code-for-ATI-HDMI-codecs.patchConfirming that would help (it would allow to switch the ATI chip to use the generic parser instead of the ATI-specific one), though not with the multichannel issue (see below).
[...]
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Since I just moved to jack/rca cables I'm in no hurry anymore, but is there any reason why the driver cannot work with more than 2 channels?
I don't really know (it is simply not implemented).
Quoted 8 lines
Alright.
Quoted 6 lines
Quoted 2 lines
Anything I could do to help with that?
Possibly. But see above, so that we won't try the same things you already tried :)
Sure :)
Looking again at the the alsa info output you provided, I don't think I have any great ideas. It looks like the chip simply reports that it supports a maximum of 2 channels.
Quoted 8 lines
One option could be hardcoding "chans = 8;" in
generic_hdmi_build_pcms()insound/pci/hda/patch_hdmi.c(assuming you have the above patch and 2 channel audio works with it). However, I find it rather unlikely that it would make any difference.--
Anssi Hannula
Anssi,
the patch fails on my kernel, I cannot find the hda_codec_preset manually in there either.
Did you want me to try that against a 2.6.37 rc instead of a 2.6.36?
Thanks,
John
Quoted 65 lines · John Ettedgui
Quoted 64 lines · Anssi Hannula
Quoted 21 lines · John Ettedgui
Quoted 20 lines · Anssi Hannula
Quoted 19 lines · John Ettedgui
Quoted 18 lines · Anssi Hannula
Quoted 7 lines · John Ettedgui
I'm actually trying to get a 5.1 setup working without passthrough, if I use mplayer with passthrough my receiver behaves just fine, but I am trying to send the 6 channels from the computer.
I was actually told that the current ALSA driver for radeon's hdmi does not support more than 2 channels, and that would explain why I'm getting this behavior. Is that true though?
Yes.
However, strangely your log output seems to show the intel's hdmi parser being used instead:
Quoted 2 lines
ALSA
sound/pci/hda/patch_intelhdmi.c:842:hdmi_setup_stream: NID=0x2, stream=0x1, new-format=0x11Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Were you just trying some patch at the time?
yes Wu gave me a patch to try against the kernel, I'm guessing this is the reason you see something unexpected.
Did 6 channels work with that patch? (possibly with a wrong channel order)
Not any better as far as I remember.
OK. Did 2 channel audio continue to work with it?
If you are not sure, here's the patch doing the same thing against current alsa driver:
http://stuff.onse.fi/0001-ALSA-hda-Use-generic-HDMI-code-for-ATI-HDMI-codecs.patchConfirming that would help (it would allow to switch the ATI chip to use the generic parser instead of the ATI-specific one), though not with the multichannel issue (see below).
[...]
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Since I just moved to jack/rca cables I'm in no hurry anymore, but is there any reason why the driver cannot work with more than 2 channels?
I don't really know (it is simply not implemented).
Quoted 8 lines
Alright.
Quoted 6 lines
Quoted 2 lines
Anything I could do to help with that?
Possibly. But see above, so that we won't try the same things you already tried :)
Sure :)
Looking again at the the alsa info output you provided, I don't think I have any great ideas. It looks like the chip simply reports that it supports a maximum of 2 channels.
One option could be hardcoding "chans = 8;" in
generic_hdmi_build_pcms()insound/pci/hda/patch_hdmi.c(assuming you have the above patch and 2 channel audio works with it). However, I find it rather unlikely that it would make any difference.
Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaAnssi,
the patch fails on my kernel, I cannot find thehda_codec_presetmanually in there either.
Did you want me to try that against a 2.6.37 rc instead of a 2.6.36?
For 2.6.36 I think you can just use your earlier patch.
Note that on that kernel generic_hdmi_build_pcms() is intel_hdmi_build_pcms() in patch_intelhdmi.c.
BTW, I've just been informed by another ATI user that his card was actually stereo-only, while he thought earlier it was multichannel capable. So, are you sure your card is a multichannel one? (if not, it would explain why the card says it is not)
Signature · 1 line
Anssi Hannula
Quoted 75 lines · Anssi Hannula
Quoted 65 lines · John Ettedgui
Quoted 64 lines · Anssi Hannula
Quoted 21 lines · John Ettedgui
Quoted 20 lines · Anssi Hannula
Quoted 19 lines · John Ettedgui
Quoted 18 lines · Anssi Hannula
Quoted 7 lines · John Ettedgui
I'm actually trying to get a 5.1 setup working without passthrough, if I use mplayer with passthrough my receiver behaves just fine, but I am trying to send the 6 channels from the computer.
I was actually told that the current ALSA driver for radeon's hdmi does not support more than 2 channels, and that would explain why I'm getting this behavior. Is that true though?
Yes.
However, strangely your log output seems to show the intel's hdmi parser being used instead:
Quoted 2 lines
ALSA
sound/pci/hda/patch_intelhdmi.c:842:hdmi_setup_stream: NID=0x2, stream=0x1, new-format=0x11Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Were you just trying some patch at the time?
yes Wu gave me a patch to try against the kernel, I'm guessing this is the reason you see something unexpected.
Did 6 channels work with that patch? (possibly with a wrong channel order)
Not any better as far as I remember.
OK. Did 2 channel audio continue to work with it?
If you are not sure, here's the patch doing the same thing against current alsa driver:
http://stuff.onse.fi/0001-ALSA-hda-Use-generic-HDMI-code-for-ATI-HDMI-codecs.patchConfirming that would help (it would allow to switch the ATI chip to use the generic parser instead of the ATI-specific one), though not with the multichannel issue (see below).
[...]
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Since I just moved to jack/rca cables I'm in no hurry anymore, but is there any reason why the driver cannot work with more than 2 channels?
I don't really know (it is simply not implemented).
Quoted 8 lines
Alright.
Quoted 6 lines
Quoted 2 lines
Anything I could do to help with that?
Possibly. But see above, so that we won't try the same things you already tried :)
Sure :)
Looking again at the the alsa info output you provided, I don't think I have any great ideas. It looks like the chip simply reports that it supports a maximum of 2 channels.
One option could be hardcoding "chans = 8;" in
generic_hdmi_build_pcms()insound/pci/hda/patch_hdmi.c(assuming you have the above patch and 2 channel audio works with it). However, I find it rather unlikely that it would make any difference.Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaAnssi,
the patch fails on my kernel, I cannot find thehda_codec_presetmanually in there either.
Did you want me to try that against a 2.6.37 rc instead of a 2.6.36?
Quoted 5 lines
For 2.6.36 I think you can just use your earlier patch.
Note that on that kernel
generic_hdmi_build_pcms()isintel_hdmi_build_pcms()inpatch_intelhdmi.c.
ok
Quoted 8 lines
BTW, I've just been informed by another ATI user that his card was actually stereo-only, while he thought earlier it was multichannel capable. So, are you sure your card is a multichannel one? (if not, it would explain why the card says it is not)
--
Anssi Hannula
Yes, it works fine in Window so I believe the hardware part is good.
Quoted 87 lines · John Ettedgui
Quoted 75 lines · Anssi Hannula
Quoted 65 lines · John Ettedgui
Quoted 64 lines · Anssi Hannula
Quoted 21 lines · John Ettedgui
Quoted 20 lines · Anssi Hannula
Quoted 19 lines · John Ettedgui
Quoted 18 lines · Anssi Hannula
Quoted 7 lines · John Ettedgui
I'm actually trying to get a 5.1 setup working without passthrough, if I use mplayer with passthrough my receiver behaves just fine, but I am trying to send the 6 channels from the computer.
I was actually told that the current ALSA driver for radeon's hdmi does not support more than 2 channels, and that would explain why I'm getting this behavior. Is that true though?
Yes.
However, strangely your log output seems to show the intel's hdmi parser being used instead:
Quoted 2 lines
ALSA
sound/pci/hda/patch_intelhdmi.c:842:hdmi_setup_stream: NID=0x2, stream=0x1, new-format=0x11Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Were you just trying some patch at the time?
yes Wu gave me a patch to try against the kernel, I'm guessing this is the reason you see something unexpected.
Did 6 channels work with that patch? (possibly with a wrong channel order)
Not any better as far as I remember.
OK. Did 2 channel audio continue to work with it?
If you are not sure, here's the patch doing the same thing against current alsa driver:
http://stuff.onse.fi/0001-ALSA-hda-Use-generic-HDMI-code-for-ATI-HDMI-codecs.patchConfirming that would help (it would allow to switch the ATI chip to use the generic parser instead of the ATI-specific one), though not with the multichannel issue (see below).
[...]
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Since I just moved to jack/rca cables I'm in no hurry anymore, but is there any reason why the driver cannot work with more than 2 channels?
I don't really know (it is simply not implemented).
Quoted 8 lines
Alright.
Quoted 6 lines
Quoted 2 lines
Anything I could do to help with that?
Possibly. But see above, so that we won't try the same things you already tried :)
Sure :)
Looking again at the the alsa info output you provided, I don't think I have any great ideas. It looks like the chip simply reports that it supports a maximum of 2 channels.
One option could be hardcoding "chans = 8;" in
generic_hdmi_build_pcms()insound/pci/hda/patch_hdmi.c(assuming you have the above patch and 2 channel audio works with it). However, I find it rather unlikely that it would make any difference.Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaAnssi,
the patch fails on my kernel, I cannot find thehda_codec_presetmanually in there either.
Did you want me to try that against a 2.6.37 rc instead of a 2.6.36?Quoted 5 lines
For 2.6.36 I think you can just use your earlier patch.
Note that on that kernel
generic_hdmi_build_pcms()isintel_hdmi_build_pcms()inpatch_intelhdmi.c.ok
Quoted 5 lines
BTW, I've just been informed by another ATI user that his card was actually stereo-only, while he thought earlier it was multichannel capable. So, are you sure your card is a multichannel one? (if not, it would explain why the card says it is not)
Quoted 4 lines
Quoted 3 lines
--
Anssi HannulaYes, it works fine in Window so I believe the hardware part is good.
And you are sure it is multichannel PCM, and not e.g. multichannel DTS or multichannel AC-3 with on-the-fly compression, which are possible with stereo hdmi as well?
Just making sure :)
Signature · 1 line
Anssi Hannula
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 104 lines · John Ettedgui
Quoted 93 lines · Anssi Hannula
Quoted 87 lines · John Ettedgui
Quoted 75 lines · Anssi Hannula
Quoted 65 lines · John Ettedgui
Quoted 64 lines · Anssi Hannula
Quoted 21 lines · John Ettedgui
Quoted 20 lines · Anssi Hannula
Quoted 19 lines · John Ettedgui
Quoted 18 lines · Anssi Hannula
Quoted 7 lines · John Ettedgui
I'm actually trying to get a 5.1 setup working without passthrough, if I use mplayer with passthrough my receiver behaves just fine, but I am trying to send the 6 channels from the computer.
I was actually told that the current ALSA driver for radeon's hdmi does not support more than 2 channels, and that would explain why I'm getting this behavior. Is that true though?
Yes.
However, strangely your log output seems to show the intel's hdmi parser being used instead:
Quoted 2 lines
ALSA
sound/pci/hda/patch_intelhdmi.c:842:hdmi_setup_stream: NID=0x2, stream=0x1, new-format=0x11Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Were you just trying some patch at the time?
yes Wu gave me a patch to try against the kernel, I'm guessing this is the reason you see something unexpected.
Did 6 channels work with that patch? (possibly with a wrong channel order)
Not any better as far as I remember.
OK. Did 2 channel audio continue to work with it?
If you are not sure, here's the patch doing the same thing against current alsa driver:
http://stuff.onse.fi/0001-ALSA-hda-Use-generic-HDMI-code-for-ATI-HDMI-codecs.patchConfirming that would help (it would allow to switch the ATI chip to use the generic parser instead of the ATI-specific one), though not with the multichannel issue (see below).
[...]
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Since I just moved to jack/rca cables I'm in no hurry anymore, but is there any reason why the driver cannot work with more than 2 channels?
I don't really know (it is simply not implemented).
Quoted 8 lines
Alright.
Quoted 6 lines
Quoted 2 lines
Anything I could do to help with that?
Possibly. But see above, so that we won't try the same things you already tried :)
Sure :)
Looking again at the the alsa info output you provided, I don't think I have any great ideas. It looks like the chip simply reports that it supports a maximum of 2 channels.
One option could be hardcoding "chans = 8;" in
generic_hdmi_build_pcms()insound/pci/hda/patch_hdmi.c(assuming you have the above patch and 2 channel audio works with it). However, I find it rather unlikely that it would make any difference.Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaAnssi,
the patch fails on my kernel, I cannot find thehda_codec_presetmanually in there either.
Did you want me to try that against a 2.6.37 rc instead of a 2.6.36?Quoted 5 lines
For 2.6.36 I think you can just use your earlier patch.
Note that on that kernel
generic_hdmi_build_pcms()isintel_hdmi_build_pcms()inpatch_intelhdmi.c.ok
Quoted 5 lines
BTW, I've just been informed by another ATI user that his card was actually stereo-only, while he thought earlier it was multichannel capable. So, are you sure your card is a multichannel one? (if not, it would explain why the card says it is not)
Quoted 4 lines
Quoted 3 lines
--
Anssi HannulaYes, it works fine in Window so I believe the hardware part is good.
Quoted 9 lines
And you are sure it is multichannel PCM, and not e.g. multichannel DTS or multichannel AC-3 with on-the-fly compression, which are possible with stereo hdmi as well?
Just making sure :)
--
Anssi Hannula
Quoted 8 lines
Well, I have not super tested it, but the reason I believe it is is simple, when I use passthrough my receiver says Dolby digital or something like that, but in Windows just going around or playing games it says Multichannel.
I'll get the patch applied in a few minutes, I was running out of memory and my system was getting really slow... :)
I am not sure if I did it right but now I don't even get hdmi sound working anymore.
It is not listed in aplay-l, and dmesg gives me this:
[drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitor but no|invalid EDID
I've attached the patch I used, since I could not used the previous one I had to hack it, maybe I broke something?
(I have not set channels to 8 yet, just changed the parser)
Thanks,
John
--- sound/pci/hda/patch_atihdmi.c | 2 -- sound/pci/hda/patch_intelhdmi.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-)
sound/pci/hda/patch_atihdmi.c +0 -2
@@ -189,7 +189,6 @@ static struct hda_codec_preset snd_hda_p { .id = 0x1002793c, .name = "RS600 HDMI", .patch = patch_atihdmi }, { .id = 0x10027919, .name = "RS600 HDMI", .patch = patch_atihdmi }, { .id = 0x1002791a, .name = "RS690/780 HDMI", .patch = patch_atihdmi }, - { .id = 0x1002aa01, .name = "R6xx HDMI", .patch = patch_atihdmi }, { .id = 0x10951390, .name = "SiI1390 HDMI", .patch = patch_atihdmi }, { .id = 0x17e80047, .name = "Chrontel HDMI", .patch = patch_atihdmi }, {} /* terminator */
@@ -198,7 +197,6 @@ static struct hda_codec_preset snd_hda_pMODULE_ALIAS ("snd-hda-codec-id:1002793c" );MODULE_ALIAS ("snd-hda-codec-id:10027919" );MODULE_ALIAS ("snd-hda-codec-id:1002791a" ); -MODULE_ALIAS ("snd-hda-codec-id:1002aa01" );MODULE_ALIAS ("snd-hda-codec-id:10951390" );MODULE_ALIAS ("snd-hda-codec-id:17e80047" );
sound/pci/hda/patch_intelhdmi.c +1 -0
@@ -187,3 +187,4 @@ { .id = 0x80862805, .name = "CougarPoint HDMI", .patch = patch_intel_hdmi }, { .id = 0x10951392, .name = "SiI1392 HDMI", .patch = patch_intel_hdmi }, +{ .id = 0x1002aa01, .name = "R6xx HDMI", .patch = patch_intel_hdmi }, {}/* terminator */ };
@@ -195,6 +195,7 @@ MODULE_ALIAS("snd-hda-codec-id:80862803"
MODULE_ALIAS("snd-hda-codec-id:80862804"); MODULE_ALIAS("snd-hda-codec-id:80862805"); MODULE_ALIAS("snd-hda-codec-id:80860054"); MODULE_ALIAS("snd-hda-codec-id:10951392");
+MODULE_ALIAS("snd-hda-codec-id:1002aa01");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Intel HDMI HD-audio codec");
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 101 lines · John Ettedgui
Quoted 100 lines · John Ettedgui
Quoted 99 lines · Anssi Hannula
Quoted 87 lines · John Ettedgui
Quoted 75 lines · Anssi Hannula
Quoted 65 lines · John Ettedgui
Quoted 64 lines · Anssi Hannula
Quoted 21 lines · John Ettedgui
Quoted 20 lines · Anssi Hannula
Quoted 19 lines · John Ettedgui
Quoted 18 lines · Anssi Hannula
Quoted 7 lines · John Ettedgui
I'm actually trying to get a 5.1 setup working without passthrough, if I use mplayer with passthrough my receiver behaves just fine, but I am trying to send the 6 channels from the computer.
I was actually told that the current ALSA driver for radeon's hdmi does not support more than 2 channels, and that would explain why I'm getting this behavior. Is that true though?
Yes.
However, strangely your log output seems to show the intel's hdmi parser being used instead:
Quoted 2 lines
ALSA
sound/pci/hda/patch_intelhdmi.c:842:hdmi_setup_stream: NID=0x2, stream=0x1, new-format=0x11Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Were you just trying some patch at the time?
yes Wu gave me a patch to try against the kernel, I'm guessing this is the reason you see something unexpected.
Did 6 channels work with that patch? (possibly with a wrong channel order)
Not any better as far as I remember.
OK. Did 2 channel audio continue to work with it?
If you are not sure, here's the patch doing the same thing against current alsa driver:
http://stuff.onse.fi/0001-ALSA-hda-Use-generic-HDMI-code-for-ATI-HDMI-codecs.patchConfirming that would help (it would allow to switch the ATI chip to use the generic parser instead of the ATI-specific one), though not with the multichannel issue (see below).
[...]
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Since I just moved to jack/rca cables I'm in no hurry anymore, but is there any reason why the driver cannot work with more than 2 channels?
I don't really know (it is simply not implemented).
Quoted 8 lines
Alright.
Quoted 6 lines
Quoted 2 lines
Anything I could do to help with that?
Possibly. But see above, so that we won't try the same things you already tried :)
Sure :)
Looking again at the the alsa info output you provided, I don't think I have any great ideas. It looks like the chip simply reports that it supports a maximum of 2 channels.
One option could be hardcoding "chans = 8;" in
generic_hdmi_build_pcms()insound/pci/hda/patch_hdmi.c(assuming you have the above patch and 2 channel audio works with it). However, I find it rather unlikely that it would make any difference.Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaAnssi,
the patch fails on my kernel, I cannot find thehda_codec_presetmanually in there either.
Did you want me to try that against a 2.6.37 rc instead of a 2.6.36?Quoted 5 lines
For 2.6.36 I think you can just use your earlier patch.
Note that on that kernel
generic_hdmi_build_pcms()isintel_hdmi_build_pcms()inpatch_intelhdmi.c.ok
Quoted 5 lines
BTW, I've just been informed by another ATI user that his card was actually stereo-only, while he thought earlier it was multichannel capable. So, are you sure your card is a multichannel one? (if not, it would explain why the card says it is not)
Quoted 4 lines
Quoted 3 lines
--
Anssi HannulaYes, it works fine in Window so I believe the hardware part is good.
And you are sure it is multichannel PCM, and not e.g. multichannel DTS or multichannel AC-3 with on-the-fly compression, which are possible with stereo hdmi as well?
Just making sure :)
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaWell, I have not super tested it, but the reason I believe it is is simple, when I use passthrough my receiver says Dolby digital or something like that, but in Windows just going around or playing games it says Multichannel.
Sounds ok then.
Quoted 10 lines
Quoted 3 lines
I'll get the patch applied in a few minutes, I was running out of memory and my system was getting really slow... :)
I am not sure if I did it right but now I don't even get hdmi sound working anymore.
It is not listed in aplay-l, and dmesg gives me this:
[drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitor but no|invalid EDID
Quoted 3 lines
I've attached the patch I used, since I could not used the previous one I had to hack it, maybe I broke something?
(I have not set channels to 8 yet, just changed the parser)
The patch looks ok. The above error message is weird, as it comes from the display driver which should not be affected by the patch at all.
I'll look at the code later (tomorrow maybe). Until then I'd advise you to retry without the patch and with the patch again, just to make sure this is not some unrelated issue...
Also, post the whole dmesg when it works (2 channel, without patch), and when it doesn't (with patch).
Signature · 1 line
Anssi Hannula
Quoted 130 lines · Anssi Hannula
Quoted 101 lines · John Ettedgui
Quoted 100 lines · John Ettedgui
Quoted 99 lines · Anssi Hannula
Quoted 87 lines · John Ettedgui
Quoted 75 lines · Anssi Hannula
Quoted 65 lines · John Ettedgui
Quoted 64 lines · Anssi Hannula
Quoted 21 lines · John Ettedgui
Quoted 20 lines · Anssi Hannula
Quoted 19 lines · John Ettedgui
Quoted 18 lines · Anssi Hannula
Quoted 7 lines · John Ettedgui
I'm actually trying to get a 5.1 setup working without passthrough, if
I use mplayer with passthrough my receiver behaves just fine, but I am
trying to send the 6 channels from the computer.I was actually told that the current ALSA driver for radeon's hdmi
does not support more than 2 channels, and that would explain why I'm
getting this behavior. Is that true though?Yes.
However, strangely your log output seems to show the intel's hdmi parser being used instead:
Quoted 2 lines
ALSA sound/pci/hda/patch_intelhdmi.c:842: hdmi_setup_stream: NID=0x2,
stream=0x1, new-format=0x11Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Were you just trying some patch at the time?
yes Wu gave me a patch to try against the kernel, I'm guessing this is the reason you see something unexpected.
Did 6 channels work with that patch? (possibly with a wrong channel order)
Not any better as far as I remember.
OK. Did 2 channel audio continue to work with it?
If you are not sure, here's the patch doing the same thing against current alsa driver:
http://stuff.onse.fi/0001-ALSA-hda-Use-generic-HDMI-code-for-ATI-HDMI-codecs.patchConfirming that would help (it would allow to switch the ATI chip to use the generic parser instead of the ATI-specific one), though not with the multichannel issue (see below).
[...]
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Since I just moved to jack/rca cables I'm in no hurry anymore, but is there any reason why the driver cannot work with more than 2 channels?
I don't really know (it is simply not implemented).
Quoted 8 lines
Alright.
Quoted 6 lines
Quoted 2 lines
Anything I could do to help with that?
Possibly. But see above, so that we won't try the same things you already tried :)
Sure :)
Looking again at the the alsa info output you provided, I don't think I have any great ideas. It looks like the chip simply reports that it supports a maximum of 2 channels.
One option could be hardcoding "chans = 8;" in
generic_hdmi_build_pcms()insound/pci/hda/patch_hdmi.c(assuming you have the above patch and 2 channel audio works with it). However, I find it rather unlikely that it would make any difference.Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaAnssi,
the patch fails on my kernel, I cannot find thehda_codec_presetmanually in there either.
Did you want me to try that against a 2.6.37 rc instead of a 2.6.36?Quoted 5 lines
For 2.6.36 I think you can just use your earlier patch.
Note that on that kernel
generic_hdmi_build_pcms()isintel_hdmi_build_pcms()inpatch_intelhdmi.c.ok
Quoted 5 lines
BTW, I've just been informed by another ATI user that his card was actually stereo-only, while he thought earlier it was multichannel capable. So, are you sure your card is a multichannel one? (if not, it would explain why the card says it is not)
Quoted 4 lines
Quoted 3 lines
--
Anssi HannulaYes, it works fine in Window so I believe the hardware part is good.
And you are sure it is multichannel PCM, and not e.g. multichannel DTS or multichannel AC-3 with on-the-fly compression, which are possible with stereo hdmi as well?
Just making sure :)
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaWell, I have not super tested it, but the reason I believe it is is simple, when I use passthrough my receiver says Dolby digital or something like that, but in Windows just going around or playing games it says Multichannel.
Sounds ok then.
Quoted 10 lines
Quoted 3 lines
I'll get the patch applied in a few minutes, I was running out of memory and my system was getting really slow... :)
I am not sure if I did it right but now I don't even get hdmi sound working anymore.
It is not listed in aplay-l, and dmesg gives me this:
[drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitor but no|invalid EDIDQuoted 3 lines
I've attached the patch I used, since I could not used the previous one I had to hack it, maybe I broke something?
(I have not set channels to 8 yet, just changed the parser)The patch looks ok. The above error message is weird, as it comes from the display driver which should not be affected by the patch at all.
Quoted 9 lines
I'll look at the code later (tomorrow maybe). Until then I'd advise you to retry without the patch and with the patch again, just to make sure this is not some unrelated issue...
Also, post the whole dmesg when it works (2 channel, without patch), and when it doesn't (with patch).--
Anssi Hannula
Following your message I restarted my computer and that error was gone, yet there is still nothing display in aplay -l / aplay -L about hdmi anymore.
I'll go back to my non patched kernel and see what it does.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 137 lines · John Ettedgui
Quoted 136 lines · Anssi Hannula
Quoted 101 lines · John Ettedgui
Quoted 100 lines · John Ettedgui
Quoted 99 lines · Anssi Hannula
Quoted 87 lines · John Ettedgui
Quoted 75 lines · Anssi Hannula
Quoted 65 lines · John Ettedgui
Quoted 64 lines · Anssi Hannula
Quoted 21 lines · John Ettedgui
Quoted 20 lines · Anssi Hannula
Quoted 19 lines · John Ettedgui
Quoted 18 lines · Anssi Hannula
On 25.11.2010 06:12, John Ettedgui wrote:
I'm actually trying to get a 5.1 setup working without passthrough, if
I use mplayer with passthrough my receiver behaves just fine, but I am
trying to send the 6 channels from the computer.I was actually told that the current ALSA driver for radeon's hdmi
does not support more than 2 channels, and that would explain why I'm
getting this behavior. Is that true though?Yes.
However, strangely your log output seems to show the intel's hdmi parser
being used instead:ALSA sound/pci/hda/patch_intelhdmi.c:842: hdmi_setup_stream: NID=0x2,
stream=0x1, new-format=0x11Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Were you just trying some patch at the time?
yes Wu gave me a patch to try against the kernel, I'm guessing this is the reason you see something unexpected.
Did 6 channels work with that patch? (possibly with a wrong channel order)
Not any better as far as I remember.
OK. Did 2 channel audio continue to work with it?
If you are not sure, here's the patch doing the same thing against current alsa driver:
http://stuff.onse.fi/0001-ALSA-hda-Use-generic-HDMI-code-for-ATI-HDMI-codecs.patchConfirming that would help (it would allow to switch the ATI chip to use the generic parser instead of the ATI-specific one), though not with the multichannel issue (see below).
[...]
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Since I just moved to jack/rca cables I'm in no hurry anymore, but is there any reason why the driver cannot work with more than 2 channels?
I don't really know (it is simply not implemented).
Quoted 8 lines
Alright.
Quoted 6 lines
Quoted 2 lines
Anything I could do to help with that?
Possibly. But see above, so that we won't try the same things you already tried :)
Sure :)
Looking again at the the alsa info output you provided, I don't think I have any great ideas. It looks like the chip simply reports that it supports a maximum of 2 channels.
One option could be hardcoding "chans = 8;" in
generic_hdmi_build_pcms()insound/pci/hda/patch_hdmi.c(assuming you have the above patch and 2 channel audio works with it). However, I find it rather unlikely that it would make any difference.Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaAnssi,
the patch fails on my kernel, I cannot find thehda_codec_presetmanually in there either.
Did you want me to try that against a 2.6.37 rc instead of a 2.6.36?Quoted 5 lines
For 2.6.36 I think you can just use your earlier patch.
Note that on that kernel
generic_hdmi_build_pcms()isintel_hdmi_build_pcms()inpatch_intelhdmi.c.ok
Quoted 5 lines
BTW, I've just been informed by another ATI user that his card was actually stereo-only, while he thought earlier it was multichannel capable. So, are you sure your card is a multichannel one? (if not, it would explain why the card says it is not)
Quoted 4 lines
Quoted 3 lines
--
Anssi HannulaYes, it works fine in Window so I believe the hardware part is good.
And you are sure it is multichannel PCM, and not e.g. multichannel DTS or multichannel AC-3 with on-the-fly compression, which are possible with stereo hdmi as well?
Just making sure :)
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaWell, I have not super tested it, but the reason I believe it is is simple, when I use passthrough my receiver says Dolby digital or something like that, but in Windows just going around or playing games it says Multichannel.
Sounds ok then.
Quoted 10 lines
Quoted 3 lines
I'll get the patch applied in a few minutes, I was running out of memory and my system was getting really slow... :)
I am not sure if I did it right but now I don't even get hdmi sound working anymore.
It is not listed in aplay-l, and dmesg gives me this:
[drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitor but no|invalid EDIDQuoted 3 lines
I've attached the patch I used, since I could not used the previous one I had to hack it, maybe I broke something?
(I have not set channels to 8 yet, just changed the parser)The patch looks ok. The above error message is weird, as it comes from the display driver which should not be affected by the patch at all.
I'll look at the code later (tomorrow maybe). Until then I'd advise you to retry without the patch and with the patch again, just to make sure this is not some unrelated issue...
Also, post the whole dmesg when it works (2 channel, without patch), and when it doesn't (with patch).
Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaFollowing your message I restarted my computer and that error was gone, yet there is still nothing display in aplay -l / aplay -L about hdmi anymore.
I'll go back to my non patched kernel and see what it does.
With the non-patched kernel I get back my hdmi in aplay -l, so it looks like the patch messed up something.
I really think that when I tried it before it did not do that, but it was so long ago that I could be wrong...
Anyway here are the 2 dmesgs (not sure if they'll help though).
Thanks,
John
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 151 lines · John Ettedgui
Quoted 137 lines · John Ettedgui
Quoted 136 lines · Anssi Hannula
Quoted 101 lines · John Ettedgui
Quoted 100 lines · John Ettedgui
Quoted 99 lines · Anssi Hannula
Quoted 87 lines · John Ettedgui
Quoted 75 lines · Anssi Hannula
Quoted 65 lines · John Ettedgui
Quoted 64 lines · Anssi Hannula
Quoted 21 lines · John Ettedgui
Quoted 20 lines · Anssi Hannula
Quoted 19 lines · John Ettedgui
On Thu, Nov 25, 2010 at 2:49 AM, Anssi Hannula <[email protected]> wrote:
On 25.11.2010 06:12, John Ettedgui wrote:
I'm actually trying to get a 5.1 setup working without passthrough, if
I use mplayer with passthrough my receiver behaves just fine, but I am
trying to send the 6 channels from the computer.I was actually told that the current ALSA driver for radeon's hdmi
does not support more than 2 channels, and that would explain why I'm
getting this behavior. Is that true though?Yes.
However, strangely your log output seems to show the intel's hdmi parser
being used instead:ALSA sound/pci/hda/patch_intelhdmi.c:842: hdmi_setup_stream: NID=0x2,
stream=0x1, new-format=0x11Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
Were you just trying some patch at the time?
yes Wu gave me a patch to try against the kernel, I'm guessing this is
the reason you see something unexpected.Did 6 channels work with that patch? (possibly with a wrong channel order)
Not any better as far as I remember.
OK. Did 2 channel audio continue to work with it?
If you are not sure, here's the patch doing the same thing against current alsa driver:
http://stuff.onse.fi/0001-ALSA-hda-Use-generic-HDMI-code-for-ATI-HDMI-codecs.patchConfirming that would help (it would allow to switch the ATI chip to use the generic parser instead of the ATI-specific one), though not with the multichannel issue (see below).
[...]
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Since I just moved to jack/rca cables I'm in no hurry anymore, but is
there any reason why the driver cannot work with more than 2 channels?I don't really know (it is simply not implemented).
Quoted 8 lines
Alright.
Quoted 6 lines
Quoted 2 lines
Anything I could do to help with that?
Possibly. But see above, so that we won't try the same things you already tried :)
Sure :)
Looking again at the the alsa info output you provided, I don't think I have any great ideas. It looks like the chip simply reports that it supports a maximum of 2 channels.
One option could be hardcoding "chans = 8;" in
generic_hdmi_build_pcms()insound/pci/hda/patch_hdmi.c(assuming you have the above patch and 2 channel audio works with it). However, I find it rather unlikely that it would make any difference.Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaAnssi,
the patch fails on my kernel, I cannot find thehda_codec_presetmanually in there either.
Did you want me to try that against a 2.6.37 rc instead of a 2.6.36?Quoted 5 lines
For 2.6.36 I think you can just use your earlier patch.
Note that on that kernel
generic_hdmi_build_pcms()isintel_hdmi_build_pcms()inpatch_intelhdmi.c.ok
Quoted 5 lines
BTW, I've just been informed by another ATI user that his card was actually stereo-only, while he thought earlier it was multichannel capable. So, are you sure your card is a multichannel one? (if not, it would explain why the card says it is not)
Quoted 4 lines
Quoted 3 lines
--
Anssi HannulaYes, it works fine in Window so I believe the hardware part is good.
And you are sure it is multichannel PCM, and not e.g. multichannel DTS or multichannel AC-3 with on-the-fly compression, which are possible with stereo hdmi as well?
Just making sure :)
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaWell, I have not super tested it, but the reason I believe it is is simple, when I use passthrough my receiver says Dolby digital or something like that, but in Windows just going around or playing games it says Multichannel.
Sounds ok then.
Quoted 10 lines
Quoted 3 lines
I'll get the patch applied in a few minutes, I was running out of memory and my system was getting really slow... :)
I am not sure if I did it right but now I don't even get hdmi sound working anymore.
It is not listed in aplay-l, and dmesg gives me this:
[drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitor but no|invalid EDIDQuoted 3 lines
I've attached the patch I used, since I could not used the previous one I had to hack it, maybe I broke something?
(I have not set channels to 8 yet, just changed the parser)The patch looks ok. The above error message is weird, as it comes from the display driver which should not be affected by the patch at all.
I'll look at the code later (tomorrow maybe). Until then I'd advise you to retry without the patch and with the patch again, just to make sure this is not some unrelated issue...
Also, post the whole dmesg when it works (2 channel, without patch), and when it doesn't (with patch).Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaFollowing your message I restarted my computer and that error was gone, yet there is still nothing display in aplay -l / aplay -L about hdmi anymore.
I'll go back to my non patched kernel and see what it does.With the non-patched kernel I get back my hdmi in aplay -l, so it looks like the patch messed up something.
I really think that when I tried it before it did not do that, but it was so long ago that I could be wrong...
Quoted 5 lines
Anyway here are the 2 dmesgs (not sure if they'll help though).
Thanks,
John
Seems the files were too big before so here's a smaller version.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 141 lines · John Ettedgui
Quoted 140 lines · John Ettedgui
Quoted 139 lines · Anssi Hannula
Quoted 101 lines · John Ettedgui
Quoted 100 lines · John Ettedgui
Quoted 99 lines · Anssi Hannula
Quoted 87 lines · John Ettedgui
Quoted 75 lines · Anssi Hannula
Quoted 65 lines · John Ettedgui
Quoted 64 lines · Anssi Hannula
Quoted 21 lines · John Ettedgui
Quoted 20 lines · Anssi Hannula
Quoted 19 lines · John Ettedgui
On Thu, Nov 25, 2010 at 2:49 AM, Anssi Hannula <[email protected]> wrote:
On 25.11.2010 06:12, John Ettedgui wrote:
I'm actually trying to get a 5.1 setup working without passthrough, if
I use mplayer with passthrough my receiver behaves just fine, but I am
trying to send the 6 channels from the computer.I was actually told that the current ALSA driver for radeon's hdmi
does not support more than 2 channels, and that would explain why I'm
getting this behavior. Is that true though?Yes.
However, strangely your log output seems to show the intel's hdmi parser
being used instead:ALSA sound/pci/hda/patch_intelhdmi.c:842: hdmi_setup_stream: NID=0x2,
stream=0x1, new-format=0x11Quoted 7 lines
Quoted 6 lines
Quoted 4 lines
Were you just trying some patch at the time?
yes Wu gave me a patch to try against the kernel, I'm guessing this is
the reason you see something unexpected.Did 6 channels work with that patch? (possibly with a wrong channel order)
Not any better as far as I remember.
OK. Did 2 channel audio continue to work with it?
If you are not sure, here's the patch doing the same thing against current alsa driver:
http://stuff.onse.fi/0001-ALSA-hda-Use-generic-HDMI-code-for-ATI-HDMI-codecs.patchConfirming that would help (it would allow to switch the ATI chip to use the generic parser instead of the ATI-specific one), though not with the multichannel issue (see below).
[...]
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
Since I just moved to jack/rca cables I'm in no hurry anymore, but is
there any reason why the driver cannot work with more than 2 channels?I don't really know (it is simply not implemented).
Quoted 8 lines
Alright.
Quoted 6 lines
Quoted 2 lines
Anything I could do to help with that?
Possibly. But see above, so that we won't try the same things you already tried :)
Sure :)
Looking again at the the alsa info output you provided, I don't think I have any great ideas. It looks like the chip simply reports that it supports a maximum of 2 channels.
One option could be hardcoding "chans = 8;" in
generic_hdmi_build_pcms()insound/pci/hda/patch_hdmi.c(assuming you have the above patch and 2 channel audio works with it). However, I find it rather unlikely that it would make any difference.Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaAnssi,
the patch fails on my kernel, I cannot find thehda_codec_presetmanually in there either.
Did you want me to try that against a 2.6.37 rc instead of a 2.6.36?Quoted 5 lines
For 2.6.36 I think you can just use your earlier patch.
Note that on that kernel
generic_hdmi_build_pcms()isintel_hdmi_build_pcms()inpatch_intelhdmi.c.ok
Quoted 5 lines
BTW, I've just been informed by another ATI user that his card was actually stereo-only, while he thought earlier it was multichannel capable. So, are you sure your card is a multichannel one? (if not, it would explain why the card says it is not)
Quoted 4 lines
Quoted 3 lines
--
Anssi HannulaYes, it works fine in Window so I believe the hardware part is good.
And you are sure it is multichannel PCM, and not e.g. multichannel DTS or multichannel AC-3 with on-the-fly compression, which are possible with stereo hdmi as well?
Just making sure :)
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaWell, I have not super tested it, but the reason I believe it is is simple, when I use passthrough my receiver says Dolby digital or something like that, but in Windows just going around or playing games it says Multichannel.
Sounds ok then.
Quoted 10 lines
Quoted 3 lines
I'll get the patch applied in a few minutes, I was running out of memory and my system was getting really slow... :)
I am not sure if I did it right but now I don't even get hdmi sound working anymore.
It is not listed in aplay-l, and dmesg gives me this:
[drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitor but no|invalid EDIDQuoted 3 lines
I've attached the patch I used, since I could not used the previous one I had to hack it, maybe I broke something?
(I have not set channels to 8 yet, just changed the parser)The patch looks ok. The above error message is weird, as it comes from the display driver which should not be affected by the patch at all.
I'll look at the code later (tomorrow maybe). Until then I'd advise you to retry without the patch and with the patch again, just to make sure this is not some unrelated issue...
Also, post the whole dmesg when it works (2 channel, without patch), and when it doesn't (with patch).--
Anssi Hannula
Quoted 7 lines
Quoted 5 lines
Following your message I restarted my computer and that error was gone, yet there is still nothing display in aplay -l / aplay -L about hdmi anymore.
I'll go back to my non patched kernel and see what it does.With the non-patched kernel I get back my hdmi in aplay -l, so it looks like the patch messed up something.
Indeed.
Quoted 2 lines
I really think that when I tried it before it did not do that, but it was so long ago that I could be wrong...
Well, the driver has changed since then, it could be more strict now :)
Quoted 1 line
Anyway here are the 2 dmesgs (not sure if they'll help though).
Indeed, there doesn't seem to be any difference. Maybe try with CONFIG_SND_DEBUG_VERBOSE?
Signature · 1 line
Anssi Hannula
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 160 lines · John Ettedgui
Quoted 159 lines · Anssi Hannula
Quoted 141 lines · John Ettedgui
Quoted 140 lines · John Ettedgui
Quoted 139 lines · Anssi Hannula
Quoted 101 lines · John Ettedgui
Quoted 100 lines · John Ettedgui
Quoted 99 lines · Anssi Hannula
Quoted 87 lines · John Ettedgui
Quoted 75 lines · Anssi Hannula
Quoted 65 lines · John Ettedgui
Quoted 64 lines · Anssi Hannula
Quoted 28 lines · John Ettedgui
On Thu, Nov 25, 2010 at 3:40 AM, Anssi Hannula <[email protected]> wrote:
On 25.11.2010 13:09, John Ettedgui wrote:
On Thu, Nov 25, 2010 at 2:49 AM, Anssi Hannula <[email protected]> wrote:
On 25.11.2010 06:12, John Ettedgui wrote:
I'm actually trying to get a 5.1 setup working without passthrough, if
I use mplayer with passthrough my receiver behaves just fine, but I am
trying to send the 6 channels from the computer.I was actually told that the current ALSA driver for radeon's hdmi
does not support more than 2 channels, and that would explain why I'm
getting this behavior. Is that true though?Yes.
However, strangely your log output seems to show the intel's hdmi parser
being used instead:ALSA sound/pci/hda/patch_intelhdmi.c:842: hdmi_setup_stream: NID=0x2,
stream=0x1, new-format=0x11Were you just trying some patch at the time?
yes Wu gave me a patch to try against the kernel, I'm guessing this is
the reason you see something unexpected.Did 6 channels work with that patch? (possibly with a wrong channel order)
Not any better as far as I remember.OK. Did 2 channel audio continue to work with it?
If you are not sure, here's the patch doing the same thing against current alsa driver:
http://stuff.onse.fi/0001-ALSA-hda-Use-generic-HDMI-code-for-ATI-HDMI-codecs.patchConfirming that would help (it would allow to switch the ATI chip to use the generic parser instead of the ATI-specific one), though not with the multichannel issue (see below).
[...]
Quoted 12 lines
Since I just moved to jack/rca cables I'm in no hurry anymore, but is
there any reason why the driver cannot work with more than 2 channels?I don't really know (it is simply not implemented).
Alright.Anything I could do to help with that?
Possibly. But see above, so that we won't try the same things you
already tried :)Sure :)
Looking again at the the alsa info output you provided, I don't think I have any great ideas. It looks like the chip simply reports that it supports a maximum of 2 channels.
One option could be hardcoding "chans = 8;" in
generic_hdmi_build_pcms()insound/pci/hda/patch_hdmi.c(assuming you have the above patch and 2 channel audio works with it). However, I find it rather unlikely that it would make any difference.Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaAnssi,
the patch fails on my kernel, I cannot find thehda_codec_presetmanually in there either.
Did you want me to try that against a 2.6.37 rc instead of a 2.6.36?Quoted 5 lines
For 2.6.36 I think you can just use your earlier patch.
Note that on that kernel
generic_hdmi_build_pcms()isintel_hdmi_build_pcms()inpatch_intelhdmi.c.ok
Quoted 5 lines
BTW, I've just been informed by another ATI user that his card was actually stereo-only, while he thought earlier it was multichannel capable. So, are you sure your card is a multichannel one? (if not, it would explain why the card says it is not)
Quoted 4 lines
Quoted 3 lines
--
Anssi HannulaYes, it works fine in Window so I believe the hardware part is good.
And you are sure it is multichannel PCM, and not e.g. multichannel DTS or multichannel AC-3 with on-the-fly compression, which are possible with stereo hdmi as well?
Just making sure :)
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaWell, I have not super tested it, but the reason I believe it is is simple, when I use passthrough my receiver says Dolby digital or something like that, but in Windows just going around or playing games it says Multichannel.
Sounds ok then.
Quoted 10 lines
Quoted 3 lines
I'll get the patch applied in a few minutes, I was running out of memory and my system was getting really slow... :)
I am not sure if I did it right but now I don't even get hdmi sound working anymore.
It is not listed in aplay-l, and dmesg gives me this:
[drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitor but no|invalid EDIDQuoted 3 lines
I've attached the patch I used, since I could not used the previous one I had to hack it, maybe I broke something?
(I have not set channels to 8 yet, just changed the parser)The patch looks ok. The above error message is weird, as it comes from the display driver which should not be affected by the patch at all.
I'll look at the code later (tomorrow maybe). Until then I'd advise you to retry without the patch and with the patch again, just to make sure this is not some unrelated issue...
Also, post the whole dmesg when it works (2 channel, without patch), and when it doesn't (with patch).--
Anssi HannulaQuoted 7 lines
Quoted 5 lines
Following your message I restarted my computer and that error was gone, yet there is still nothing display in aplay -l / aplay -L about hdmi anymore.
I'll go back to my non patched kernel and see what it does.With the non-patched kernel I get back my hdmi in aplay -l, so it looks like the patch messed up something.
Indeed.
Quoted 2 lines
I really think that when I tried it before it did not do that, but it was so long ago that I could be wrong...
Well, the driver has changed since then, it could be more strict now :)
Quoted 1 line
Anyway here are the 2 dmesgs (not sure if they'll help though).
Quoted 9 lines
Quoted 6 lines
Indeed, there doesn't seem to be any difference. Maybe try with
CONFIG_SND_DEBUG_VERBOSE?--
Anssi HannulaSure I'll get that.
There you go.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 164 lines · John Ettedgui
Quoted 163 lines · John Ettedgui
Quoted 162 lines · Anssi Hannula
Quoted 141 lines · John Ettedgui
Quoted 140 lines · John Ettedgui
Quoted 139 lines · Anssi Hannula
Quoted 101 lines · John Ettedgui
Quoted 100 lines · John Ettedgui
Quoted 99 lines · Anssi Hannula
Quoted 87 lines · John Ettedgui
Quoted 75 lines · Anssi Hannula
Quoted 65 lines · John Ettedgui
Quoted 64 lines · Anssi Hannula
On 25.11.2010 14:21, John Ettedgui wrote:
On Thu, Nov 25, 2010 at 3:40 AM, Anssi Hannula <[email protected]> wrote:
On 25.11.2010 13:09, John Ettedgui wrote:
On Thu, Nov 25, 2010 at 2:49 AM, Anssi Hannula <[email protected]> wrote:
On 25.11.2010 06:12, John Ettedgui wrote:
I'm actually trying to get a 5.1 setup working without passthrough, if
I use mplayer with passthrough my receiver behaves just fine, but I am
trying to send the 6 channels from the computer.I was actually told that the current ALSA driver for radeon's hdmi
does not support more than 2 channels, and that would explain why I'm
getting this behavior. Is that true though?Yes.
However, strangely your log output seems to show the intel's hdmi parser
being used instead:ALSA sound/pci/hda/patch_intelhdmi.c:842: hdmi_setup_stream: NID=0x2,
stream=0x1, new-format=0x11Were you just trying some patch at the time?
yes Wu gave me a patch to try against the kernel, I'm guessing this is
the reason you see something unexpected.Did 6 channels work with that patch? (possibly with a wrong channel order)
Not any better as far as I remember.OK. Did 2 channel audio continue to work with it?
If you are not sure, here's the patch doing the same thing against
current alsa driver:
http://stuff.onse.fi/0001-ALSA-hda-Use-generic-HDMI-code-for-ATI-HDMI-codecs.patchConfirming that would help (it would allow to switch the ATI chip to use
the generic parser instead of the ATI-specific one), though not with the
multichannel issue (see below).[...]
Since I just moved to jack/rca cables I'm in no hurry anymore, but is
there any reason why the driver cannot work with more than 2 channels?I don't really know (it is simply not implemented).
Alright.Anything I could do to help with that?
Possibly. But see above, so that we won't try the same things you
already tried :)Sure :)
Looking again at the the alsa info output you provided, I don't think I
have any great ideas. It looks like the chip simply reports that it
supports a maximum of 2 channels.One option could be hardcoding "chans = 8;" in generic_hdmi_build_pcms()
in sound/pci/hda/patch_hdmi.c (assuming you have the above patch and 2
channel audio works with it). However, I find it rather unlikely that it
would make any difference.Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaAnssi,
the patch fails on my kernel, I cannot find thehda_codec_presetmanually in there either.
Did you want me to try that against a 2.6.37 rc instead of a 2.6.36?Quoted 5 lines
For 2.6.36 I think you can just use your earlier patch.
Note that on that kernel
generic_hdmi_build_pcms()isintel_hdmi_build_pcms()inpatch_intelhdmi.c.ok
Quoted 5 lines
BTW, I've just been informed by another ATI user that his card was actually stereo-only, while he thought earlier it was multichannel capable. So, are you sure your card is a multichannel one? (if not, it would explain why the card says it is not)
Quoted 4 lines
Quoted 3 lines
--
Anssi HannulaYes, it works fine in Window so I believe the hardware part is good.
And you are sure it is multichannel PCM, and not e.g. multichannel DTS or multichannel AC-3 with on-the-fly compression, which are possible with stereo hdmi as well?
Just making sure :)
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaWell, I have not super tested it, but the reason I believe it is is simple, when I use passthrough my receiver says Dolby digital or something like that, but in Windows just going around or playing games it says Multichannel.
Sounds ok then.
Quoted 10 lines
Quoted 3 lines
I'll get the patch applied in a few minutes, I was running out of memory and my system was getting really slow... :)
I am not sure if I did it right but now I don't even get hdmi sound working anymore.
It is not listed in aplay-l, and dmesg gives me this:
[drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitor but no|invalid EDIDQuoted 3 lines
I've attached the patch I used, since I could not used the previous one I had to hack it, maybe I broke something?
(I have not set channels to 8 yet, just changed the parser)The patch looks ok. The above error message is weird, as it comes from the display driver which should not be affected by the patch at all.
I'll look at the code later (tomorrow maybe). Until then I'd advise you to retry without the patch and with the patch again, just to make sure this is not some unrelated issue...
Also, post the whole dmesg when it works (2 channel, without patch), and when it doesn't (with patch).--
Anssi HannulaQuoted 7 lines
Quoted 5 lines
Following your message I restarted my computer and that error was gone, yet there is still nothing display in aplay -l / aplay -L about hdmi anymore.
I'll go back to my non patched kernel and see what it does.With the non-patched kernel I get back my hdmi in aplay -l, so it looks like the patch messed up something.
Indeed.
Quoted 2 lines
I really think that when I tried it before it did not do that, but it was so long ago that I could be wrong...
Well, the driver has changed since then, it could be more strict now :)
Quoted 1 line
Anyway here are the 2 dmesgs (not sure if they'll help though).
Indeed, there doesn't seem to be any difference. Maybe try with
CONFIG_SND_DEBUG_VERBOSE?
Quoted 9 lines
Quoted 6 lines
Quoted 3 lines
--
Anssi HannulaSure I'll get that.
There you go.
Too big again :(
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 172 lines · John Ettedgui
Quoted 171 lines · John Ettedgui
Quoted 169 lines · John Ettedgui
Quoted 157 lines · Anssi Hannula
Quoted 141 lines · John Ettedgui
Quoted 140 lines · John Ettedgui
Quoted 139 lines · Anssi Hannula
Quoted 101 lines · John Ettedgui
Quoted 100 lines · John Ettedgui
Quoted 99 lines · Anssi Hannula
Quoted 87 lines · John Ettedgui
Quoted 75 lines · Anssi Hannula
Quoted 73 lines · John Ettedgui
On Thu, Nov 25, 2010 at 11:19 AM, Anssi Hannula <[email protected]> wrote:
On 25.11.2010 14:21, John Ettedgui wrote:
On Thu, Nov 25, 2010 at 3:40 AM, Anssi Hannula <[email protected]> wrote:
On 25.11.2010 13:09, John Ettedgui wrote:
On Thu, Nov 25, 2010 at 2:49 AM, Anssi Hannula <[email protected]> wrote:
On 25.11.2010 06:12, John Ettedgui wrote:
I'm actually trying to get a 5.1 setup working without passthrough, if
I use mplayer with passthrough my receiver behaves just fine, but I am
trying to send the 6 channels from the computer.I was actually told that the current ALSA driver for radeon's hdmi
does not support more than 2 channels, and that would explain why I'm
getting this behavior. Is that true though?Yes.
However, strangely your log output seems to show the intel's hdmi parser
being used instead:ALSA sound/pci/hda/patch_intelhdmi.c:842: hdmi_setup_stream: NID=0x2,
stream=0x1, new-format=0x11Were you just trying some patch at the time?
yes Wu gave me a patch to try against the kernel, I'm guessing this is
the reason you see something unexpected.Did 6 channels work with that patch? (possibly with a wrong channel order)
Not any better as far as I remember.OK. Did 2 channel audio continue to work with it?
If you are not sure, here's the patch doing the same thing against
current alsa driver:
http://stuff.onse.fi/0001-ALSA-hda-Use-generic-HDMI-code-for-ATI-HDMI-codecs.patchConfirming that would help (it would allow to switch the ATI chip to use
the generic parser instead of the ATI-specific one), though not with the
multichannel issue (see below).[...]
Since I just moved to jack/rca cables I'm in no hurry anymore, but is
there any reason why the driver cannot work with more than 2 channels?I don't really know (it is simply not implemented).
Alright.Anything I could do to help with that?
Possibly. But see above, so that we won't try the same things you
already tried :)Sure :)
Looking again at the the alsa info output you provided, I don't think I
have any great ideas. It looks like the chip simply reports that it
supports a maximum of 2 channels.One option could be hardcoding "chans = 8;" in generic_hdmi_build_pcms()
in sound/pci/hda/patch_hdmi.c (assuming you have the above patch and 2
channel audio works with it). However, I find it rather unlikely that it
would make any difference.--
Anssi HannulaAnssi,
the patch fails on my kernel, I cannot find the hda_codec_preset
manually in there either.
Did you want me to try that against a 2.6.37 rc instead of a 2.6.36?Quoted 5 lines
For 2.6.36 I think you can just use your earlier patch.
Note that on that kernel
generic_hdmi_build_pcms()isintel_hdmi_build_pcms()inpatch_intelhdmi.c.ok
Quoted 5 lines
BTW, I've just been informed by another ATI user that his card was actually stereo-only, while he thought earlier it was multichannel capable. So, are you sure your card is a multichannel one? (if not, it would explain why the card says it is not)
Quoted 4 lines
Quoted 3 lines
--
Anssi HannulaYes, it works fine in Window so I believe the hardware part is good.
And you are sure it is multichannel PCM, and not e.g. multichannel DTS or multichannel AC-3 with on-the-fly compression, which are possible with stereo hdmi as well?
Just making sure :)
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaWell, I have not super tested it, but the reason I believe it is is simple, when I use passthrough my receiver says Dolby digital or something like that, but in Windows just going around or playing games it says Multichannel.
Sounds ok then.
Quoted 10 lines
Quoted 3 lines
I'll get the patch applied in a few minutes, I was running out of memory and my system was getting really slow... :)
I am not sure if I did it right but now I don't even get hdmi sound working anymore.
It is not listed in aplay-l, and dmesg gives me this:
[drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitor but no|invalid EDIDQuoted 3 lines
I've attached the patch I used, since I could not used the previous one I had to hack it, maybe I broke something?
(I have not set channels to 8 yet, just changed the parser)The patch looks ok. The above error message is weird, as it comes from the display driver which should not be affected by the patch at all.
I'll look at the code later (tomorrow maybe). Until then I'd advise you to retry without the patch and with the patch again, just to make sure this is not some unrelated issue...
Also, post the whole dmesg when it works (2 channel, without patch), and when it doesn't (with patch).--
Anssi HannulaQuoted 7 lines
Quoted 5 lines
Following your message I restarted my computer and that error was gone, yet there is still nothing display in aplay -l / aplay -L about hdmi anymore.
I'll go back to my non patched kernel and see what it does.With the non-patched kernel I get back my hdmi in aplay -l, so it looks like the patch messed up something.
Indeed.
Quoted 2 lines
I really think that when I tried it before it did not do that, but it was so long ago that I could be wrong...
Well, the driver has changed since then, it could be more strict now :)
Quoted 8 lines
Quoted 1 line
Anyway here are the 2 dmesgs (not sure if they'll help though).
Indeed, there doesn't seem to be any difference. Maybe try with
CONFIG_SND_DEBUG_VERBOSE?--
Anssi HannulaSure I'll get that.
Quoted 6 lines
Quoted 1 line
There you go.
ALSA
sound/pci/hda/hda_intel.c:2531: chipset global capabilities =0x1001ALSAsound/pci/hda/hda_intel.c:913:codec_mask=0x1
ALSAsound/pci/hda/hda_intel.c:1354: codec #0 probed OK
ALSAsound/pci/hda/hda_generic.c:683:hda_generic: no proper input path found
Hm, for some reason it doesn't try to use the intelhdmi module. Is it getting loaded? Have you run "depmod"?
Does "modinfo snd-hda-codec-intelhdmi" show the alias you added?
Signature · 1 line
Anssi Hannula
Quoted 180 lines · Anssi Hannula
Quoted 172 lines · John Ettedgui
Quoted 171 lines · John Ettedgui
Quoted 169 lines · John Ettedgui
Quoted 157 lines · Anssi Hannula
Quoted 141 lines · John Ettedgui
Quoted 140 lines · John Ettedgui
Quoted 139 lines · Anssi Hannula
Quoted 101 lines · John Ettedgui
Quoted 100 lines · John Ettedgui
Quoted 99 lines · Anssi Hannula
Quoted 87 lines · John Ettedgui
Quoted 80 lines · Anssi Hannula
On 26.11.2010 00:42, John Ettedgui wrote:
On Thu, Nov 25, 2010 at 11:19 AM, Anssi Hannula <[email protected]> wrote:
On 25.11.2010 14:21, John Ettedgui wrote:
On Thu, Nov 25, 2010 at 3:40 AM, Anssi Hannula <[email protected]> wrote:
On 25.11.2010 13:09, John Ettedgui wrote:
On Thu, Nov 25, 2010 at 2:49 AM, Anssi Hannula <[email protected]> wrote:
On 25.11.2010 06:12, John Ettedgui wrote:
I'm actually trying to get a 5.1 setup working without passthrough, if
I use mplayer with passthrough my receiver behaves just fine, but I am
trying to send the 6 channels from the computer.I was actually told that the current ALSA driver for radeon's hdmi
does not support more than 2 channels, and that would explain why I'm
getting this behavior. Is that true though?Yes.
However, strangely your log output seems to show the intel's hdmi parser
being used instead:ALSA sound/pci/hda/patch_intelhdmi.c:842: hdmi_setup_stream: NID=0x2,
stream=0x1, new-format=0x11Were you just trying some patch at the time?
yes Wu gave me a patch to try against the kernel, I'm guessing this is
the reason you see something unexpected.Did 6 channels work with that patch? (possibly with a wrong channel order)
Not any better as far as I remember.OK. Did 2 channel audio continue to work with it?
If you are not sure, here's the patch doing the same thing against
current alsa driver:
http://stuff.onse.fi/0001-ALSA-hda-Use-generic-HDMI-code-for-ATI-HDMI-codecs.patchConfirming that would help (it would allow to switch the ATI chip to use
the generic parser instead of the ATI-specific one), though not with the
multichannel issue (see below).[...]
Since I just moved to jack/rca cables I'm in no hurry anymore, but is
there any reason why the driver cannot work with more than 2 channels?I don't really know (it is simply not implemented).
Alright.Anything I could do to help with that?
Possibly. But see above, so that we won't try the same things you
already tried :)Sure :)
Looking again at the the alsa info output you provided, I don't think I
have any great ideas. It looks like the chip simply reports that it
supports a maximum of 2 channels.One option could be hardcoding "chans = 8;" in generic_hdmi_build_pcms()
in sound/pci/hda/patch_hdmi.c (assuming you have the above patch and 2
channel audio works with it). However, I find it rather unlikely that it
would make any difference.--
Anssi HannulaAnssi,
the patch fails on my kernel, I cannot find the hda_codec_preset
manually in there either.
Did you want me to try that against a 2.6.37 rc instead of a 2.6.36?For 2.6.36 I think you can just use your earlier patch.
Note that on that kernel generic_hdmi_build_pcms() is
intel_hdmi_build_pcms() in patch_intelhdmi.c.ok
Quoted 5 lines
BTW, I've just been informed by another ATI user that his card was
actually stereo-only, while he thought earlier it was multichannel
capable. So, are you sure your card is a multichannel one?
(if not, it would explain why the card says it is not)Quoted 4 lines
Quoted 3 lines
--
Anssi HannulaYes, it works fine in Window so I believe the hardware part is good.
And you are sure it is multichannel PCM, and not e.g. multichannel DTS or multichannel AC-3 with on-the-fly compression, which are possible with stereo hdmi as well?
Just making sure :)
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaWell, I have not super tested it, but the reason I believe it is is simple, when I use passthrough my receiver says Dolby digital or something like that, but in Windows just going around or playing games it says Multichannel.
Sounds ok then.
Quoted 10 lines
Quoted 3 lines
I'll get the patch applied in a few minutes, I was running out of memory and my system was getting really slow... :)
I am not sure if I did it right but now I don't even get hdmi sound working anymore.
It is not listed in aplay-l, and dmesg gives me this:
[drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitor but no|invalid EDIDQuoted 3 lines
I've attached the patch I used, since I could not used the previous one I had to hack it, maybe I broke something?
(I have not set channels to 8 yet, just changed the parser)The patch looks ok. The above error message is weird, as it comes from the display driver which should not be affected by the patch at all.
I'll look at the code later (tomorrow maybe). Until then I'd advise you to retry without the patch and with the patch again, just to make sure this is not some unrelated issue...
Also, post the whole dmesg when it works (2 channel, without patch), and when it doesn't (with patch).--
Anssi HannulaQuoted 7 lines
Quoted 5 lines
Following your message I restarted my computer and that error was gone, yet there is still nothing display in aplay -l / aplay -L about hdmi anymore.
I'll go back to my non patched kernel and see what it does.With the non-patched kernel I get back my hdmi in aplay -l, so it looks like the patch messed up something.
Indeed.
Quoted 2 lines
I really think that when I tried it before it did not do that, but it was so long ago that I could be wrong...
Well, the driver has changed since then, it could be more strict now :)
Quoted 8 lines
Quoted 1 line
Anyway here are the 2 dmesgs (not sure if they'll help though).
Indeed, there doesn't seem to be any difference. Maybe try with
CONFIG_SND_DEBUG_VERBOSE?--
Anssi HannulaSure I'll get that.
Quoted 6 lines
Quoted 1 line
There you go.
ALSA
sound/pci/hda/hda_intel.c:2531: chipset global capabilities =0x1001ALSAsound/pci/hda/hda_intel.c:913:codec_mask=0x1
ALSAsound/pci/hda/hda_intel.c:1354: codec #0 probed OK
ALSAsound/pci/hda/hda_generic.c:683:hda_generic: no proper input path found
Quoted 7 lines
Hm, for some reason it doesn't try to use the intelhdmi module. Is it getting loaded? Have you run "depmod"?
Does "modinfo snd-hda-codec-intelhdmi" show the alias you added?--
Anssi Hannula
I'm sorry it's my fault.
I did not realize my patch was buggy, I had a white line and because of it the last part of the patch did not get applied.
Now aplay -l is fine, and I can use the hdmi again, but still it defaults to stereo.
With a "default" asound.conf speaker-test won't allow for more than -c2. I tried to add channels 6 in the conf file, but it made no difference...
I will try your other suggestion.
Thanks,
John
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 139 lines · John Ettedgui
Quoted 126 lines · Anssi Hannula
Quoted 118 lines · John Ettedgui
Quoted 117 lines · John Ettedgui
Quoted 115 lines · John Ettedgui
Quoted 103 lines · Anssi Hannula
Quoted 87 lines · John Ettedgui
Quoted 86 lines · John Ettedgui
Quoted 85 lines · Anssi Hannula
Quoted 47 lines · John Ettedgui
Quoted 46 lines · John Ettedgui
Quoted 45 lines · Anssi Hannula
Quoted 37 lines · John Ettedgui
On Thu, Nov 25, 2010 at 2:58 PM, Anssi Hannula <[email protected]> wrote:
On 26.11.2010 00:42, John Ettedgui wrote:
On Thu, Nov 25, 2010 at 11:19 AM, Anssi Hannula <[email protected]> wrote:Looking again at the the alsa info output you provided, I don't think I
have any great ideas. It looks like the chip simply reports that it
supports a maximum of 2 channels.One option could be hardcoding "chans = 8;" in generic_hdmi_build_pcms()
in sound/pci/hda/patch_hdmi.c (assuming you have the above patch and 2
channel audio works with it). However, I find it rather unlikely that it
would make any difference.--
Anssi HannulaAnssi,
the patch fails on my kernel, I cannot find the hda_codec_preset
manually in there either.
Did you want me to try that against a 2.6.37 rc instead of a 2.6.36?For 2.6.36 I think you can just use your earlier patch.
Note that on that kernel generic_hdmi_build_pcms() is
intel_hdmi_build_pcms() in patch_intelhdmi.c.ok
BTW, I've just been informed by another ATI user that his card was
actually stereo-only, while he thought earlier it was multichannel
capable. So, are you sure your card is a multichannel one?
(if not, it would explain why the card says it is not)--
Anssi HannulaYes, it works fine in Window so I believe the hardware part is good.
And you are sure it is multichannel PCM, and not e.g. multichannel DTS or multichannel AC-3 with on-the-fly compression, which are possible with stereo hdmi as well?
Just making sure :)
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
--
Anssi HannulaWell, I have not super tested it, but the reason I believe it is is simple, when I use passthrough my receiver says Dolby digital or something like that, but in Windows just going around or playing games it says Multichannel.
Sounds ok then.
Quoted 10 lines
Quoted 3 lines
I'll get the patch applied in a few minutes, I was running out of memory and my system was getting really slow... :)
I am not sure if I did it right but now I don't even get hdmi sound working anymore.
It is not listed in aplay-l, and dmesg gives me this:
[drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitor but no|invalid EDIDQuoted 3 lines
I've attached the patch I used, since I could not used the previous one I had to hack it, maybe I broke something?
(I have not set channels to 8 yet, just changed the parser)The patch looks ok. The above error message is weird, as it comes from the display driver which should not be affected by the patch at all.
I'll look at the code later (tomorrow maybe). Until then I'd advise you to retry without the patch and with the patch again, just to make sure this is not some unrelated issue...
Also, post the whole dmesg when it works (2 channel, without patch), and when it doesn't (with patch).--
Anssi HannulaQuoted 7 lines
Quoted 5 lines
Following your message I restarted my computer and that error was gone, yet there is still nothing display in aplay -l / aplay -L about hdmi anymore.
I'll go back to my non patched kernel and see what it does.With the non-patched kernel I get back my hdmi in aplay -l, so it looks like the patch messed up something.
Indeed.
Quoted 2 lines
I really think that when I tried it before it did not do that, but it was so long ago that I could be wrong...
Well, the driver has changed since then, it could be more strict now :)
Quoted 8 lines
Quoted 1 line
Anyway here are the 2 dmesgs (not sure if they'll help though).
Indeed, there doesn't seem to be any difference. Maybe try with
CONFIG_SND_DEBUG_VERBOSE?--
Anssi HannulaSure I'll get that.
Quoted 6 lines
Quoted 1 line
There you go.
ALSA
sound/pci/hda/hda_intel.c:2531: chipset global capabilities =0x1001ALSAsound/pci/hda/hda_intel.c:913:codec_mask=0x1
ALSAsound/pci/hda/hda_intel.c:1354: codec #0 probed OK
ALSAsound/pci/hda/hda_generic.c:683:hda_generic: no proper input path foundQuoted 7 lines
Hm, for some reason it doesn't try to use the intelhdmi module. Is it getting loaded? Have you run "depmod"?
Does "modinfo snd-hda-codec-intelhdmi" show the alias you added?--
Anssi HannulaI'm sorry it's my fault.
I did not realize my patch was buggy, I had a white line and because of it the last part of the patch did not get applied.
Quoted 6 lines
Now aplay -l is fine, and I can use the hdmi again, but still it defaults to stereo.
With a "default" asound.conf speaker-test won't allow for more than -c2. I tried to add channels 6 in the conf file, but it made no difference...I will try your other suggestion.
Did you have a chance to try that?
There's no hurry, just making sure I didn't miss any message from you or something :)
Signature · 1 line
Anssi Hannula
Quoted 186 lines · Anssi Hannula
Quoted 1 line · John Ettedgui
On Fri, Nov 26, 2010 at 7:30 AM, Anssi Hannula <[email protected]>
Quoted 2 lines · wrote:
Quoted 2 lines · John Ettedgui
Quoted 1 line
On Thu, Nov 25, 2010 at 9:56 PM, John Ettedgui <
Quoted 1 line · [email protected]> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
On Thu, Nov 25, 2010 at 6:21 PM, John Ettedgui <
Quoted 1 line · [email protected]> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
On Thu, Nov 25, 2010 at 6:16 PM, Anssi Hannula <[email protected]>
Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines · John Ettedgui
Quoted 1 line
On Thu, Nov 25, 2010 at 5:08 PM, John Ettedgui <
Quoted 1 line · [email protected]> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
On Thu, Nov 25, 2010 at 4:59 PM, Anssi Hannula <
Quoted 2 lines · [email protected]> wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines · John Ettedgui
Quoted 1 line
On Thu, Nov 25, 2010 at 3:34 PM, John Ettedgui <
Quoted 1 line · [email protected]> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
On Thu, Nov 25, 2010 at 3:15 PM, Anssi Hannula <
Quoted 2 lines · [email protected]> wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines · John Ettedgui
On Thu, Nov 25, 2010 at 2:58 PM, Anssi Hannula <
Quoted 2 lines · [email protected]> wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
On 26.11.2010 00:42, John Ettedgui wrote:
On Thu, Nov 25, 2010 at 11:19 AM, Anssi Hannula <Quoted 2 lines · [email protected]> wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Looking again at the the alsa info output you provided, I
don't think I
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
have any great ideas. It looks like the chip simply
reports that it
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
supports a maximum of 2 channels.
One option could be hardcoding "chans = 8;" in
generic_hdmi_build_pcms()Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
in sound/pci/hda/patch_hdmi.c (assuming you have the above
patch and 2
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
channel audio works with it). However, I find it rather
unlikely that it
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
would make any difference.
--
Anssi HannulaAnssi,
the patch fails on my kernel, I cannot find the
hda_codec_presetQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
manually in there either.
Did you want me to try that against a 2.6.37 rc instead ofa 2.6.36?
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
For 2.6.36 I think you can just use your earlier patch.
Note that on that kernel generic_hdmi_build_pcms() is
intel_hdmi_build_pcms() in patch_intelhdmi.c.ok
BTW, I've just been informed by another ATI user that hiscard was
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
actually stereo-only, while he thought earlier it was
multichannel
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
capable. So, are you sure your card is a multichannel one?
(if not, it would explain why the card says it is not)--
Anssi HannulaYes, it works fine in Window so I believe the hardware part
is good.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
And you are sure it is multichannel PCM, and not e.g.
multichannel DTS
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
or multichannel AC-3 with on-the-fly compression, which are
possible
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 7 lines
with stereo hdmi as well?
Just making sure :)
--
Anssi HannulaWell, I have not super tested it, but the reason I believe it
is is
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
simple, when I use passthrough my receiver says Dolby digital
or
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
something like that, but in Windows just going around or
playing games
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
it says Multichannel.
Sounds ok then.
Quoted 1 line
Quoted 1 line
I'll get the patch applied in a few minutes, I was running out
of
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
memory and my system was getting really slow... :)
I am not sure if I did it right but now I don't even get hdmi
sound
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
working anymore.
It is not listed in aplay-l, and dmesg gives me this:
[drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitorbut
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
no|invalid EDID
I've attached the patch I used, since I could not used the
previous
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
one I had to hack it, maybe I broke something?
(I have not set channels to 8 yet, just changed the parser)The patch looks ok. The above error message is weird, as it comes
from
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
the display driver which should not be affected by the patch at
all.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
I'll look at the code later (tomorrow maybe). Until then I'd
advise you
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
to retry without the patch and with the patch again, just to make
sure
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
this is not some unrelated issue...
Also, post the whole dmesg when it works (2 channel, withoutpatch), and
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
when it doesn't (with patch).
--
Anssi HannulaFollowing your message I restarted my computer and that error was gone, yet there is still nothing display in aplay -l / aplay -L
about
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
Quoted 3 lines
hdmi anymore.
I'll go back to my non patched kernel and see what it does.With the non-patched kernel I get back my hdmi in aplay -l, so it looks like the patch messed up something.
Indeed.
Quoted 1 line
I really think that when I tried it before it did not do that, but
it
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
was so long ago that I could be wrong...
Well, the driver has changed since then, it could be more strict now
:)
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 9 lines
Quoted 2 lines
Anyway here are the 2 dmesgs (not sure if they'll help though).
Indeed, there doesn't seem to be any difference. Maybe try with
CONFIG_SND_DEBUG_VERBOSE?--
Anssi HannulaQuoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Sure I'll get that.
There you go.
ALSA
sound/pci/hda/hda_intel.c:2531: chipset global capabilities =
0x1001Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
ALSA
sound/pci/hda/hda_intel.c:913:codec_mask=0x1
ALSAsound/pci/hda/hda_intel.c:1354: codec #0 probed OK
ALSAsound/pci/hda/hda_generic.c:683:hda_generic: no proper input pathfound
Quoted 13 lines
Quoted 8 lines
Hm, for some reason it doesn't try to use the intelhdmi module. Is it getting loaded? Have you run "depmod"?
Does "modinfo snd-hda-codec-intelhdmi" show the alias you added?--
Anssi HannulaI'm sorry it's my fault.
I did not realize my patch was buggy, I had a white line and because of it the last part of the patch did not get applied.Quoted 6 lines
Now aplay -l is fine, and I can use the hdmi again, but still it defaults to stereo.
With a "default" asound.conf speaker-test won't allow for more than -c2. I tried to add channels 6 in the conf file, but it made no difference...I will try your other suggestion.
Quoted 8 lines
Did you have a chance to try that?
There's no hurry, just making sure I didn't miss any message from you or something :)
--
Anssi Hannula
I finally tested it.
Results are soso:
-ALSA does not complain anymore about slave.channels 6 -speaker-test does not complain anymore about -c6
-my receiver sees the stream as multi channel pcm, not stereo anymore -but whatever I try with the ttable config, I can only get sound through the left and right speakers.
Quoted 209 lines · John Ettedgui
Quoted 186 lines · Anssi Hannula
Quoted 1 line · John Ettedgui
On Fri, Nov 26, 2010 at 7:30 AM, Anssi Hannula <[email protected]>
Quoted 2 lines · wrote:
Quoted 2 lines · John Ettedgui
Quoted 1 line
On Thu, Nov 25, 2010 at 9:56 PM, John Ettedgui <
Quoted 1 line · [email protected]> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
On Thu, Nov 25, 2010 at 6:21 PM, John Ettedgui <
Quoted 1 line · [email protected]> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
On Thu, Nov 25, 2010 at 6:16 PM, Anssi Hannula <
Quoted 2 lines · [email protected]> wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines · John Ettedgui
Quoted 1 line
On Thu, Nov 25, 2010 at 5:08 PM, John Ettedgui <
Quoted 1 line · [email protected]> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
On Thu, Nov 25, 2010 at 4:59 PM, Anssi Hannula <
Quoted 2 lines · [email protected]> wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines · John Ettedgui
Quoted 1 line
On Thu, Nov 25, 2010 at 3:34 PM, John Ettedgui <
Quoted 1 line · [email protected]> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
On Thu, Nov 25, 2010 at 3:15 PM, Anssi Hannula <
Quoted 2 lines · [email protected]> wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
On 26.11.2010 01:11, John Ettedgui wrote:
On Thu, Nov 25, 2010 at 2:58 PM, Anssi Hannula <Quoted 2 lines · [email protected]> wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
On 26.11.2010 00:42, John Ettedgui wrote:
On Thu, Nov 25, 2010 at 11:19 AM, Anssi Hannula <Quoted 2 lines · [email protected]> wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Looking again at the the alsa info output you provided, I
don't think I
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
have any great ideas. It looks like the chip simply
reports that it
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
supports a maximum of 2 channels.
One option could be hardcoding "chans = 8;" in
generic_hdmi_build_pcms()Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
in sound/pci/hda/patch_hdmi.c (assuming you have the
above patch and 2
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
channel audio works with it). However, I find it rather
unlikely that it
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
would make any difference.
--
Anssi HannulaAnssi,
the patch fails on my kernel, I cannot find the
hda_codec_presetQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
manually in there either.
Did you want me to try that against a 2.6.37 rc instead ofa 2.6.36?
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
For 2.6.36 I think you can just use your earlier patch.
Note that on that kernel generic_hdmi_build_pcms() is
intel_hdmi_build_pcms() in patch_intelhdmi.c.ok
BTW, I've just been informed by another ATI user that hiscard was
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
actually stereo-only, while he thought earlier it was
multichannel
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
capable. So, are you sure your card is a multichannel one?
(if not, it would explain why the card says it is not)--
Anssi HannulaYes, it works fine in Window so I believe the hardware part
is good.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
And you are sure it is multichannel PCM, and not e.g.
multichannel DTS
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
or multichannel AC-3 with on-the-fly compression, which are
possible
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
with stereo hdmi as well?
Just making sure :)
--
Anssi HannulaWell, I have not super tested it, but the reason I believe it
is is
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
simple, when I use passthrough my receiver says Dolby digital
or
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
something like that, but in Windows just going around or
playing games
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
it says Multichannel.
Sounds ok then.
Quoted 1 line
Quoted 1 line
I'll get the patch applied in a few minutes, I was running out
of
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
memory and my system was getting really slow... :)
I am not sure if I did it right but now I don't even get hdmi
sound
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
working anymore.
It is not listed in aplay-l, and dmesg gives me this:
[drm:radeon_dvi_detect] *ERROR* HDMI Type A-1: probed a monitorbut
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
no|invalid EDID
I've attached the patch I used, since I could not used the
previous
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 2 lines
one I had to hack it, maybe I broke something?
(I have not set channels to 8 yet, just changed the parser)The patch looks ok. The above error message is weird, as it
comes from
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
the display driver which should not be affected by the patch at
all.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
I'll look at the code later (tomorrow maybe). Until then I'd
advise you
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
to retry without the patch and with the patch again, just to
make sure
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
this is not some unrelated issue...
Also, post the whole dmesg when it works (2 channel, withoutpatch), and
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
when it doesn't (with patch).
--
Anssi HannulaFollowing your message I restarted my computer and that error was gone, yet there is still nothing display in aplay -l / aplay -L
about
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
Quoted 3 lines
hdmi anymore.
I'll go back to my non patched kernel and see what it does.With the non-patched kernel I get back my hdmi in aplay -l, so it looks like the patch messed up something.
Indeed.
Quoted 1 line
I really think that when I tried it before it did not do that, but
it
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
was so long ago that I could be wrong...
Well, the driver has changed since then, it could be more strict
now :)
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 9 lines
Quoted 2 lines
Anyway here are the 2 dmesgs (not sure if they'll help though).
Indeed, there doesn't seem to be any difference. Maybe try with
CONFIG_SND_DEBUG_VERBOSE?--
Anssi HannulaQuoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Sure I'll get that.
There you go.
ALSA
sound/pci/hda/hda_intel.c:2531: chipset global capabilities =
0x1001Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
ALSA
sound/pci/hda/hda_intel.c:913:codec_mask=0x1ALSAsound/pci/hda/hda_intel.c:1354: codec #0 probed OK ALSAsound/pci/hda/hda_generic.c:683:hda_generic: no proper inputpath found
Quoted 13 lines
Quoted 8 lines
Hm, for some reason it doesn't try to use the intelhdmi module. Is it getting loaded? Have you run "depmod"?
Does "modinfo snd-hda-codec-intelhdmi" show the alias you added?--
Anssi HannulaI'm sorry it's my fault.
I did not realize my patch was buggy, I had a white line and because of it the last part of the patch did not get applied.Quoted 6 lines
Now aplay -l is fine, and I can use the hdmi again, but still it defaults to stereo.
With a "default" asound.conf speaker-test won't allow for more than -c2. I tried to add channels 6 in the conf file, but it made no difference...I will try your other suggestion.
Quoted 8 lines
Did you have a chance to try that?
There's no hurry, just making sure I didn't miss any message from you or something :)
--
Anssi HannulaI finally tested it.
Results are soso:(quoted diff) +0
-4-ALSA does not complain anymore about slave.channels 6 -speaker-test does not complain anymore about -c6 -my receiver sees the stream as multi channel pcm, not stereo anymore -but whatever I try with the ttable config, I can only get sound throughthe left and right speakers.
Quoted 1 line
Hey Anssi,
I will unsubscribe from the alsa-dev mailing list because it is not really suited for me, but if you have any other idea or want to test anything, feel free to email me.
Thanks,
John