Jump to content

LaptopDisplay


np_
 Share

429 posts in this topic

Recommended Posts

All this tests were done without NVidia drivers (also without ATI and Intel drivers). In all tests I only got 1024x768 resolution.

 

The moment I add the NVidia drivers I have a black screen on laptop but full resolution on external display as it has always been (CI and QE ok).

 

Now, one thing I noticed is that after adding the Vendor Folder and Display File the behaviour of the LCD is slightly different before going black. I can see it blinking the backlight twice instead of going to black at once, even with the older LaptopDisplay extension.

 

Hope this helps in any way np_...

 

ok add to your "DisplayProductID-XXX" key "IODisplayEDID" ( type data )

 

and value for it is your internal LCD EDID - looks like <00ffffff ffffff00 38a37ba4 00000000 1c0a0103 805c3478 2800e5a0 5a27ba25 17424eaf ce008180 4bc00101 01010101 01010101 01012f0d 50f030e0 25101070 68009806 3200001e d60980a0 20e02d10 0f606200 b3062200 00180000 00fc0050 582d3432 564d0a20 20202020 000000fc 000a2020 20202020 20202020 20200070>

 

try to get EDID from windows with some tool

 

also in same file set key IOGFlags from 262148 to 4

 

and test with internal LCD and external

 

do ioregs and post

 

ahh use also trick ie set probescore to 0 in IOGraphicsFamily for "backlight" display properties

 

thanks

Link to comment
Share on other sites

Thank you guys!!!

 

Monitor

Hardware information........ n/a

Windows description......... Default Monitor

 

Display adapter

Adapter description......... NVIDIA GeForce Go 6800 XG MobileForce by TRU

Adapter device ID........... 0x00C810DE

Display settings............ 1920x1200, 32bpp

 

User/computer information

Registered user name........ n/a

Registered organization..... n/a

Network user name........... Syldaril

Network computer name....... MAGNUM

Windows version ............ Windows XP

Windows build .............. 5.01.2600 Service Pack 2

Installation date .......... 12/27/2006 12:00:00 PM

Link to comment
Share on other sites

It boots all the way through for me, but still no QI/CE

 

Here is a pic of the screen during booting with -s -v, but it boots fine into regular graphic mode as well:

 

post-9534-1168474385_thumb.jpg

 

Here is a screen cap of System Profiler after it is booted up:

 

post-9534-1168474433_thumb.jpg

 

Is the line "NVDA::start(VID) <1> failed" in the boot screen trying to tell me something important?

 

This is using Titan, AGPGart and having made the display folder/file with the np_ EDID utility, etc.

 

System specs are in sig below.

 

Attached in the zipfile are 2 ioreg logs - One that matches the setup for the pictures above with Titan.kext and LaptopDisplay.kext and a second one with NVidiaEFI.kext added to Titan.kext and LaptopDisplay.kext.

 

ioreg_go5200.zip

Link to comment
Share on other sites

Attached in the zipfile are 2 ioreg logs - One that matches the setup for the pictures above with Titan.kext and LaptopDisplay.kext and a second one with NVidiaEFI.kext added to Titan.kext and LaptopDisplay.kext.

 

ioreg_go5200.zip

 

hmm from ioregs

 

first did not set as AppleBackLight display

 

and second there is no IODisplayParameters array set :thumbsup_anim:

 

damn it, hard to do some without actual hardware around

Link to comment
Share on other sites

ok some updates here

 

displayutility.app - correct "IOGFlags" key = 4

 

laptopdisplay.kext - attemp to calc backlight levels and to report it's was set

 

nvidiaefi.kext - fix some "go" nv card property's also after found "LVDS" display do force (set ) current display as head 0, removed and added property's

 

test , report, ioregs is always in help

 

and i am looking for friend around with whatever laptop where i can install osx and test all this "deal" - ( damn it )

 

thanks

Link to comment
Share on other sites

Ok here are my results.

 

I used last distribution of DisplayUtility and laptopDisplay.kext; i changed probescore to 0 in IOGraphicsFamily, I added EDID data to Natit.

 

I then rebooted, this is the relevant part of system.log:

 

Jan 11 10:20:45 localhost kernel[0]: IOPanelDevice: Machine Is Laptop!

Jan 11 10:20:45 localhost kernel[0]: IOPanelDevice: Registered OK!

Jan 11 10:20:45 localhost kernel[0]: LaptopPanelA: Started Ok!

Jan 11 10:20:45 localhost kernel[0]: ApplePS2Trackpad: Synaptics TouchPad v6.2

Jan 11 10:20:45 localhost kernel[0]: Natit: Starting.

Jan 11 10:20:45 localhost kernel[0]: device-id: 0x7145

Jan 11 10:20:45 localhost kernel[0]: Natit: Found device

Jan 11 10:20:45 localhost kernel[0]: Natit: Found device name

Jan 11 10:20:45 localhost kernel[0]: Natit: Setting device_type=ATY,CarettaParent

Jan 11 10:20:45 localhost kernel[0]: Natit: Setting @0,compatible=ATY,Caretta

Jan 11 10:20:45 localhost kernel[0]: Natit: Setting @0,display-connect-flags=0x00000400

Jan 11 10:20:45 localhost kernel[0]: Natit: Setting EDID,LVDS=<data not shown>

Jan 11 10:20:45 localhost kernel[0]: Natit: Setting @0,name=ATY,Caretta

Jan 11 10:20:45 localhost kernel[0]: Natit: Setting @0,device_type=display

Jan 11 10:20:45 localhost kernel[0]: Natit: Setting model=ATI Mobility Radeon X1400

 

And this is my ioreg:

 

ioregT60.txt

 

As far as I understand:

 

- laptopDisplay loads successfully, but the configuration file created with DisplayUtility does NOT get loaded: in fact, i do have class LaptopPanelA in ioreg but i don't have class AppleBacklightDisplay under IODisplayConnect neither i see "Color LCD" in System Profiler;

 

- Natit loads the EDID data, but that seems irrelevant (nothing changes, I don't have res switching).

 

Best regards ;)

Link to comment
Share on other sites

ok add to your "DisplayProductID-XXX" key "IODisplayEDID" ( type data )

 

and value for it is your internal LCD EDID - looks like <00ffffff ffffff00 38a37ba4 00000000 1c0a0103 805c3478 2800e5a0 5a27ba25 17424eaf ce008180 4bc00101 01010101 01010101 01012f0d 50f030e0 25101070 68009806 3200001e d60980a0 20e02d10 0f606200 b3062200 00180000 00fc0050 582d3432 564d0a20 20202020 000000fc 000a2020 20202020 20202020 20200070>

 

try to get EDID from windows with some tool

 

also in same file set key IOGFlags from 262148 to 4

 

and test with internal LCD and external

 

do ioregs and post

 

ahh use also trick ie set probescore to 0 in IOGraphicsFamily for "backlight" display properties

 

thanks

 

 

Hi np_,

 

Did as you instructed. Used the latest extensions and latest display utility. I manually added my EDID into IODisplayEDID (data field). Changed ProbeScore to 0 in IOGraphicsFamily.

 

I capture two logs (one internal and one external)

 

internal.txt

external.txt

 

Same old thing... :)

 

Should I try wiithout NVidia drivers or NVidiaEFI?

Link to comment
Share on other sites

Thank you very much!

Now xinerama works on my laptop.

 

Intel GMA 950:

 

Chipset Model: GMA 950

Type: Display

Bus: Built-In

VRAM (Total): 64 MB of shared system memory

Vendor: Intel (0x8086)

Device ID: 0x27a2

Revision ID: 0x0003

Displays:

Color LCD:

Resolution: 1280 x 800

Depth: 32-bit Color

Built-In: Yes

Core Image: Supported

Main Display: Yes

Mirror: Off

Online: Yes

Quartz Extreme: Supported

Display:

Resolution: 1024 x 768 @ 60 Hz

Depth: 32-bit Color

Core Image: Supported

Mirror: Off

Online: Yes

Quartz Extreme: Supported

 

dmesg:

display: family specific matching fails

IOPanelDevice: Machine Is Laptop!

IOPanelDevice: Registered OK!

LaptopPanelA: Started Ok!

Link to comment
Share on other sites

thank you very very very much .... np_

 

mine is working now ...

 

ManufacturerID : 41804 (0xA34C)

 

ProductID : 13125 (0x3345)

 

Intel GMA 900:

 

Chipset Model: GMA 900

Type: Display

Bus: Built-In

VRAM (Total): 64 MB of shared system memory

Vendor: Intel (0x8086)

Device ID: 0x2592

Revision ID: 0x0004

Displays:

Color LCD:

Resolution: 1280 x 800

Depth: 32-bit Color

Built-In: Yes

Core Image: Supported

Main Display: Yes

Mirror: Off

Online: Yes

Quartz 2D Extreme: Supported

Quartz Extreme: Supported

Display:

Status: No display connected

Link to comment
Share on other sites

thank you very very very much .... np_

 

mine is working now ...

 

ManufacturerID : 41804 (0xA34C)

 

ProductID : 13125 (0x3345)

 

Intel GMA 900:

 

Chipset Model: GMA 900

Type: Display

Bus: Built-In

VRAM (Total): 64 MB of shared system memory

Vendor: Intel (0x8086)

Device ID: 0x2592

Revision ID: 0x0004

Displays:

Color LCD:

Resolution: 1280 x 800

Depth: 32-bit Color

Built-In: Yes

Core Image: Supported

Main Display: Yes

Mirror: Off

Online: Yes

Quartz 2D Extreme: Supported

Quartz Extreme: Supported

Display:

Status: No display connected

 

 

please post your ioreg

 

terminal ioreg -l -w 1024 > gma900.txt

 

thanks

Link to comment
Share on other sites

or this one for windows to get EDID

 

 

 

Here's mine:

 

Monitor

Hardware information........ n/a

Windows description......... Default Monitor

 

Display adapter

Adapter description......... ATI Mobility Radeon X1400 (Omega 3.8.291)

Adapter device ID........... 0x71451002

Display settings............ 1920x1200, 32bpp

 

User/computer information

Registered user name........ Ricardo

Registered organization..... n/a

Network user name........... Ricardo

Network computer name....... EMERALDA

Windows version ............ Windows XP

Windows build .............. 5.01.2600 Service Pack 2

Installation date .......... 12/24/2006 12:00:00 PM

 

Um... don't know if that helps, i can't see any info on the display, except for current resolution and color depth...

Link to comment
Share on other sites

Same old thing... :P

 

Should I try wiithout NVidia drivers or NVidiaEFI?

 

pffu , i see there is no display attached there

 

witch mean do fall's around IOBacklightDisplay start

 

i will add framebuffer even handler to LaptopPanelA class latter

 

maybe all deal is about wrong values for brightness , apple def levels = 128 and min/max = 0/255

 

but i know very well about "go" card limit's are between 0 and 31 for internal display

 

 

that real diff between laptop panel and apple iMac

 

the iMac do have real device for panel ( 6 or 4 cable wired to panel ) to control it

 

and any laptop control comes from video chip specific mmio register (diff for ati and nvidia off course)

 

i can modify nvidiaefi to control backlight level from apple classes but i won't do it untill i found how to do same on ATI

 

and i need laptop here to test and get this working ( looking for friend with compat osx lappie already )

Link to comment
Share on other sites

pffu , i see there is no display attached there

 

witch mean do fall's around IOBacklightDisplay start

 

i will add framebuffer even handler to LaptopPanelA class latter

 

maybe all deal is about wrong values for brightness , apple def levels = 128 and min/max = 0/255

 

but i know very well about "go" card limit's are between 0 and 31 for internal display

that real diff between laptop panel and apple iMac

 

the iMac do have real device for panel ( 6 or 4 cable wired to panel ) to control it

 

and any laptop control comes from video chip specific mmio register (diff for ati and nvidia off course)

 

i can modify nvidiaefi to control backlight level from apple classes but i won't do it untill i found how to do same on ATI

 

and i need laptop here to test and get this working ( looking for friend with compat osx lappie already )

 

I wish I lived next door to you :unsure:

Link to comment
Share on other sites

ok some updates here

 

displayutility.app - correct "IOGFlags" key = 4

 

laptopdisplay.kext - attemp to calc backlight levels and to report it's was set

 

nvidiaefi.kext - fix some "go" nv card property's also after found "LVDS" display do force (set ) current display as head 0, removed and added property's

 

test , report, ioregs is always in help

 

and i am looking for friend around with whatever laptop where i can install osx and test all this "deal" - ( damn it )

 

thanks

 

Hi np_,

 

Here is my result.

I put my EDID into the file made by displayutility.app and tested with the new laptopdisplay.kext and nvidiaefi.

Although I also got a black screen, in my ioreg dump there are "backlight" and "LaptopPanelA" keys which are not existed in the previous version of laptopdisplay.kext.

 

| +-o backlight <class IOPanelDevice, registered, matched, active, busy 0, retain count 5>

| | {

| | "IOProbeScore" = 0

| | "IOResourceMatch" = "ACPI"

| | "IOClass" = "IOPanelDevice"

| | "name" = "backlight"

| | "compatible" = <"backlight">

| | "IOProviderClass" = "AppleACPIPlatformExpert"

| | "CFBundleIdentifier" = "com.free.LaptopDisplay"

| | "IOMatchCategory" = "IOPanelDevice"

| | }

| |

| +-o LaptopPanelA <class LaptopPanelA, !registered, !matched, active, busy 0, retain count 4>

| {

| "IOMatchCategory" = "IODefaultMatchCategory"

| "IOClass" = "LaptopPanelA"

| "IODisplayParameters" = {"brightness"={"min"=0,"max"=255},"commit"={"reg"=0}}

| "IOProviderClass" = "IOPanelDevice"

| "IONameMatched" = "backlight"

| "CFBundleIdentifier" = "com.free.LaptopDisplay"

| "IONameMatch" = "backlight"

| "IOProbeScore" = 0

| }

|

 

And belows are my syslog.

 

Jan 11 06:35:19 localhost kernel[0]: NVDANV40HAL loaded and registered.

Jan 11 06:35:19 localhost kernel[0]: IOPanelDevice: Machine Is Laptop!

Jan 11 06:35:19 localhost kernel[0]: IOPanelDevice: Registered OK!

Jan 11 06:35:19 localhost kernel[0]: LaptopPanelA: Started Ok!

Jan 11 06:35:19 localhost kernel[0]: NVDA::probe(VGA)

Jan 11 06:35:19 localhost kernel[0]: NV: NVidiaEFI Support Version 1.0.1, build 1101070553

Jan 11 06:35:19 localhost kernel[0]: NV: Internal LCD Panel Detected On Output: A, Head N: 0

Jan 11 06:35:19 localhost kernel[0]: NV: Internal LCD Panel Max Resolution: 1280x800

Jan 11 06:35:19 localhost kernel[0]: NVDA::start(VGA) <1>

Jan 11 06:35:19 localhost kernel[0]: NVDA::start(VGA) <1> failed

Jan 11 06:35:19 localhost kernel[0]: NVDA::probe(VGA)

Jan 11 06:35:19 localhost kernel[0]: NV: NVidiaEFI Support Version 1.0.1, build 1101070553

Jan 11 06:35:19 localhost kernel[0]: NV: Internal LCD Panel Detected On Output: A, Head N: 0

Jan 11 06:35:19 localhost kernel[0]: NV: Internal LCD Panel Max Resolution: 1280x800

Jan 11 06:35:19 localhost kernel[0]: NVDA::start(VGA) <1>

Jan 11 06:35:19 localhost kernel[0]: NVDA::start(VGA) <1> failed

 

 

Thanks.

ioreg_LaptopDispalyWithNVidiaEFIv2.txt

Link to comment
Share on other sites

Here's my ioreg output,

 

Monitor

Hardware information........ n/a

Windows description......... Default Monitor

 

Display adapter

Adapter description......... ATI Mobility Radeon X1300

ManufacturerID..............41804 (0xA34C)

ProductID.....................20546 (0x5042)

Display settings............ 1440x900, 32bpp

system.txt

x1300mob.txt

Edited by verleihnix
Link to comment
Share on other sites

Just did some testing with Titan, NvidiaEFI and LaptopDisplay. With all 3 installed and having generated the Override with DisplayUtility, I can now let the display go to sleep. I get a black screen at bootup for about 15 seconds, but it does eventually display the login window. Is there anything else I need to test?

Link to comment
Share on other sites

OK..I guess I am late to the party :tomato:

 

Downloaded the AllLaptop.zip, unpacked everything to the extensions folder

and the folder generated by DisplayUtility to where it should be.

 

No Apple drivers and the Titan.kext loaded at this time, repaired permissions and rebooted.

Everything loaded ok, boots to the desktop though no qe/ci and only one resolution available.

 

Next, I loaded everything including Apple drivers, titan.kext.

 

The result was the same : all WHITE screen and osx continue to load in the background and only

output to the external monitor works.

 

So, here are my two ioreg outputs, one with Apple drivers and Titan.kext loaded,

and the other without them.

go6200_turbocache.txt

go6200tc_nodrivers.txt

Link to comment
Share on other sites

This thread is awesome, all credit goes to np_. But lots of us need help. Sorry np_, I applaud your English but sometimes its a little tough to understand. That being said, I think we need someone who completely understands what's going on to give a complete run-down on what to do with what files, etc.

 

For instance, I don't know how to add EDID's to Titan or Natit or DisplayProductID-XXX. See, just typing this data in is probably not correct. I think you're supposed to use a utility called Property List Editor with xCode to do this.

 

Anyone up for making a short and sweet little guide? I know that this is all still in development, but explaining to people exactly what to do would really help in testing it out.

 

Also, I have no clue what kexts to load together, etc.

Link to comment
Share on other sites

 Share

×
×
  • Create New...