Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

safari70

macrumors member
Jan 10, 2006
87
30
ON

Thanks @KevinClark for sharing your files... just to clarify, are you able to get TB3 working from a cold start without having to reboot once?

I have an RME UFX+ and even after using your SSDT I still need to do a warm reboot before it's recognized. Do you think Elias23 would make a difference?

Thanks!
 
Last edited:

vinaypundith

macrumors member
Apr 10, 2020
76
48
Anyone had success using a Dell TB16 Thunderbolt 3 dock with a Gigabyte Titan Ridge (v1.0) TB3 card in a Mac Pro 4,1>5,1? I have one, and it shows in Mac OS as "Dell Thunderbolt Dock - Unsupported" and the ports on the dock (USB 3.0 and ethernet at least) don't work. I have my Titan Ridge card with the firmware linked in Amey Rupji's guide.
 

joevt

macrumors 604
Jun 21, 2012
6,964
4,259
Anyone had success using a Dell TB16 Thunderbolt 3 dock with a Gigabyte Titan Ridge (v1.0) TB3 card in a Mac Pro 4,1>5,1? I have one, and it shows in Mac OS as "Dell Thunderbolt Dock - Unsupported" and the ports on the dock (USB 3.0 and ethernet at least) don't work. I have my Titan Ridge card with the firmware linked in Amey Rupji's guide.
I don't think I've seen the Unsupported tag before. Can you show a screen shot of that? What version of macOS are you using?

The Dell TB16 is old. It might use the TI82 which is not supported by macOS. In that case, Thunderbolt3Unblocker should allow it to work.
https://github.com/rgov/Thunderbolt3Unblocker
There's a big discussion there about needing to update the TB16 firmware.
https://github.com/rgov/Thunderbolt3Unblocker/issues/28

Actually, I have an Old Thunderbolt 3 device that uses the TI82 - the AkiTiO Thunder3Duo Pro. When I connect it to my Mac mini 2018, nothing happens. Maybe Apple made the TB16 a special case? I had already installed Thunderbolt3Unblocker but it wasn't working in Monterey. I installed it again and restarted after allowing the new kernel extensions in the Security preferences panel. That still didn't help. Then I switched the Thunderbolt cable, now I can use the AkiTiO Thunder3Duo Pro.
 

vinaypundith

macrumors member
Apr 10, 2020
76
48
I don't think I've seen the Unsupported tag before. Can you show a screen shot of that? What version of macOS are you using?

The Dell TB16 is old. It might use the TI82 which is not supported by macOS. In that case, Thunderbolt3Unblocker should allow it to work.
https://github.com/rgov/Thunderbolt3Unblocker
There's a big discussion there about needing to update the TB16 firmware.
https://github.com/rgov/Thunderbolt3Unblocker/issues/28

Actually, I have an Old Thunderbolt 3 device that uses the TI82 - the AkiTiO Thunder3Duo Pro. When I connect it to my Mac mini 2018, nothing happens. Maybe Apple made the TB16 a special case? I had already installed Thunderbolt3Unblocker but it wasn't working in Monterey. I installed it again and restarted after allowing the new kernel extensions in the Security preferences panel. That still didn't help. Then I switched the Thunderbolt cable, now I can use the AkiTiO Thunder3Duo Pro.
Thanks for the response! My machine is running macOS Mojave 10.14.6. Should updating further help? I know 10.14 is in its waning days.
unknown.png

^^ That's where it says "Unsupported". Also for some reason it detects a device plugged into both ports when there was only one device plugged in, to one port.
I'll look into ThunderboltUnlock, thanks for telling me about it. How would I find out what chip is in my TB16? Can't find anything on the net, is there a CPU-Z type utility that would identify the chip in it?
 

joevt

macrumors 604
Jun 21, 2012
6,964
4,259
Thanks for the response! My machine is running macOS Mojave 10.14.6. Should updating further help? I know 10.14 is in its waning days.
View attachment 1883049
^^ That's where it says "Unsupported". Also for some reason it detects a device plugged into both ports when there was only one device plugged in, to one port.
I'll look into ThunderboltUnlock, thanks for telling me about it. How would I find out what chip is in my TB16? Can't find anything on the net, is there a CPU-Z type utility that would identify the chip in it?
Your Thunderbolt Bus is reporting two separate 20 Gbps links instead of one 40 Gbps link. Are you able to get over 2000 MB/s from this?

Looks like the TB16 has two Thunderbolt controllers chained together.
The Dell Thunderbolt Cable device has an upstream Thunderbolt port connected to your Mac's Thunderbolt Bus and it has a downstream Thunderbolt port connected to the main part of the Dell TB16. The downstream link is one channel of 20 Gbps.

Do you have any other Thunderbolt devices to test?

The ioreg command will list the PCI vendor and product ids. There's a IORegistryExplorer.app which has a GUI for looking at the IORegistry.
Or you could try my pcitree.sh script or my FixPCIeLinkRate.efi driver.
https://gist.github.com/joevt/e3cd4ff08aae06279134969c98ca3ab7
https://forums.macrumors.com/threads/opencore-and-the-2008-mac-pro-3-1.2287044/post-30087837
 

vinaypundith

macrumors member
Apr 10, 2020
76
48
Your Thunderbolt Bus is reporting two separate 20 Gbps links instead of one 40 Gbps link. Are you able to get over 2000 MB/s from this?

Looks like the TB16 has two Thunderbolt controllers chained together.
The Dell Thunderbolt Cable device has an upstream Thunderbolt port connected to your Mac's Thunderbolt Bus and it has a downstream Thunderbolt port connected to the main part of the Dell TB16. The downstream link is one channel of 20 Gbps.

Do you have any other Thunderbolt devices to test?

The ioreg command will list the PCI vendor and product ids. There's a IORegistryExplorer.app which has a GUI for looking at the IORegistry.
Or you could try my pcitree.sh script or my FixPCIeLinkRate.efi driver.
https://gist.github.com/joevt/e3cd4ff08aae06279134969c98ca3ab7
https://forums.macrumors.com/threads/opencore-and-the-2008-mac-pro-3-1.2287044/post-30087837
I do not have any 2000MB/s capable devices to test max speed with, or any other TB device. if the Dell TB16 is an incompatible device, I can try to get something else that would be compatible. I'll find the PCI vendor and product IDs tomorrow (it's night where I am). Thanks!
 

vinaypundith

macrumors member
Apr 10, 2020
76
48
So I used you pcitree.sh script (ran it from an Ubuntu 19.04 environment) and these are the results. With the TB1 plugged in, I see the Titan Ridge JHL7540 thunderbolt controller as well as another DSL6540 Alpine Ridge controller under it, which disappeared after I unplugged the TB16 dock (leaving just the JHL7540). How does this work? Does the dock have another PCI-e TB controller in it?
 

Attachments

  • Screenshot at 2021-10-30 15-52-39.png
    Screenshot at 2021-10-30 15-52-39.png
    57.4 KB · Views: 96
  • Screenshot at 2021-10-30 15-51-05.png
    Screenshot at 2021-10-30 15-51-05.png
    81 KB · Views: 81

joevt

macrumors 604
Jun 21, 2012
6,964
4,259
So I used you pcitree.sh script (ran it from an Ubuntu 19.04 environment) and these are the results. With the TB1 plugged in, I see the Titan Ridge JHL7540 thunderbolt controller as well as another DSL6540 Alpine Ridge controller under it, which disappeared after I unplugged the TB16 dock (leaving just the JHL7540). How does this work? Does the dock have another PCI-e TB controller in it?
This would be easier to answer if you pasted the text instead of using screenshots.

4:00:0 is the Titan Ridge upstream bridge. 05:xx are its downstream bridges. The GC-TITAN RIDGE support PCIe gen 3 speed but it's currently using gen 2 speed as expected for MacPro5,1.
05:00.0 is for its NHI at 06:00.0
05:02.0 is for its USB controller at 0b:00.0
05:01.0 is for port 1 (it has only 4 buses [07-0a] reserved for it - that's not good)
05:04.0 is for port 2 (it has only 1 bus reserved for it - that's not good)

Usually a firmware that support Thunderbolt will reserve more buses for the downstream Thunderbolt ports. But the MacPro5,1 firmware knows nothing about Thunderbolt. It's up to the OS to reserve buses. For Linux, maybe there's a setting that can be applied to a device path that says how many buses to reserve for that path when enumerating the PCI devices. For macOS, maybe a kext can tell macOS to reenumerate the PCI devices with extra reservations for the Thunderbolt ports (IOPCIConfigurator stuff).

I will eventually try to make a EFI driver that can reenumerate PCI devices for Thunderbolt.

Back to your pcitree output, when you connect the TB16 to the first port (05:01.0), there's only enough buses to enumerate the following:
07:00.0: The first Alpine Ridge upstream bridge. 08:xx are its downstream bridges.

There's not enough buses to enumerate the PCIe endpoint devices that are part of the Alpine Ridge or that are connected to the Alpine Ridge. From your screenshot in macOS, we expect another Thunderbolt controller to appear. Maybe you can see all the Thunderbolt devices with the boltctl list -a or tbtadm topology commands.
http://manpages.ubuntu.com/manpages/jammy/en/man1/boltctl.1.html
http://manpages.ubuntu.com/manpages/bionic/man1/tbtadm.1.html

If you restart the computer at this point, the firmware may be able to see the Alpine Ridge bridges and enumerate more downstream PCI devices?

For example, with unflashed Titan Ridge in MacPro3,1, we connect Thunderbolt devices in Windows and Windows will setup the Thunderbolt chain. Then we restart and the PCI devices in the chain will then be enumerated by the firmware and will be usable in Windows or Linux or macOS.
https://forums.macrumors.com/threads/testing-tb3-aic-with-mp-5-1.2143042/post-27612591

19.04 is old. Maybe 21.10 has better Thunderbolt support or more options. I have a few versions of Ubuntu installed, each taking about 20 GB. They all use the same swap partition. Need to research the linux kernel pci related options to see if something can improve Thunderbolt support.
https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html
Maybe assign-busses?
Maybe some of the hot plug stuff hpiosize, hpmmioprefsize, hpmemsize, hpbussize. Does Linux consider Thunderbolt as hot plug? Maybe it depends on the HotPlug flag. This command lists devices that have the HotPlug flag:
sudo lspci -vvvnn | sed -nE '/^[0-9a-f].*/,/^$/ { /^([0-9a-f].*)/h; /HotPlug\+/ { g; p; }; }'
It may contain non-Thunderbolt slots. In that case, you want to apply the settings only to the Thunderbolt devices but the hp* settings don't have a <pci_dev> parameter? For Alpine Ridge, the USB controller might be marked as hot plug so you would want to ignore that device and make sure only the Thunderbolt ports get resources reserved for them. I suppose a proper Thunderbolt EFI driver would decide which downstream bridges correspond to a PCIe Down Adapter and only make reservations for those. I suppose the Linux kernel could be made to do that as well so it would be less dependant on firmware.
 

kokiwiix

macrumors newbie
Nov 20, 2020
2
0
A sleep solution for the Titan Ridge 2 interface....

Pin 11 on the PCIe bus is WAKE#. It was clear to me that when the MacPro went to sleep and immediately woke back up, someone on the controller was asserting the WAKE# line to cause the system to wake back up. After a few attempts at other solutions I decided to investigate modifying the card. In fact on the Titan Ridge 2.0 card there is a zero ohm jumper from the contact for pin 11 to something on the card. Removing the jumper prevents the card from waking the system. See the picture included below.

While I have limited testing, this mod prevents immediate wakeup on sleep with either USB or Thunderbolt devices plugged into the card.

With a Thunderbolt drive attached via Apple's TB3/TB2 adapter, the drive is seen on hot plug but not usable until booting with the drive attached to the machine. I believe this is normal for this interface and not effected by this mod. Putting the system to sleep and manually waking it, the drive is still present and usable.

While I'm still testing with an Apple USB-C to USB3.0 adapter the system will enter sleep without waking itself up.

Note that waking the system on a hot plug / unplug event is clearly disabled given the card no longer has a means of waking the system with WAKE# disconnected. I think for most use cases this isn't a problem. If fact I can't remember ever wanting this to work on a real Apple Thunderbolt interface...



View attachment 1722192
This is the post I've been looking for since quite some time - Thank you SO MUCH !!!
Mac Pro on TR2 can now sleep like a baby again.
 

hamishb2

macrumors member
Dec 12, 2020
33
13
I have read this thread with interest to see what issues people have and how solved. Be grateful for some help.

I am running a Mac Pro 5,1, OpenCore 0.75 (Martin Lo’s package) running Monterey. So far, so good.

I am not sure if my slot 1 is dodgy, or the second hand Sapphire RX580X Nitro+ is the issue, but I have to run in Slot 3 or 4 to make the cards fit.

I have a flashed and jumpered Titan Ridge card I bought from eBay. I can’t get it in Slot 4 as there is not enough space.

So I am currently running:
1. SSD on a PCIE card (SM971)
2. Titan Ridge with firmware 23
3. AMD Radeon 580X

If I plug another monitor in to the card I can do a warm boot and get my Apple Thunderbolt Display (ATB) working on the TR card using pass through cable and Apple TB2->TB3 adapter.

However from a cold boot I can’t get the ATD to be recognised.

I can see others have this issue and either have a workaround or a solution. Appreciate any tips on how best to solve.

A new GPU might be on the cards; prefer not to have to do Pixlas mod so I think that means another RX580, or a 5700XT or a Vega 56? All of which are quite expensive and hard to find second hand.
 

avro707

macrumors 68020
Dec 13, 2010
2,263
1,654
Ohh! It seams I got it to work without the USB 2.0 header after all :)

After booting with a USB/HDMI/SD-card reader attached to one of the USB-C ports on the LG UltraFine screen the MacOS System Settings Audio Output tab now shows the LG UltraFine.

View attachment 906180


This is useful for me, so I'll try that method. Neither the audio or camera are working here.

I have the Ultrafine 5K (the newer version) and it has a strange behaviour.

When I start the Mac I'll see the Opencore 0.7.5 boot screen appear on the LG screen and then I choose it. macOS starts but then when it loads the LG screen is totally dark and the screen must be unplugged and connected again to the TB port on the Titan Ridge. Is there any solution?

The LG screen is connected with a single thunderbolt cable and runs at 5120x2880. And a cable is looping from one of the RX580 display ports to the displayport in on the Titan Ridge 2 card.

Also enabled TB in config.plist.
 

aclarubicin

macrumors member
May 27, 2018
76
20
This is useful for me, so I'll try that method. Neither the audio or camera are working here.

I have the Ultrafine 5K (the newer version) and it has a strange behaviour.

When I start the Mac I'll see the Opencore 0.7.5 boot screen appear on the LG screen and then I choose it. macOS starts but then when it loads the LG screen is totally dark and the screen must be unplugged and connected again to the TB port on the Titan Ridge. Is there any solution?

The LG screen is connected with a single thunderbolt cable and runs at 5120x2880. And a cable is looping from one of the RX580 display ports to the displayport in on the Titan Ridge 2 card.

Also enabled TB in config.plist.
you may need to loop two cables from the TR2 to your rx580
 

cdf

macrumors 68020
Jul 27, 2012
2,256
2,583
I have the Ultrafine 5K (the newer version) and it has a strange behaviour.

I have the 24 inch version of the LG UltraFine (24MD4KL-B), and I'm trying to figure out how to best use it when connected via Thunderbolt to a flashed GC-TITAN RIDGE card. If the procedure turns out to be relatively painless, I may look into getting the 27 inch version.

Warm boot

It just works.

Cold boot

No image. To get an image:
  1. Unplug the power cord of the display.
  2. Start the Mac and login to macOS blindly (OpenCore audio assist could be useful here).
  3. Plug the power cord back.
No audio or brightness controls. To enable these controls, simply reboot.

Neither the audio or camera are working here.
Have you tried rebooting at least once after connecting the display?

When I start the Mac I'll see the Opencore 0.7.5 boot screen appear on the LG screen and then I choose it.
Interesting. Does the boot menu appear even on a cold boot? In my case, it seems that booting once into macOS is necessary for getting an image.

macOS starts but then when it loads the LG screen is totally dark and the screen must be unplugged and connected again to the TB port on the Titan Ridge.
I've experienced something familiar with other displays. Does the black screen appear right after the first stage of the boot process, once the graphics drivers kick in (this is when the fans on some versions of the RX 580 stop spinning with a muffled "boom" sound)? In my case, the issue was with macOS.

The LG screen is connected with a single thunderbolt cable and runs at 5120x2880. And a cable is looping from one of the RX580 display ports to the displayport in on the Titan Ridge 2 card.
To obtain a true 5K image, you need two DP 1.2 streams. That means using two ports of the RX 580. Otherwise, you'll actually only get 4096x2304 (despite what may be reported in macOS).
 
Last edited:

avro707

macrumors 68020
Dec 13, 2010
2,263
1,654
Yes, it does work correctly on cold startup and shows the boot screen from the Oc package. At least for me. It’s only once Mac OS loads that it goes off again while the 27” Appl Cinema Display is fine and showing desktop.

I’m also pretty sure it is running real 5K too by the look of it and not a lower resolution, it’s extremely sharp - much more so than the 27” Apple sitting beside it. Lower resolutions usually don’t look like that.

But I will double check by connecting the other cable. I upgraded both the 5,1 Macs with Titan Ridge 2 to give them more modern connectivity.

The 27 inch 5K is a lovely screen.

The only complaint if you look at black background images is the light bloom on the top left corner which is known. Otherwise you never see it.
 
Last edited:
  • Like
Reactions: cdf

cdf

macrumors 68020
Jul 27, 2012
2,256
2,583
You can use SwitchResX to confirm the resolution. Look for "scaled resolution base". You want to see 5120x2880. Note that while connecting the two ports should give you the real 5K resolution, it might break the boot screen.

 

avro707

macrumors 68020
Dec 13, 2010
2,263
1,654
You can use SwitchResX to confirm the resolution. Look for "scaled resolution base". You want to see 5120x2880. Note that while connecting the two ports should give you the real 5K resolution, it might break the boot screen.

When I set switchresX to 5120x2880 (non HiDPI) everything on the screen was so small I could hardly read anything. On the setting mentioned it showed me something else totally even with two cables connected.

Connecting two cables as mentioned makes no difference, it works with just one. What I do see is 5120x2880 resolution with UI looks like 2560x1440. It's extremely sharp as well, not fuzzy. SwitchresX shows that as HiDPI.

edit: I see what's happening, if I connect the LG on its own, SwitchResX shows 5120x2880.

If I connect the Apple LED Cinema Display 27" as well, then that puts the LG down to 4K.
 
Last edited:

joevt

macrumors 604
Jun 21, 2012
6,964
4,259
When I set switchresX to 5120x2880 (non HiDPI) everything on the screen was so small I could hardly read anything. On the setting mentioned it showed me something else totally even with two cables connected.

Connecting two cables as mentioned makes no difference, it works with just one. What I do see is 5120x2880 resolution with UI looks like 2560x1440. It's extremely sharp as well, not fuzzy. SwitchresX shows that as HiDPI.

edit: I see what's happening, if I connect the LG on its own, SwitchResX shows 5120x2880.

If I connect the Apple LED Cinema Display 27" as well, then that puts the LG down to 4K.
If you are using only one DisplayPort input of the Thunderbolt 3 add-in card (of if one of the DisplayPort connections is used by another display, of if the cable is not 40 Gbps such as a USB-C cable which is limited to Thunderbolt 20 Gbps), then the LG Ultrafine 5K will be limited to 4K.

In the current resolutions tab in SwitchResX for the display, double click the current resolution. It will show the pixel clock and active pixels fo the current resolution.
For 4K it will say something like 500+ MHz for pixel clock and 3840x2160 (or 4096x2304).
For 5K it will say something like 900+ MHz for pixel clock and 5120x2880.
 

avro707

macrumors 68020
Dec 13, 2010
2,263
1,654
If you are using only one DisplayPort input of the Thunderbolt 3 add-in card (of if one of the DisplayPort connections is used by another display, of if the cable is not 40 Gbps such as a USB-C cable which is limited to Thunderbolt 20 Gbps), then the LG Ultrafine 5K will be limited to 4K.

In the current resolutions tab in SwitchResX for the display, double click the current resolution. It will show the pixel clock and active pixels fo the current resolution.
For 4K it will say something like 500+ MHz for pixel clock and 3840x2160 (or 4096x2304).
For 5K it will say something like 900+ MHz for pixel clock and 5120x2880.

I swapped in the other video card - the XFX RX580 with its 3 display ports.

That works with both displays - the LG at 5K, and the other one at it's maximum 2560x1440.

Untitled.jpg


With the Sapphire RX580, this wasn't possible. Hmm, it's working now and thanks for the guidance:

IMG_0189.jpg


The left two display ports are going to the thunderbolt card. The right most display port is connected directly to 27" Apple Cinema Display.
 
Last edited:
  • Like
Reactions: prefuse07 and joevt

Tommy2

macrumors newbie
Dec 4, 2021
1
0
I know that the Antelope Audio Orion Studio Synergy Core is supposed to be compatible with OS Monterey and with M1 chips but I can not activate it. It does not show up in the launcher software. This is on a new 2021 16" M1 Pro MacBook. It's connected via a USB C cable and shows up in the system report as a connected USB 3.1 device, not thunderbolt. This seems to be why it isn't seen by the launcher. Anybody have a clue as to a fix?
It's the weekend and Antelope support is not available. Thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.