Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#16491 closed enhancement (fixed)

Sound Blaster Audigy Fx doesn't work

Reported by: cocobean Owned by: nobody
Priority: normal Milestone: R1/beta3
Component: Drivers/Audio/HDA Version: R1/Development
Keywords: hda, . audio Cc:
Blocked By: Blocking:
Platform: All

Description

Sound Blaster Audigy Fx (SB1570) is a half-height PCIe HDA-compliant sound card.

HDA controller: Realtek ALC898 - Creative [HDA Creative], device 0: ALC898 Analog [ALC898 Analog]

PCI ID info: 1102 0012 Sound Core3D [Sound Blaster Recon3D / Z-Series]

1102 0010 SB1570 SB Audigy Fx

Audio device: Creative Labs Device 0012 (rev 01)
        Subsystem: Creative Labs Device 0010
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at dc8f8000 (64-bit, non-prefetchable) [size=16K]
        Memory at dc8fc000 (64-bit, non-prefetchable) [size=16K]

Change History (18)

comment:1 by SeanCollins, 4 years ago

I traced the breakage point of the HDA sound driver back to this commit via regressiont esting using nightly images.

https://git.haiku-os.org/haiku/commit/?id=532b6aa459d6d0389e437270e7d3da62c3f54a94

comment:2 by SeanCollins, 4 years ago

I have a AMD motherboard with both a AMD2 and AMD3 cpu socket, both with similar chipsets, all exhibitng similar problems. Here is some info from a similar issue with linux and memory mapping changes, If this is noise, apologies in advance, https://bugzilla.kernel.org/show_bug.cgi?id=42619

comment:3 by korli, 4 years ago

Does this ticket really affect R1/beta2 ?

in reply to:  2 ; comment:4 by korli, 4 years ago

Replying to SeanCollins:

https://bugzilla.kernel.org/show_bug.cgi?id=42619

Have you a board "MSI MS-7253"?

comment:5 by Starcrasher, 4 years ago

I don't know about the original ticket but for comments check also #16775

comment:6 by cocobean, 4 years ago

Replying to korli: R1B2, no. Note from other ticket: HDA does not work, and ICE 17 does not work, and both worked at beta 2.

The enhancement was to only add the PCI ID support for the Creative Sound Blaster Audigy Fx to R1B2 and greater (i.e. >=hrev54154+123). As of Haiku hrev54298, based on SeanCollins, the HDA driver is no longer functional/functioning properly on certain sound chips which exacerbated further audio/sound driver testing on current nightly builds.

Last edited 4 years ago by cocobean (previous) (diff)

comment:7 by korli, 4 years ago

Version: R1/beta2R1/Development

comment:9 by korli, 4 years ago

Please check with hrev54916 or newer.

in reply to:  4 ; comment:10 by SeanCollins, 4 years ago

Replying to korli:

Replying to SeanCollins:

https://bugzilla.kernel.org/show_bug.cgi?id=42619

Have you a board "MSI MS-7253"?

It's a chipset issue across many motherboard afaict, and they all use these chipsets. Also there have been changes made to at least the HDA driver code regarding PCI adressing from 32 to 64 bit

ListDev from one of my non working AM3 socket machines

Welcome to the Haiku shell.

~> listdev 

device Bridge (Host bridge) [6|0|0]
  vendor 1022: Advanced Micro Devices, Inc. [AMD]
  device 1204: Family 10h Processor Link Control

device Bridge (Host bridge) [6|0|0]
  vendor 1022: Advanced Micro Devices, Inc. [AMD]
  device 1203: Family 10h Processor Miscellaneous Control

device Bridge (Host bridge) [6|0|0]
  vendor 1022: Advanced Micro Devices, Inc. [AMD]
  device 1202: Family 10h Processor DRAM Controller

device Bridge (Host bridge) [6|0|0]
  vendor 1022: Advanced Micro Devices, Inc. [AMD]
  device 1201: Family 10h Processor Address Map

device Bridge (Host bridge) [6|0|0]
  vendor 1022: Advanced Micro Devices, Inc. [AMD]
  device 1200: Family 10h Processor HyperTransport Configuration

device Serial bus controller (USB controller, OHCI) [c|3|10]
  vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
  device 4399: SB7x0/SB8x0/SB9x0 USB OHCI2 Controller

device Multimedia controller (Multimedia audio controller) [4|1|0]
  vendor 1412: VIA Technologies Inc.
  device 1712: ICE1712 [Envy24] PCI Multi-Channel I/O Controller

device Bridge (PCI bridge, Subtractive decode) [6|4|1]
  vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
  device 4384: SBx00 PCI to PCI Bridge

device Bridge (ISA bridge) [6|1|0]
  vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
  device 439d: SB7x0/SB8x0/SB9x0 LPC host controller

device Multimedia controller (Audio device) [4|3|0]
  vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
  device 4383: SBx00 Azalia (Intel HDA)

device Mass storage controller (IDE interface, ISA Compatibility mode  [1|1|8a]
  vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
  device 439c: SB7x0/SB8x0/SB9x0 IDE Controller

device Serial bus controller (SMBus) [c|5|0]
  vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
  device 4385: SBx00 SMBus Controller

device Serial bus controller (USB controller, EHCI) [c|3|20]
  vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
  device 4396: SB7x0/SB8x0/SB9x0 USB EHCI Controller

device Serial bus controller (USB controller, OHCI) [c|3|10]
  vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
  device 4398: SB7x0 USB OHCI1 Controller

device Serial bus controller (USB controller, OHCI) [c|3|10]
  vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
  device 4397: SB7x0/SB8x0/SB9x0 USB OHCI0 Controller

device Serial bus controller (USB controller, EHCI) [c|3|20]
  vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
  device 4396: SB7x0/SB8x0/SB9x0 USB EHCI Controller

device Serial bus controller (USB controller, OHCI) [c|3|10]
  vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
  device 4398: SB7x0 USB OHCI1 Controller

device Serial bus controller (USB controller, OHCI) [c|3|10]
  vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
  device 4397: SB7x0/SB8x0/SB9x0 USB OHCI0 Controller

device Mass storage controller (SATA controller, AHCI 1.0) [1|6|1]
  vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
  device 4391: SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]

device Network controller (Ethernet controller) [2|0|0]
  vendor 1969: Qualcomm Atheros
  device 1091: AR8161 Gigabit Ethernet

device Bridge (PCI bridge, Normal decode) [6|4|0]
  vendor 1022: Advanced Micro Devices, Inc. [AMD]
  device 9606: RS780 PCI to PCI bridge (PCIE port 2)

device Multimedia controller (Audio device) [4|3|0]
  vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
  device aab0: Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]

device Display controller (VGA compatible controller, VGA controller) [3|0|0]
  vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
  device 683d: Cape Verde XT [Radeon HD 7770/8760 / R7 250X]

device Bridge (PCI bridge, Normal decode) [6|4|0]
  vendor 1022: Advanced Micro Devices, Inc. [AMD]
  device 9603: RS780 PCI to PCI bridge (ext gfx port 0)

device Bridge (Host bridge) [6|0|0]
  vendor 1022: Advanced Micro Devices, Inc. [AMD]
  device 9600: RS780 Host Bridge
~>

Last edited 4 years ago by diver (previous) (diff)

in reply to:  10 comment:11 by korli, 4 years ago

Replying to SeanCollins:

Replying to korli:

Replying to SeanCollins:

https://bugzilla.kernel.org/show_bug.cgi?id=42619

Have you a board "MSI MS-7253"?

It's a chipset issue across many motherboard afaict, and they all use these chipsets. Also

the linked Linux kernel bug is about a specific board "MSI MS-7253", so it can't relate.

comment:12 by SeanCollins, 4 years ago

The fix'es implemented by Jerome for the amd 40/48 bit adress spaced have resolved the issue for me, that chipset is used on the MSI ms-7253, I looked it up

comment:13 by korli, 4 years ago

cocobean, is it fixed for you?

comment:14 by cocobean, 4 years ago

@korli - The current Haiku HDA driver doesn't contain the PCI ID lookup for this card (AFAIK, hrev54942).

in reply to:  14 comment:15 by korli, 4 years ago

Replying to cocobean:

@korli - The current Haiku HDA driver doesn't contain the PCI ID lookup for this card (AFAIK, hrev54942).

So what? If this is a HDA-compliant card, it exposes a HDA audio class device, which should be handled by the HDA driver.

comment:16 by cocobean, 4 years ago

@korli - Verified on hrev54955. Provides clear audio without any crashes or media server restart issues using the Creative Sound Blaster Audigy Fx sound card and tested with Sony MDR-7502 headphones through headphone/front port. No hardware/software-related issues or crashes yet. Resolved.

Please close this ticket.

Last edited 4 years ago by cocobean (previous) (diff)

comment:17 by korli, 4 years ago

Milestone: UnscheduledR1/beta3
Resolution: fixed
Status: newclosed

comment:18 by korli, 4 years ago

thanks

Note: See TracTickets for help on using tickets.