Asus Xonar STX II - No sound on fresh Kodi 14.2 - Ubuntu 14.04 installation

Asked by Buggy

I've installed Kodi (XMBC) mediacenter, by using "Kodibuntu" installation, which is based on Ubuntu 14.04. Onboard sound card worked out of the box. Few days ago I've got new Asus Essence Xonar STX II sound card, I disabled onboard sound, and even though everything looks good (by looking at various alsa commands and /proc/asound/* directory), there is no sound at all, neither to speakers, nor headphone.

What I tried:
- upgrade to Ubuntu 14.04.2 and linux kernel 3.16 (no result)
- install Deadbeef audio player, and set audio output to "Asus STX II (Multichannel) with direct ...." (no result)

Even though i could not find any warning/error, still there is no sound on my speakers/headphones. Yet, sound card is working properly, because when I upgrade to linux kernel 3.17 it worked correctly. However, due to breaking other things, I can't stay at 3.17.

As far as I know, there is no pulseaudio on this installation. I tried to reinstall Kodibuntu numerous times, while testing, also I tried with fresh installation of Ubuntu 14.04, but no success.

Outputs are not muted. I've run alsamixer and check master volume and mute status. And I didn't forget to bring molex (power supply) to the sound card, which is required for internal amplifier.

Output of alsa-info.sh is here:
http://pastebin.com/sZ5RFuah

Output from /proc/asound/card0/pcm0p/sub0 directory, while playing 192 kHz track in Deadbeef with direct output to "hw:0,0".

hw_params
=========
access: RW_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 192000 (192000/1)
period_size: 1024
buffer_size: 8192

sw_params
=========
tstamp_mode: NONE
period_step: 1
avail_min: 1024
start_threshold: 1
stop_threshold: 8192
silence_threshold: 0
silence_size: 0
boundary: 4611686018427387904

info
===
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: Multichannel
name: Multichannel
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0

status
=====
state: RUNNING
owner_pid : 5007
trigger_time: 2397.649818832
tstamp : 2452.621972405
delay : 7900
avail : 292
avail_max : 7200
-----
hw_ptr : 10554660
appl_ptr : 10562560

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Solved by:
Buggy
Solved:
Last query:
Last reply:
Revision history for this message
Buggy (vladimir-bugarski) said :
#2

Problem is finally solved !!!

My motherboard is MSI A88XI AC with AMD A6-6400K CPU. I found on some forum that kernel boot option "iommu=soft" can help. This option solved my problem.