2009-07-01, 11:11
Hi there,
I'm new to XBMC, but got some experience with Gentoo linux, which I'm running for years on my HTPC, and now, after upgrading my hardware platform and hearing about the possibility to have the best of both VDR and XBMC, I'm giving XBMC a try. XbmcLive-9.04.1 runs just fine booted from CD or from the USB hdd where I manually unsquashed it, but my goal is to have it running on Gentoo, first just as it is, then in combination with VDR. I'm trying to follow as close as possible the HOW-TO post about a problem in a useful manner, and provide the details of my problem:
Since there is no official ebuild for 9.04.1 or the pvr-testing branch yet, I adapted the latest ebuild, and compiled, but any of the versions (so 9.04.1 too) has the very same problem, they segfault at startup, and after many, many retries, XBMC eventually starts, then I could even make them play MP3 (but hear no menu sounds), only to make them crash again when trying to play video...
My hardware setup is as follows:
Software setup:
I'm running just a i686 Gentoo-2008.0 architecture for now (not AMD64 yet), yet accepting "~x86" keywords globally (Gentoo folks know that means bleeding edge versions of everything, whith all the risks involved):
Cheers,
Zoolook
I'm new to XBMC, but got some experience with Gentoo linux, which I'm running for years on my HTPC, and now, after upgrading my hardware platform and hearing about the possibility to have the best of both VDR and XBMC, I'm giving XBMC a try. XbmcLive-9.04.1 runs just fine booted from CD or from the USB hdd where I manually unsquashed it, but my goal is to have it running on Gentoo, first just as it is, then in combination with VDR. I'm trying to follow as close as possible the HOW-TO post about a problem in a useful manner, and provide the details of my problem:
Since there is no official ebuild for 9.04.1 or the pvr-testing branch yet, I adapted the latest ebuild, and compiled, but any of the versions (so 9.04.1 too) has the very same problem, they segfault at startup, and after many, many retries, XBMC eventually starts, then I could even make them play MP3 (but hear no menu sounds), only to make them crash again when trying to play video...
My hardware setup is as follows:
- HTPC consists of MB: Asus M3N78-EM (with GeForce8300 IGP using 512MB of the 2GB system RAM), CPU: Athlon X2 5050E;
- HDMI hooked to Full HD LCD-TV;
- coaxial SPDIF hooked to external decoder/amp, since I could not convince the TV to passthrough the sound it gets via HDMI to the external amp.
Software setup:
I'm running just a i686 Gentoo-2008.0 architecture for now (not AMD64 yet), yet accepting "~x86" keywords globally (Gentoo folks know that means bleeding edge versions of everything, whith all the risks involved):
- 2.6.30 kernel, SMP;
- alsa-lib-1.0.20, compiled with DEBUG symbols;
- XBMC is compiled by ebuild script, I'm starting it as the user 'vdr' with the homedir at /var/vdr if that path seems strange to somebody in the info I'm providing, getting the same produce a segmentation fault on startup with either official xbmc-9.04.1 sources, or SVN:21302 of the pvr-testing branch like you can see in the log on the pastebin;
- aplay -lCode:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC1200 Analog [ALC1200 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC1200 Digital [ALC1200 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0 - aplay -LCode:
front:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
Front speakers
surround40:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
HDA NVidia, ALC1200 Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
HDA NVidia, NVIDIA HDMI
HDMI Audio Output
null
Discard all samples (playback) or generate zero samples (capture) - /etc/asound.confCode:
pcm.!default {
type hw
card 0
device 1
} - /var/vdr/.asoundrcCode:
pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0666
slave {
pcm "hw:0,1"
rate 48000
channels 6
format S32_LE
period_time 0
period_size 1024
buffer_time 0
buffer_size 4096
}
}
pcm.!default {
type plug
slave.pcm "dmixer"
} - I read somewhere that XBMC will resample to 48kHz if one creates the file /var/vdr/.xbmc/userdata/advancedsettings.xmlCode:
<advancedsettings>
<audio>
<resample>48000</resample>
</audio>
</advancedsettings> - This is just the <audiooutput> section of /var/vdr/.xbmc/userdata/guisettings.xml:Code:
<audiooutput>
<ac3passthrough>true</ac3passthrough>
<audiodevice>iec958</audiodevice>
<downmixmultichannel>false</downmixmultichannel>
<dtspassthrough>true</dtspassthrough>
<mode>1</mode>
<passthroughdevice>iec958</passthroughdevice>
</audiooutput>
Cheers,
Zoolook