Contribute
Register

UHD620 external video

Status
Not open for further replies.
Joined
Mar 8, 2017
Messages
758
Motherboard
Dell XPS 9700 4K (OpenCore)
CPU
i7-10875H
Graphics
UHD 630, 3840x2400
Mobile Phone
  1. Android
Hey there!

I'm trying to get my USB-C video working, on a T480s, with the i7 8550H. External Monitor is 4K@60Hz, connected through DP using a TB3 adapter. Working fully under Windows 10.

Using macOS, the internal screen goes black and the external has a max. res. of 2K. Spent my whole day on this, I think I'm at a dead end now. When I unplug the thunderbolt-cable, my laptop basically crashes with a black screen. Image comes back after lid open and close, but it is still in a crashed state and allows no more input.

My current config is attached, this is what the framebuffer looks like:
Screen Shot 2021-04-14 at 23.31.31.png


No other framebuffer than 0x00001659 seems to work for me, no image otherwise. Fbmem, stolenmem and unifiedmem seem to be correct, since internal works just fine. Tried LSPCON patching to maybe receive full 4K, no success. Tried different pipe-values, no success. Pixel-clock override does nothing, no matter if enabled or disabled. :/.

Any further ideas on this? Happy to share further information if needed.
 

Attachments

  • BlvckMvc.ioreg
    6.2 MB · Views: 31
  • EFI.zip
    16.8 MB · Views: 46
Hey there!

I'm trying to get my USB-C video working, on a T480s, with the i7 8550H. External Monitor is 4K@60Hz, connected through DP using a TB3 adapter. Working fully under Windows 10.

Using macOS, the internal screen goes black and the external has a max. res. of 2K. Spent my whole day on this, I think I'm at a dead end now. When I unplug the thunderbolt-cable, my laptop basically crashes with a black screen. Image comes back after lid open and close, but it is still in a crashed state and allows no more input.

My current config is attached, this is what the framebuffer looks like:
View attachment 515201

No other framebuffer than 0x00001659 seems to work for me, no image otherwise. Fbmem, stolenmem and unifiedmem seem to be correct, since internal works just fine. Tried LSPCON patching to maybe receive full 4K, no success. Tried different pipe-values, no success. Pixel-clock override does nothing, no matter if enabled or disabled. :/.

Any further ideas on this? Happy to share further information if needed.
please read the faq for proper hardware profile setup:
 
@Feartech

Is it properly done now? Didn't add a chipset on my CPU-entry, since I'm not quite sure... CPU-Z didn't help on that regard either, tbh.
 
@Feartech

Is it properly done now? Didn't add a chipset on my CPU-entry, since I'm not quite sure... CPU-Z didn't help on that regard either, tbh.
motherboard:
Lenovo ThinkPad T480s (OpenCore)
would be better :)

all else is fine

have you tried platform ID 0000C087 ?

the platform ID you are using is mainly for a desktop

you could also try adding:
framebuffer-con1-alldata -> 01050A00 00080000 87010000 02040A00 00080000 87010000 FF000000 01000000 20000000

framebuffer-con2-alldata -> 01050A00 00080000 87010000 03060A00 00040000 87010000 FF000000 01000000 20000000

also keep your device-id, framebuffer-patch-enable, framebuffer-stolenmem, framebuffer-fbmem, framebuffer-con1-enable, framebuffer-con1-alldata as is

and remove the rest to try this out
 
@Feartech

Is it properly done now? Didn't add a chipset on my CPU-entry, since I'm not quite sure... CPU-Z didn't help on that regard either, tbh.
also MacBookPro14,1 would be much better for your kabylake system

also but this probably won't have anything to do with your graphics...

these renames in your config.plist:
Code:
<dict>
                <key>Comment</key>
                <string>_Q16 to XQ16</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>X1ExNg==</data>
                <key>Replace</key>
                <data>WFExNg==</data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>_Q6A to XQ6A</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>X1E2QQ==</data>
                <key>Replace</key>
                <data>WFE2QQ==</data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>_Q66 to XQ66</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>X1E2Ng==</data>
                <key>Replace</key>
                <data>WFE2Ng==</data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>_Q60 to XQ60</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>X1E2MA==</data>
                <key>Replace</key>
                <data>WFE2MA==</data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>_Q61 to XQ61</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>X1E2MQ==</data>
                <key>Replace</key>
                <data>WFE2MQ==</data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>_Q62 to XQ62</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>X1E2Mg==</data>
                <key>Replace</key>
                <data>WFE2Mg==</data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>_Q65 to XQ65</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>X1E2NQ==</data>
                <key>Replace</key>
                <data>WFE2NQ==</data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>_Q43 to XQ43</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>X1E0Mw==</data>
                <key>Replace</key>
                <data>WFE0Mw==</data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>_Q19 to XQ19</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>X1ExOQ==</data>
                <key>Replace</key>
                <data>WFExOQ==</data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>_Q63 to XQ63</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>X1E2Mw==</data>
                <key>Replace</key>
                <data>WFE2Mw==</data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>_Q64 to XQ64</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>X1E2NA==</data>
                <key>Replace</key>
                <data>WFE2NA==</data>
            </dict>

appears to be from clover, they seem to be missing parts for OpenCore
 
@Feartech

Thanks a lot for your suggestions! Updated my profile now. I will try the different framebuffer patches as well as the 14,1 SMBIOS tomorrow, need to go to bed, quite late around here already. I will get back to you soon!

BTW, those renames are just for my SSDT-FN, which is a playground in and of itself, and have been generated with a python-script to just save me a lot of typing. I was too lazy to add the missing properties, since they fall back to a value I need anyways. As soon as I'm done with experimenting around, I will implement this properly.
 
@Feartech

Of course, I couldn't go to sleep like that, not testing your suggestion out real quick, since it only takes a few minutes, xD. I'm very impressed so far! Not only that I actually could boot with your platform-id, but also: My internal display is not going black anymore when plugging in the tb3 cable! That's a huge success in my book. Only issue is, that my laptop still crashes when unplugging, and that the external monitor is still limited to 2K@60Hz max.

Could you check if I have implemented the changes as you've intended?

Screen Shot 2021-04-15 at 01.28.47.png

Also, funny that sometimes the thunderbolt seems to won't work, and I have to unplug and plug it back in. I'm still a huge noob regarding TB3-Patching tho, just used an SSDT from an online-repo that stated my model. Looks to be okay-ish tho, this is something we shouldn't focus on right now, just wanted to state it on here.

Screen Shot 2021-04-15 at 01.28.26.png
 

Attachments

  • EFI.zip
    16.8 MB · Views: 60
Just a side-question: Is this forum experiencing a lot of downtimes within the last few days? Sometimes the page won't load for a few hours.
 
@Feartech

Of course, I couldn't go to sleep like that, not testing your suggestion out real quick, since it only takes a few minutes, xD. I'm very impressed so far! Not only that I actually could boot with your platform-id, but also: My internal display is not going black anymore when plugging in the tb3 cable! That's a huge success in my book. Only issue is, that my laptop still crashes when unplugging, and that the external monitor is still limited to 2K@60Hz max.

Could you check if I have implemented the changes as you've intended?

View attachment 515214
Also, funny that sometimes the thunderbolt seems to won't work, and I have to unplug and plug it back in. I'm still a huge noob regarding TB3-Patching tho, just used an SSDT from an online-repo that stated my model. Looks to be okay-ish tho, this is something we shouldn't focus on right now, just wanted to state it on here.

View attachment 515215
glad you got it working!

i have no experience with thunderbolt though

make sure all kexts are updated to latest

could try adding -cdfon boot argument

try increasing DVMT to 64MB or 128MB in BIOS (may require BIOS mod), then remove from config.plist:

framebuffer-patch-enable
framebuffer-stolenmem
framebuffer-fbmem
 
@Feartech

-cdfon didn't change the available resolutions, I think I'm going to research how a bios unlock works on my model, to increase DVMT. Is there any difference between increasing DVMT in BIOS vs. increasing it using fb-patches?

Also, I tried to narrow down where the errors occurred after unplugging the cable, where my screen stays black (but still has backlight on). Attached it, maybe you can spot something familiar in there, I will also keep on investigating that. First line of file is hotplug remove event. There are some errors in there too.
 

Attachments

  • log.txt
    193.6 KB · Views: 132
Status
Not open for further replies.
Back
Top