2012-06-01, 16:44
(2012-06-01, 15:50)drivesoslow Wrote:(2012-05-31, 09:47)gastar Wrote: I had the a problem with ATI fglrx (catalyst 12.4) not providing the correct ELD data.
Instead of skipping the whole device I changed the code to continue and now there is SOUND again
Added the bug ticket + patch http://trac.xbmc.org/ticket/13075
Not sure if ALSA can handle this stuff always but for now better than no sound at all.
This is the same issue I am having. To work around it I compiled with PulseAudio enabled. I like your fix better since I hate PulseAudio.
Still having a weird issue with my hdmi not being detected. I know my ELD data is invalid but XBMC is logging a different error:
Code:
07:15:25 T:3036981568 INFO: CSoftAE::InternalOpenSink - sink incompatible, re-starting
07:15:25 T:3036981568 INFO: CAESinkALSA::Initialize - Attempting to open device
07:15:25 T:3036981568 ERROR: CAESinkALSA::Initialize - snd_pcm_open_lconf(-2) -
07:15:25 T:3036981568 ERROR: CAESinkOSS::Initialize - Failed to get supported formats, assuming
Full debug: http://pastebin.com/0gAAkFKq
I think it might be caused by this issue: https://github.com/xbmc/xbmc/pull/987
Code:
amixer contents -c Generic
numid=1,iface=CARD,name='HDMI/DP,pcm=3 Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
numid=7,iface=MIXER,name='PCM Playback Volume'
; type=INTEGER,access=rw---RW-,values=2,min=0,max=255,step=0
: values=219,173
| dBscale-min=-51.00dB,step=0.20dB,mute=0
numid=2,iface=MIXER,name='IEC958 Playback Con Mask'
; type=IEC958,access=r-------,values=1
: values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=3,iface=MIXER,name='IEC958 Playback Pro Mask'
; type=IEC958,access=r-------,values=1
: values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
numid=4,iface=MIXER,name='IEC958 Playback Default'
; type=IEC958,access=rw------,values=1
: values=[AES0=0x04 AES1=0x82 AES2=0x00 AES3=0x02]
numid=5,iface=MIXER,name='IEC958 Playback Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=6,iface=PCM,name='ELD',device=3
; type=BYTES,access=r-------,values=0
: values=
Code:
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Playback/recording through the PulseAudio sound server
hdmi:CARD=Generic,DEV=0
HD-Audio Generic, HDMI 0
HDMI Audio Output
dmix:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct sample mixing device
dsnoop:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct sample snooping device
hw:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct hardware device without any conversions
plughw:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Hardware device with all software conversions
Code:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0