Jump to content

Sony Vaio VPCF115FM Discussion: DSDT Injection


kizwan
 Share

787 posts in this topic

Recommended Posts

It's not the backlight, that doesn't work. The problem is the lvds display detection.

 

nVidia today released some documentation regarding the Device Control Block of it's gpus to help the independent Linux based Nouveau driver (finally they seem to start to publish little portions of specifications lol). So maybe this information could be relevant to finally patch the nvidia drivers to work with Vaio F11 and other Sonys?

 

ftp://download.nvidia.com/open-gpu-doc/DCB/1/DCB-4.0-Specification.html

Link to comment
Share on other sites

  • 2 months later...
  • 6 months later...
  • 3 months later...
  • 2 months later...
  • 6 months later...

Can confirm that "black screen on internal screen" problem resolved.

 

Man, you could have post a link to the proper info. But anyway, thanks for the "hint".

 

Ladies and gents, thanks to the tremendous knowledge by jl4c and the infos by art.sormy, I was able to enable the hardware acceleration on the internal screen of my Vaio F11, Core i7 720, gt330m, 1920x1080. The problem was indeed "just" a proper way to setup the EDID, but no tools and no infos were available to setup it correctly.

 

All you need to setup in your DSDT are the values "AAPL00,override-no-edid" and "@0,EDID" to your proper EDID (depends on monitor model) in the DSM function of the PEG3.NGFX device!

 

More info is written here by art.sormy:

http://www.insanelymac.com/forum/topic/300715-vaio-users-black-screen-after-boot/?p=2096869

 

I would like to add, that it worked here only by setting "AAPL00,override-no-edid" _AND_ "@0,EDID" to the same EDID here.

 

So for my Vaio F11, including an GT330m and an 1920x1080 screen (EDID4 in the NGFX EDID list), I now successfully use the following DSM function (works on OS 10.6.8 and OSX 10.9.4):

                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x26)
                            {
                                "@0,AAPL,boot-display", 
                                Buffer (Zero) {}, 
                                "@0,built-in", 
                                Buffer (Zero) {}, 
                                "@0,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 

                                "@0,connector-type", 
                                Buffer (0x04)
                                {
                                    0x02, 0x00, 0x00, 0x00
                                }, 

                                "@0,device_type", 
                                Buffer (0x08)
                                {
                                    "display"
                                }, 

                                "@0,display-cfg", 
                                Buffer (0x04)
                                {
                                    0x03, 0x00, 0x0F, 0x00
                                }, 

                                "AAPL00,override-no-edid", 
                                Buffer (0x80)
                                {
                                    /* 0000 */    0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 
                                    /* 0008 */    0x36, 0x7F, 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0010 */    0x2D, 0x0C, 0x01, 0x04, 0x90, 0x24, 0x14, 0x00, 
                                    /* 0018 */    0xEA, 0xA8, 0xE0, 0x99, 0x57, 0x4B, 0x92, 0x25, 
                                    /* 0020 */    0x1C, 0x50, 0x54, 0x00, 0x00, 0x00, 0x01, 0x01, 
                                    /* 0028 */    0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 
                                    /* 0030 */    0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x40, 0x38, 
                                    /* 0038 */    0x80, 0xB4, 0x70, 0x38, 0x40, 0x40, 0x3C, 0x3C, 
                                    /* 0040 */    0x55, 0x00, 0x68, 0xC8, 0x10, 0x00, 0x00, 0x18, 
                                    /* 0048 */    0x40, 0x38, 0x80, 0x80, 0x71, 0x38, 0xAA, 0x40, 
                                    /* 0050 */    0x80, 0x80, 0x88, 0x00, 0x68, 0xC8, 0x10, 0x00, 
                                    /* 0058 */    0x00, 0x18, 0x00, 0x00, 0x00, 0xFC, 0x00, 0x4E, 
                                    /* 0060 */    0x76, 0x69, 0x64, 0x69, 0x61, 0x20, 0x44, 0x65, 
                                    /* 0068 */    0x66, 0x61, 0x75, 0x6C, 0x00, 0x00, 0x00, 0xFC, 
                                    /* 0070 */    0x00, 0x74, 0x20, 0x46, 0x6C, 0x61, 0x74, 0x20, 
                                    /* 0078 */    0x50, 0x61, 0x6E, 0x65, 0x6C, 0x00, 0x00, 0x1F
                                }, 

                                "@0,EDID", 
                                Buffer (0x80)
                                {
                                    /* 0000 */    0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 
                                    /* 0008 */    0x36, 0x7F, 0x25, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                    /* 0010 */    0x2D, 0x0C, 0x01, 0x04, 0x90, 0x24, 0x14, 0x00, 
                                    /* 0018 */    0xEA, 0xA8, 0xE0, 0x99, 0x57, 0x4B, 0x92, 0x25, 
                                    /* 0020 */    0x1C, 0x50, 0x54, 0x00, 0x00, 0x00, 0x01, 0x01, 
                                    /* 0028 */    0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 
                                    /* 0030 */    0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x40, 0x38, 
                                    /* 0038 */    0x80, 0xB4, 0x70, 0x38, 0x40, 0x40, 0x3C, 0x3C, 
                                    /* 0040 */    0x55, 0x00, 0x68, 0xC8, 0x10, 0x00, 0x00, 0x18, 
                                    /* 0048 */    0x40, 0x38, 0x80, 0x80, 0x71, 0x38, 0xAA, 0x40, 
                                    /* 0050 */    0x80, 0x80, 0x88, 0x00, 0x68, 0xC8, 0x10, 0x00, 
                                    /* 0058 */    0x00, 0x18, 0x00, 0x00, 0x00, 0xFC, 0x00, 0x4E, 
                                    /* 0060 */    0x76, 0x69, 0x64, 0x69, 0x61, 0x20, 0x44, 0x65, 
                                    /* 0068 */    0x66, 0x61, 0x75, 0x6C, 0x00, 0x00, 0x00, 0xFC, 
                                    /* 0070 */    0x00, 0x74, 0x20, 0x46, 0x6C, 0x61, 0x74, 0x20, 
                                    /* 0078 */    0x50, 0x61, 0x6E, 0x65, 0x6C, 0x00, 0x00, 0x1F
                                }, 

                                "@0,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-A"
                                }, 

                                "@0,fboffset", 
                                Buffer (0x04)
                                {
                                    0x00, 0x00, 0x01, 0x10
                                }, 

                                "@1,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 

                                "@1,device_type", 
                                Buffer (0x08)
                                {
                                    "display"
                                }, 

                                "@1,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-B"
                                }, 

                                "@1,connector-type", 
                                Buffer (0x04)
                                {
                                    0x00, 0x08, 0x00, 0x00
                                }, 

                                "@1,can-hot-plug", 
                                Buffer (Zero) {}, 
                                "NVCAP", 
                                Buffer (0x18)
                                {
                                    /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 
                                    /* 0008 */    0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 
                                    /* 0010 */    0x00, 0x00, 0x00, 0x00
                                }, 

                                "VRAM,totalsize", 
                                Buffer (0x04)
                                {
                                    0x00, 0x00, 0x00, 0x40
                                }, 

                                "device_type", 
                                Buffer (0x0C)
                                {
                                    "NVDA,Parent"
                                }, 

                                "model", 
                                Buffer (0x17)
                                {
                                    "NVIDIA GeForce GT 330M"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }

Here is my complete Clover setup including config.plist and ACPI from my Vaio. Put this into the OEM dir! And disable the root config.plist by renaming it.

VAIO F11 gt330m internal screen.zip

( EDID4 is used here, EDID4 is for the premium 1920x1080 display. Look at the NGFX device, it contains all possible EDIDs, check the EDID of your monitor first and replace the buffers in "AAPL00,override-no-edid" and "@0,EDID"!)

  • Like 3
Link to comment
Share on other sites

  • 1 month later...

Hello!


 


Has anyone managed to enable brightness control on any VAIO that suffered with the now solved black screen issue? My VPCF12M0E/B has the OSX's brightness slide control (System Preferences->Displays) enabled but it doesn't work properly. It is always on max brightness and if I move the slide to the left, the brightness is reduced only slightly then the display is turned off (I can turn the display on again by using the dedicated key on the VAIO's keyboard). I've tried a few things like Rehabman's ACPIBrightness.kext (unsuitable for NVIDIA cards) and GenericBrightness.kext to no avail.


 


Cheers,


Alexei


Link to comment
Share on other sites

  • 2 weeks later...

 

Hello!

 

Has anyone managed to enable brightness control on any VAIO that suffered with the now solved black screen issue? My VPCF12M0E/B has the OSX's brightness slide control (System Preferences->Displays) enabled but it doesn't work properly. It is always on max brightness and if I move the slide to the left, the brightness is reduced only slightly then the display is turned off (I can turn the display on again by using the dedicated key on the VAIO's keyboard). I've tried a few things like Rehabman's ACPIBrightness.kext (unsuitable for NVIDIA cards) and GenericBrightness.kext to no avail.

 

Cheers,

Alexei

 

Yes, attach your dsdt.

Link to comment
Share on other sites

 

 

Thanks for that but unfortunately it doesn't work. There is no change at all in the behaviour of the brightness slide control. If I move the control from the rightmost position (full brightness) leftwards, the screen darkens almost imperceptibly but at around 70% position from left to right the screen turns off completely and stays off (unless I press the "display off" button in the keyboard to turn it on). This is the same behaviour I've got with the previous DSDT.

 

Alexei

Link to comment
Share on other sites

 Share

×
×
  • Create New...