Kodi Community Forum
[LINUX] ASRock IONSTAR 330 (NVIDIA ION) with XBMC for Linux performance and setup? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] ASRock IONSTAR 330 (NVIDIA ION) with XBMC for Linux performance and setup? (/showthread.php?tid=52460)

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


- vikjon0 - 2009-08-27

Quote:Have you updated Alsa to the latest version (1.0.20) ?
Both hdmi & spdif sound works on ASROCK ION 330 with the Ubuntu 9.04 alsa.

Digital
off
off
hdmi
hdmi
on

Would work on at least my TV.
Provided the hdmi channel (one of the iec958) is unmuted and pcm + master volume is up


- ripax - 2009-08-27

Quote:Both hdmi & spdif sound works on ASROCK ION 330 with the Ubuntu 9.04 alsa.

Digital
off
off
hdmi
hdmi
on

Would work on at least my TV.
Provided the hdmi channel (one of the iec958) is unmuted and pcm + master volume is up

Yes, this works on my TV. Smile
But I have tryed this before, with no luck, but now I disconnected the S/PDIF cable, and it works..

Quote:in XBMC settings->audio->configure hardware:
Digital output
AC3
DTS
output device "default"
passthrough "iec958"

And this work on my Souround system. WOW (trough the S/PDIF cable)
(I had to run the config with the alsa again, dont't know why?)

THANKS to both of youSmile


- stokedfish - 2009-08-28

Thanks for this thread, it's very helpful!


- SpoBo - 2009-08-29

Hi wise linux people of the world. I'm experiencing some issues here. For some reason I can't get AC3/dts/etc to work through XBMC.

My setup is Ubuntu 9.04 on an ASRock attached to my Sony KDL40W4000. All audio works, even flash in firefo, radiostreams, bootup sound ... but in XBMC I only get sound for simple mp3 auio streams. No AC3 etc.

Suggestions?

XBMC config:

Digital output
No AC3
No DTS
output device "HDMI"
passthrough "HDMI"
no downmix

Dropped the following in .asoundrc

Quote:# ~/.asoundrc or /etc/asound.conf
# ALSA configuration file

##### USAGE #####
# Save this file as "~/.asoundrc" (for user-specific sound configuration) or
# "/etc/asound.conf" (for system-wide sound configuration) and specify ALSA
# device names ad described in the next section.


##### DEVICE NAMES #####
# This configuration file defines four devices for use by the user. Those
# devices are "analog", "mixed-analog", "digital", and "mixed-digital". The
# user may also re-define "default" to be identical to one of the above-named
# devices (i.e. to send all sound output to the digital output unless otherwise
# specified). Use the device names as described below:
# - "analog" outputs to the analog output directly and (at least on software
# sound cards) blocks other audio output. After playback completes, "queued"
# sounds are output in sequence.
# - "mixed-analog" mixes audio output from multiple programs into the analog
# output (so you can hear beeps, alerts, and other noises while playing back
# an audio stream).
# - "digital" outputs to the digital output directly. Since most (all?)
# digital outputs expect 48kHz PCM audio, this may not work for some playback
# (i.e. CD's--which are 44.1kHz PCM audio--or 32kHz audio streams from TV
# recordings, etc.).
# - "mixed-digital"

# All other devices created within this file are used only by the configuration
# file itself and should /not/ be used directly. In other words, do not use
# the devices "analog-hw", "dmix-analog", "digital-hw", or "dmix-digital".


##### IMPORTANT #####
# To make this ALSA configuration file work with your sound card, you will need
# to define the appropriate card and device information for the "analog-hw" and
# "digital-hw" devices below. You can find the card and device information
# using "aplay -l".


##### Configuration File #####

# Override the default output used by ALSA. If you do not override the
# default, your default device is identical to the (unmixed) "analog" device
# shown below. If you prefer mixed and/or digital output, uncomment the
# appropriate four lines below (only one slave.pcm line).
#
# Note, also, that as of ALSA 1.0.9, "software" sound cards have been modified
# such that their default "default" device is identical to the "mixed-analog"
# device. Whether using an ALSA version before or after 1.0.9, it does no harm
# and has no affect on performance to redefine the device (even if the
# redefinition does not change anything). Also, by using this ALSA
# configuration file, you once again have access to unmixed analog output using
# the "analog" device.
pcm.!default {
type plug
## Uncomment the following to use (unmixed) "analog" by default
# slave.pcm "analog-hw"
## Uncomment the following to use "mixed-analog" by default
# slave.pcm "dmix-analog"
## Uncomment the following to use (unmixed) "digital" by default
# slave.pcm "digital-hw"
## Uncomment the following to use "mixed-digital" by default
slave.pcm "dmix-digital"
}

# Control device (mixer, etc.) for the card
ctl.!default {
type hw
card 0
}

# Alias for (converted) analog output on the card
# - This is identical to the device named "default"--which always exists and
# refers to hw:0,0 (unless overridden)
# - Therefore, we can specify "hw:0,0", "default", or "analog" to access analog
# output on the card
# - Note that as of ALSA 1.0.9, "software" sound card definitions redefine
# "default" to do mixing, meaning this device is different from "default" and
# allows playback while blocking other sound sources (until playback
# completes).
pcm.analog {
type plug
slave.pcm "analog-hw"
}

# Control device (mixer, etc.) for the card
ctl.analog {
type hw
card 0
}

# Alias for (converted) mixed analog output on the card
# - This will accept audio input--regardless of rate--and convert to the rate
# required for the dmix plugin (in this case 48000Hz)
# - Note that as of ALSA 1.0.9, "software" sound card definitions redefine
# "default" to do mixing, meaning this device is identical to "default" for
# "software" sound cards.
pcm.mixed-analog {
type plug
slave.pcm "dmix-analog"
}

# Control device (mixer, etc.) for the card
ctl.mixed-analog {
type hw
card 0
}

# Alias for (converted) digital (S/PDIF) output on the card
# - This will accept audio input--regardless of rate--and convert to the rate
# required for the S/PDIF hardware (in this case 48000Hz)
pcm.digital {
type plug
slave.pcm "digital-hw"
}

# Control device (mixer, etc.) for the card
ctl.digital {
type hw
card 0
}

# Alias for mixed (converted) digital (S/PDIF) output on the card
# - This will accept audio input--regardless of rate--and convert to the rate
# required for the S/PDIF hardware (in this case 48000Hz)
pcm.mixed-digital {
type plug
slave.pcm "dmix-digital"
}

# Control device (mixer, etc.) for the card
ctl.mixed-digital {
type hw
card 0
}

# The following devices are not useful by themselves. They require specific
# rates, channels, and formats. Therefore, you probably do not want to use
# them directly. Instead use of of the devices defined above.

# Alias for analog output on the card
# Do not use this directly--it requires specific rate, channels, and format
pcm.analog-hw {
type hw
card 0
# The default value for device is 0, so no need to specify
# - Uncomment one of the below or create a new "device N" line as appropriate
# for your sound card or
device 1
# device 4
device 2
}

# Control device (mixer, etc.) for the card
ctl.analog-hw {
type hw
card 0
}

# Alias for digital (S/PDIF) output on the card
# Do not use this directly--it requires specific rate, channels, and format
pcm.digital-hw {
type hw
card 0
device 1
# - Comment out "device 1" above and uncomment one of the below or create a
# new "device N" line as appropriate for your sound card or
# device 2
# device 4
device 3
}

# Control device (mixer, etc.) for the card
ctl.digital-hw {
type hw
card 0
}

# Direct software mixing plugin for analog output on the card
# Do not use this directly--it requires specific rate, channels, and format
pcm.dmix-analog {
type dmix
ipc_key 1234
slave {
pcm "analog-hw"
period_time 0
period_size 1024
buffer_size 4096
rate 48000
}
}

# Control device (mixer, etc.) for the card
ctl.dmix-analog {
type hw
card 0
}

# Direct software mixing plugin for digital (S/PDIF) output on the card
# Do not use this directly--it requires specific rate, channels, and format
pcm.dmix-digital {
type dmix
ipc_key 1235
slave {
pcm "digital-hw"
period_time 0
period_size 1024
buffer_size 4096
rate 48000
}
}

# Control device (mixer, etc.) for the card
ctl.dmix-digital {
type hw
card 0
}

I also made sure to unmute the HDMI stuff in alsamixer (otherwise the other audio wouldn't work either) and I have told Ubuntu to use the ALSA channels in the Audio setup.

What am I doing wrong here?
ps: dolby digital works ..... but when I skip a couple of seconds forwards or backwards in the movie it crashes. Perhaps it helps to diagnose the problem Smile

ps2: when I tell XBMC i have an AC3 & DTS capable receiver my AC3 movies play twice as fast... also funny. I'm starting to think an Ion PC is just not a viable media center solution :/


- beklyn - 2009-08-29

@SpoBo sounds like you are using the SVN ? The current version is broken with AC3/DTS Shocked


- Asure - 2009-08-29

Spobo: I guess you have the latest SVN version of XBMC installed ? It has 'fast video' problems and some audio issues. Try installed a previous version, it should solve your issues..


- SpoBo - 2009-08-30

The version I'm using was installed through apt-get ... not exactly sure through what server that went but hey. The version info in XBMC is "pre-9.10 r22290 (Compiled: August 20 2009)".

Should I try installing another version?

ps: looked it up ... was installed through ppa.launchpad.net/main.
Suggestions then for a different repository?

edit: mevemind :o apparently I added the SVN repository *arghhh*
Instaling the right one now. Expect an update for my fellow Ion owners with my impressions of the correct XBMC version :')

edit2:Yup ... that fixed it. Still experiencing some unexplainable crashes now and then but I'll check my crash logs. Thx! I also have menusounds by the way. Had to rescrape my library though and I can't seem to set a background on the Aeon skin anymore... odd. Anyway, different problems. Playback is fine now. Thx!


apt-get for specified version - joggs - 2009-09-08

I did a clean install and now need to download a svn version that i want to specify, ie not the latest, but I cant get the syntax right.
Could you please help out with a valid apt-get command line for getting lets say xbmc svn 22290 ?

Couldnt find any other thread where this is mentioned.


Setting up XBMCLive on my new ASRock330. - PantsOnFire - 2009-09-10

My ASRock330 should be arriving tomorrow. And I will want to be using XBMCLive on it. I don't have a memstick yet so I can't run it from there, but I would like to be able to boot XBMCLive from the HDD for now. I also want to put XP on it.

1) Do I need to have XBMCLive on a separate partition of the (320GB) hdd?

2) I've read that I need to create a GRUB menu to choose between XP and XBMCLive, does anyone know how to do this?

3) Presumably the GRUB menu requires user input (keyboard) to choose which thing to boot, but Im looking for a solution that needs no keyboard of mouse plugged in. (I plan to use a wiimote for windows). Is there a way of having the system boot XBMC unless i specifically choose to run XP? (I suppose using a usb remote at the grub menu is not on the cards).

4) When I do eventually get a memstick, I would like the ASRock to load XBMCLive from power-on, and if that stick is not present at boot, it would just boot XP. Is this possible?

5) To start off on the good foot, I want to flash the bios to get the quietest fan. Is there any danger to doing this? Would it void my warranty? Would you recommend it as one of the first things I do once I've got this box? Where do I get the newest bios?

6) 24p video. I read that in order to get xbmcLive to run at 24Hz you need to boot it into ubuntu/linux and set it that way? Is that the only way of doing it, because i dont have ubuntu at the moment.


I'm looking forward to having xbmclive hibernate/suspend and then using the remote to wake-on-usb Big Grin Im hoping I can do something similar in windows and have xbmc kick back in when i do the fancy 4-second boot thing. (ile have another xbmc setup in winXP using launchplayer hopefully).


Looking forward to getting this box set up, greatful if anyone can help me with these preliminary steps.

Cool


- >>X<< - 2009-09-10

PantsOnFire Wrote:My ASRock330 should be arriving tomorrow. And I will want to be using XBMCLive on it. I don't have a memstick yet so I can't run it from there, but I would like to be able to boot XBMCLive from the HDD for now. I also want to put XP on it.

1) Do I need to have XBMCLive on a separate partition of the (320GB) hdd?

2) I've read that I need to create a GRUB menu to choose between XP and XBMCLive, does anyone know how to do this?

3) Presumably the GRUB menu requires user input (keyboard) to choose which thing to boot, but Im looking for a solution that needs no keyboard of mouse plugged in. (I plan to use a wiimote for windows). Is there a way of having the system boot XBMC unless i specifically choose to run XP? (I suppose using a usb remote at the grub menu is not on the cards).

4) When I do eventually get a memstick, I would like the ASRock to load XBMCLive from power-on, and if that stick is not present at boot, it would just boot XP. Is this possible?

5) To start off on the good foot, I want to flash the bios to get the quietest fan. Is there any danger to doing this? Would it void my warranty? Would you recommend it as one of the first things I do once I've got this box? Where do I get the newest bios?

6) 24p video. I read that in order to get xbmcLive to run at 24Hz you need to boot it into ubuntu/linux and set it that way? Is that the only way of doing it, because i dont have ubuntu at the moment.


I'm looking forward to having xbmclive hibernate/suspend and then using the remote to wake-on-usb Big Grin Im hoping I can do something similar in windows and have xbmc kick back in when i do the fancy 4-second boot thing. (ile have another xbmc setup in winXP using launchplayer hopefully).


Looking forward to getting this box set up, greatful if anyone can help me with these preliminary steps.

Cool

Last time I looked you couldn't dual boot XP with XBMC Live from the hard drive because XBMC Live formats the whole drive before installing ,you would have to install XP then do a minimal install of XBMC not XBMC Live

Your best option is buy a USB stick and not bother trying to dual boot of the Hard drive then you can do what you said make USB stick first boot device booting Live and HDD second boot device booting XP that way when the stick is in it boots Live and when out XP


- vikjon0 - 2009-09-10

Quote:Last time I looked you couldn't dual boot XP with XBMC Live from the hard drive because XBMC Live formats the whole drive before installing ,you would have to install XP then do a minimal install of XBMC not XBMC Live

Or install live first and then XP. This will work fine but I guess you need to repair the bootloader afterwards since XP bootwhatever cannot boot Linux.


- >>X<< - 2009-09-10

vikjon0 Wrote:Or install live first and then XP. This will work fine but I guess you need to repair the bootloader afterwards since XP bootwhatever cannot boot Linux.

That is a nightmare solution IMHO which is why I didn't suggest it Shocked

If I was him I would buy a USB stick now and do it that way they are cheap and you could get it next day delivery much easier than the other options


- kurai - 2009-09-10

>>X<<' Wrote:Last time I looked you couldn't dual boot XP with XBMC Live from the hard drive because XBMC Live formats the whole drive before installing ,you would have to install XP then do a minimal install of XBMC not XBMC Live
Dual booting is really fairly simple, since the live CD includes the fdisk tool (and always has).

Boot from Live CD, stop the XBMC installer and drop to command line shell.

Run fdisk from there to create your preferred partition sizes, then reboot and let XBMC-Live installer do it's thing, instructing it not to use the full disk, but one of the partitions you just created.

Once it's done, install Windows onto one of the other partitions.

After Windows install has completed boot from the Live CD once more, and run the grub config. It will detect both the Linux & the Windows installs, and overwrite Windows boot-loader with a new boot config menu that has both - select your preferred OS for autostarting and set the wait timeout for user input for a different selection to whatever you want.

Job done - not a nightmare at all Wink


- 3xiM - 2009-09-13

Im trying to get the 24p trick to work. Im running a ion 330 with a usb stick installed with xbmc live. Then I load the ubuntu live cd, do EXACTLY as the guide says, save the changes whithout problems. BUT when I reboot, and check the settings again in Unbuntu live the changes are Gone....


- PantsOnFire - 2009-09-13

3xiM Wrote:Im trying to get the 24p trick to work. Im running a ion 330 with a usb stick installed with xbmc live. Then I load the ubuntu live cd, do EXACTLY as the guide says, save the changes whithout problems. BUT when I reboot, and check the settings again in Unbuntu live the changes are Gone....

Don't quote me but im guessing this only applies to ppl running Ubuntu, then XBMC once their OS has loaded. -because otherwise I fail to see how loading an OS from a CD and messing with a few settings can affect anything on an XBMCLive USB stick setup. Someone correct me if I'm wrong.