XBMCbuntu - SPDIF & Screen resoultion
#1
Hi Guys,

I am a new XBMCbuntu user, having transferred over from a Windows 7 installation, I have got my system running just about the way I want it TV card installed, backend setup, frontend working! However there are a couple of material problems I am hoping you will be able to assist me with:

1. There is no digital sound output through SPDIF. I have not been able to get any sound from my amp at all. I have tried a range of things including installing Pulse Audio (however the Synaptic Package Manager does not have the back end available so I stopped there). Note that I do not get any sound when playing media in the desktop or XBMC.

2. The video output through HDMI over scans. I have found a fix to this using "xrandr --output HDMI1 --set audio force-dvi --mode 1280x720" in terminal view. It fixes the problem for all resolutions until the box is reset. I would ideally like to set this up so it occurs every time on start up. I have read up about xorg.config however I do not believe it is not used XBMCbuntu and have not been able to configure Nvidia X server - the Nvidia application does not have any monitor specific controls in the interface.

I am using a Gigabite Brix i3, I have not made any changes to the hardware with the exception of installing RAM and a hard drive. I have installed the latest XBMCBuntu - Gotham (OS). http://www.mwave.com.au/product/gigabyte...en-ab52251

HDMI connection to a projector (no overscan changes available - Dell MP5100)
SPDIF connection to a Denon 3803 7.1 channel amp that accepts Dolby 7.1 and DTS-ES
Media is on a NAS

Any help is appreciated - let me know if there is anything else that would assist.

I have been tying myself in knots for a couple of days now. Thanks.
Reply
#2
Post a Debug Log - we cannot see what software / audio sound server / etc. you are running.

For the overscan issue, use your TV Remote and set your TV to "Just Scan" or "Fixed".
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
Quote:I have read up about xorg.config however I do not believe it is not used XBMCbuntu and have not been able to configure Nvidia X server - the Nvidia application does not have any monitor specific controls in the interface.

You have an intel card. There is no nvidia chip in this box.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#4
Quote:SPDIF connection to a Denon 3803 7.1 channel amp that accepts Dolby 7.1 and DTS-ES

SPDIF can only carry 2 pcm channels. Therefore only Dolby AC3 and Dolby DTS will work as they are virtual formats. No HD passthrough will work.

I don't see the SPDIF output on your Brix - does it even have one?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
Hi,

Below is the link to the debug log

http://xbmclogs.com/show.php?id=318430

Yes the Brix has SPDIF output - see this link http://www.gigabyte.com.au/products/prod...id=4859#ov

There is no option on my projector to "just scan" or "fix".
Reply
#6
Ah that little adapter plugged into the front.

Quote:22:05:27 T:140314786437056 NOTICE: Device 6
22:05:27 T:140314786437056 NOTICE: m_deviceName : iec958:CARD=PCH,DEV=0
22:05:27 T:140314786437056 NOTICE: m_displayName : HDA Intel PCH
22:05:27 T:140314786437056 NOTICE: m_displayNameExtra: ALC269VC Digital S/PDIF
22:05:27 T:140314786437056 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
22:05:27 T:140314786437056 NOTICE: m_channels : FL,FR
22:05:27 T:140314786437056 NOTICE: m_sampleRates : 32000,44100,48000,88200,96000,192000
22:05:27 T:140314786437056 NOTICE: m_dataFormats : AE_FMT_AC3,AE_FMT_DTS,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE

This should be the device you need to use. Set the settings level to advanced. Enable passthrough, choose the above device as passthrough device. Then post a log with this sample: https://dl.dropboxusercontent.com/u/5572...20Test.avi


Provide:
DISPLAY=:0 /usr/lib/xbmc/xbmc-xrandr | pastebinit

after a fresh boot, please.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#7
Hi,

Here is the xbmc log http://xbmclogs.com/show.php?id=319259 . I will reboot and provide the display in a sec.

Thank you again for your assistance.
Reply
#8
Quote:18:58:49 T:139956878046976 DEBUG: CActiveAESink::OpenSink - trying to open device ALSA:iec958:CARD=PCH,DEV=0
18:58:49 T:139956878046976 DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 2 Output Channel Count: 2
18:58:49 T:139956878046976 DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: RAW,RAW
18:58:49 T:139956878046976 DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: RAW,RAW
18:58:49 T:139956878046976 INFO: CAESinkALSA::Initialize - Attempting to open device "iec958:CARD=PCH,DEV=0"
18:58:49 T:139956878046976 INFO: CAESinkALSA::Initialize - Opened device "iec958:CARD=PCH,DEV=0,AES0=0x06,AES1=0x82,AES2=0x00,AES3=0x02"
18:58:49 T:139956878046976 DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 2400, bufferSize 9600
18:58:49 T:139956878046976 DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 2400, bufferSize 9600
18:58:49 T:139956878046976 DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 200 ms
18:58:49 T:139956878046976 DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 2 Output Channel Count: 2
18:58:49 T:139956878046976 DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: RAW,RAW
18:58:49 T:139956878046976 DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: RAW,RAW
18:58:49 T:139956878046976 DEBUG: CActiveAESink::OpenSink - ALSA Initialized:
18:58:49 T:139956878046976 DEBUG: Output Device : HDA Intel PCH
18:58:49 T:139956878046976 DEBUG: Sample Rate : 48000
18:58:49 T:139956878046976 DEBUG: Sample Format : AE_FMT_S16NE
18:58:49 T:139956878046976 DEBUG: Channel Count : 2
18:58:49 T:139956878046976 DEBUG: Channel Layout: RAW,RAW
18:58:49 T:139956878046976 DEBUG: Frames : 2400
18:58:49 T:139956878046976 DEBUG: Frame Samples : 4800
18:58:49 T:139956878046976 DEBUG: Frame Size : 4

SPDIF seems to work correctly. Are you sure it is not muted or in passthrough case - the AVR on the wrong channel? Try alsamixer -c X (where X is your card number) ...

Btw. your weather script spams the whole main thread.

From xbmc side everything looks fine.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#9
Here is the video log

http://paste.ubuntu.com/8563510/
Reply
#10
Quote: <mode id="0x48" name="1920x1080i" w="1920" h="1080" hz="30.00000" current="true" preferred="true"/>
<mode id="0xae" name="1920x1080i" w="1920" h="1080" hz="29.97010" current="false" preferred="false"/>

Those are the issues. You need an xorg.conf that adds the 720p modelines. So that the Xserver picks them up at first.

Wondering as there are other 1080p60 modelines too.

Next time try:

DISPLAY=:0 /usr/lib/xbmc/xbmc-xrandr --output HDMI1 --mode 0xac
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#11
Hi,

I have looked at ALSA mixer and checked all of the settings - all channels are on and the amp is set to the correct outputs. I have checked with another device.

I am not getting any sound from the linux box at all. got a 2.5mm mono jack to RCA cable that is new.

Just tried

DISPLAY=:0 /usr/lib/xbmc/xbmc-xrandr --output HDMI1 --mode 0xac

no impact to the picture still overscaning.
Reply
#12
Finally fixed this - was the physical plug that was the issue.

Monitor issue still persistent. Not an issue when you boot into XBMC directly.

Thanks for your help.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMCbuntu - SPDIF & Screen resoultion0