valnoxy / t480-oc

💻 Lenovo ThinkPad T480 / T580 / X280 Hackintosh (macOS Monterey 12.x - Sonoma 14.x) - OpenCore
MIT License
355 stars 34 forks source link

HDMI not working #7

Open Comet1903 opened 2 years ago

Comet1903 commented 2 years ago

Hey there,

as the title says, my HDMI output is not working.

Whenever I plug in any external monitor, trough the built in HDMI port, my built in display goes black and reenables after 2-3 seconds. After this the built in is working normal, but not the external one... (1080p@144 or 1080@60). The external monitor isn't even turning on to say something like "unsupported input" it does straight nothing.

To me it looks like it wants to connect but fails at some point, I don't know.

I hope there is a known solution.

*EDIT: The brightness controls also don't work. Not trough the Keyboard or trough the System Preferences (or menu bar). Sidecar with an iPad is working normal. (not via WiFI but this is due to my WiFi card)

thishome commented 2 years ago

My t480 with i7 8550u brightness control does not work either. also HDMI output in not stable. after boot, HDMI cable should replugin so the external monitor can be detected.

thishome commented 2 years ago

hi, @valnoxy any ideas? help is needed! thanks a lot!

Comet1903 commented 2 years ago

@thishome I did a OC configuration that works nearly 100%. In my version are many changes done. I don't exactly know what a friend of mine did but it works :) What we've fixed:

Comet1903 commented 2 years ago

Hey @valnoxy

I tried creating a PR including my configuration... Her's the problem... I have about 600 files changed. Should I create my own repository sou you can decide what you want to use of mine configuration? Should I create a PR on your repo?

valnoxy commented 2 years ago

Hey, first of all, thanks for your work. Yes, create a new repo and send me the link. I will look at it later the day.

thishome commented 2 years ago

thank you for both of your work, I'll try your configuration once your repo is uploaded. @Comet1903 @valnoxy

Comet1903 commented 2 years ago

@valnoxy Here is my configuration, hope it helps you. @thishome you can try it out. Let us know if there is something not working as intended. Comet1903/t480-monterey-opencore

thishome commented 2 years ago

hi, @Comet1903 I try it out, and seems brightness control is working. more testing will be done in the future. I'll report anything buggy I found.

kymodoke commented 2 years ago

@Comet1903 Hello, I've got a question about your configuration that works nearly 100% as you mention "going to sleep/hibernate and correct shutting down": does the internal keyboard works correctly after wake from hibernation ?

I've got an L380 (many stuff in common with T480, except battery and TB and minor stuff), I've got sleep/hibernate working but I loose the keyboard (even at bios level and OC piker level) after wake from hibernation, my only solution is to use an external USB keyboard to reboot and then reset nvram). Keyboard disbaled problem seems to be a common thing on Monterey with some Thinkpads with 8gen Intel CPU (and even with non-thinkpad Lenovo models), either in wake after hibernate or in reboot from Monterey.

So if you've got the holy grail, I'm very interested, and I'll adapt your opencore config to my laptop.

Comet1903 commented 2 years ago

Hey @kymodoke, Keyboard, Trackpad and Trackpoint (or whatever the red thing in the middle of the keyboard is called) is working just fine after hibernating/sleep. I had various issues with hibernating, it was pain...

valnoxy commented 2 years ago

@valnoxy Here is my configuration, hope it helps you. @thishome you can try it out. Let us know if there is something not working as intended. Comet1903/t480-monterey-opencore

lgtm, will now merge it. thanks again!

opsforce commented 2 years ago
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
    <dict>
        <key>AAPL,GfxYTile</key>
        <data>AQAAAA==</data>
        <key>AAPL,ig-platform-id</key>
        <data>AAAWWQ==</data>
        <key>AAPL,slot-name</key>
        <string>Internal@0,2,0</string>
        <key>device-id</key>
        <data>FlkAAA==</data>
        <key>device_type</key>
        <string>VGA compatible controller</string>
        <key>enable-hdmi-dividers-fix</key>
        <data>AQAAAA==</data>
        <key>enable-hdmi20</key>
        <data>AQAAAA==</data>
        <key>enable-lspcon-support</key>
        <data>AQAAAA==</data>
        <key>framebuffer-fbmem</key>
        <data>AACQAA==</data>
        <key>framebuffer-patch-enable</key>
        <data>AQAAAA==</data>
        <key>framebuffer-stolenmem</key>
        <data>AAAwAQ==</data>
        <key>framebuffer-unifiedmem</key>
        <data>AAAAgA==</data>
        <key>hda-gfx</key>
        <string>onboard-1</string>
        <key>model</key>
        <string>Intel HD Graphics 620</string>
    </dict>
</dict>
</plist>

image

I change these, maybe better for hdmi output. Actually (problem?), when I disable the external graphics nvidia card(disable-external-gpu), the hdmi output is normal, otherwise, I need to replug the hdmi port

thishome commented 1 year ago

Hi all, I test the current configuration in this repo for MacOS 12.4 in the past days, and find some bugs.

  1. sometimes, booting system may fail, what shows in screen is below in the pic. and after that waiting for a while of about 5s, or touching any key, the system will reboot. And the whole process will repeat again. after several times of rebooting, the system will finally boot successfully and everything seems OK. This bug happens about 4 out of 5 rebooting. IMG_1572.
  2. sometimes, the system boots successfully with internal keyboards not recognized. keyboard via bluetooth works OK. This bug occurs rarely.
zhanglei1172 commented 1 year ago

Hi all, I test the current configuration in this repo for MacOS 12.4 in the past days, and find some bugs.

  1. sometimes, booting system may fail, what shows in screen is below in the pic. and after that waiting for a while of about 5s, or touching any key, the system will reboot. And the whole process will repeat again. after several times of rebooting, the system will finally boot successfully and everything seems OK. This bug happens about 4 out of 5 rebooting. IMG_1572.
  2. sometimes, the system boots successfully with internal keyboards not recognized. keyboard via bluetooth works OK. This bug occurs rarely.

I had the same situation, also in macos12.4

humble-b commented 1 year ago

I managed to get external display working on my T580 using the following settings in OC The T580 is a skylake machine with intel HD620 graphics, if i plug in or unplug it all works. I updated to Ventura 13.1

Only issue i have is my bluetooth not working as the bluetooth kext is not updated yet to Ventura

Only use these parameters in DeviceProperties -> Add -> PciRoot(0x0)/Pci(0x2,0x0)

            <key>AAPL,ig-platform-id</key>
            <data>AADAhw==</data>
            <key>device-id</key>
            <data>FlkAAA==</data>
            <key>framebuffer-con1-enable</key>
            <integer>1</integer>
            <key>framebuffer-con1-type</key>
            <data>AAgAAA==</data>
            <key>framebuffer-patch-enable</key>
            <data>AQAAAA==</data>
            <key>model</key>
            <string>Intel HD Graphics 620</string>

Use as platform id in hex: 0000C087 and as device id: 16590000

OC_config plist