Jump to content

Natit new development version with ATI and nVidia dual screen


  • Please log in to reply
804 replies to this topic

#1
dm_webd

dm_webd

    InsanelyMac Protégé

  • Retired Developers
  • 63 posts
  • Gender:Male
  • Location:Denmark
This is a new build with more settings possible in Info.plist. Contains device-id -> name for both nVidia and ATI.
Inside is default settings for ati and nvidia which will be set if not otherwise specified. To specify other settings for a specific device id put a string inside the dictionary of the device id, with key "entriesToAddKey" and value of your choice. Then add to the entriesToAdd dictionary of the vendor, a dictionary with the key you choose before. Then this should be loaded for devices where entriesToAddKey is set to the dictionary's key.
This sounds confusing, but it's actually now. I'm just to tired to explain it better right now. If someone can explain this better, it would be great.
But anyway, this design should make it possible to collect the different configurations that work, and put them inside their own dictionaries, then point the device ids to the right dictionary for the card.

Warning: this has not been tested very much (and only on nVidia), and the default values might not work for you as they're taken from attempts at getting multiple displays working.

Please report back any bugs you find. Stories of success is also welcome. :)

--- EDIT ---
The reason why I'm not releasing source code yet is that the source contains a lot of confusing and messy vbe & gdt/ldt code which is not in use yet. Once I get it fully working and cleaned up I will of course release the source again.

--- EDIT ---
I've removed from some entries from the ATI default values and set the display-connect-flags to the right values on suggestion from MiR.

--- EDIT ---
New release with test of ATI autodetect of X1300, X1600, X1800 & X1900 based on values provided by Ciber.
Please report any results as the code for multiple settings for different device-ids has not been tested yet.

--- EDIT ---
For QE/CI you have to add the device id of your card in ATIRadeonX1000.kext.

Attached Files



#2
phor2zero

phor2zero

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 209 posts
  • Gender:Male
  • Location:Schweiz
Awesome dm_webd!

I've downloaded and will test this on my two screens (both dvi, one 19" one 47") system in signature

Since the titan kext seems to have been abandoned, and you're doing such a great development job on Natit, --> Could you please take a look at this thread I started and let me know if there's anything I can do?
http://forum.insanel...o...c=33003&hl=

ConGratz on your great work!

#3
Ciber

Ciber

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
About to test on my X1600XT...

#4
MiR

MiR

    InsanelyMac Protégé

  • Retired Developers
  • 18 posts
I removed the unnecessary keys (see the other posting), removed /System/Library/Extensions.* and rebooted...

System starts without troubles, my graphics card is now 100% detected and I can see the real name in 'About this Mac'.

Thank you very, very much!

I will start playing arround with the GMA950 of my Mac Mini tomorrow.

Keep up the great work (and please keep it Open-Source!!!)

MiR

#5
dm_webd

dm_webd

    InsanelyMac Protégé

  • Retired Developers
  • 63 posts
  • Gender:Male
  • Location:Denmark

I removed the unnecessary keys (see the other posting), removed /System/Library/Extensions.* and rebooted...

System starts without troubles, my graphics card is now 100% detected and I can see the real name in 'About this Mac'.

Thank you very, very much!

I will start playing arround with the GMA950 of my Mac Mini tomorrow.

Keep up the great work (and please keep it Open-Source!!!)

MiR

I've removed the keys you suggest and set the display-connect-flags to the correct hex values. Do you think the display-connect-flags should be removed completely?
It's great to have people like you experimenting and getting great results - this way this project is developed by the community. So of course I will keep the source open - but for now this was just a quick release for testing. I will release source in a day or two when the vbe code is complete.

#6
Ciber

Ciber

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts
If you're using an X1600, remember to change all the Alopias entries to Wormy. My X1600XT was fully detected after that, but still no dual screen, my second dvi port is still dead.

Here's my log:

Nov 12 17:01:18 localhost kernel[0]: BSD root: disk0s1, major 14, minor 1
Nov 12 17:01:18 localhost kernel[0]: AppleIntel8254XEthernet: Detected 82573V on PCI-E (x1)
Nov 12 17:01:18 localhost kernel[0]: Jettisoning kernel linker.
Nov 12 17:01:18 localhost kernel[0]: Resetting IOCatalogue.
Nov 12 17:01:18 localhost kernel[0]: display: family specific matching fails
Nov 12 17:01:18 localhost kernel[0]: display: family specific matching fails
Nov 12 17:01:18 localhost kernel[0]: Matching service count = 0
Nov 12 17:01:18 localhost kernel[0]: Matching service count = 2
Nov 12 17:01:18 localhost kernel[0]: Matching service count = 2
Nov 12 17:01:18 localhost kernel[0]: Matching service count = 2
Nov 12 17:01:18 localhost kernel[0]: Matching service count = 2
Nov 12 17:01:18 localhost kernel[0]: Matching service count = 3
Nov 12 17:01:18 localhost kernel[0]: display: family specific matching fails
Nov 12 17:01:18 localhost kernel[0]: display: family specific matching fails
Nov 12 17:01:18 localhost kernel[0]: display: family specific matching fails
Nov 12 17:01:18 localhost kernel[0]: display: family specific matching fails
Nov 12 17:01:18 localhost kernel[0]: display: family specific matching fails
Nov 12 17:01:18 localhost kernel[0]: Natit: Starting.
Nov 12 17:01:18 localhost kernel[0]: device-id: 0x71E0
Nov 12 17:01:18 localhost kernel[0]: Found device
Nov 12 17:01:18 localhost kernel[0]: Found device name
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting device_type=ATY,WormyParent
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @1,device_type=display
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @0,compatible=ATY,Wormy
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @0,display-connect-flags=0x00000400
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @1,compatible=ATY,Wormy
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @1,display-connect-flags=0x00000400
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @1,name=ATY,Wormy
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @0,name=ATY,Wormy
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @0,device_type=display
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting model=ATI Radeon X1600 Series Secondary
Nov 12 17:01:18 localhost kernel[0]: display: family specific matching fails
Nov 12 17:01:18 localhost kernel[0]: display: family specific matching fails
Nov 12 17:01:18 localhost kernel[0]: Natit: Starting.
Nov 12 17:01:18 localhost kernel[0]: device-id: 0x71C0
Nov 12 17:01:18 localhost kernel[0]: Found device
Nov 12 17:01:18 localhost kernel[0]: Found device name
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting device_type=ATY,WormyParent
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @1,device_type=display
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @0,compatible=ATY,Wormy
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @0,display-connect-flags=0x00000400
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @1,compatible=ATY,Wormy
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @1,display-connect-flags=0x00000400
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @1,name=ATY,Wormy
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @0,name=ATY,Wormy
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @0,device_type=display
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting model=ATI Radeon X1600 Series
Nov 12 17:01:18 localhost kernel[0]: display: family specific matching fails
Nov 12 17:01:18 localhost kernel[0]: Natit: Starting.
Nov 12 17:01:18 localhost kernel[0]: device-id: 0x71C0
Nov 12 17:01:18 localhost kernel[0]: Found device
Nov 12 17:01:18 localhost kernel[0]: Found device name
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting device_type=ATY,WormyParent
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @1,device_type=display
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @0,compatible=ATY,Wormy
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @0,display-connect-flags=0x00000400
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @1,compatible=ATY,Wormy
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @1,display-connect-flags=0x00000400
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @1,name=ATY,Wormy
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @0,name=ATY,Wormy
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting @0,device_type=display
Nov 12 17:01:18 localhost kernel[0]: Natit: Setting model=ATI Radeon X1600 Series
Nov 12 17:01:18 localhost kernel[0]: IPv6 packet filtering initialized, default to accept, logging disabled
Nov 12 17:01:18 localhost mDNSResponder-108.2 (Aug 25 2006 14: 50:48)[56]: starting
Nov 12 17:01:18 localhost memberd[63]: memberd starting up
Nov 12 17:01:18 localhost lookupd[64]: lookupd (version 369.6) starting - Sun Nov 12 17:01:18 2006
Nov 12 17:01:18 localhost DirectoryService[68]: Launched version 2.1 (v353.5)
Nov 12 17:01:19 localhost diskarbitrationd[62]: disk0s1 hfs 6F340C06-8291-3969-9A09-67CB117313D8 Macintosh HD /
Nov 12 17:01:20 localhost kernel[0]: ATY,Wormy: Not usable
Nov 12 17:01:20 localhost kernel[0]: ATY,Wormy: Not usable



#7
dm_webd

dm_webd

    InsanelyMac Protégé

  • Retired Developers
  • 63 posts
  • Gender:Male
  • Location:Denmark

If you're using an X1600, remember to change all the Alopias entries to Wormy. My X1600XT was fully detected after that, but still no dual screen, my second dvi port is still dead.

Thanks for the input. I'll write this info down to add for autodetection. Do you know values for other ati cards?

#8
Ciber

Ciber

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts

Thanks for the input. I'll write this info down to add for autodetection. Do you know values for other ati cards?


Caretta = x1300, Wormy = x1600, Alopias = x1800, Sphyrna = x1900

#9
Ruud

Ruud

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 142 posts
  • Gender:Male
  • Location:The Netherlands
great work, this natit version does find my mobility x700 card, so that one stap further to a working x700 :)

oke, after he finds the card, it loads the logon window, and doesnt go further, you only see the boot screen.


but, it finds the card so we are one step further.


Ruud

#10
MiR

MiR

    InsanelyMac Protégé

  • Retired Developers
  • 18 posts

I've removed the keys you suggest and set the display-connect-flags to the correct hex values. Do you think the display-connect-flags should be removed completely?
It's great to have people like you experimenting and getting great results - this way this project is developed by the community. So of course I will keep the source open - but for now this was just a quick release for testing. I will release source in a day or two when the vbe code is complete.


I will re-install my system tomorrow, after that we will know if the entries are necessary.

No hurry with the source, better release source that is complete instead of a hurried version that is difficult to read. One thing to address in the future might be to create specialized patches for several Device-ID's. The entries we have right now may be sufficient for a X1900XT, but there may exist extra settings for a X1600 card that need to be applied if it is detected.

Perhaps it's an idea to keep natit simple and straightforward and to create an installer that does some hardware detection magic and creates parts of the info.plist based on it's findings.

Fortunately the Freepascal Compiler was ported to the mac, creating this hardware detection seems like a nice project for my spare time...

MiR

#11
dm_webd

dm_webd

    InsanelyMac Protégé

  • Retired Developers
  • 63 posts
  • Gender:Male
  • Location:Denmark

Caretta = x1300, Wormy = x1600, Alopias = x1800, Sphyrna = x1900

Thanks for the info. I've added a new version with autodetect based on these values. It has not been tested, so if you could test if it detects your card properly, it would be a great help.

#12
~Neo

~Neo

    The installer man. Formerly known as "NeoPheus"

  • Retired Developers
  • 644 posts
  • Gender:Male
  • Location:Germany

I will re-install my system tomorrow, after that we will know if the entries are necessary.

No hurry with the source, better release source that is complete instead of a hurried version that is difficult to read. One thing to address in the future might be to create specialized patches for several Device-ID's. The entries we have right now may be sufficient for a X1900XT, but there may exist extra settings for a X1600 card that need to be applied if it is detected.

Perhaps it's an idea to keep natit simple and straightforward and to create an installer that does some hardware detection magic and creates parts of the info.plist based on it's findings.

Fortunately the Freepascal Compiler was ported to the mac, creating this hardware detection seems like a nice project for my spare time...

MiR


I would say we test the kext out and develop it till it works for all cards! Then I can make an automized installer with DevID detection and plist changing! (Only if you like) :pirate2:
Edit: Ok, nice work, dm_webd! :(

#13
dm_webd

dm_webd

    InsanelyMac Protégé

  • Retired Developers
  • 63 posts
  • Gender:Male
  • Location:Denmark

No hurry with the source, better release source that is complete instead of a hurried version that is difficult to read. One thing to address in the future might be to create specialized patches for several Device-ID's. The entries we have right now may be sufficient for a X1900XT, but there may exist extra settings for a X1600 card that need to be applied if it is detected.

This is already implemented. You can see an example in the Info.plist of the version I just posted. I don't know if it works yet.

Perhaps it's an idea to keep natit simple and straightforward and to create an installer that does some hardware detection magic and creates parts of the info.plist based on it's findings.

Fortunately the Freepascal Compiler was ported to the mac, creating this hardware detection seems like a nice project for my spare time...

MiR

A installer would be nice, although NeoPheus already made one available for the nVidia version. Perhaps he'll make one for this version too.

#14
~Neo

~Neo

    The installer man. Formerly known as "NeoPheus"

  • Retired Developers
  • 644 posts
  • Gender:Male
  • Location:Germany

A installer would be nice, although NeoPheus already made one available for the nVidia version. Perhaps he'll make one for this version too.


1. The autodetection works!!
2. DVI isn't working for me yet! (hmm...)
3. Yep, I will make an installer tomorrow!
4. Keep up the great work! I'm going to bed now :(

cYa!!

#15
MiR

MiR

    InsanelyMac Protégé

  • Retired Developers
  • 18 posts

I would say we test the kext out and develop it till it works for all cards! Then I can make an automized installer with DevID detection and plist changing! (Only if you like) :D
Edit: Ok, nice work, dm_webd! :pirate2:


I love your installers!

Seems to me that I will have to find another spare-time project... :(

MiR

#16
Ruud

Ruud

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 142 posts
  • Gender:Male
  • Location:The Netherlands

great work, this natit version does find my mobility x700 card, so that one stap further to a working x700 :(

oke, after he finds the card, it loads the logon window, and doesnt go further, you only see the boot screen.
but, it finds the card so we are one step further.
Ruud



MiR, do you hava any idea what has to be changed? its x700 on an internal 15.4" laptop screen.


Thanks for your work.

#17
dm_webd

dm_webd

    InsanelyMac Protégé

  • Retired Developers
  • 63 posts
  • Gender:Male
  • Location:Denmark

1. The autodetection works!!
2. DVI isn't working for me yet! (hmm...)
3. Yep, I will make an installer tomorrow!
4. Keep up the great work! I'm going to bed now :pirate2:

cYa!!

Great.. Thanks for the testing & installer.
I think it's time for me to get some sleep too. :(

#18
Ciber

Ciber

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts

Thanks for the info. I've added a new version with autodetect based on these values. It has not been tested, so if you could test if it detects your card properly, it would be a great help.


The auto detection is working properly, QE, CI, Res change etc, are supported and the card is showing up as the correct card.

I have a feeling that my second DVI port not working has to do with the fact that i flashed my card with a sapphire bios a while back in order to get it working at all. I'm gonna try to flash it back to the original bios and see what happens.

If anyone has a HIS X1600XT or can get me the bios for it somehow i would really appreciate it.


Thanks.

#19
esmith1977

esmith1977

    InsanelyMac Protégé

  • Members
  • PipPip
  • 99 posts
Uh what are the differences in the three downloads... If I have an ATI x1300, do I just download Natit_ATIauto.kext.zip ???

Uh what are the differences in the three downloads... If I have an ATI x1300, do I just download Natit_ATIauto.kext.zip ???

#20
Ciber

Ciber

    InsanelyMac Protégé

  • Members
  • Pip
  • 26 posts

Uh what are the differences in the three downloads... If I have an ATI x1300, do I just download Natit_ATIauto.kext.zip ???


Use Natit_ATIauto.kext.zip and let us know if it works for you.





1 user(s) are reading this topic

0 members, 1 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