Jump to content

ATI AC 97 Sounds (SB400) effort


  • This topic is locked This topic is locked
695 replies to this topic

#681
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,973 posts
  • Gender:Male
  • Location:Moscow
I recompile this version 1.1b1 to delete all IOLog() which writes something during playback :)
This kext is original 10.4.6 + compiled plugin AppleAC97AudioATIIXP.kext inside it.
My version here
http://forum.insanel...t...st&id=16238
This kext works with system sounds and with iTunes but not with QuickTime player. :(

I have laptop Samsung P29
Chipset ATI IXP 150 (probably)
Video Radeon Mobility 9000/9100 IGP DevID=5835
Sound ATI DevID=4341
MacOSX 10.4.6 JaS

2 MACnOObs
We have different system versions. So try to extract plugin AppleAC97AudioATIIXP.kext from my kext and plug it into system's default AppleAC97Audio.kext.
Don't worry about kexts dependencies. It is only warning.
If you have mic input go to Audio MIDI Setup and try to change something inside it

#682
MACn00bs

MACn00bs

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
I did what you told (restore old driver and put atiixp into plugins) still have same prob, the sound icon appears put no sound. There is activities with mics but quite lag ( 1 or 2 sec later)

In midi setup it says no output

and at boot i saw the last line about audio

ATIIPX...kext: cannot creat codec output device 2 (the 0 and 1 were ok)

Attached Files



#683
Azurael

Azurael

    How many Ace Rimmers does it take to change a lightbulb?

  • Members
  • PipPipPipPipPipPipPip
  • 776 posts
  • Gender:Male
Hint: use -w0 when dumping IOReg to a file. Otherwise the lines get cut off and the file is useless ^_^

#684
MACn00bs

MACn00bs

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
thanx and can you tell me what is the command to dump to a file what we have seen during the booting ?

#685
Azurael

Azurael

    How many Ace Rimmers does it take to change a lightbulb?

  • Members
  • PipPipPipPipPipPipPip
  • 776 posts
  • Gender:Male
it's in /var/log/system.log, or if you just want the most recent boot, sudo dmesg > dmesg.txt

#686
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,973 posts
  • Gender:Male
  • Location:Moscow

I did what you told (restore old driver and put atiixp into plugins) still have same prob, the sound icon appears put no sound. There is activities with mics but quite lag ( 1 or 2 sec later)

In midi setup it says no output

and at boot i saw the last line about audio

ATIIPX...kext: cannot creat codec output device 2 (the 0 and 1 were ok)

What is wrong! I look to your ioreg and compare with my. We have the same hardware?
Your:

| | | +-o AppleAC97AudioATIIXP <class AppleAC97AudioATIIXP, !registered,$
| | | | {
| | | | "CFBundleIdentifier" = "com.apple.driver.AppleAC97AudioATIIXP$
| | | | "IOClass" = "AppleAC97AudioATIIXP"
| | | | "IOPCIPrimaryMatch" = "0x43411002"
| | | | "IOProbeScore" = 0x0
| | | | "IOMatchCategory" = "IODefaultMatchCategory"
| | | | "IOProviderClass" = "IOPCIDevice"
| | | | "Hardware Name" = "ATI IXP SB400 SND"
| | | | }
| | | |
| | | +-o IOAC97CodecDevice@0 <class IOAC97CodecDevice, registered, ma$
| | | | | {
| | | | | "PNPVendorID" = "ADS70"
| | | | | }
| | | | |
| | | | +-o IOAC97AudioCodec <class IOAC97AudioCodec, registered, matc$
| | | | | {
| | | | | "IOMatchCategory" = "IODefaultMatchCategory"
| | | | | "Hardware Name" = "ADS70"
| | | | | "IOClass" = "IOAC97AudioCodec"
| | | | | "IOProviderClass" = "IOAC97CodecDevice"
| | | | | "CFBundleIdentifier" = "com.apple.driver.AppleAC97Audio"
| | | | | "IOProbeScore" = 0x0
| | | | | }

And my

| | | +-o AppleAC97AudioATIIXP <class AppleAC97AudioATIIXP, !registered, !matched, active, busy 0, retain count 9>
| | | | {
| | | | "CFBundleIdentifier" = "com.apple.driver.AppleAC97AudioATIIXP"
| | | | "IOClass" = "AppleAC97AudioATIIXP"
| | | | "IOPCIPrimaryMatch" = "0x43411002"
| | | | "IOProbeScore" = 0x0
| | | | "IOMatchCategory" = "IODefaultMatchCategory"
| | | | "IOProviderClass" = "IOPCIDevice"
| | | | "Hardware Name" = "ATI IXP SB400 SND"
| | | | }
| | | |
| | | +-o IOAC97CodecDevice@0 <class IOAC97CodecDevice, registered, matched, active, busy 0, retain count 6>
| | | | | {
| | | | | "PNPVendorID" = "ADS74"
| | | | | }
| | | | |
| | | | +-o AppleAC97CodecAD198x <class AppleAC97CodecAD198x, registered, matched, active, busy 0, retain count 19>
| | | | | {
| | | | | "IOMatchCategory" = "IODefaultMatchCategory"
| | | | | "Hardware Name" = "ADS74"
| | | | | "IOClass" = "AppleAC97CodecAD198x"
| | | | | "PNPVendorID" = "ADS75 ADS74 ADS73 ADS72"
| | | | | "IOProviderClass" = "IOAC97CodecDevice"
| | | | | "CFBundleIdentifier" = "com.apple.driver.AppleAC97CodecAD198x"
| | | | | "IOProbeScore" = 0x2710

You have no loaded CodecAD198x :(
May be you need to add string ADS70 into it's info.plist?

#687
MACn00bs

MACn00bs

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
yes !!! I got sound now, thank you very much.

I also notice that I must fix my CPU speed at 1600(max) for a normal play. If I let auto steep or fix under 1600 the sound becomes buggy.

Mics seems working(in sound setup i see the activities when i touch the mic, thought with 1 sec lag) but I didnt test recording yet

#688
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,973 posts
  • Gender:Male
  • Location:Moscow
Congratulations!
And what about Quick Time Player? Is it play sounds?

#689
MACn00bs

MACn00bs

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Yes all work, Quicktime and its plugin in firefox ;)

Im now on Mac almost of time ^^

Sometime sound become buggy and can make my systeme freeze also, I dont know why, maybe there is something wrong in the buffer memory ( because sometime it took 0,5 for sound to start, sometime plus).

If you want me to do smt just tell.

#690
EdFlyer

EdFlyer

    Computer Lackey

  • Members
  • PipPipPip
  • 159 posts
i used to dev on this project
could someone in the know post a current status of the driver

including known working hardware, compatibility with different versions of OSX, semi-working hardware, known bugs, features requested but not yet included in code.

-ed

#691
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,973 posts
  • Gender:Male
  • Location:Moscow

i used to dev on this project
could someone in the know post a current status of the driver

including known working hardware, compatibility with different versions of OSX, semi-working hardware, known bugs, features requested but not yet included in code.

-ed

ur english is not for my mind.

I'm not a developer of this driver but I can to make changes.
For me and for MACnOObs (devID=0x4341 with different Analog Device Chips) it is working.
Not work speaker configuration in Apple MIDI Setup (noise only in right speaker).
I have a problem with MP3 in QuickTime but I don't know it depends on sound driver or other system problem.
This driver works in any 10.4.x system. I check in 10.4.6 and 10.4.9
Some users request 5+1 sound but it's impossible because it is AC97 and not HDAudio.

That's all that I know.

#692
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,973 posts
  • Gender:Male
  • Location:Moscow
I have a new problem with this driver. I increase RAM to 1280Mb (1024+256) and sound became not working!
Some mistake in it. Help!

EDITED:
I decrease RAM to 1024Mb and sound works again!

#693
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,973 posts
  • Gender:Male
  • Location:Moscow

Yes all work, Quicktime and its plugin in firefox :D

Im now on Mac almost of time ^^

Sometime sound become buggy and can make my systeme freeze also, I dont know why, maybe there is something wrong in the buffer memory ( because sometime it took 0,5 for sound to start, sometime plus).

If you want me to do smt just tell.

Sounds buggy with IOPCIFamily.kext v 2.0-2.2 but works perfect with IOPCIFamily.kext v1.7

#694
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,973 posts
  • Gender:Male
  • Location:Moscow
I delete DebugLog from the sources because it writes in systemlog repeatly

AppleAC97AudioATIIXP::startDMAEngine: DMA already running

many times until

proc: table is full

That's all. System become non-responsible.

Where is developers?

#695
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 2,973 posts
  • Gender:Male
  • Location:Moscow

I have a new problem with this driver. I increase RAM to 1280Mb (1024+256) and sound became not working!
Some mistake in it. Help!

EDITED:
I decrease RAM to 1024Mb and sound works again!

It means that the driver suppose that user stay in kernel space that restricted to 1Gb.
It is an error!

#696
BlackCH

BlackCH

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,615 posts
  • Gender:Male
  • Location:BCN
My device is 4341 (vend: 1002). I was using an old version of this driver. It works for a while but then the audio start suttering or stops...
Then I tryed your version (post #681); It does the same with i-tunes (MP3) or quicktime (AVI)

I could help to test if you need. just let me know





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy