You are not logged in.

#1 2020-05-24 18:48:32

Megarock90
Member
Registered: 2012-01-18
Posts: 37

Audio works but both cards are recognized as "HD_Audio Generic"

So been a couple of months since I've been running arch on this laptop (ASUS FX505DY) and have settled down most of the basic stuff, so now it's time to focus on some other less critical stuff, 1st one on the chopping block being audio quality.
After running list-sinks and list-cards I found out what's on the title, after googling and getting a whole lot of nothing,  https://bbs.archlinux.org/viewtopic.php?id=250162 came up and V1del's last post made me curious, anyone knows if "fixing" that will net me some higher quality audio?

pacmd list-sinks              
1 sink(s) available.
  * index: 0
        name: <alsa_output.pci-0000_05_00.6.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        state: RUNNING
        suspend cause: (none)
        priority: 9039
        volume: front-left: 26212 /  40% / -23.88 dB,   front-right: 26212 /  40% / -23.88 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 100.85 ms
        max request: 17 KiB
        max rewind: 17 KiB
        monitor source: 0
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 1
        linked by: 1
        fixed latency: 100.14 ms
        card: 1 <alsa_card.pci-0000_05_00.6>
        module: 7
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC256 Analog"
                alsa.id = "ALC256 Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xfe580000 irq 78"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:05:00.6"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "15e3"
                device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"
                device.string = "front:1"
                device.buffering.buffer_size = "17664"
                device.buffering.fragment_size = "2944"
                device.access_mode = "mmap"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Family 17h (Models 10h-1fh) HD Audio Controller Analog Stereo"
                alsa.mixer_name = "Realtek ALC256"
                alsa.components = "HDA:10ec0256,104317c1,00100002"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-speakers"
                analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
        active port: <analog-output-speaker>
 pacmd list-cards
2 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_05_00.1>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "0"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xfe588000 irq 77"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:05:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:05:00.1/sound/card0"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                device.product.id = "15de"
                device.product.name = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"
                device.string = "0"
                device.description = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
                off: Off (priority 0, available: unknown)
        active profile: <off>
        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_05_00.6>
        driver: <module-alsa-card.c>
        owner module: 7
        properties:
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xfe580000 irq 78"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:05:00.6"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "15e3"
                device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"
                device.string = "1"
                device.description = "Family 17h (Models 10h-1fh) HD Audio Controller"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: Analog Stereo Input (priority 65, available: unknown)
                output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <output:analog-stereo+input:analog-stereo>
        sinks:
                alsa_output.pci-0000_05_00.6.analog-stereo/#0: Family 17h (Models 10h-1fh) HD Audio Controller Analog Stereo
        sources:
                alsa_output.pci-0000_05_00.6.analog-stereo.monitor/#0: Monitor of Family 17h (Models 10h-1fh) HD Audio Controller Analog Stereo
                alsa_input.pci-0000_05_00.6.analog-stereo/#1: Family 17h (Models 10h-1fh) HD Audio Controller Analog Stereo
        ports:
                analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-headset-mic: Headset Microphone (priority 8800, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-speakers"
                analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"

(yes, both AMD cards are running snd_hda_intel, how's that for irony?)

uname -a
Linux cfsantacruza00R 5.6.14-zen1-1-zen #1 ZEN SMP PREEMPT Wed, 20 May 2020 20:43:16 +0000 x86_64 GNU/Linux
systool -vm snd_hda_intel
Module = "snd_hda_intel"

  Attributes:
    coresize            = "53248"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "4"
    srcversion          = "6E5BF6DBCBD8D775003B202"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    align_buffer_size   = "-1"
    bdl_pos_adj         = "-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"
    beep_mode           = "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"
    dmic_detect         = "Y"
    enable_msi          = "-1"
    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"
    jackpoll_ms         = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
    model               = "(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)"
    patch               = "(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)"
    pm_blacklist        = "Y"
    position_fix        = "-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"
    power_save          = "0"
    power_save_controller= "N"
    probe_mask          = "-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"
    probe_only          = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
    single_cmd          = "-1"
    snoop               = "-1"

  Sections:

Everything up to date as of today.

Offline

#2 2020-05-24 19:25:31

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

Re: Audio works but both cards are recognized as "HD_Audio Generic"

It doesn't have to inherently point to an issue, that string is ultimately filled in by the driver/codec and if it isn't explicitly changed to something by the amd  codec it isn't inherently something to worry about.

But I've seen it quite a few times that people broke their general audio/jack/codec information by inadvertently setting model=generic and then wondering why their audio doesn't work that seeing such a string always pops up a few red flags for me.  Doesn't seem to be the case here (one of the model = values would not be (null) if that was the case).

For fixing your actual issue you should probably elaborate on how you feel the audio to be "inadequate" maybe throw in a

pacmd list-sink-inputs

during actual playback. FWIW something I'm seeing is that your latency is fixed there, do you run the tsched=0 option? That really is very seldomly responsible for audio issues and often increases latency unnecessarily.

Offline

#3 2020-05-24 23:18:18

Megarock90
Member
Registered: 2012-01-18
Posts: 37

Re: Audio works but both cards are recognized as "HD_Audio Generic"

V1del wrote:

how you feel the audio to be "inadequate"

Audio just felt low quality all around, as if I was listening to a low bitrate rip of things.
Changed my focus and toyed around with some settings on pulse, specially sampling and latency" and already noticed a difference.

The thing is that I got fidgety since I couldn't find any info about the whole "HD-Audio Generic card" bit. Just didn't feel right, I guess?

Offline

Board footer

Powered by FluxBB