Jump to content
cvsg

Glitch on built-in display (EDID issue?)

15 posts in this topic

Recommended Posts

Hello folks!

I've been working on this issue for a few weeks so I guess it's time to ask for your help...     :cry:

 

My Context

 

I've got an very strange glitch on my laptop built-in display.

GLITCH VIDEOhttps://docs.google.com/file/d/0B9u_U2zduVk1MzhXVWh6TkdBWm8/view

 

I believe it's not an issue on my graphic card settings since I've got full graphics in a external monitor plugged in my HDMI port. 

 

So I guessed that the EDID of built-in monitor is not being grabbed correctly. Even with EDID issues having a different behaviour, I tried overriding the display EDID with EDID grabbed from windows. Also tried FixEDID with no luck.

 

One thing to note is that DarwinDumper output some warnings that may help:

EDID block does NOT conform to EDID 1.3!
Missing name descriptor
Missing monitor ranges
Detailed block string not properly terminated

 

My Questions

  • For those with more experience, this really looks like an EDID issue?
  • If not, what else can fix this? An IMEI DSDT Patch?!

My Specs

  • Lenovo B490 - i5-3320m - H77M - HD 4000
  • OS X 10.10.1
  • Video Ports:
    • Real Ports: 1 LVDS, 1 HDMI, 1 VGA(still disabled) and this model has no MiniDP port
    • Using 0x01660003 1 LVDS, 1 HDMI, 2 DP
  • My config.plist is attached
  • EDID grabbed with DarwinDumper is attached
  • IOReg is attached
  • Specification of the built-in LCD: N140BGE-L22

 

---------------

Update #1

My conclusion so far is that this monitor has a broken EDID EEPROM. I just need to know how can I build my own EDID based on the monitor specifications...

---------------

Update #2

I've also tried to create a EDID from scratch with this very nice tool:

http://www.analogway.com/en/products/software-and-tools/aw-edid-editor/

 

The attached override was under path `/S/L/Displays/Overrides/DisplayVendorID-dae/DisplayProductID-1470`. However it was not loaded (the display name doesn't changed) and I don't know why. I've checked the file permissions and it was identical to the others overrides.

---------------

Update #3

So, it's probably not an EDID issue, since the built-in display works properly when QE/CI isn't enabled.

 

Please help...

   :blowup:

config.plist.txt

ioreg.zip

DisplayProductID-1470.txt

DarwinDumper EDID.txt

Share this post


Link to post
Share on other sites
Advertisement

IOReg is now attached to the main post. I've disconnected my external monitor before the dump but I'm not sure if it is enough...

Share this post


Link to post
Share on other sites

What were your installation procedures?

 

You should try implementing backlight control and native CPU power management.

Share this post


Link to post
Share on other sites

What were your installation procedures?

 

You should try implementing backlight control and native CPU power management.

You mean I should get these two working before I try to fix the display itself?

Backlight control can't be enable by just replacing AppleDisplay by AppleBacklightDisplay in the display override?! I need to tweak this somewhere else too?

 

Thanks for your reply! Meanwhile I'll work in the CPU PM... 

Share this post


Link to post
Share on other sites

You mean I should get these two working before I try to fix the display itself?

Backlight control can't be enable by just replacing AppleDisplay by AppleBacklightDisplay in the display override?! I need to tweak this somewhere else too?

 

Thanks for your reply! Meanwhile I'll work in the CPU PM...

You did not answer my first question.

 

The brightness fix has been shown to fix issues other than brightness...

 

HD3000/HD4000 Brightness Fix:

DSDT Patches from here: https://github.com/RehabMan/Laptop-DSDT-Patch

 

Apply:

"Rename GFX0 to IGPU"

"Brightness Fix (HD3000/HD4000)"

- rename patch must be done first and to all DSDT/SSDT that contain references to GFX0 that you're including in your final SSDT set

- Brightness patch must be done to the DSDT or SSDT that contains the definition for Device GFX0 (search for 'Device (GFX0)'

- Place DSDT and SSDT (if necessary) into a place where the bootloader will load them. For Clover, EFI/CLOVER/ACPI/patched (DSDT.aml, SSDT-x.aml where 'x' is a number). For Chameleon, /Extra/ssdt.aml, /Exra/ssdt-1.aml, /Extra/ssdt-2.aml, etc.

 

Install: https://github.com/RehabMan/OS-X-ACPI-Backlight

Share this post


Link to post
Share on other sites

Brightness control is now working but the issue remains and I'm ok with that (I would need to implement that one day or another...)

Thank you RehabMan! :frantics:

 

Now I'll come back to the EDID theory (lol). I've noticed that my override is probably not working since the display name isn't changing in the prefs panel.

 

Any idea how do I debug why is it not loading at all?

Share this post


Link to post
Share on other sites

On which part more specifically?

All. Starting at where you obtained OS X...

Brightness control is now working but the issue remains and I'm ok with that (I would need to implement that one day or another...)

Thank you RehabMan! :frantics:

 

Now I'll come back to the EDID theory (lol). I've noticed that my override is probably not working since the display name isn't changing in the prefs panel.

 

Any idea how do I debug why is it not loading at all?

Look in ioreg to see the EDID that is loaded.

Share this post


Link to post
Share on other sites

Look in ioreg to see the EDID that is loaded.

 

Thanks for the tip! So, the EDID is injected correctly but it seems that clover injects it as an Apple Display, that's why the display name isn't appearing (duh).

However none of the EDIDs I've tried worked (grabbed from windows, from DD and the one I created from the display specs).

 

 

All. Starting at where you obtained OS X...

Well, I've download Yosemite.dmg last week from the store and followed this guide.

The only thing that I've done by myself not following the guide is to keep using NullPM (idk if it's a blind spot in the guide, but I was unable to boot without that).

After that I've just generated my SMBIOS and enabled my HD 4000 by injecting Intel graphics and setting ig-platform-id to `0x01660003`.

Immediately after that I could notice that QI/CE was enabled but this strange flickering started.

At first I tough it was something to do with my HD 4000 configurations but I've saw that my external monitor under HDMI port was working just fine.

So I guess it's something with the built-in display, right?! But it's very odd that this flickering doesn't happens when QI/CE isn't enabled (just a little choppy due to slow graphics).

 

Also about the Power Management. I've followed this guide with success, but I'm not sure If a more complete procedure is needed (like this one). If so, please let me know...

Share this post


Link to post
Share on other sites

...

Well, I've download Yosemite.dmg last week from the store and followed this guide.

Yosemite does not come as DMG from the Mac App Store. And it probably is not a good idea to follow a desktop guide on a laptop...

 

 

 

The only thing that I've done by myself not following the guide is to keep using NullPM (idk if it's a blind spot in the guide, but I was unable to boot without that).

 

 

NullCPU is never necessary with Clover (because we can patch AppleIntelCPUPowerManagement with AsusAICPUPM=true).

 

 

 

After that I've just generated my SMBIOS and enabled my HD 4000 by injecting Intel graphics and setting ig-platform-id to `0x01660003`.

Immediately after that I could notice that QI/CE was enabled but this strange flickering started.

 

 

You should try implementing brightness control. It tends to fix more than brightness...

 

 

At first I tough it was something to do with my HD 4000 configurations but I've saw that my external monitor under HDMI port was working just fine.

So I guess it's something with the built-in display, right?! But it's very odd that this flickering doesn't happens when QI/CE isn't enabled (just a little choppy due to slow graphics).

Without QE/CI enabled, the system is using entirely different display drivers, so it is not really "odd" at all.

Share this post


Link to post
Share on other sites

Hello again Everyone!

 

RehabMan, some considerations about your last reply:

  • I've reviewed the guide and believe I skipped all desktop-only procedures/configurations.
  • CPU PM is ok now (intel power gadget is working properly).
  • Brightness control is also implemented. I can change it from System Preferences now.

About trying to figure out if it is an EDID issue or a driver-related one, I did some random tests I found some clues...

Well, all started when I noticed that the glitch/issue doesn't appear when the screensaver is activated. Whatever is making the issue goes away I wanted to know what it is.

So I did a ioreg dump, and then another dump while the screensaver was running (used a sleep to delay the dump). Using a diff toll I've found some changes that might be relevant to those with more experience. The two dumps are attached if anyone is interested. Note: I did this dump from terminal with "ioreg -l > result.txt".

 

After that I've managed to make the issue go away just by having the screensaver preview on that screen. But as soon the preview gets covered by another window it seems that the framebuffer(?) for that screen enters in a power saving mode or something like that and the issue comes back and all regions that aren't redrawn have the strange flickering again. Well, it's pretty confusing to understand that from my description so I've made another video demonstrating what is happening.

 

I was reading about disable the "automatic graphics switching" to force full-powered graphics everytime, but that doesn't make sense since I've got only integrated graphics in this laptop. Someone has any clue or some configuration to disable this power-saving "feature" that is the possible cause of this issue?!

 

Also, do you guys think I'm the right path to solve this?!

I desperate trying to fix this before Monday, when I'll need to use my laptop at work... :pyth:

ioreg-normal.txt

ioreg-screensaver.txt

Share this post


Link to post
Share on other sites

Glad to see your post seeing that I'm not the only one in this world who has the same problem like you. I got a Lenovo b590 with EXACTLY your same problem. Same glitches, same problems. My final solution was buy the Compulab display emulator that attached on hdmi port, then go to display pref panel and change to my "new" display. Duplicated screens, and then, go back to my internal laptop screen and glitches go. It fit perflectly on the hdmi port and it's like a little usb pendrive, but it must be always putted. I tried everything. Like you, with no succes. My thoughts go through Appleintelframebuffer. I think it has the key, but I don't know how can change it to Lvds works without glitches.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Drovosek
      For my laptop Hp Pavilion 15-au028ur worked patch for HP 3165sf
      I also experimented with manual patching and assembled my own version:

      #Maintained by: RehabMan for: Laptop Patches #Battery_HP-DV6-1380ek.txt # created by RehabMan 2019-xx-xx # based on Battery_HP-DV6-1380ek.txt # additional patches for dv6-1380ek provided by chihab222, credit gsly # works for: #  HP Pavilion 15-au028ur, per Drovosek into method label B1B2 remove_entry; into definitionblock code_regex . insert begin Method (B1B2, 2, NotSerialized) { Return (Or (Arg0, ShiftLeft (Arg1, 8))) }\n end; # 16-bit EC0 registers #                BADC,   16, #                BFCC,   16, #                MCUR,   16, #                MBRM,   16, #                MBCV,   16, into device label EC0 code_regex BADC,\s+16, replace_matched begin ADC0,8,ADC1,8, end; into device label EC0 code_regex BFCC,\s+16, replace_matched begin FCC0,8,FCC1,8, end; into device label EC0 code_regex MCUR,\s+16, replace_matched begin CUR0,8,CUR1,8, end; into device label EC0 code_regex MBRM,\s+16, replace_matched begin BRM0,8,BRM1,8, end; into device label EC0 code_regex MBCV,\s+16, replace_matched begin BCV0,8,BCV1,8, end; # 16-bit method access into method label CLRI code_regex (\^.*)MBRM replaceall_matched begin B1B2\(%1BRM0,%1BRM1\) end; into method label UPBS code_regex (\^.*)MBRM replaceall_matched begin B1B2\(%1BRM0,%1BRM1\) end; into method label UPBI code_regex (\^.*)BFCC replaceall_matched begin B1B2\(%1FCC0,%1FCC1\) end; into method label UPBS code_regex (\^.*)MCUR replaceall_matched begin B1B2\(%1CUR0,%1CUR1\) end; into method label UPBS code_regex (\^.*)MBCV replaceall_matched begin B1B2\(%1BCV0,%1BCV1\) end;
      The only problem - when it reaches 100% charge, it no longer falls until you reset the CMOS (15-30 seconds hold down the power button on the laptop). In the rehabman guide there is a patch for ASUS in this case, there is a patch method FBST. There is no such method in my DSDT.
      Can someone help?
      Here's a patched and clean DSDT: https://vk.com/doc183234383_509697931
    • By jamesxxx1997
      Hi everyone~
      Now using mojave 10.14.4 , I am patching my dsdt and ssdt but have four syntax error with my dsdt.dsl , and I don't know how to fix it.
       
      My specs:
      lenovo thinkpad x1 yoga 3rd
      CPU : i7-8550u
      graphics : uhd620
       
      The file of my dsdt and ssdt , ioreg , and my efi is in this link:https://drive.google.com/drive/folders/1T1nv1QgqDtczXrohdlQUJ_8O-kPpoSEf?usp=sharing
       
      thanks!
    • By bcuraboy3
      Good morning everyone. I have a HP Pavillion with the following specs
      I have managed to install MOjave on it, using Rehabman's config for Intel HD5500. 
      But I need some help with a DSDT for it.
      Would anyone be kind enough to have a look at the zip file, which contains the EFI folder, a IOREG, and some screenshots from DPCI Manager,
      and help me with a good DSDT patched and a correct config.plist for it?   
      Thank you very much.  Highly appreciated 
      I have also included a report from Aida64 in case anyone needs it 
       
      15-p200np
       
      Número do equipamento
      L5Z67EA
      Microprocessador
      Intel Core i7-5500U com placa gráfica Intel HD 5500 (2,4 GHz, 4 MB de cache, 2 núcleos);
      Memória
      SDRAM DDR3L de 4 GB a 1600 MHz (1 x 4 GB)
      Placa de vídeo
      NVIDIA GeForce 840M (DDR3 dedicada de 2 GB) >>  disabled already using the config.plist provided 
      Disco rígido
      SATA 1 TB 5400 rpm
      Unidade multimédia
      Gravador de DVD SuperMulti
      Visor
      HD BrightView com retroiluminação WLED de 39,6 cm (15,6 pol.) na diagonal (1366 x 768)
      Placa de rede
      Ethernet LAN Base-T 10/100 integrada
      Conectividade sem fio
      Combo 802.11b/g/n (1x1) e Bluetooth 4.0 (compatível com Miracast) >> It's not supported, but a DW1550 it's on it's way 
      Som
      BeatsAudio com 2 altifalantes >>  it's a ALC 290 
      Teclado
      Tamanho completo tipo ilha com teclado numérico
      Dispositivo
      HP Imagepad com suporte de gestos multi-toque
      Portas externas
      1 leitor de cartões multimédia SD multi-formato
      1 HDMI
      1 combinação auscultadores/microfone
      1 USB 2.0
      2 USB 3.0
      1 RJ-45
      Dimensões
      38,45 x 26,02 x 2,39 cm
      Peso
      2,27 kg
      Alimentação
      Transformador de alimentação CA de 65 W
      Polímero de iões de lítio 4 cél. 41 Wh
      Câmara
      Câmara Web HP TrueVision HD (frontal) com microfone digital de matriz dupla integrado
      Mac-Pro-Noi.zip
      Report.htm
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&t=6771   Nehalem, SandyBridge, IvyBridge, Haswell, Broadwell     Skylake, Kabylake and Coffeelake is here http://www.insanelymac.com/forum/topic/321872-guide-sierra-on-gigabyte-mobos-serie-200-kabylake-dsdt/   Install MacOS with Olarila Image, Step by Step, Install and Post Install
       
      https://olarila.com/forum/viewtopic.php?f=50&t=8685
        Mojave Full DSDT patch   http://olarila.com/forum/viewtopic.php?f=59&t=6428   First...   ***Update bios to last available version!***   If you need a full patched DSDT...  -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app   Installation   --Create a bootable copy of macOS Sierra / High Sierra / Mojave   https://github.com/chris1111/Create-Install-Media/releases   --Install Clover in USB stick   https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder https://olarila.com/files/Clover.Folder/CLOVER.SERIES.CHIPSET.zip   --Install Sierra/High Sierra and boot into system!   Post Installation --Install Clover and replace with my folder   https://olarila.com/files/Clover.Folder/CLOVER.SERIES.CHIPSET.zip   --Reboot and activate video!   Bingo!   Now you need a fine tune! DSDT time!   --DSDT   Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -XXXX to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI
       
      --Power Management
      - 1 Generation Intel Processors, use Generate P and C States in config.plist
      - 2 and 3 Generations Intel Processors, Generate SSDT with Piker script and drop CpuPm and Cpu0Ist SSDTs
      ssdtPRGen.command.zip
      Credits-https://github.com/Piker-Alpha/ssdtPRGen.sh
      - 4 Generation+ Intel Processors, use PluginType=1 in DSDT, SSDT or Clover config.plist
       
      for check Power, Frequency, Temperature and Utilization, use it
       
      Install Intel Power Gadget.pkg.zip
       
      --Brightness
      Install .app, select the required permission and reboot. Work in F1 / F2 keys!
      NativeDisplayBrightness.app.zip


      https://github.com/Bensge/NativeDisplayBrightness/releases
      *in some cases .app don't work, check patches in config.plist inside Clover folder Post Install
       
      --Clover
       
      https://sourceforge.net/projects/cloverefiboot/files/Installer/
       
      --AUDIO
       
      Use DSDT + AppleAlc
       
      --install Lan driver by Mieze
        -Atheros   http://www.insanelymac.com/forum/files/file/313-atherose2200ethernet/   -Intel   http://www.insanelymac.com/forum/files/file/396-intelmausiethernet/   -Realtek   http://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/   --Links   -FakeSMC   https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek   -Audio   https://github.com/vit9696/AppleALC http://www.insanelymac.com/forum/topic/314406-voodoohda-289/   -USB   https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads   It's time to Rock   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Apple, Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!  
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&t=6771   Install MacOS with Olarila Image, Step by Step, Install and Post Install
       
      https://olarila.com/forum/viewtopic.php?f=50&t=8685
        First... If you need DSDT edits... -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app   Installation --Create a bootable copy of El Capitan /  Sierra / High Sierra / Mojave   https://github.com/chris1111/Create-Install-Media/releases   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder   https://olarila.com/files/Clover.Folder/CLOVER.LGA775.zip   --Install EL Capitan / Sierra / High Sierra and boot into system!     Post Installation   --Install Clover and replace with my folder   https://olarila.com/files/Clover.Folder/CLOVER.LGA775.zip     --Reboot and activate video!   Bingo! Now you need a fine tune! DSDT Time!   My DSDT GA P35-DS3   DSDT.MaLd0n.zip     Patches -FIX ERRORS AND WARNINGS -HPET -SATA -SLPB -DARWIN -LPC -HDEF -RTC -EHCI -UHCI -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -EC -PNLF --Native Power Management
       
      Use Clover, check Generate P and C States
       
      --Brightness
      Install .app, select the required permission and reboot. Work in F1 / F2 keys!
      NativeDisplayBrightness.app.zip


      https://github.com/Bensge/NativeDisplayBrightness/releases
      *in some cases .app don't work, check patches in config.plist inside Clover folder Post Install
       
      --AUDIO
       
      Device HDEF + AppleAlc + Lilu
       
      --install Lan driver by Mieze
        -Atheros   http://www.insanelymac.com/forum/files/file/313-atherose2200ethernet/   -Intel   http://www.insanelymac.com/forum/files/file/396-intelmausiethernet/   -Realtek   http://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/   --Links   -FakeSMC   https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek   -Audio   https://github.com/vit9696/AppleALC http://www.insanelymac.com/forum/topic/293863-applehda-patch-requests/   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
×