You are not logged in.

#1 2014-07-20 08:52:17

Name Taken
Banned
Registered: 2014-04-09
Posts: 113

[SOLVED] Xonar DGX

When the 3.14 kernel came out my sound stop working so I've been sticking to the 3.10 LTS release. Now that 3.14 is the LTS release, my audio is no longer working again. I am using the ASUS Xonar DGX sound card after my motherboard's sound card broke. I have tried both ALSA and PulseAudio and every kernel release up to the current 3.15-6 to no avail. Both the system and ALSA detect the sound card so I compiled my own kernel to make sure the module is enable which also did not work. Would this mean I have to stick to 3.13 forever (or until I get a new desktop)?

	lspci | grep media
04:04.0 Multimedia audio controller: C-Media Electronics Inc CMI8788 [Oxygen HD Audio]

11htkow.jpg ruactc.png

Last edited by Name Taken (2014-07-20 14:34:57)

Offline

#2 2014-07-20 09:31:09

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Xonar DGX

Screenshots are insufficient for troubleshooting. Please post:

aplay -lL;
lspci -nn | grep -i audio;
lsmod | grep ^snd;
systool -v -m snd_oxygen;
amixer;

As far as I recall, CMI8788 Oxygen uses snd-oxygen, should this have changed correct the systool command.

Offline

#3 2014-07-20 09:54:35

Name Taken
Banned
Registered: 2014-04-09
Posts: 113

Re: [SOLVED] Xonar DGX

emeres wrote:

Screenshots are insufficient for troubleshooting. Please post:

aplay -lL;
lspci -nn | grep -i audio;
lsmod | grep ^snd;
systool -v -m snd_oxygen;
amixer;

As far as I recall, CMI8788 Oxygen uses snd-oxygen, should this have changed correct the systool command.

null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=DGX
    Xonar DGX, Multichannel
    Default Audio Device
sysdefault:CARD=DGX
    Xonar DGX, Multichannel
    Default Audio Device
front:CARD=DGX,DEV=0
    Xonar DGX, Multichannel
    Front speakers
surround21:CARD=DGX,DEV=0
    Xonar DGX, Multichannel
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=DGX,DEV=0
    Xonar DGX, Multichannel
    4.0 Surround output to Front and Rear speakers
surround41:CARD=DGX,DEV=0
    Xonar DGX, Multichannel
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=DGX,DEV=0
    Xonar DGX, Multichannel
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=DGX,DEV=0
    Xonar DGX, Multichannel
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=DGX,DEV=0
    Xonar DGX, Multichannel
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=DGX,DEV=0
    Xonar DGX, Multichannel
    IEC958 (S/PDIF) Digital Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: DGX [Xonar DGX], device 0: Multichannel [Multichannel]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: DGX [Xonar DGX], device 1: Digital [Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
04:04.0 Multimedia audio controller [0401]: C-Media Electronics Inc CMI8788 [Oxygen HD Audio] [13f6:8788]
snd_oxygen             16679  0 
snd_oxygen_lib         30333  1 snd_oxygen
snd_mpu401_uart         5979  1 snd_oxygen_lib
snd_rawmidi            20278  1 snd_mpu401_uart
snd_seq_device          5244  1 snd_rawmidi
snd_pcm                83207  1 snd_oxygen_lib
snd_timer              19294  1 snd_pcm
snd                    61276  7 snd_oxygen,snd_timer,snd_pcm,snd_rawmidi,snd_oxygen_lib,snd_mpu401_uart,snd_seq_device
Module = "snd_oxygen"

  Attributes:
    coresize            = "16679"
    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                = "0xffffffffa05c7300"
    .data               = "0xffffffffa05c6e00"
    .exit.text          = "0xffffffffa05c5d55"
    .gnu.linkonce.this_module= "0xffffffffa05c7080"
    .init.text          = "0xffffffffa05ca000"
    .note.gnu.build-id  = "0xffffffffa05c5d68"
    .rodata             = "0xffffffffa05c5dc0"
    .rodata.str1.1      = "0xffffffffa05c67b0"
    .rodata.str1.8      = "0xffffffffa05c6db8"
    .strtab             = "0xffffffffa05cb2e0"
    .symtab             = "0xffffffffa05ca020"
    .text               = "0xffffffffa05c4000"
    __mcount_loc        = "0xffffffffa05c6b40"
    __param             = "0xffffffffa05c6ae0"

Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB] [on]
  Front Right: Playback 255 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: cvolume cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Limits: Capture -24 - 24
  Front Left: Capture 0 [50%] [0.00dB] [off]
  Front Right: Capture 0 [50%] [0.00dB] [off]
Simple mixer control 'Line',0
  Capabilities: cvolume cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Limits: Capture -24 - 24
  Front Left: Capture 0 [50%] [0.00dB] [off]
  Front Right: Capture 0 [50%] [0.00dB] [off]
Simple mixer control 'Mic',0
  Capabilities: cvolume cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Limits: Capture -24 - 24
  Front Left: Capture 0 [50%] [0.00dB] [on]
  Front Right: Capture 0 [50%] [0.00dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Loopback',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Validity Check',0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Aux',0
  Capabilities: cvolume cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Limits: Capture -24 - 24
  Front Left: Capture 24 [100%] [12.00dB] [off]
  Front Right: Capture 24 [100%] [12.00dB] [off]
Simple mixer control 'ADC High-pass Filter',0
  Capabilities: cenum
  Items: 'Active' 'Frozen'
  Item0: 'Active'
Simple mixer control 'Analog Input Monitor',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 1
  Mono: Playback 1 [100%] [0.00dB] [off]
Simple mixer control 'Analog Output',0
  Capabilities: penum
  Items: 'Stereo Headphones' 'Stereo Headphones FP' 'Multichannel'
  Item0: 'Stereo Headphones FP'
Simple mixer control 'Digital Input Monitor',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 1
  Mono: Playback 1 [100%] [0.00dB] [off]
Simple mixer control 'Stereo Upmixing',0
  Capabilities: enum
  Items: 'Front' 'Front+Surround'
  Item0: 'Front+Surround'

Offline

#4 2014-07-20 10:22:51

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Xonar DGX

Disable IEC958 first.

amixer sset 'IEC958' off

Run speaker-test. Then set analog output to multichannel:

amixer sset 'Analog Output' 'Multichannel'
# or
amixer sset 'Analog Output' 2
# both untested, you would have to figure it out yourself if those two do not work

Then run speaker-test

speaker-test -c 8 -t wav -D plug:surround71

Offline

#5 2014-07-20 12:21:23

Name Taken
Banned
Registered: 2014-04-09
Posts: 113

Re: [SOLVED] Xonar DGX

emeres wrote:

Disable IEC958 first.

amixer sset 'IEC958' off

Run speaker-test. Then set analog output to multichannel:

amixer sset 'Analog Output' 'Multichannel'
# or
amixer sset 'Analog Output' 2
# both untested, you would have to figure it out yourself if those two do not work

Then run speaker-test

speaker-test -c 8 -t wav -D plug:surround71

Setting to multichannel worked. Weird that his only happened after kernel 3.13.

Offline

#6 2014-07-20 12:31:04

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Xonar DGX

Which exact command did you use? Kernel comes with modules, this option might have been added and set by default to 'Stereo Headphones FP', there is nothing weird about this. Maybe it is even mentioned in the changelog[s_].

Offline

#7 2014-07-20 12:41:24

Name Taken
Banned
Registered: 2014-04-09
Posts: 113

Re: [SOLVED] Xonar DGX

emeres wrote:

Which exact command did you use? Kernel comes with modules, this option might have been added and set by default to 'Stereo Headphones FP', there is nothing weird about this. Maybe it is even mentioned in the changelog[s_].

amixer sset 'Analog Output' 'Multichannel'

Which module are you referring to? I'm looking through the kernel config of 3.13 and 3.14.

Offline

#8 2014-07-20 13:18:05

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Xonar DGX

Which module did you provide information about? Also I doubt it would be named directly, kernel has too many changes to concentrate on minor issues. But check alsa versions and then look the alsa changelog up.

Offline

#9 2014-07-20 13:43:13

Name Taken
Banned
Registered: 2014-04-09
Posts: 113

Re: [SOLVED] Xonar DGX

emeres wrote:

Which module did you provide information about? Also I doubt it would be named directly, kernel has too many changes to concentrate on minor issues. But check alsa versions and then look the alsa changelog up.

C-Media 8786, 8787, 8788 Oxygen (see second screenshot). Between 3.13 and 3.14, these are the only audio related module changes.

< CONFIG_SND_SUPPORT_OLD_API=y
> # CONFIG_SND_SUPPORT_OLD_API is not set
< CONFIG_SND_HDA_CODEC_REALTEK=y
< CONFIG_SND_HDA_CODEC_ANALOG=y
< CONFIG_SND_HDA_CODEC_SIGMATEL=y
< CONFIG_SND_HDA_CODEC_VIA=y
< CONFIG_SND_HDA_CODEC_HDMI=y
> CONFIG_SND_HDA_CODEC_REALTEK=m
> CONFIG_SND_HDA_CODEC_ANALOG=m
> CONFIG_SND_HDA_CODEC_SIGMATEL=m
> CONFIG_SND_HDA_CODEC_VIA=m
> CONFIG_SND_HDA_CODEC_HDMI=m
< CONFIG_SND_HDA_CODEC_CIRRUS=y
< CONFIG_SND_HDA_CODEC_CONEXANT=y
< CONFIG_SND_HDA_CODEC_CA0110=y
< CONFIG_SND_HDA_CODEC_CA0132=y
> CONFIG_SND_HDA_CODEC_CIRRUS=m
> CONFIG_SND_HDA_CODEC_CONEXANT=m
> CONFIG_SND_HDA_CODEC_CA0110=m
> CONFIG_SND_HDA_CODEC_CA0132=m
< CONFIG_SND_HDA_CODEC_CMEDIA=y
< CONFIG_SND_HDA_CODEC_SI3054=y
< CONFIG_SND_HDA_GENERIC=y
> CONFIG_SND_HDA_CODEC_CMEDIA=m
> CONFIG_SND_HDA_CODEC_SI3054=m
> CONFIG_SND_HDA_GENERIC=m

Offline

#10 2014-07-20 14:00:33

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Xonar DGX

That was a rhetorical question.

systool -v -m snd_oxygen

This is the module, which should be also clear after my apparently ignored comment:

emeres wrote:

As far as I recall, CMI8788 Oxygen uses snd-oxygen, should this have changed correct the systool command.

I was referring to changes in source code of the kernel modules, not its configuration.

Offline

#11 2014-07-20 14:30:23

Name Taken
Banned
Registered: 2014-04-09
Posts: 113

Re: [SOLVED] Xonar DGX

emeres wrote:

That was a rhetorical question.

systool -v -m snd_oxygen

This is the module, which should be also clear after my apparently ignored comment:

emeres wrote:

As far as I recall, CMI8788 Oxygen uses snd-oxygen, should this have changed correct the systool command.

I was referring to changes in source code of the kernel modules, not its configuration.

I noticed all the source code of the modules under /sound/pci/oxygen remained the same before 3.14 but anyway thank you for your assistance.

Offline

#12 2014-07-20 14:33:26

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Xonar DGX

You are welcome. Please remember to mark the thread as solved by editing your first post and prepending [SOLVED].

Offline

Board footer

Powered by FluxBB