Contribute
Register

Strange graphics artifacts in menu bar Intel 4600

Status
Not open for further replies.
Joined
Aug 3, 2014
Messages
101
Motherboard
Thinkpad T440p
CPU
i7-4710MQ (replaced stock i5)
Graphics
HD4600
Mac
  1. MacBook
  2. MacBook Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. Android
  2. Other
I've got a new System 76 "Kudu Professional" laptop and I have a slightly messed up menu bar. I installed the 10.9.4 multi beast. Hadn't noticed there was a newer one.

I have not patched ssdt or dsdt for anything yet. But I have installed rehab man's voodooHDA, backlight, and battery kexts.

This is an intel 8 series chipset and the laptop has Intel HD4600 video.

The things in the menu bar come and go. Also, the lower half of the screen sometimes flickers. Maybe I should update to 10.9.5? Heard there were some changes to HD4600 drivers.
Screen Shot 2014-10-09 at 22.36.35.pngScreen Shot 2014-10-09 at 23.05.38.pngScreen Shot 2014-10-09 at 23.04.51.png
 
I've got a new System 76 "Kudu Professional" laptop and I have a slightly messed up menu bar. I installed the 10.9.4 multi beast. Hadn't noticed there was a newer one.

I have not patched ssdt or dsdt for anything yet. But I have installed rehab man's voodooHDA, backlight, and battery kexts.

This is an intel 8 series chipset and the laptop has Intel HD4600 video.

The things in the menu bar come and go. Also, the lower half of the screen sometimes flickers. Maybe I should update to 10.9.5? Heard there were some changes to HD4600 drivers.
View attachment 106424View attachment 106426View attachment 106425

Known glitch fixes:
- set bootloader resolution to native resolution
- try different ig-platform-id values
- set slide=0 kernel flag
- set a color profile
- inject EDID
- login/logout/login
- rollback Azul/HD5000 kexts to 10.9.1
- patch framebuffer... (requires much research)
 
Known glitch fixes:
- set bootloader resolution to native resolution
- try different ig-platform-id values
- set slide=0 kernel flag
- set a color profile
- inject EDID
- login/logout/login
- rollback Azul/HD5000 kexts to 10.9.1
- patch framebuffer... (requires much research)

Logout, then log in again fixes it. The menu corruption does not occur in the unibeast installer, only when I boot the installed system. I have set the system to automatically log in, so it never would have occurred to me to try this. Thanks!

I have already set the resolution in the boot loader to the native 1920x1080.
Currentig-platform-id is 12 which I got from this thread: Mac OS X Compatibility for the Clevo W670SZQ (System76 Kudu Professional)

slide=0 didn't help.

btw, sleep works w/o any DSDT/SSDT patching.

Sound is working using VoodooHDA. Including the Volume Fn keys.

model id is iMac 11,2 in smbios.plist.

Upgraded to 10.9.5 using the combo updater. No problems, but didn't fix my messy menubar.
I had to use the Haswell early reboot kernel patch.

Got SSDT from ssdtPRGen.sh. None of the Rename GFX / Backlight patches apply to SSDT.

Not sure about how to patch DSDT (obtained from DPCI_Manager) for backlight control. The GFX0 rename patch works and DSDT compiles w/o error, but which Brighness patch should I apply?

"Brightness fix"
Compiles with no error, but slider does not work.

"Brightness fix (Haswell)"
Won't compile after I apply this patch.

Code:
Object does not exist (\_SB.PCI0.IGPU.BAR1)
Object not found or not accessible from scope (^^PCI0.IGPU._DOS)

"Brightness fix (HD3000/HD4000)"
Same error as above.

Files:
 

Attachments

  • DSDT.aml
    51.1 KB · Views: 79
  • ssdt.aml
    2 KB · Views: 104
  • clevoIOReg.ioreg
    3.7 MB · Views: 70
... None of the Rename GFX / Backlight patches apply to SSDT.

Not sure about how to patch DSDT (obtained from DPCI_Manager) for backlight control. The GFX0 rename patch works and DSDT compiles w/o error, but which Brighness patch should I apply?

"Brightness fix"
Compiles with no error, but slider does not work.

"Brightness fix (Haswell)"
Won't compile after I apply this patch.

Code:
Object does not exist (\_SB.PCI0.IGPU.BAR1)
Object not found or not accessible from scope (^^PCI0.IGPU._DOS)

"Brightness fix (HD3000/HD4000)"
Same error as above.

You are applying the "Brightness Fix (Haswell)" patch to the wrong file. Your GFX0 (eventually will be renamed to IGPU) is defined in an SSDT.

Follow instructions carefully...


Haswell Brightness Fix:

You will need to extract all DSDT/SSDT from Linux. Your GFX0 device is in one of the SSDTs not DSDT and to get a proper disassembly of your DSDT (and the SSDT that has GFX0) you will need all of them. They are available in /sys/firmware/acpi/tables and /sys/firmware/acpi/tables/dynamic. Place them on USB for transfer to OS X.

Place all SSDT/DSDT in a single directory and use a recent build of iasl to disassemble:
http://www.tonymacx86.com/attachmen...5-buggy-dsdt-asus-q501la-help-needed-iasl.zip
Code:
cd "to directory where you placed all SSDT/DSDT"
iasl -da *.aml

Then search the resulting *.dsl so you know where GFX0 is defined. Search for "Device (GFX0)"...

Laptop repo: https://github.com/RehabMan/Laptop-DSDT-Patch
Apply: "Rename GFX0 to IGPU" (to both DSDT and the SSDT that has your GFX0 device)
Apply: "Brightness Fix (Haswell)" to the file (SSDT or DSDT) with GFX0 device definition.
install: https://github.com/RehabMan/OS-X-ACPI-Backlight

Place patched DSDT.aml in /Extra/dsdt.aml. Place patched SSDT in /Extra/ssdt-1.aml (assuming you have already generated SSDT.aml for CPU). Obviously different locations for Clover (EFI/Clover/ACPI/patched).

Result: Working brightness slider in SysPrefs->Displays (mapping of keyboard keys is a separate issue), possible LID sleep, and IGPU power management.
 
Strange graphics artifacts in menu bar Intel 4600 [SOLVED]

Your instructions worked as expected and I now have a working brightness slider.

I also have a working battery monitor icon. Everything is 8 bits, no additional DSDT/ssdt edits required:

Code:
 OperationRegion (EC81, EmbeddedControl, Zero, 0xFF)            Field (EC81, ByteAcc, Lock, Preserve)
            {
                Offset (0xF8), 
                FCMD,   8, 
                FDAT,   8, 
                FBUF,   8, 
                FBF1,   8, 
                FBF2,   8, 
                DEBG,   8
            }



There was just one additional issue:

Before any doing patching of the DSDT, I was getting the error Syntax Error, Unexpected PARSEOP_ARG0


So I found this in the forums and applying it by hand got rid of the error.
Code:
[FONT=Courier]native:[/FONT]
[FONT=Courier]    Method (ADBG, 1, Serialized)[/FONT]
[FONT=Courier]    {[/FONT]
[FONT=Courier]        If (CondRefOf (MDBG))[/FONT]
[FONT=Courier]        {[/FONT]
[FONT=Courier]            Return (MDBG)[/FONT]
[FONT=Courier]            Arg0[/FONT]
[FONT=Courier]        }[/FONT]
[FONT=Courier]        Return (Zero)[/FONT]
[FONT=Courier]    }
[/FONT]
[FONT=Courier]patched:[/FONT]
[FONT=Courier]    Method (ADBG, 1, Serialized)[/FONT]
[FONT=Courier]    {[/FONT]
[FONT=Courier]        If (CondRefOf (MDBG))[/FONT]
[FONT=Courier]        {[/FONT]
[FONT=Courier]            Store (Arg0, MDBG)          [/FONT]
[FONT=Courier]            Return[/FONT]
[FONT=Courier]        }[/FONT]
[FONT=Courier]        Return (Zero)[/FONT]
[FONT=Courier]    }[/FONT]

What does this ADBG method do?
Does one of your patches already do this?
 
...

There was just one additional issue:

Before any doing patching of the DSDT, I was getting the error Syntax Error, Unexpected PARSEOP_ARG0


So I found this in the forums and applying it by hand got rid of the error.
Code:
[FONT=Courier]native:[/FONT]
[FONT=Courier]    Method (ADBG, 1, Serialized)[/FONT]
[FONT=Courier]    {[/FONT]
[FONT=Courier]        If (CondRefOf (MDBG))[/FONT]
[FONT=Courier]        {[/FONT]
[FONT=Courier]            Return (MDBG)[/FONT]
[FONT=Courier]            Arg0[/FONT]
[FONT=Courier]        }[/FONT]
[FONT=Courier]        Return (Zero)[/FONT]
[FONT=Courier]    }
[/FONT]
[FONT=Courier]patched:[/FONT]
[FONT=Courier]    Method (ADBG, 1, Serialized)[/FONT]
[FONT=Courier]    {[/FONT]
[FONT=Courier]        If (CondRefOf (MDBG))[/FONT]
[FONT=Courier]        {[/FONT]
[FONT=Courier]            Store (Arg0, MDBG)          [/FONT]
[FONT=Courier]            Return[/FONT]
[FONT=Courier]        }[/FONT]
[FONT=Courier]        Return (Zero)[/FONT]
[FONT=Courier]    }[/FONT]

What does this ADBG method do?
Does one of your patches already do this?

In my repo: "Fix ADBG Error"
 
Status
Not open for further replies.
Back
Top