Video/audio issue in 13.1 with onboard vs discrete card

Hello. I will try to explain as briefly as I can my issues.

Okay, so I have an Intel i5 and an Nvidia GTX 660. I am attempting to connect to a Samsung TV and Blu-ray/Surround system. The TV has both HDMI and a single VGA input. OpenSUSE 13.1 (KDE).

In order to get 5.1, I have to use the onboard Intel PCH optical S/PDIF output, as that’s all I have to connect to the surround processor.

I tried connecting to the TV via a DVI-VGA adapter, thinking that if nothing is actually plugged into the HDMI outs on the video card, the system would ignore that audio hardware. But the EDID was incorrect, and my HDTV wouldn’t go above 1280x1024. So I changed that adapter to an HDMI-DVI adapter and connected it up. So I get my 1920x1080, but the system insists on using the Nvidia HDMI audio, which is not connected.

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0

aplay -L

null
Discard all samples (playback) or generate zero samples (capture)
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
HDA Intel PCH, ALC892 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
Front speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
HDA Intel PCH, ALC892 Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 1
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 2
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 3
HDMI Audio Output

pacmd list-sinks

2 sink(s) available.

  • index: 0
    name: <alsa_output.pci-0000_01_00.1.hdmi-stereo-extra3>
    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 3”
    alsa.id = “HDMI 3”
    alsa.subdevice = “0”
    alsa.subdevice_name = “subdevice #0
    alsa.device = “9”
    alsa.card = “1”
    alsa.card_name = “HDA NVidia”
    alsa.long_card_name = “HDA NVidia at 0xf3080000 irq 17”
    alsa.driver_name = “snd_hda_intel”
    device.bus_path = “pci-0000:01:00.1”
    sysfs.path = “/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1”
    device.bus = “pci”
    device.vendor.id = “10de”
    device.vendor.name = “NVIDIA Corporation”
    device.product.id = “0e0b”
    device.product.name = “GK106 HDMI Audio Controller”
    device.string = “hdmi:1,3”
    device.buffering.buffer_size = “352768”
    device.buffering.fragment_size = “176384”
    device.access_mode = “mmap+timer”
    device.profile.name = “hdmi-stereo-extra3”
    device.profile.description = “Digital Stereo (HDMI)”
    device.description = “GK106 HDMI Audio Controller Digital Stereo (HDMI)”
    alsa.mixer_name = “Nvidia GPU 41 HDMI/DP”
    alsa.components = “HDA:10de0041,1458354e,00100100”
    module-udev-detect.discovered = “1”
    device.icon_name = “audio-card-pci”
    ports:
    hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: yes)
    properties:
    device.icon_name = “video-display”
    device.product.name = “SAMSUNG”
    active port: <hdmi-output-3>
    index: 1
    name: <alsa_output.pci-0000_00_1b.0.iec958-stereo>
    driver: <module-alsa-card.c>
    flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
    state: SUSPENDED
    suspend cause: IDLE
    priority: 9958
    volume: front-left: 99957 / 153% / 11.00 dB, front-right: 99957 / 153% / 11.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 44100Hz
    channel map: front-left,front-right
    Stereo
    used by: 0
    linked by: 0
    configured latency: 0.00 ms; range is 0.50 … 2000.00 ms
    card: 1 <alsa_card.pci-0000_00_1b.0>
    module: 7
    properties:
    alsa.resolution_bits = “16”
    device.api = “alsa”
    device.class = “sound”
    alsa.class = “generic”
    alsa.subclass = “generic-mix”
    alsa.name = “ALC892 Digital”
    alsa.id = “ALC892 Digital”
    alsa.subdevice = “0”
    alsa.subdevice_name = “subdevice #0
    alsa.device = “1”
    alsa.card = “0”
    alsa.card_name = “HDA Intel PCH”
    alsa.long_card_name = “HDA Intel PCH at 0xf3210000 irq 44”
    alsa.driver_name = “snd_hda_intel”
    device.bus_path = “pci-0000:00:1b.0”
    sysfs.path = “/devices/pci0000:00/0000:00:1b.0/sound/card0”
    device.bus = “pci”
    device.vendor.id = “8086”
    device.vendor.name = “Intel Corporation”
    device.product.id = “8c20”
    device.product.name = “8 Series/C220 Series Chipset High Definition Audio Controller”
    device.form_factor = “internal”
    device.string = “iec958:0”
    device.buffering.buffer_size = “352800”
    device.buffering.fragment_size = “176400”
    device.access_mode = “mmap+timer”
    device.profile.name = “iec958-stereo”
    device.profile.description = “Digital Stereo (IEC958)”
    device.description = “Built-in Audio Digital Stereo (IEC958)”
    alsa.mixer_name = “Realtek ALC892”
    alsa.components = “HDA:10ec0892,1849c892,00100302”
    module-udev-detect.discovered = “1”
    device.icon_name = “audio-card-pci”
    ports:
    iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
    properties:

    active port: &lt;iec958-stereo-output&gt;
    

The aplay -L output says that the Intel PCH is “sysdefault” but if I go into the volume control in KDE and look at audio setup, the device is always “GK106 HDMI Audio Controller Digital Stereo (HDMI)” connected via “DisplayPort/HDMI Port 2” even though there’s no HDMI cable in either the DisplayPort or HDMI ports.

I’ve read through various forums about /etc/pulse/default.pa edits and such, but that started really confusing me.

Any help would be greatly appreciated.

Thank you!