You are not logged in.

#1 2015-12-15 22:43:30

mozo
Member
Registered: 2015-05-26
Posts: 32

Problem with Asus Xonar DG SI

Hello everyone. Firstly I'm sorry for my bad english for it's not my native language. I'll try to explain my problem with this sound card. I purchased it yesterday and since then I try to solve the problem. Alsa didn't see the card. Kmix also didn't see it, so pavucontrol and alsamixer. I can load sudo modprobe snd_oxygen  without problems and it runs. When I issue "lspci | grep media" the card is there:

[mozo@mozo ~]$ lspci | grep media
06:01.0 Multimedia audio controller: C-Media Electronics Inc CMI8788 [Oxygen HD Audio]

lspci -vnn | grep -A1 -i audio:

[mozo@mozo ~]$ lspci -vnn | grep -A1 -i audio
01:00.1 Audio device [0403]: NVIDIA Corporation GM204 High Definition Audio Controller [10de:0fbb] (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device [1043:8506]
--
06:01.0 Multimedia audio controller [0401]: C-Media Electronics Inc CMI8788 [Oxygen HD Audio] [13f6:8788]
        Subsystem: ASUSTeK Computer Inc. Device [1043:855e]

lspci -nn | grep -i audio:

[mozo@mozo ~]$ lspci -nn | grep -i audio
01:00.1 Audio device [0403]: NVIDIA Corporation GM204 High Definition Audio Controller [10de:0fbb] (rev a1)
06:01.0 Multimedia audio controller [0401]: C-Media Electronics Inc CMI8788 [Oxygen HD Audio] [13f6:8788]

I tried this method but errors occured when compiling it and I give in. This chip is definitely supported.
Will I can use this card or RMA it? Thank you in advance to everyone who wish to help me. I will glad someone to help mi with compile ALSA with oxygen support too.

Offline

#2 2015-12-16 02:02:31

0strodamus
Member
Registered: 2014-01-22
Posts: 96

Re: Problem with Asus Xonar DG SI

Is your card PCI or PCIe? If it is PCIe, it may not be supported by ALSA yet. I have an HT Omega Claro that works well and an HT Omega eClaro that doesn't work with ALSA at all. Both cards are based on the CMI8788 like your card.


archlinux | OpenRC | TOMOYO Linux | Xfce

"In his house at R'lyeh dead Cthulhu waits dreaming."

Offline

#3 2015-12-16 10:53:50

mozo
Member
Registered: 2015-05-26
Posts: 32

Re: Problem with Asus Xonar DG SI

Hello thanks for the input. My card is PCI not PCIe.

Offline

#4 2015-12-16 11:32:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: Problem with Asus Xonar DG SI

aplay -l doesn't list anything? anything related to the soundcard in the journal/dmesg? You might want to use lspci -k as that will tell you about the loaded kernel modules/if any

Last edited by V1del (2015-12-16 11:33:59)

Offline

#5 2015-12-16 12:00:32

mozo
Member
Registered: 2015-05-26
Posts: 32

Re: Problem with Asus Xonar DG SI

No, it doesn't see it too:

[mozo@mozo ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Before I tried to compile ALSA with oxygen support snd loads without problems but it no makes difference. After that, when I tried to compile ALSA, snd gives error at loading:

[mozo@mozo ~]$ sudo modprobe snd_oxygen
modprobe: ERROR: ctx=0x1ce1010 path=/lib/modules/4.2.5-1-ARCH/kernel/sound/pci/oxygen/snd-oxygen-lib.ko.gz error=No such file or directory
modprobe: ERROR: ctx=0x1ce1010 path=/lib/modules/4.2.5-1-ARCH/kernel/sound/pci/oxygen/snd-oxygen-lib.ko.gz error=No such file or directory
modprobe: ERROR: could not insert 'snd_oxygen': Unknown symbol in module, or unknown parameter (see dmesg)

And lsmod:

[mozo@mozo ~]$ lsmod | grep ^snd
snd_hda_codec_hdmi     49152  1
snd_hda_intel          32768  2
snd_hda_codec         106496  2 snd_hda_codec_hdmi,snd_hda_intel
snd_hda_core           49152  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                86016  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
snd_timer              28672  1 snd_pcm
snd                    65536  10 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel

The output from depmod is long and I don't know the tags for spoiler in order to hide it.

When I try to compile I managed to fix several errors but the last error I don't know how to fix. I have downloaded the package alsa-driver, put it to /usr/src, chmod +x it. After:

./configure --with-cards=oxygen --with-sequencer=yes ; make ; make install

it gives this error:

/usr/src/alsa/acore/timer.c:394:3: error: implicit declaration of function ‘do_posix_clock_monotonic_gettime’ [-Werror=implicit-function-declaration]

And other related errors bellow:

cp: cannot stat ‘snd-page-alloc.ko’: No such file or directory
cp: cannot stat ‘snd-pcm.ko’: No such file or directory
cp: cannot stat ‘snd-rawmidi.ko’: No such file or directory
cp: cannot stat ‘snd-timer.ko’: No such file or directory
cp: cannot stat ‘snd.ko’: No such file or directory
/usr/src/alsa/Rules.make:48: recipe for target 'modules_install' failed
make[1]: *** [modules_install] Error 1
make[1]: Leaving directory '/usr/src/alsa/acore'
Makefile:206: recipe for target 'install-modules' failed
make: *** [install-modules] Error 1

I'm in complete deadlock...

Last edited by mozo (2015-12-16 12:01:50)

Offline

#6 2015-12-16 12:35:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: Problem with Asus Xonar DG SI

What are you trying to do, the default kernel contains the oxygen module no need for you to compile anything. What's in

pacman -Q linux
uname -a

Maybe the kernel you are running atm has a version mismatch because you didn't reboot after a kernel update or forgot to mount your boot partition during update which breaks module loading. if the kernels in the output differ Make sure to have boot mounted and do a

pacman -S linux

Last edited by V1del (2015-12-16 12:36:28)

Offline

#7 2015-12-16 12:42:50

mozo
Member
Registered: 2015-05-26
Posts: 32

Re: Problem with Asus Xonar DG SI

The system is up to date sad

[mozo@mozo ~]$ pacman -Q linux
linux 4.2.5-1
[mozo@mozo ~]$ uname -a
Linux mozo 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 GNU/Linux

I wonder if I download the right package. I download alsa-driver from here:

http://www.alsa-project.org/snapshot/

Is this the right package?

Last edited by mozo (2015-12-16 12:43:12)

Offline

#8 2015-12-16 13:06:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: Problem with Asus Xonar DG SI

All of this exists in the default kernel there's no need to go download stuff from the internet. Post your dmesg (in a pasteclient website preferably).

Offline

#9 2015-12-16 13:16:42

mozo
Member
Registered: 2015-05-26
Posts: 32

Re: Problem with Asus Xonar DG SI

Thank you smile Here it is:

http://pastebin.com/PZpDHqYa

Offline

#10 2015-12-17 09:25:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: Problem with Asus Xonar DG SI

There's nothing in there pertaining to audio, you might have to output it into a file like so dmesg > output.txt or something like

dmesg | grep -E 'ALSA|snd'

Offline

#11 2015-12-17 11:15:21

mozo
Member
Registered: 2015-05-26
Posts: 32

Re: Problem with Asus Xonar DG SI

Here it is:

[mozo@mozo ~]$ dmesg | grep -E 'ALSA|snd'
[    2.420012] snd_hda_intel 0000:01:00.1: Disabling MSI
[    2.420023] snd_hda_intel 0000:01:00.1: Handle VGA-switcheroo audio client
[    2.434059] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC892: line_outs=4 (0x14/0x15/0x16/0x17/0x0) type:line
[    2.434065] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.434069] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    2.434072] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    2.434075] snd_hda_codec_realtek hdaudioC1D0:    dig-out=0x11/0x1e
[    2.434078] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    2.434082] snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
[    2.434086] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
[    2.434089] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a

And:

[mozo@mozo ~]$ lsmod | grep ^snd
snd_hda_codec_hdmi     49152  1
snd_hda_codec_realtek    73728  1
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
snd_hda_intel          32768  4
snd_cmipci             36864  2
snd_hda_codec         106496  4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_mpu401_uart        16384  1 snd_cmipci
snd_opl3_lib           20480  1 snd_cmipci
snd_hda_core           49152  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_rawmidi            28672  1 snd_mpu401_uart
snd_hwdep              16384  2 snd_hda_codec,snd_opl3_lib
snd_seq_device         16384  2 snd_rawmidi,snd_opl3_lib
snd_pcm                86016  5 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_cmipci,snd_hda_core
snd_timer              28672  2 snd_pcm,snd_opl3_lib
snd                    65536  25 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_mpu401_uart,snd_seq_device,snd_cmipci,snd_opl3_lib

And:

[mozo@mozo ~]$ systool -v -m snd_oxygen
Error opening module snd_oxygen
[mozo@mozo ~]$ sudo modprobe snd_oxygen 
[sudo] password for mozo: 
[mozo@mozo ~]$ systool -v -m snd_oxygen
Module = "snd_oxygen"

  Attributes:
    coresize            = "20480"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "0"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    enable              = "Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y"
    id                  = "(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
    index               = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"

  Sections:
    .bss                = "0xffffffffa05645c0"
    .data               = "0xffffffffa0564000"
    .exit.text          = "0xffffffffa0562f59"
    .gnu.linkonce.this_module= "0xffffffffa0564280"
    .init.text          = "0xffffffffa0006000"
    .note.gnu.build-id  = "0xffffffffa0563000"
    .rodata             = "0xffffffffa0563040"
    .rodata.str1.1      = "0xffffffffa0563970"
    .rodata.str1.8      = "0xffffffffa0563f90"
    .strtab             = "0xffffffffa00082a8"
    .symtab             = "0xffffffffa0007000"
    .text               = "0xffffffffa0561000"
    __mcount_loc        = "0xffffffffa0563d18"
    __param             = "0xffffffffa0563ca0"

I will RMA it. Four days I try. I give in... I intend getting Xonar DG with CMI8786 chip. I hope it will work out of the box.

Offline

Board footer

Powered by FluxBB