You are not logged in.

#1 2015-04-26 10:42:37

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

[SOLVED] No sound with Asus Xonar DGX

I've got no sound so I've looked into journalctl and there were some bluez and pulseaudio related erros. So i.a.w. this topic https://bbs.archlinux.org/viewtopic.php?id=155714 I did `systemctl enable bluetooth.service`. No more errors but still no sound.

Other things I did:
- unplug/plug headphones
- check whether anything is muted in alsamixer and the gnome sound applet (note: nothing is greyed-out, microphone picks up signals)

snd_oxygen i.e. ASUS XONAR is the sound card I would like to use and I hook my headphones to.

# cat /proc/asound/cards
 0 [DGX            ]: CMI8786 - Xonar DGX
                      C-Media Oxygen HD Audio at 0xee00, irq 17
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfd7fc000 irq 30
# lsmod | grep '^snd' | column -t  
snd_hda_codec_hdmi  49263   1
snd_hda_intel       26387   2
snd_hda_controller  26857   1   snd_hda_intel
snd_oxygen          23783   2
snd_hda_codec       112621  3   snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller
snd_oxygen_lib      36709   1   snd_oxygen
snd_hwdep           17244   1   snd_hda_codec
snd_mpu401_uart     13507   1   snd_oxygen_lib
snd_rawmidi         26806   1   snd_mpu401_uart
snd_seq_device      13307   1   snd_rawmidi
snd_pcm             88779   5   snd_hda_codec_hdmi,snd_oxygen_lib,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer           26614   1   snd_pcm
snd                 73436   19  snd_oxygen,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_oxygen_lib,snd_hda_codec,snd_hda_intel,snd_mpu401_uart,snd_seq_device
# journalctl -b | grep -i bluez
Apr 26 12:13:52 arch1411 dbus[326]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service'
Apr 26 12:13:52 arch1411 dbus[326]: [system] Successfully activated service 'org.bluez'
Apr 26 12:14:31 arch1411 /usr/lib/gdm/gdm-x-session[359]: Activating service name='org.bluez.obex'
Apr 26 12:14:31 arch1411 /usr/lib/gdm/gdm-x-session[359]: Successfully activated service 'org.bluez.obex'
[root@arch1411 hg1]# journalctl -b | grep -i audio
Apr 26 12:13:50 arch1411 kernel: snd_hda_intel 0000:01:00.1: Handle VGA-switcheroo audio client
Apr 26 12:13:52 arch1411 rtkit-daemon[432]: Successfully made thread 431 of process 431 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
Apr 26 12:13:52 arch1411 rtkit-daemon[432]: Successfully made thread 456 of process 431 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Apr 26 12:13:52 arch1411 rtkit-daemon[432]: Successfully made thread 497 of process 431 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Apr 26 12:13:52 arch1411 rtkit-daemon[432]: Successfully made thread 498 of process 431 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Apr 26 15:37:00 arch1411 vlc.desktop[876]: [00007ffabc009ee8] mpgatofixed32 audio converter error: libmad error: bad main_data_begin pointer
Apr 26 15:37:02 arch1411 vlc.desktop[876]: [00007ffae0c244f8] mpgatofixed32 audio converter error: libmad error: bad main_data_begin pointer
# systemctl status pulseaudio.service
● pulseaudio.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
# systemctl start pulseaudio.service
Failed to start pulseaudio.service: Unit pulseaudio.service failed to load: No such file or directory.

Should I proceed per https://bbs.archlinux.org/viewtopic.php?id=149501 and remove pulseaudio daemon from the /etc/rc.conf file?

Last edited by bbarcher (2015-05-01 07:42:36)


Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#2 2015-04-26 12:30:41

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: [SOLVED] No sound with Asus Xonar DGX

bbarcher wrote:

Should I proceed per https://bbs.archlinux.org/viewtopic.php?id=149501 and remove pulseaudio daemon from the /etc/rc.conf file?

Arch hasn't used /etc/rc.conf for quite a while now so that won't work.

Which desktop environment/window manager are you using?

With pulseaudio, I find that installing & running pavucontrol then playing around with all the options usually gets things working.

You have a lot of sound-related modules -- have you tried blacklisting some of them?

Also: https://wiki.archlinux.org/index.php/Pu … leshooting

Offline

#3 2015-04-26 12:41:35

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: [SOLVED] No sound with Asus Xonar DGX

Thanks for chiming in.
I see.
I'm using Gnome Shell.
I'll try with the pavucontrol and I'll go throught the wiki page again.

PS. On that bluez.service. Any idea why it causes problems (including with pulseaudio) in the first place and why it requires >user's intervention< even on systems without  any bluetooth devices?


Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#4 2015-04-26 12:44:29

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: [SOLVED] No sound with Asus Xonar DGX

No idea about bluetooth, sorry -- all my systems have this file:

# /etc/modprobe.d/blacklist.conf
blacklist btusb
blacklist bluetooth

Offline

#5 2015-04-26 13:48:00

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: [SOLVED] No sound with Asus Xonar DGX

I've blackilisted bt per #4 and went through everything related to no sound, muting and bt here https://wiki.archlinux.org/index.php/Pu … leshooting up to and including section 6. I still get no pulseaudio service startup. As for blacklisting the unused audio hardware modules, I don't know how to identify modules not belonging to my discrete audio card yet.

systemctl start pulseaudio
Failed to start pulseaudio.service: Unit pulseaudio.service failed to load: No such file or directory.

Last edited by bbarcher (2015-04-26 14:23:15)


Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#6 2015-04-26 14:10:59

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: [SOLVED] No sound with Asus Xonar DGX

bbarcher wrote:

I don't know how to identify modules not belonging to my discrete audio card yet.

lspci -k

Offline

#7 2015-04-26 14:30:21

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: [SOLVED] No sound with Asus Xonar DGX

bbarcher wrote:
systemctl start pulseaudio
Failed to start pulseaudio.service: Unit pulseaudio.service failed to load: No such file or directory.

Try this:

systemctl --all --no-pager|grep -i pulse

Last edited by Head_on_a_Stick (2015-04-26 14:30:43)

Offline

#8 2015-04-26 17:38:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,888

Re: [SOLVED] No sound with Asus Xonar DGX

Post the output of

pacmd list-cards
pacmd list-sinks

Bluetooth shouldn't have anything to do with this, it will notice no bluetooth and therefore not load the bluetooth module, this won't have any effect on any non bluetooth devices.

Furthermore pulseaudio.service is a user service (as one shouldn't run pulse as root). That said it usually isn't needed and even has some regressions compared to the traditional desktop file starting method which should be handled by your DE in normal cases (which it is, output you posted indicates that pulseaudio has started successfully, at which point no service or eventual bluetooth warnings will be relevant to your problem anymore)

Last edited by V1del (2015-04-26 17:44:21)

Offline

#9 2015-04-26 18:19:51

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: [SOLVED] No sound with Asus Xonar DGX

systemctl --all --no-pager|grep -i pulse

returns nothing.

Thank you for your input, V1del.

$ pacmd list-cards
2 card(s) available.
    index: 0
    name: <alsa_card.pci-0000_01_00.1>
    driver: <module-alsa-card.c>
    owner module: 6
    properties:
        alsa.card = "0"
        alsa.card_name = "HDA ATI HDMI"
        alsa.long_card_name = "HDA ATI HDMI at 0xfd7fc000 irq 30"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:01:00.1"
        sysfs.path = "/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card0"
        device.bus = "pci"
        device.vendor.id = "1002"
        device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
        device.product.id = "aa88"
        device.product.name = "Barts HDMI Audio [Radeon HD 6800 Series]"
        device.string = "0"
        device.description = "Barts HDMI Audio [Radeon HD 6800 Series]"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    profiles:
        output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
        output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: unknown)
        output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: unknown)
        off: Off (priority 0, available: unknown)
    active profile: <output:hdmi-stereo>
    sinks:
        alsa_output.pci-0000_01_00.1.hdmi-stereo/#0: Barts HDMI Audio [Radeon HD 6800 Series] Digital Stereo (HDMI)
    sources:
        alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor/#0: Monitor of Barts HDMI Audio [Radeon HD 6800 Series] Digital Stereo (HDMI)
    ports:
        hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "video-display"
    index: 1
    name: <alsa_card.pci-0000_04_04.0>
    driver: <module-alsa-card.c>
    owner module: 24
    properties:
        alsa.card = "1"
        alsa.card_name = "Xonar DGX"
        alsa.long_card_name = "C-Media Oxygen HD Audio at 0xee00, irq 17"
        alsa.driver_name = "snd_oxygen"
        device.bus_path = "pci-0000:04:04.0"
        sysfs.path = "/devices/pci0000:00/0000:00:05.0/0000:03:00.0/0000:04:04.0/sound/card1"
        device.bus = "pci"
        device.vendor.id = "13f6"
        device.vendor.name = "C-Media Electronics Inc"
        device.product.id = "8788"
        device.product.name = "CMI8788 [Oxygen HD Audio]"
        device.string = "1"
        device.description = "CMI8788 [Oxygen HD Audio]"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    profiles:
        input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
        output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
        output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
        off: Off (priority 0, available: unknown)
    active profile: <output:analog-stereo+input:analog-stereo>
    sinks:
        alsa_output.pci-0000_04_04.0.analog-stereo/#1: CMI8788 [Oxygen HD Audio] Analog Stereo
    sources:
        alsa_output.pci-0000_04_04.0.analog-stereo.monitor/#1: Monitor of CMI8788 [Oxygen HD Audio] Analog Stereo
        alsa_input.pci-0000_04_04.0.analog-stereo/#2: CMI8788 [Oxygen HD Audio] Analog Stereo
    ports:
        analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: unknown)
            properties:
                device.icon_name = "audio-input-microphone"
        analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
            properties:
                device.icon_name = "audio-input-microphone"
        analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: unknown)
            properties:
                
        analog-input-aux: Analog Input (priority 8000, latency offset 0 usec, available: unknown)
            properties:
                
        analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: unknown)
            properties:
                device.icon_name = "audio-headphones"
$ pacmd list-sinks
2 sink(s) available.
    index: 0
    name: <alsa_output.pci-0000_01_00.1.hdmi-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
    state: SUSPENDED
    suspend cause: IDLE 
    priority: 9050
    volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
            balance 0.00
    base volume: 65536 / 100% / 0.00 dB
    volume steps: 65537
    muted: no
    current latency: 0.00 ms
    max request: 0 KiB
    max rewind: 0 KiB
    monitor source: 0
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
                 Stereo
    used by: 0
    linked by: 0
    configured latency: 0.00 ms; range is 0.50 .. 1999.82 ms
    card: 0 <alsa_card.pci-0000_01_00.1>
    module: 6
    properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = "HDMI 0"
        alsa.id = "HDMI 0"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "3"
        alsa.card = "0"
        alsa.card_name = "HDA ATI HDMI"
        alsa.long_card_name = "HDA ATI HDMI at 0xfd7fc000 irq 30"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:01:00.1"
        sysfs.path = "/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card0"
        device.bus = "pci"
        device.vendor.id = "1002"
        device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
        device.product.id = "aa88"
        device.product.name = "Barts HDMI Audio [Radeon HD 6800 Series]"
        device.string = "hdmi:0"
        device.buffering.buffer_size = "352768"
        device.buffering.fragment_size = "176384"
        device.access_mode = "mmap+timer"
        device.profile.name = "hdmi-stereo"
        device.profile.description = "Digital Stereo (HDMI)"
        device.description = "Barts HDMI Audio [Radeon HD 6800 Series] Digital Stereo (HDMI)"
        alsa.mixer_name = "ATI R6xx HDMI"
        alsa.components = "HDA:1002aa01,00aa0100,00100200"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    ports:
        hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
            properties:
                device.icon_name = "video-display"
    active port: <hdmi-output-0>
  * index: 1
    name: <alsa_output.pci-0000_04_04.0.analog-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
    state: SUSPENDED
    suspend cause: IDLE 
    priority: 9059
    volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
            balance 0.00
    base volume: 65536 / 100% / 0.00 dB
    volume steps: 65537
    muted: no
    current latency: 0.00 ms
    max request: 0 KiB
    max rewind: 0 KiB
    monitor source: 1
    sample spec: s16le 2ch 48000Hz
    channel map: front-left,front-right
                 Stereo
    used by: 0
    linked by: 0
    configured latency: 0.00 ms; range is 0.50 .. 1837.50 ms
    card: 1 <alsa_card.pci-0000_04_04.0>
    module: 24
    properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = "Multichannel"
        alsa.id = "Multichannel"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "1"
        alsa.card_name = "Xonar DGX"
        alsa.long_card_name = "C-Media Oxygen HD Audio at 0xee00, irq 17"
        alsa.driver_name = "snd_oxygen"
        device.bus_path = "pci-0000:04:04.0"
        sysfs.path = "/devices/pci0000:00/0000:00:05.0/0000:03:00.0/0000:04:04.0/sound/card1"
        device.bus = "pci"
        device.vendor.id = "13f6"
        device.vendor.name = "C-Media Electronics Inc"
        device.product.id = "8788"
        device.product.name = "CMI8788 [Oxygen HD Audio]"
        device.string = "hw:1"
        device.buffering.buffer_size = "352800"
        device.buffering.fragment_size = "352800"
        device.access_mode = "mmap+timer"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "CMI8788 [Oxygen HD Audio] Analog Stereo"
        alsa.mixer_name = "CMI8786"
        alsa.components = "CS4245 CMI8786"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    ports:
        analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: unknown)
            properties:
                device.icon_name = "audio-headphones"
    active port: <analog-output-headphones>

After all of the recommended solutions from the wiki I still get

$ systemctl status pulseaudio.service
● pulseaudio.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
$ pulseaudio -vvvv
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 6.0
D: [pulseaudio] main.c: Compilation host: x86_64-unknown-linux-gnu
D: [pulseaudio] main.c: Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto
D: [pulseaudio] main.c: Running on host: Linux x86_64 3.19.3-3-ARCH #1 SMP PREEMPT Wed Apr 8 14:10:00 CEST 2015
D: [pulseaudio] main.c: Found 6 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is d36c9fa4b78f4c8cae7f7ad7897683e3.
I: [pulseaudio] main.c: Session ID is c1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/hg1/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-6.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.

Last edited by bbarcher (2015-04-27 19:16:41)


Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#10 2015-04-26 21:47:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,888

Re: [SOLVED] No sound with Asus Xonar DGX

As said pulseaudio.service is a user service, so using systemctl without --user won't find anything, which is totally irrelevant in this case however as pulse does start already.

Output of the sinks does look fine as well, so we have to go into the specifics. Which application are you trying to run? can you post the output of

fuser -v /dev/snd/*

while running an application which is supposed to output sound? Can you play anything on your card using ALSA itself?

aplay -Dhw:0 somewav

for example

PS you can put all of the output into  code-tags it makes it more readable than wadding through a huge quote-block

Last edited by V1del (2015-04-26 21:49:45)

Offline

#11 2015-04-27 06:16:17

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: [SOLVED] No sound with Asus Xonar DGX

Thanks for bearing with me.

As usual, I rely on system sounds for the most part. In Gnome using volume+ keys on the keyboard is accompanied with a "pop...pop...pop..." sound with each increase. I also use the test function built into the standard sound applet. For the following command I started music playback from VLC and a video on youtube (Gnome Web). With the music playing (VLC only) I've started pavucontrol. It clearly shows the dB bar dancing to the music. I'm starting to get the feeling that I haven't plugged my headphones. But when I reboot into Windows without even taking them off I get correct playback, as always.

On another note. ALSA config and pulseaudio config seem to 'match'. When I use alsamixer to adjust the Master level (default ALSA output device) the corresponding sliders move in other sound applets and the dB level indicator shows different amplitudes.

$ fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  hg1         706 F.... pulseaudio
/dev/snd/controlC1:  hg1         706 F.... pulseaudio
/dev/snd/pcmC0D0p:   hg1         706 F...m pulseaudio
$ aplay -Dhw:0 /home/hg1/Downloads/Tambourine.wav 
Playing WAVE '/home/hg1/Downloads/Tambourine.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
$ aplay -Dhw:1 /home/hg1/Downloads/Tambourine.wav 
aplay: main:722: audio open error: No such file or directory

Nothing comes from my soundcard. If I read it correctly '0' is for HDMI on my system so we should ignore it. And the second one ('1') gives an error.

V1del wrote:

PS you can put all of the output into  code-tags it makes it more readable than wadding through a huge quote-block

I think I always put output and the command themselves in code brackets. If you mean something else, please rephrase.

Last edited by bbarcher (2015-04-27 07:48:58)


Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#12 2015-04-27 15:49:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,888

Re: [SOLVED] No sound with Asus Xonar DGX

hw:0 is the correct card, if the cat /proc/asound/cards still outputs this same output. if the aplay command didn't output anything, and you are sure the mixers are correct it seem that there may be some deeper issue. Can you post the output of

dmesg | grep -E 'snd|ALSA'

and maybe

pulseaudio -k && pulseaudio -vvvv #You may have to set autospawn = no in your /etc/pulse/client.conf to properly test this

Have you always had this issue? I'm thinking that you may have hit a kernel bug, so maybe you could try another/an older kernel

The code brackets thing I only mentioned because you put the pacmd output into quotes instead of code so it's a bit hard to sift through

Last edited by V1del (2015-04-27 15:49:50)

Offline

#13 2015-04-27 16:34:48

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [SOLVED] No sound with Asus Xonar DGX

There are 2 things that I can think of that you need to do.
If your speakers are connected via hdmi, then the hdmi should be your default, if not, then your analog should be.
I had an issue with this very driver where it would go to the hdmi, and I'm connected via analog.  I ended up disabling the hdmi, and adding the appropriate profile to my ~/.config/pulse/default.pa file.

To disable the hdmi, I added the following to my /etc/modprobe.d/snd-hda-intel.conf file:

options snd-hda-intel id=PCH,HDMI index=0,1 enable=0,1

I got the names from aplay -l.

Then the appropriate line in my default.pa file:

 set-card-profile 1 output:analog-surround-40+input:analog-stereo

That's what I ended up doing, and it has worked fine.
Though, I did have to use hdajackretask to set up my audio outputs appropriately.

HTH


Knute

Offline

#14 2015-04-27 17:55:53

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,888

Re: [SOLVED] No sound with Asus Xonar DGX

Wrong jacks with hdajackretask may also be something, but I don't know/think this will work with snd_oxygen (which is the card you wanna use right?)

Offline

#15 2015-04-27 19:44:15

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: [SOLVED] No sound with Asus Xonar DGX

I also don't think it could be attributed to wrong jack detection. The Gnome sound applet even reckognizes I connect headphones (rather than speakers).

V1del wrote:

(...) with snd_oxygen (which is the card you wanna use right?)

That is correct. snd_oxygen i.e. ASUS XONAR

V1del wrote:

hw:0 is the correct card, if the cat /proc/asound/cards still outputs this same output.

Holy %$#t, the cards swapped places! Now it's

# cat /proc/asound/cards
0 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xfd7fc000 irq 30
1 [DGX ]: CMI8786 - Xonar DGX
C-Media Oxygen HD Audio at 0xee00, irq 17

I have re-run the playback alsa commands but still no sound

$ aplay -Dhw:0 /home/hg1/Downloads/Tambourine.wav
aplay: main:722: audio open error: No such file or directory
[hg1@arch1411 ~]$ aplay -Dhw:1 /home/hg1/Downloads/Tambourine.wav
Playing WAVE '/home/hg1/Downloads/Tambourine.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
# dmesg | grep -E 'snd|ALSA'
[ 4.663891] snd_hda_intel 0000:01:00.1: Handle VGA-switcheroo audio client

The output of

pulseaudio -k && pulseaudio -vvvv

is
http://pastebin.com/VzpzARqn
I've terminated the comand using Ctrl+C. I don't know if this is the right way.


I don't know whether it's been like this the whole time. The day I posted was the first day I've tried to play any media on the system. I installed it on November 2014, haven't touched it as far as any further configuration (beyond basic) goes but it's up to date.

This sucks. I've been postponing getting the Arch all set up for weeks and when I finally got to it I got this slap in the face smile Maybe I shuld try some recent live media to see if the issue is Arch specific?

Last edited by bbarcher (2015-04-27 19:45:42)


Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#16 2015-04-27 19:55:48

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [SOLVED] No sound with Asus Xonar DGX

In my previous post, I put in about the /etc/modprobe.d/snd-hda-intel.conf file.
I just mentioned the enable command, but not the index command.  If you want them to stay a certain way, you can use the index command to keep the PCH as, in my case, 0 and the HDMI as 1.  That way they don't flip-flop on you.


Knute

Offline

#17 2015-04-27 21:05:05

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: [SOLVED] No sound with Asus Xonar DGX

Knute wrote:

In my previous post, I put in about the /etc/modprobe.d/snd-hda-intel.conf file.
I just mentioned the enable command, but not the index command.  If you want them to stay a certain way, you can use the index command to keep the PCH as, in my case, 0 and the HDMI as 1.  That way they don't flip-flop on you.

I see, but isn't it a step for >after< I get any sound at least on ALSA-level? It's easy to 'ping' both cards so I'd leave it for now.


Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#18 2015-04-27 21:09:11

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [SOLVED] No sound with Asus Xonar DGX

It's up to you, but if you are referring to in your .asoundrc file is card 1 and the card that you want is now 0, you won't have any stable sound.


Knute

Offline

#19 2015-04-27 21:23:10

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: [SOLVED] No sound with Asus Xonar DGX

Knute wrote:

It's up to you, but if you are referring to in your .asoundrc file is card 1 and the card that you want is now 0, you won't have any stable sound.

I'm referring to these commands

$ aplay -Dhw:0 /home/hg1/Downloads/Tambourine.wav
aplay: main:722: audio open error: No such file or directory
$ aplay -Dhw:1 /home/hg1/Downloads/Tambourine.wav
Playing WAVE '/home/hg1/Downloads/Tambourine.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

To my understanding if I issue them >both< I should get some sound if we fix at least alsa-level configuration.

Right now I'mgoing to try some other distro. Then I'll try blacklisting anything other than the Xonar.

Last edited by bbarcher (2015-04-27 21:29:41)


Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#20 2015-04-27 21:37:47

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [SOLVED] No sound with Asus Xonar DGX

Actually, if you don't have speakers hooked up to both soundcards, and the one that is playing the sounds isn't hooked up, you won't hear anything anyway.


Knute

Offline

#21 2015-04-29 11:17:18

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: [SOLVED] No sound with Asus Xonar DGX

I've just checked with Fedora 21 and Manjato community LXQt edition. Exactly the same behaviour.
I've also skeemed through http://www.alsa-project.org/main/index. … ule-oxygen and... I have no idea what it all means, including the "hardware volume only for headphones." One thing I'm sure of. My card was not muted the first time I used alsamixer.

EDIT:
I've always considered ASUS to be great sound solution for Linux and it haven't even occurred to me that it might be the problem with my XONAR DGX. It turns out other people have that issue as well (fresh posts):
http://askubuntu.com/search?q=xonar+dgx … e6b891c831

So, the last thing to try is blscklisting hdmi (my integrated sound is already disabled in BIOS). If it doesn't work I'll have no choice but to stick to Windows 7 hmm

Last edited by bbarcher (2015-04-29 11:26:31)


Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#22 2015-04-29 18:23:40

PootisBird
Member
Registered: 2014-04-16
Posts: 125

Re: [SOLVED] No sound with Asus Xonar DGX

Well, you are unlucky. Mine DGX is working fine on any distro I have tried yet.
Only thing I blacklisted is snd_hda_intel since I'm not using Nvidia HDMI, Realtek is disabled in BIOS.
One thing to note, this card doesn't have automatic output switching (front-back). Hell, even official Windows drivers lack this feature, I'm using UNi Xonar drivers there.

I've got "Unit dbus-org.bluez.service failed to load: No such file or directory." in logs but audio works anyway.
Plasma 5.3.

Make sure Analog Output is set right in alsamixer.

Offline

#23 2015-04-30 18:44:06

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: [SOLVED] No sound with Asus Xonar DGX

Updating the kernel to 4.x alone didn't help (along with the respective updated firmware).

I've blacklisted all of the modules I think are related to intel audio/hdmi.

# lsmod | grep '^snd'
snd_oxygen             24576  2 
snd_oxygen_lib         36864  1 snd_oxygen
snd_mpu401_uart        16384  1 snd_oxygen_lib
snd_rawmidi            28672  1 snd_mpu401_uart
snd_seq_device         16384  1 snd_rawmidi
snd_pcm                90112  1 snd_oxygen_lib
snd_timer              28672  1 snd_pcm
snd                    69632  11 snd_oxygen,snd_timer,snd_pcm,snd_rawmidi,snd_oxygen_lib,snd_mpu401_uart,snd_seq_device


# aplay -l
**** 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

Still no sound.

EDIT:
>Something< has worked! I'm not sure what was it.
1. Blacklisting alone didn't help.
2. I fired up alsamixer.
3. And followed as the screenshots show http://1drv.ms/1DGxDHe
Changing 'Analog Output' from 'Headphones FP' to either 'Headphones' or 'Multichannel' made sound work!

It all points to the default selection of audio output to front panel headphones. This should not happen.

Last edited by bbarcher (2015-05-01 08:04:45)


Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#24 2015-05-01 08:04:31

bbarcher
Member
From: Poland
Registered: 2014-02-27
Posts: 174
Website

Re: [SOLVED] No sound with Asus Xonar DGX

Screenshots uploaded.

I've marked the topic as solved. Two more things though:
1. Does it qualify as a bug (alsa?)?
2. In the OP I wrote "microphone picks up signals" i.e. the microphone connected to XONAR. Isn't it indicative for such cases that everything right from kernel level to at least alsa level is OK and that
the only possible issue is with output line selection?

Note on Headphones output:
The leftmost channel always reads 'Headphones' but it is only when I select the 'Analog Output' also to 'Headphones' I get the proper output power which to me means that only with that configuration you get the true proper configuration for headphones on Xonar DGX.

An additional question:
The ASUS control panel for Windows provides headphone impedance selection. From what I saw the setting is not available for Xonar DGX but STX has this setting
http://techgage.com/news/asus_xonar_stx … der_linux/

Last edited by bbarcher (2015-05-01 08:12:11)


Put up or shut up. 
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ]  Text  [ /url ]

Offline

#25 2015-05-01 09:22:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,888

Re: [SOLVED] No sound with Asus Xonar DGX

I don't think this qualifies as a bug, its a default setting that could be correct on other configuration/connector setup. You are somewhat supposed to go and check what is correct on a mixer level. That's also likely the reason why ALSA has cards muted by default, so that you go into alsamixer and make sure that the basic setup is correct.

No idea about the impedance thing.

Offline

Board footer

Powered by FluxBB