OS 4.1 update 4 Wazp3D SM502 Audio

This forum is for all AmigaOne 500, Sam440 and Sam460 specific issues.
Post Reply
User avatar
Interrogative
Posts: 37
Joined: Mon Mar 12, 2012 11:53 am
Location: Lawrenceburg, KY USA
Contact:

OS 4.1 update 4 Wazp3D SM502 Audio

Post by Interrogative »

Good day,

Something seems to be causing a conflict between the updated SM502 audio driver (6.2) and Wazp3D (52.1).

Before I updated to the new SM502 audio driver, I had installed Wazp3D (renaming the old Warp3D library "warp3D.old.library" and renaming wazp3D.library warp3D.library as per instructions). Audio worked under the older SM502 audio driver.

After updating to the new audio driver, two things happened. First, I had no audio, no matter how many times I rebooted (warm and cold boots). Second, after a cold boot, Workbench would appear in a 640x480x8bit screen. After a warm reset, my screenmode would return to its 1280x1024x32 screen.

I tried deleting non-SM502 files from AHI and audiomodes drawers. I tried setting the executable flags on the SM502 files. I checked and rechecked the AHI prefs settings. No sound came from my SAM460ex. Finally, I restored my old Warp3D library, deleting the wazp3D library. After a reboot, I had sound.

Hardware
SAM460ex lite
512MB
EAX1600 PCIE 256MB video
sii680 PCI card

Software installed on SYS: partition
OS4.1 update 4 (fairly fresh install on a SFS partition alongside a 1 GB SWAP and JXFS Work partition)
wazp3D (52.1) deleted for the present
SM502 audio (6.2) active
Timberwolf (latest beta)
MUIOWB
AmiUpdate

I will attempt a serial capture when I get home from work if that would be helpful for a diagnosis.
U-Boot 2010.06.05a (Jan 30 2012 - 16:06:56)

CPU: AMCC PowerPC 460EX Rev. B at 1017.500 MHz (PLB=203 OPB=101 EBC=101)
No Security/Kasumi support
Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
Internal PCI arbiter enabled
32 kB I-Cache 32 kB D-Cache
Board: Sam460ex, PCIe 4x + SATA-2
I2C: ready
DRAM: 512 MiB (ECC not enabled, 407 MHz, CL4)
PCI: Bus Dev VenId DevId Class Int
00 04 1095 0680 0104 00
00 06 126f 0501 0380 00
PCIE1: successfully set as root-complex
02 00 1002 71c3 0300 ff
Net: ppc_4xx_eth0
FPGA: Revision 03 (2010-10-07)
SM502: found
VGA: 1
VESA: OK
Edit 04/17/2012
I tried booting with debug level set at 1 and later at level 2. I did not get any additional information captured; however, my SAM460ex is now booting into the 640x480x8 screenmode with every cold boot. I reset the debug level to 0. It still booted into 640x480x8. I removed the SM502 audio driver, and had no more problems booting into 640x480x8.
Motherboard: SAM460ex lite @1017 MHz 2 GB DDR2 SOLD
PCIe 4x: XFX Radeon HD 7750 Core Edition 1 GB SOLD
PCI: SYBA SY-SA3512-2R 2 Port SATA SOLD
PCIe 1x: Vantec UGT-S110 7.1 Audio SOLD
OS: AmigaOS 4.1 FE SOLD
User avatar
Interrogative
Posts: 37
Joined: Mon Mar 12, 2012 11:53 am
Location: Lawrenceburg, KY USA
Contact:

Re: OS 4.1 update 4 Wazp3D SM502 Audio

Post by Interrogative »

I reactivated SM502 audio driver and Wazp3D. I set debug to serial level 4 and activated AHI debug. I cold booted, resulting in 640x480x8 screenmode with no sound (I expected no sound on the first boot). Here are the results.
Hidden Text - Click to Show :
U-Boot 2010.06.05a (Jan 30 2012 - 16:06:56)

CPU: AMCC PowerPC 460EX Rev. B at 1017.500 MHz (PLB=203 OPB=101 EBC=101)
No Security/Kasumi support
Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
Internal PCI arbiter enabled
32 kB I-Cache 32 kB D-Cache
Board: Sam460ex, PCIe 4x + SATA-2
I2C: ready
DRAM: 512 MiB (ECC not enabled, 407 MHz, CL4)
PCI: Bus Dev VenId DevId Class Int
00 04 1095 0680 0104 00
00 06 126f 0501 0380 00
PCIE1: successfully set as root-complex
02 00 1002 71c3 0300 ff
Net: ppc_4xx_eth0
FPGA: Revision 03 (2010-10-07)
SM502: found
VGA: 1
VESA: OK
msr = 0x00001030
[keybdevLIBInit] LibInit of keyboard device
RadeonHD (2): Identified the chipset as: RV535
RadeonHD (2): If - and only if - your card does not work or does not work opti
mally
please contact Hans de Ruiter at hans --email-sign-- hdrlab.org.nz to he
lp rectify this.
Use the subject: 0x71C3:0x1043:0x01A8: <name of board>
and *please* describe the problems you are seeing
in your message.
Output: 1 HW DDC 0 NO HPD
Output: 2 NO DDC NO HPD
Output: 3 HW DDC 1 HPD 0
Output: 2 HW DDC 1 NO HPD
RadeonHD.chip (0): RadeonHD card successfully opened
Scanning bus 'VGA 1'
failed.
Scanning bus 'DVI-I 1'
failed.
it8212ide.device 53.8 (16.1.2011)
[it8212ide/dev_init] Nothing started, bailing out
lsi53c8xx.device 53.8 (16.1.2011)
[lsi53c8xx/dev_init] Nothing started, bailing out
sam460sata.device 53.8 (16.1.2011)
[sam460sata/dev_init] Running on PPC460ex
[sam460sata/dev_init] SATA mode enabled
[sam460sata/init_port] ---> Port 0
[sam460sata/init_port] IOBase 00000000, AltBase 00000020
[sam460sata/init_port] bmcr_base 00000000
[sam460sata/init_port] MMIOBase E20D1000
[sam460sata/init_port] Config not forced, scanning port 0...
[sam460sata/init_port] 0 device(s) on port
[sam460sata/dev_init] Nothing started, bailing out
sii0680ide.device 53.8 (16.1.2011)
[sii0680ide/dev_init] Config forced in $sii0680ide_conf : 1020
[sii0680ide/dev_init] Xfer modes forced in $sii0680ide_xfer : F0C0
[sii0680ide/dev_init] Found chip #0
[sii0680ide/init_port] ---> Port 0
[sii0680ide/init_port] IOBase 00001000, AltBase 0000100A
[sii0680ide/init_port] bmcr_base 00001020
[sii0680ide/init_port] MMIOBase 80000000
[sii0680ide/init_port] Config forced, won't scan port 0
[sii0680ide/init_port] 1 device(s) on port
[sii0680ide/port_list] 0 Master : 'ATA'
[sii0680ide/port_list] 1 Slave : 'no device'
[sii0680ide/init_port] Starting 'sii0680ide.device - chip 0 port 0' task
[sii0680ide/int_install_handler] Installing handler for irq 48
[sii0680ide/init_unit] Trying to configure unit 0
[sii0680ide/ata_read_drive_properties] Unit 0 : LBA48-capable but LBA28 size
[sii0680ide/ata_read_drive_properties] multi_count 16
[sii0680ide/ata_read_drive_properties] Adjusting unit 0 to xfer mode 69
[sii0680ide/init_unit] Unit configured, flags $0185
[sii0680ide/init_port] Port 0 task started
[sii0680ide/init_port] ---> Port 1
[sii0680ide/init_port] IOBase 00001010, AltBase 0000101A
[sii0680ide/init_port] bmcr_base 00001028
[sii0680ide/init_port] MMIOBase 80000000
[sii0680ide/init_port] Config forced, won't scan port 1
[sii0680ide/init_port] 1 device(s) on port
[sii0680ide/port_list] 0 Master : 'ATAPI'
[sii0680ide/port_list] 1 Slave : 'no device'
[sii0680ide/init_port] Starting 'sii0680ide.device - chip 0 port 1' task
[sii0680ide/init_unit] Trying to configure unit 2
[sii0680ide/ata_read_drive_properties] Adjusting unit 2 to xfer mode 66
[sii0680ide/init_unit] Unit configured, flags $011D
[sii0680ide/init_port] Port 1 task started
[sii0680ide/dev_init] All done
sii3112ide.device 53.8 (16.1.2011)
[sii3112ide/dev_init] Nothing started, bailing out
sii3114ide.device 53.8 (16.1.2011)
[sii3114ide/dev_init] Nothing started, bailing out
sii3512ide.device 53.8 (16.1.2011)
[sii3512ide/dev_init] Nothing started, bailing out
[sii0680ide/find_unit] unitnum 4 invalid (!chip)
[sii0680ide/find_unit] unitnum 5 invalid (!chip)
[sii0680ide/find_unit] unitnum 6 invalid (!chip)
[sii0680ide/find_unit] unitnum 7 invalid (!chip)
[sii0680ide/find_unit] unitnum 8 invalid (!chip)
[sii0680ide/find_unit] unitnum 9 invalid (!chip)
[sii0680ide/find_unit] unitnum 10 invalid (!chip)
[sii0680ide/find_unit] unitnum 11 invalid (!chip)
[sii0680ide/find_unit] unitnum 12 invalid (!chip)
[sii0680ide/find_unit] unitnum 13 invalid (!chip)
[sii0680ide/find_unit] unitnum 14 invalid (!chip)
[sii0680ide/find_unit] unitnum 15 invalid (!chip)
[OHCI] Enabled USB port on the 460ex processor.
[OHCI] Forcing powering down before a reset

[DOS] NOTE: Kernel debug level detected as 1
SYSTEM_CTRL 04000000
MISC_CTRL 00100001
MISC_TIMING 00090900
Scanning bus 'vga'


0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
EDID V0.0
Wrong header!
SM502: Card found! :-)
SM502: PCI_COMMAND = 0x06
SM502: PCI_COMMAND = 0x07
SM502: FBBase = 0x84000000
SM502: FBSize = 0x4000000
SM502: IOBase = 0x88000000
SM502: Added interrupt, number: 0x1444B40, return status: 0x1
SM502: CURRENT_CLOCK = 0x221A0A01
SM502: CURRENT_CLOCK = 0x221A0101
SM502: MISC_TIMING = 0x90900
SM502: GPIO_CONTROL = 0x20000000
SM502: GPIO_CONTROL = 0x3F000000
SM502: ARBITRATION = 0x5146732
SM502: ARBITRATION = 0x5146132
SM502: INTERRUPT_MASK = 0x0
SM502: INTERRUPT_MASK = 0x400
SM502: POWER_MODE_CONTROL = 0x0
SM502: CURRENT_GATE = 0x2184F
SM502: CURRENT_GATE = 0x6184F
SM502: 8051_MODE = 0x0
SM502: 8051_MODE = 0x10
SM502: GPIO:31-10 = 0x3F000000
SM502: Readback GPIO:31-10 = 0x3F008000
SM502: AC97_CONTROL = 0x130
SM502: AC97_CONTROL = 0x3
SM502: AC97_CONTROL = 0xA931
SM502: Reached end of firmware image
SM502: Loaded Firmware into 8051
SM502: Interrupt Status = 0x0
SM502: GPIO DATA DIRECTION LOW = 0x0
SM502: GPIO DATA LOW = 0x7001041
SM502: MISC CONTROL = 0x100001
SM502: Writing value 0x0 to register 0x2 in codec_write
SM502: Writing value 0x8000 to register 0x6 in codec_write
SM502: Writing value 0x8000 to register 0xA in codec_write
SM502: Writing value 0x0 to register 0x1A in codec_write
SM502: Writing value 0x0 to register 0x1C in codec_write
SM502: Writing value 0x8008 to register 0xC in codec_write
SM502: Writing value 0x8048 to register 0xE in codec_write
SM502: Writing value 0x8808 to register 0x10 in codec_write
SM502: Writing value 0x808 to register 0x12 in codec_write
SM502: Writing value 0x8808 to register 0x16 in codec_write
SM502: Writing value 0x808 to register 0x18 in codec_write
SM502: Writing value 0x8080 to register 0x36 in codec_write
SM502: Writing value 0x8080 to register 0x38 in codec_write
SM502: Writing value 0x8808 to register 0x64 in codec_write
SM502: Writing value 0x8808 to register 0x66 in codec_write
SM502: Reading from register 0x7C in codec_read
SM502: Codec Vendor = 0x414C
SM502: Reading from register 0x7E in codec_read
SM502: Codec ID = 0x4760
SM502: CURRENT_CLOCK = 0x221A0101
SM502: CURRENT_CLOCK = 0x221A0101
SM502: Reading from register 0x2 in codec_read
SM502: Read back of AC97 register MASTER_VOL = 0x0
SM502: Reading from register 0xE in codec_read
SM502: Read back of AC97 register MIC_VOL = 0x8048
SM502: Reading from register 0x12 in codec_read
SM502: Read back of AC97 register CD_VOL = 0x808
SM502: Reading from register 0x18 in codec_read
SM502: Read back of AC97 register PCMOUT_VOL = 0x808
SM502: card_init() successful
SM502: Reading from register 0xE in codec_read
SM502: Reading from register 0x12 in codec_read
SM502: Reading from register 0x16 in codec_read
SM502: Reading from register 0x10 in codec_read
SM502: Exit init
No SOLO_ONE found! :-(
AHI_AllocAudioA(
AHIA_AudioID, 0x001F0002,
AHIA_MixFreq, 48000,
AHIA_Channels, 32,
AHIA_Sounds, 128,
AHIA_PlayerFunc, 0x5B9E80A8,
AHIA_RecordFunc, 0x5B9E80BC,
AHIA_SoundFunc, 0x5B9E80D0,
TAG_DONE)AHI_SampleFrameSize(10)=>8
AHI_SampleFrameSize(10)=>8
=>0x5B9E8240
AHI_ControlAudioA(0x5B9E8240,
AHIC_MonitorVolume, 0.18,
AHIC_InputGain, 1.0,
AHIC_OutputVolume, 1.59,
AHIC_Input, 0,
AHIC_Output, 0,
TAG_DONE)SM502: Writing value 0x0 to register 0x1C in codec_write
SM502: Writing value 0x808 to register 0x18 in codec_write
SM502: Writing value 0x404 to register 0x1A in codec_write
=>0
=>0
CloseDevice(0x5FD2D2B0)
Warning: Expected I/O request 0x00000000.
AHI_FreeAudio(0x5B9E8240)
AHI_UnloadSound(127, 0x5B9E8240)
AHI_UnloadSound(126, 0x5B9E8240)
AHI_UnloadSound(125, 0x5B9E8240)
AHI_UnloadSound(124, 0x5B9E8240)
AHI_UnloadSound(123, 0x5B9E8240)
AHI_UnloadSound(122, 0x5B9E8240)
AHI_UnloadSound(121, 0x5B9E8240)
AHI_UnloadSound(120, 0x5B9E8240)
AHI_UnloadSound(119, 0x5B9E8240)
AHI_UnloadSound(118, 0x5B9E8240)
AHI_UnloadSound(117, 0x5B9E8240)
AHI_UnloadSound(116, 0x5B9E8240)
AHI_UnloadSound(115, 0x5B9E8240)
AHI_UnloadSound(114, 0x5B9E8240)
AHI_UnloadSound(113, 0x5B9E8240)
AHI_UnloadSound(112, 0x5B9E8240)
AHI_UnloadSound(111, 0x5B9E8240)
AHI_UnloadSound(110, 0x5B9E8240)
AHI_UnloadSound(109, 0x5B9E8240)
AHI_UnloadSound(108, 0x5B9E8240)
AHI_UnloadSound(107, 0x5B9E8240)
AHI_UnloadSound(106, 0x5B9E8240)
AHI_UnloadSound(105, 0x5B9E8240)
AHI_UnloadSound(104, 0x5B9E8240)
AHI_UnloadSound(103, 0x5B9E8240)
AHI_UnloadSound(102, 0x5B9E8240)
AHI_UnloadSound(101, 0x5B9E8240)
AHI_UnloadSound(100, 0x5B9E8240)
AHI_UnloadSound(99, 0x5B9E8240)
AHI_UnloadSound(98, 0x5B9E8240)
AHI_UnloadSound(97, 0x5B9E8240)
AHI_UnloadSound(96, 0x5B9E8240)
AHI_UnloadSound(95, 0x5B9E8240)
AHI_UnloadSound(94, 0x5B9E8240)
AHI_UnloadSound(93, 0x5B9E8240)
AHI_UnloadSound(92, 0x5B9E8240)
AHI_UnloadSound(91, 0x5B9E8240)
AHI_UnloadSound(90, 0x5B9E8240)
AHI_UnloadSound(89, 0x5B9E8240)
AHI_UnloadSound(88, 0x5B9E8240)
AHI_UnloadSound(87, 0x5B9E8240)
AHI_UnloadSound(86, 0x5B9E8240)
AHI_UnloadSound(85, 0x5B9E8240)
AHI_UnloadSound(84, 0x5B9E8240)
AHI_UnloadSound(83, 0x5B9E8240)
AHI_UnloadSound(82, 0x5B9E8240)
AHI_UnloadSound(81, 0x5B9E8240)
AHI_UnloadSound(80, 0x5B9E8240)
AHI_UnloadSound(79, 0x5B9E8240)
AHI_UnloadSound(78, 0x5B9E8240)
AHI_UnloadSound(77, 0x5B9E8240)
AHI_UnloadSound(76, 0x5B9E8240)
AHI_UnloadSound(75, 0x5B9E8240)
AHI_UnloadSound(74, 0x5B9E8240)
AHI_UnloadSound(73, 0x5B9E8240)
AHI_UnloadSound(72, 0x5B9E8240)
AHI_UnloadSound(71, 0x5B9E8240)
AHI_UnloadSound(70, 0x5B9E8240)
AHI_UnloadSound(69, 0x5B9E8240)
AHI_UnloadSound(68, 0x5B9E8240)
AHI_UnloadSound(67, 0x5B9E8240)
AHI_UnloadSound(66, 0x5B9E8240)
AHI_UnloadSound(65, 0x5B9E8240)
AHI_UnloadSound(64, 0x5B9E8240)
AHI_UnloadSound(63, 0x5B9E8240)
AHI_UnloadSound(62, 0x5B9E8240)
AHI_UnloadSound(61, 0x5B9E8240)
AHI_UnloadSound(60, 0x5B9E8240)
AHI_UnloadSound(59, 0x5B9E8240)
AHI_UnloadSound(58, 0x5B9E8240)
AHI_UnloadSound(57, 0x5B9E8240)
AHI_UnloadSound(56, 0x5B9E8240)
AHI_UnloadSound(55, 0x5B9E8240)
AHI_UnloadSound(54, 0x5B9E8240)
AHI_UnloadSound(53, 0x5B9E8240)
AHI_UnloadSound(52, 0x5B9E8240)
AHI_UnloadSound(51, 0x5B9E8240)
AHI_UnloadSound(50, 0x5B9E8240)
AHI_UnloadSound(49, 0x5B9E8240)
AHI_UnloadSound(48, 0x5B9E8240)
AHI_UnloadSound(47, 0x5B9E8240)
AHI_UnloadSound(46, 0x5B9E8240)
AHI_UnloadSound(45, 0x5B9E8240)
AHI_UnloadSound(44, 0x5B9E8240)
AHI_UnloadSound(43, 0x5B9E8240)
AHI_UnloadSound(42, 0x5B9E8240)
AHI_UnloadSound(41, 0x5B9E8240)
AHI_UnloadSound(40, 0x5B9E8240)
AHI_UnloadSound(39, 0x5B9E8240)
AHI_UnloadSound(38, 0x5B9E8240)
AHI_UnloadSound(37, 0x5B9E8240)
AHI_UnloadSound(36, 0x5B9E8240)
AHI_UnloadSound(35, 0x5B9E8240)
AHI_UnloadSound(34, 0x5B9E8240)
AHI_UnloadSound(33, 0x5B9E8240)
AHI_UnloadSound(32, 0x5B9E8240)
AHI_UnloadSound(31, 0x5B9E8240)
AHI_UnloadSound(30, 0x5B9E8240)
AHI_UnloadSound(29, 0x5B9E8240)
AHI_UnloadSound(28, 0x5B9E8240)
AHI_UnloadSound(27, 0x5B9E8240)
AHI_UnloadSound(26, 0x5B9E8240)
AHI_UnloadSound(25, 0x5B9E8240)
AHI_UnloadSound(24, 0x5B9E8240)
AHI_UnloadSound(23, 0x5B9E8240)
AHI_UnloadSound(22, 0x5B9E8240)
AHI_UnloadSound(21, 0x5B9E8240)
AHI_UnloadSound(20, 0x5B9E8240)
AHI_UnloadSound(19, 0x5B9E8240)
AHI_UnloadSound(18, 0x5B9E8240)
AHI_UnloadSound(17, 0x5B9E8240)
AHI_UnloadSound(16, 0x5B9E8240)
AHI_UnloadSound(15, 0x5B9E8240)
AHI_UnloadSound(14, 0x5B9E8240)
AHI_UnloadSound(13, 0x5B9E8240)
AHI_UnloadSound(12, 0x5B9E8240)
AHI_UnloadSound(11, 0x5B9E8240)
AHI_UnloadSound(10, 0x5B9E8240)
AHI_UnloadSound(9, 0x5B9E8240)
AHI_UnloadSound(8, 0x5B9E8240)
AHI_UnloadSound(7, 0x5B9E8240)
AHI_UnloadSound(6, 0x5B9E8240)
AHI_UnloadSound(5, 0x5B9E8240)
AHI_UnloadSound(4, 0x5B9E8240)
AHI_UnloadSound(3, 0x5B9E8240)
AHI_UnloadSound(2, 0x5B9E8240)
AHI_UnloadSound(1, 0x5B9E8240)
AHI_UnloadSound(0, 0x5B9E8240)
Motherboard: SAM460ex lite @1017 MHz 2 GB DDR2 SOLD
PCIe 4x: XFX Radeon HD 7750 Core Edition 1 GB SOLD
PCI: SYBA SY-SA3512-2R 2 Port SATA SOLD
PCIe 1x: Vantec UGT-S110 7.1 Audio SOLD
OS: AmigaOS 4.1 FE SOLD
User avatar
Interrogative
Posts: 37
Joined: Mon Mar 12, 2012 11:53 am
Location: Lawrenceburg, KY USA
Contact:

Re: OS 4.1 update 4 Wazp3D SM502 Audio

Post by Interrogative »

In case anyone was following this thread, trying to figure out what was wrong, I thought I'd update you all.

After capturing the debug output above, I wanted to remove the "serial" option from the os4_commandline debug command. After some thinking about my transfer values (which are one DMA setting below the max transfer listed under idetool), I decided to reset uboot to factory settings. Guess what?

Resetting uboot to factory default settings allowed me to have both sound and wazp3D. Before anyone else says it, may I be the first to say that this is wierd! However, since I have both sound and wazp3D, it's good wierd

I set up my transfer settings to DMA again. I still have sound, wazp3D, and only the occasional 640x480x8 screenmode (a cli pops up right before workbench stating that it can't find X1600 screenmodes). What could be hiding the X1600 screenmodes on occasion?
Motherboard: SAM460ex lite @1017 MHz 2 GB DDR2 SOLD
PCIe 4x: XFX Radeon HD 7750 Core Edition 1 GB SOLD
PCI: SYBA SY-SA3512-2R 2 Port SATA SOLD
PCIe 1x: Vantec UGT-S110 7.1 Audio SOLD
OS: AmigaOS 4.1 FE SOLD
Post Reply