-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MVHR: read arg fail #2
Comments
Unfortunately same here (running Ubuntu 20.04 build on the 27" iMac 2018). Output of smc_dump_linux.sh is here |
Same here on a iMac Late 2012 with macOS Catalina. I think MVMR no longer exists. I suspect Target Display Mode does not work anymore with macOS Catalina. |
The MVHR and MVMR are not listed. I have a iMac Late 2013 and I think it should be supported, right? Should those keys always appear? or just only after the connection is detected? I'm trying to connect a Dell computer using a HDMI -> thunderbolt adapter. Do you have any suggestion on how to get the new keys @floe ? |
Hm, I think the only way to solve this would be to run SmcDumpKey on macOS, once with TDM active and once with TDM off, and compare the results... or alternatively, use the dtrace script on the dpd process. However, keep in mind that I tested this with Yosemite on a 2011 iMac, so things may have changed considerably since then... |
I'm getting this same error. I am using a late 2013 iMac 27" running manjaro (was on catalina previously) and have not been able to get TDM to work either on Mac OSX or linux |
same error here - running Ubuntu 22.10 on an Imac 27" 2011. running "sudo ./smc_dump_linux.sh |grep MVHR" does not find MVHR... |
Just an idea - macs before 2011 used to accept display port as in input for TDM - starting with 2011 Apple changed to Thunderbolt 2. Propaby the smc registers for TDM also changed (if handled by smc at all). Any thoughts or approaches to find the right registers? Is the any mac os source code ot documentation available? I dont have my mac os installed anymore, but maybe somebody could try floes recommended approach above? |
Yes, as I remember, TDM on Thunderbolt iMacs even works only with Thunderbolt intel macs, no luck for M series though. |
I'm having a slightly different error. iMac12,2 (2011).
|
similar issue here with an iMac 27" 2009 with geforce graphics and a MacBook Air 2015 running Ventura beautifully with OCLP Please press Enter to activate this console. read_smc get key type error enabled, toggling OFF ... read_smc get _key_type error send_byte(0x52, 0x0300) fail: 0x00 read_smc get key_type error disabled. already tested iMac with a monitor and a miniDP to HDMI adapter to see if the port is working, it is. |
Maybe you can try what floe suggested @Gelias212?
|
ok, I'll try it as soon as I get the new cable, could be a couple of weeks since I don't wanna waste money on useless cables that won't work. |
Is there any further information? |
Hitting this myself, but I don't think this is a hardware issue. The System Management Controller (SMC) is the little computer inside the Mac that controls a number of different things. The fact that these commands are failing makes me think that a firmware update patched out this feature. I could be wrong on that. The reason I think this is that I tried dumping SMC values from within macOS 15.1.1 (OpenCore Legacy Patcher installed) and wasn't able to see either MVHR or MVMR keys listed. I assumed that maybe macOS was masking them off, but that doesn't seem to be the case. I decided to try reading a different key, "TC0c" using I'd assume that either the values to enable TDM in the SMC changed (this seems to happen) or they were removed. I may try downgrading macOS but I highly doubt it'll make a difference. I don't know if OpenCore Legacy Patcher has changed the SMC in any way, but I recall reading that it should do most of its patching in memory... Just wondering if that might be what's common for us here. |
Hmm. Also read #9. I'm getting a 2009 iMac 27" on Friday for $30 and will do more testing then. I can definitely downgrade the 2012 and re-dump the SMC keys before and after. I used the Quick update for future folks: (2024-12-16)
I'll test Thunderbolt on the 2012 iMac when I'm able Update 2024-12-19: Struggling to get the I do see regular activity when doing things like changing brightness and volume, both of which seem to use the |
@floe, I’ve got everything set up now and can run the Would you be interested in working on this now? I can do some work myself (C and low level stuff are pretty familiar to me) but just curious if you’re interested. I’ll pick this up after the holidays. For others, I’ve tested both TDM with Sequoia as the display on a pre-Thunderbolt iMac (2010) as well as the source on a 2013 Mac Pro trashcan. Both worked fine. However, I did buy a TB2->TB3 adapter from the Apple Store and that does not work with an AMD Ryzen chip running Linux (Framework 16) with TB4 nor does it work with my M1 MBP. I have a suspicion that the SMCs on both computers are involved outside of the operating system, so using these as displays without additional hardware or software is quite unlikely. Still! Fun to play with. |
@RandomInsano feel free to have a go, but I can only give armchair support, as I don't have any relevant hardware anymore... I assume the SMC itself will not get downgraded if you do a MacOS downgrade, though. |
Thanks for the hack! Probably I'm doing something wrong but I get this error after running
sudo ./tdm_on.sh
on the iMac (running Ubuntu):Is that normal? The laptop (running Ubuntu as well) is connected but nothing happens.
The text was updated successfully, but these errors were encountered: