XBMC Community Forum
[Linux] HOW-TO install XBMC for Linux on Asrock ION 330 with full Ubuntu Desktop - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85)
+--- Forum: Tips, tricks, and step by step guides (/forumdisplay.php?fid=110)
+--- Thread: [Linux] HOW-TO install XBMC for Linux on Asrock ION 330 with full Ubuntu Desktop (/showthread.php?tid=54705)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30


- vikjon0 - 2009-08-18 11:03

Quote:I'm running my asrock with spdif passthrough and I get sound dropouts, could this solve my problem?

With XBMC SVN from aug 11 and alsa 1.0.20 it works fine without any .asoundrc
settings:
default
iec958


- poserdonut - 2009-08-18 17:29

vikjon0 Wrote:With XBMC SVN from aug 11 and alsa 1.0.20 it works fine without any .asoundrc
settings:
default
iec958

How did you upgrade to alsa 1.0.20? Did you compile it yourself or are there PPAs?


- vikjon0 - 2009-08-18 19:25

Quote:How did you upgrade to alsa 1.0.20? Did you compile it yourself or are there PPAs?
EDIT: Did you test without upgrading alsa? I didn't..interesting to know.


Try this from the xbmcbuntu guide:
Quote:sudo apt-get install wget
wget http://xbmc.org/wp-content/uploads/alsaup.sh
chmod +x alsaup.sh
sudo ./alsaup.sh -di

I did it like this:
Quote:sudo apt-get update
sudo apt-get upgrade
sudo apt-get install wget build-essential linux-headers-`uname -r`
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2
tar -xf alsa-driver-1.0.20.tar.bz2
cd alsa-driver-1.0.20
./configure
make
sudo make install



- pistachio - 2009-08-19 04:37

Thank vikjon. I'm getting closer following this guide. My setup is zotac 9300 itx with hdmi connected to tv and vga to lcd monitor (primary, I think). I just can't get my tv work without connecting the lcd monitor.

After running xbmc the first time on the lcd monitor, I set up dual monitor in "separate x screen" mode and start xbmc using "XBMC_HOME=/usr/share/xbmc SDL_VIDEO_FULLSCREEN_HEAD=1 /usr/bin/xbmc". xbmc can play video (no sound) on my tv. I skipped the xorg fixes part as it created other problems.

Now, my problem is the hdmi audio, no sound at all. I have tried hdmi, plug:hdmi, plughw:0,3 for audio device. What am I missing? (I already tested the connections in XP and hdmi audio worked.) Any other tools for troubleshooting? Please help.

Edit: I forgot to set the user and password as xbmc/xbmc during installation. Then, I adduser afterward and did the policy kit section as well. But I couldn't set the password to xbmc as it's shorter than 6. Does the user 'xbmc' and password 'xbmc' matter? Can it be run as different user? Thanks.


- poserdonut - 2009-08-19 06:50

vikjon0 Wrote:EDIT: Did you test without upgrading alsa? I didn't..interesting to know.


I will try to upgrade to a newer PPA version of xbmc and see if it changes anything before I try to upgrade alsa. Will report back when I've done it.


- vikjon0 - 2009-08-19 08:18

Quote:Now, my problem is the hdmi audio, no sound at all. I have tried hdmi, plug:hdmi, plughw:0,3 for audio device. What am I missing? (I already tested the connections in XP and hdmi audio worked.) Any other tools for troubleshooting? Please help.
I am not sure. I assume that you have unmuted the HDMI channel?
There is something called speaker test that could be used for testing, I havent't used it.
Since I have only used hdmi together with asrock ION 330 I don't know much about problems on other boards. I had no problem at all with this.

Quote:Edit: I forgot to set the user and password as xbmc/xbmc during installation. Then, I adduser afterward and did the policy kit section as well. But I couldn't set the password to xbmc as it's shorter than 6. Does the user 'xbmc' and password 'xbmc' matter? Can it be run as different user? Thanks.
I am sure it is possible to create a user that does not work correctly with sound.
There are groups etc that the user should be in.

an idea could be to make a standard setup, use the xbmc user and wait dual screen and all other setup before everything is working.


- pistachio - 2009-08-19 10:44

In ALSA config, sudo alsamixer, I checked again and didn't find the HDMI column. All I have are

Master / Headphone / PCM / Front / Front Mic / Front Mic Boost / Line / Mic / Mic Boost / IEC958 / IEC958 D / IEC958 1 / Speaker

Does HDMI mean PCM here? Thanks.

Edit: Also, sudo alsactl store 0, no output and I assumed no problem. But I read the man page, is it supposed to create /etc/asound.conf? I have no such file there. I think very likely these are the cause of no hdmi audio output.


- vikjon0 - 2009-08-19 10:51

One of the IEC958 is HDMI. Try unmuting everything and raise the volume on PCM and master.

You shouldn't need a .asoundrc to get sound on HDMI. if you want one you have to create it.


- pistachio - 2009-08-19 15:47

I finally get hdmi audio from my tv. All I did just unmute "IEC958 1" in alsamixer even its volume couldn't be raise, i.e. 00. All 3 "IEC958" "IEC958 D" "IEC958 1" are now at 00 level. Thanks to anyone offering help. esp vikjon's quick response. Thanks a lot!


- blittan - 2009-08-19 21:56

00 is actually the sign for infinity -> http://en.wikipedia.org/wiki/Infinity (it's a sideways 8)