Author Topic: ATI and possibly nVIDIA resolution patch (based on prasys' 915resolution port)  (Read 122595 times)

0 Members and 2 Guests are viewing this topic.

lebidou

  • Resident
  • Posts: 133
I just updated again, I hope it's ok for NVIDIA.
Just to explain why it fails again : before yesterday, it was working very differently for every card, so I tried to unify the way it works since the only thing that changes from vbios to vbios is the location of data. An issue counting how many modes nvidia cards have was introduced in the process because it wasn't done before.
Now, in the debug version, there is a new step for NVidia showing how many modes there is in each table and if it counted it right. If the number of modes is 0, it is set to 16 and 32 for the first and second table respectively (values taken from an 8800 vbios). I'd like this output to be reported.

@diebuche and Azimutz, thank you for the diffs. I haven't updated the code yet, I'd like Nvidia to be back on rails first. I didn't know which version to use since they're close, so I made "Eeny Meeny Miny Moe", and I'll use diebuche's.

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Hi guys... @lebidou, the tip to build with "make embedtheme" worked.. didn't thought it would make a difference (noob). Gave a try to the "boot" diebuche posted, works for me (ATI). I can also test GMA950 built-in later if needed.
yep, stick with diebuche's branch, he knows much more about the trade than me.
« Last Edit: April 05, 2010, 12:43:51 AM by Azimutz »
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

lebidou

  • Resident
  • Posts: 133
Yes please test Intel GMA! I made changes to that too, I don't know if it still works. There is no debug output for that though, I should add some.

diebuche

  • VoodooLabs
  • Posts: 30
i renamed the branch to autoResolution, applied ur latest changes and merged shortatombios into ati_res.h

lebidou

  • Resident
  • Posts: 133
Thank you very much!

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Just to confirm.. finished changes to my rev, compiled properly, ATI works fine ;D
Going to check diebuche's branch (was already helpful ;) thanks!), test GMA950 also, clean up and post.
Later guys...
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

CEOS

  • Member
  • Posts: 49
@ lebidou

still just 1280x800....

do you need the debug output ?
My Hackintosh: • Intel Core2Quad Q6600 (g0) • PNY 8800gts 512 (g92) • Gigabyte Ga EP45-DS3R (Rev 1; BIOS v. f11e) • 2x2gb OCZ 1066MHz DDR3 • D-Link DWA 547 RangeBooster N

Drives: • HL-DT-STDVD-RAM GH22LS30  • SAMSUNG HD250HJ : Windows 7 Ultimate x64 • SAMSUNG HD161HJ :  Snow Leopard 10.6.3 • SAMSUNG HD103UJ : Backup

lebidou

  • Resident
  • Posts: 133
Yes I'd like that

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
@lebidou, guys... to cut it short, some pics with comments.. sorry for the low quality:
http://www.screencast.com/t/NmFiNzZiYWEt

ATI, as far as i can see works perfect!
GMA950 is screwed. Before i continue, i must say that besides this patch, the sources that i'm working with, never saw any Intel graphics stuff added by me. I read contradictory posts so i kept away from it until i have a bit more knowledge. So, i don't know if support for these cards is working or if i have all the need files. Anyway, this is what i get with GMA:

- using DSDT patch, vanilla kexts; all fine there except for the autoresolution problems, they are the same.
- booter never chooses the closest resolution available, either with auto resolution On or Off:
1280x800 auto On, 1024x768 auto Off. I'm a bit confused about what i usually got when i used GMA by default!?
- using Graphics Enabler instead of DSDT patch and autoresolution disabled, screen is fine, only the resolution seems bigger than it should be. The resolution set at boot is the only one available after login.
- using Graphics Enabler instead of DSDT patch and autoresolution enabled, resolution seems bigger than 1280x800 (the reported one), screen gets a black bar on the left side and the "bottom/rigt side" get out of the display.
Same behavior after login. The resolution set at boot is the only one available after login.
- i do get the card identified on System Profiler and both GMA/Framebuffer kexts load but, i'm not sure that framebuffer is working!? I would say yes, with these symptoms but, i also get a "currently not supported" msg with Wait=y.
- will do a bit more testing meanwhile...

That's it. This is true for both the posted builds and the port to the repo. Nice work you two, lebidou & diebuche :)
liked all the moves, the general cleanup, file naming, vendors separated, etc... I started checking Autoresolution branch and got to the conclusion that it's almost "trunk" so, as i was already getting confused and mem detection stuff is disabled, decided to update to the latest trunk. Will post some diff later...

Edit: intel framebuffer was tricking me, loads at start but unloads later. I do have acceleration but it's there ootb. Memories from GMA times are coming back, but i'm still not sure about the resolution it used to use.
The list of resolutions feels correct, though. I remember trying to set 1280x1024 with no effect.


« Last Edit: March 24, 2010, 05:39:20 AM by Azimutz »
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

diebuche

  • VoodooLabs
  • Posts: 30
Could u try whether this booter works for u for GMA950? http://www.meklort.com/?p=132

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
Nope, just hangs after loading kernel with "patching kernel mach_kernel" msg.
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT

diebuche

  • VoodooLabs
  • Posts: 30
right, sry, i forgot this one included that kernel patch for dell minis as well; could u try the attached one?

CEOS

  • Member
  • Posts: 49
My Hackintosh: • Intel Core2Quad Q6600 (g0) • PNY 8800gts 512 (g92) • Gigabyte Ga EP45-DS3R (Rev 1; BIOS v. f11e) • 2x2gb OCZ 1066MHz DDR3 • D-Link DWA 547 RangeBooster N

Drives: • HL-DT-STDVD-RAM GH22LS30  • SAMSUNG HD250HJ : Windows 7 Ultimate x64 • SAMSUNG HD161HJ :  Snow Leopard 10.6.3 • SAMSUNG HD103UJ : Backup

diebuche

  • VoodooLabs
  • Posts: 30
@CEOS do u have ur cards rom handy?
« Last Edit: March 21, 2010, 01:00:21 PM by diebuche »

Azimutz

  • VoodooLabs
  • Posts: 420
  • Paranoid Android
No luck... this one just gives me a black screen and i get the "no signal" msg from the monitor.. twice :P
« Last Edit: March 21, 2010, 01:26:46 PM by Azimutz »
 System & Patches: http://goo.gl/i961
 Chameleon:
- trunk builds: http://goo.gl/9G1Hq
- pref pane: http://goo.gl/OL2UT