Today, we’ll look into yet another standard in the embedded space: MXM. It stands for “Mobile PCI Express Module”, and is basically intended as a GPU interface for laptops with PCIe, but there’s way more to it – it can work for any high-power high-throughput PCIe device, with a fair few DisplayPort links if you need them!
You will see MXM sockets in older generations of laptops, barebones desktop PCs, servers, and even automotive computers – certain generations of Tesla cars used to ship with MXM-socketed Nvidia GPUs! Given that GPUs are in vogue today, it pays to know how you can get one in low-profile form-factor and avoid putting a giant desktop GPU inside your device.
I only had a passing knowledge of the MXM standard until a bit ago, but my friend, [WifiCable], has been playing with it for a fair bit now. On a long Discord call, she guided me through all the cool things we should know about the MXM standard, its history, compatibility woes, and hackability potential. I’ve summed all of it up into this article – let’s take a look!
This article has been written based on info that [WifiCable] has given me, and, it’s also certainly not the last one where I interview a hacker and condense their knowledge into a writeup. If you are interested, let’s chat!
Simple Wireup, Generous Payoff
An MXM card has a whole side dedicated to its gold finger PCB edge connector. With 285 pins, there are a whole lot of interfaces you can get out of these, and all of them are within hobbyist reach! To make an MXM card work, you don’t need much, either.
For an MXM card to work, first, you need to be able to provide between 60 W and 100 W of power, with the ability to impose a power consumption limit on the card. The standard says that the voltage can be anywhere from 7 V to 20 V. This is obviously intended for laptop use, where the main power rail can either be at charger voltage or battery voltage, and it results in high efficiency – you don’t need a separate buck-boost regulator for, say, 12 V.
Then, you need a PCIe link of up to 16x, but because PCIe is cool like that, even a 1x link will work as long as you won’t be sad if the GPU is bottlenecked by it. You also might need to set up a few control GPIOs, like the card enable pin, and the power limit pin that tells the card whether it should run in lower-power mode or not. Plus, for some cards, you might need to give the card 5 V at an amp or two – the standard requires that, but it’s not clear why. Technically, you can even connect an MXM card to a Raspberry Pi 5 or CM4, as long as you can procure enough power from some external source – if you want a low-footprint GPU paired with a Pi, MXM makes that firmly within your reach.
In return, you get a wide array of interfaces. The coolest part is, undoubtedly, DisplayPort. You can get up to six 4-lane DP links out of an MXM card, as long as the GPU chip is okay with it. You might also be able to get VGA, LVDS, and even HDMI/DVI. MXM GPUs do support DP++, a DisplayPort mode that outputs HDMI-compatible signals, and you only need a few external components.
You also get a good few low-level interfaces, both for practical and debug purposes. Need to control a small fan? There’s a PWM output you might be able to use for fan control, and a tach signal input! Backlight control for an LCD panel you’ve wired up? There’s PWM for that too. Want to poke at the GPUs’ JTAG? The MXM socket has pins defined for that. It’s up to the cards to support or not support a lot of stuff that the MXM standard defines, so you might still benefit from a small MCU, but having those things seriously helps in embedded applications.
Speaking of JTAG and vendor freedom, of course, there are OEM pins – since anyone can produce MXM GPUs and systems, and the MXM standard has lasted for decades now, manufacturers like to put their own spin on them. You can often figure things out from MXM-equipped laptop schematics, and, sometimes it’s necessary to check a few. See, giving freedom to individual implementers is a double-edged sword, and MXM is an outstanding illustration on how modular standards can go wrong for regular users.
Compatible, Mostly
Looking at MXM, you might rejoice – thinking about upgrading and repairing your laptop well beyond the few years that the warranty period covers. However, manufacturers are not exactly interested in that. For them, the incentive structure for using MXM is usually completely different.
For a start, producing a board with five BGAs can in certain cases be easier than producing a board with fifteen, which is what you often have to do if you have to put a GPU and RAM on your board as opposed to an MXM module. And, for offering multiple GPU configurations of the same model in a way that lets the manufacturer cover multiple points on the supply-demand chart, it might just be easier to produce an array of MXM cards and then pair them to an array of GPU-less mainboards that have their own configurations. Not always – which is part of why you don’t see it lately.
So, while you might like upgradability and repairability, you might find that MXM GPUs are not often offered as replacement parts for sale. And, what’s worse, if you’ve found an MXM card available for a different laptop, there’s no guarantee it will fit.
For instance, some cards are of the MXM 3.0 standard, while others are MXM 3.1, with slight but important differences like support for two DP ports on LVDS pins. However, most of the real-world differences are from either lack of standardization or from manufacturers straight up ignoring the standard.
The first hurdle is the most obvious, and that is the mechanical footprint. The MXM standard defines two possible card shapes, A variant or B variant, including things like heatsink and retention screw hole layout, and even component height for heatsink compatibility purposes. Many laptop manufacturers ignore these rules, producing cards of wacky shapes, or worse, shapes that almost match but are slightly incompatible in a subtle but severe way.
Then, there’s the VBIOS and driver problems. Many MXM cards have an onboard BIOS chip, whereas other cards rely on the laptop to feed them their BIOS during boot. If your card is of the latter type, you might need to add a UEFI module or hack the code. Alternatively, some cards ship with unpopulated flash chip footprints or unflashed chips on them, so you can give a BIOS to your card with a bit of soldering and flashing, as long as you can find an image that works.
As for drivers, Nvidia stands out there. Many Windows Nvidia drivers for MXM cards run hardware checks that tie the MXM cards to hardware IDs of laptops, and refuse to install the drivers if the card is installed in a laptop it was not expected to be installed in. You used to be able to work around it, but nowadays the driver signing mechanism severely limits the things you can do, a mechanism that in Windows has no sane leeway for user-tweaked drivers and, as such, acts as an effective way of proprietary vendor lock-in. So, if you want to upgrade your Nvidia MXM card and you run Windows, you might run into a bit of a brick wall.
Some Outright Hostile
Continuing this line of reasoning, there are slots that look like MXM but aren’t MXM, and I’m not talking about SMARC, which is a fun SoM standard reusing MXM slots, just like Pi Compute Modules reuse DDR sockets. No, I’m talking about manufacturers like Lenovo, who have added MXM socketed GPUs into some of their more recent laptops, but with completely different pinouts. They don’t advertise their slots as MXM, at least, which is a bonus.
Still, these cards are easy to confuse for actual MXM, and they fit into the slot all the same. The most firey factor is the power pin layout – a mindboggling change that has been made on some laptop models that can destroy your card and laptop even if the card fits mechanically. On one side of the MXM card, there’s an array of power pins – a matching amount of VIN and GND, often visible as a single large gold finger. For some unimaginable reason, a few manufacturers have made cards that remap the entire pinout and specifically put those power pins on the opposite side.
The pinout swapping is bad enough, but it’s the power pin swapping that really gets us, and gets every piece of tech involved to release the magic smoke, too. And then, there’s the few outright criminal cases where manufacturers have put power pins on both sides of the pinout. You can easily notice this when you look at your card, but you have to know to look out for it.
The MXM standard can’t prevent most of these problems, and whatever it tries to limit, laptop manufacturers can freely bypass. There’s no certification or compliance checks; fundamentally, in laptops, MXM isn’t used for your convenience – it’s used for the convenience of the manufacturer. If you look at your old MXM-equipped laptop and think that you might be able to upgrade its GPU, remember that there’s more than meets the eye.
All of these things, of course, don’t mean that you can’t hack on MXM otherwise. Just remember that, whatever you build, might be more specific to a certain breed of MXM slots in certain laptop lineups, than to MXM as a standard.
Still Hackable Anyway
How about a few good MXM hacks to show you what you can do? Remember, fundamentally, MXM is a high-power connection with a high-bandwidth PCIe link on it, which lets you pull some wonderful tricks!
For instance, here’s an MXM adapter for certain kinds of iMacs, that lets you install an NVMe SSDs into the MXM slot of your trusty iMac while preserving the MXM GPU connections! It involves changing a chipset strap to enable bifurcation, so there’s no power-hungry PCIe switch involved, and going from x16 to x8 on your MXM GPU won’t involve any notable bandwidth loss either. So, you can replace your SATA HDD or SSD with a speedy modern NVMe drive, that probably is way cheaper too!
It wouldn’t be hard to make a generic MXM to NVMe adapter, in general – and, [WifiCable] has a template KiCad project for you. Just like with mPCIe and M.2 cards, an MXM card is a PCB, after all, 1.2mm thick. You might be worried about leaving your laptop GPU-less, but many laptops with MXM cards still have an iGPU that is enabled whenever the MXM card is removed, though, that’s not a guarantee. We might see an MXM to Oculink adapter too, at some point!
There are also a few adapters to reuse MXM cards on the market, cheap and expensive alike. That kind of adapter is good for checking any MXM cards you have laying around, and on the cheap ones, you might even be able to solder the extra HDMI port on, as long as you get 5 V from somewhere. Sadly, none of them are open-source – yet.
یہ an MXM tinkering adapter board from [WifiCable], exposing as much of MXM as humanly possible, with a wide range of power input options. Every single option is on either pin headers or SMD resistors, able to satisfy whichever obscure feature an MXM card might need, and tap at interfaces that manufacturers don’t expect you to tap. It’s a decently complex design, still yet to be polished, and it’s a 6-layer board big enough to go over a good few price breaks for any PCB fab – we’ve both learned a ton about high-speed design as [WifiCable] went about it. However, when it comes to playing with different MXM cards, exploring manufacturer differences and tinkering with card compatibility, this is as good of a testbench board as anyone can build!
Want to build your own MXM stuff, whether cards or card-carrying PCBs? Here’s a socket on LCSC, اور with easyeda2kicad, you can easily get a footprint and 3D model for it. As for designing your own card or getting the [generic] pinout, you can find the MXM standard by looking up MXM_Specification_v31_r10.pdf
.
چلا گیا لیکن بھولا نہیں ہے
Sadly, with the trend of making laptops thinner, we’ve been losing MXM, and the companies involved in defining the standard have not been all that interested in updating it, or even adhering to it for that matter. Nevertheless, due to industrial use of MXM, you can still find many modern cards in MXM format!
Furthermore, the spirit of MXM lives on. The proprietary DGFF standard is superseding MXM in Dell laptops – it’s thinner, and it’s fundamentally the same functionality that MXM provides. The same goes for the Framework 16 expansion bay modules – you could easily make an MXM to expansion bay card, and, [WifiCable] has made a KiCad sketch of one too!
For now, we still have laptops with MXM and almost-MXM cards around, and if you ever look into tinkering with those, you now have a better roadmap towards that. Despite the prevalence of soldered-on GPUs in laptops, the concept of GPU modules isn’t about to die out, and companies still put “GPU module” on the whiteboards every now and then during their product design processes.
- SEO سے چلنے والا مواد اور PR کی تقسیم۔ آج ہی بڑھا دیں۔
- پلیٹو ڈیٹا ڈاٹ نیٹ ورک ورٹیکل جنریٹو اے آئی۔ اپنے آپ کو بااختیار بنائیں۔ یہاں تک رسائی حاصل کریں۔
- پلیٹوآئ اسٹریم۔ ویب 3 انٹیلی جنس۔ علم میں اضافہ۔ یہاں تک رسائی حاصل کریں۔
- پلیٹو ای ایس جی۔ کاربن، کلین ٹیک، توانائی ، ماحولیات، شمسی، ویسٹ مینجمنٹ یہاں تک رسائی حاصل کریں۔
- پلیٹو ہیلتھ۔ بائیوٹیک اینڈ کلینیکل ٹرائلز انٹیلی جنس۔ یہاں تک رسائی حاصل کریں۔
- ماخذ: https://hackaday.com/2024/04/18/mxm-powerful-misused-hackable/
- : ہے
- : ہے
- : نہیں
- :کہاں
- $UP
- 1
- 100
- 12
- 16
- 175
- 180
- 2%
- 20
- 210
- 250
- 264
- 288
- 300
- 3d
- 400
- 5
- 60
- 7
- 700
- 800
- a
- کی صلاحیت
- قابلیت
- ہمارے بارے میں
- اس کے بارے میں
- کام کرتا ہے
- اصل
- شامل کریں
- شامل کیا
- عمل پیرا
- کی تشہیر
- کے بعد
- پہلے
- اسی طرح
- تمام
- تقریبا
- بھی
- ہمیشہ
- رقم
- amp
- an
- اور
- ایک اور
- کوئی بھی
- کسی
- کہیں
- ایپلی کیشنز
- کیا
- ارد گرد
- لڑی
- مضمون
- AS
- At
- آٹوموٹو
- دستیاب
- سے اجتناب
- b
- برا
- بینڈوڈتھ
- کی بنیاد پر
- بنیادی طور پر
- بیٹری
- خلیج
- BE
- کیونکہ
- رہا
- فائدہ
- بہتر
- کے درمیان
- سے پرے
- بگ
- بٹ
- بورڈ
- بونس
- دونوں
- دونوں اطراف
- وقفے
- بریڈ
- تعمیر
- لیکن
- by
- بائی پاس
- فون
- کر سکتے ہیں
- حاصل کر سکتے ہیں
- کارڈ
- کارڈ
- کاریں
- مقدمات
- کچھ
- یقینی طور پر
- تصدیق
- تبدیل
- تبدیل کرنے
- چارٹ
- سستے
- سستی
- چیک کریں
- جانچ پڑتال
- چیک
- چپ
- چپس
- چپس
- واضح
- کوڈ
- آتا ہے
- کمپنیاں
- مطابقت
- مکمل طور پر
- پیچیدہ
- تعمیل
- جزو
- اجزاء
- کمپیوٹنگ
- کمپیوٹر
- تصور
- ترتیب
- رابطہ قائم کریں
- کنکشن
- کھپت
- کنٹرول
- سہولت
- ٹھنڈی
- سکتا ہے
- کورس
- احاطہ
- پر محیط ہے
- فوجداری
- دہائیوں
- وقف
- کی وضاحت
- وضاحت کرتا ہے
- وضاحت
- ڈیل
- ڈیزائن
- ڈیزائننگ
- ڈیسک ٹاپ
- کے باوجود
- تباہ
- آلہ
- مر
- اختلافات
- مختلف
- اختلاف
- do
- نہیں
- ڈرائیو
- ڈرائیور
- ڈرائیور
- دو
- کے دوران
- آسان
- آسانی سے
- آسان
- ایج
- موثر
- کارکردگی
- یا تو
- ایمبیڈڈ
- کو چالو کرنے کے
- چالو حالت میں
- کافی
- پوری
- بھی
- کبھی نہیں
- ہر کوئی
- بالکل
- توسیع
- توقع ہے
- توقع
- مہنگی
- ایکسپلور
- ایکسپریس
- بیرونی
- اضافی
- آنکھ
- عنصر
- منصفانہ
- پرستار
- نمایاں کریں
- چند
- اعداد و شمار
- مل
- انگلی
- مضبوطی سے
- پہلا
- فٹ
- فٹ بیٹھتا ہے
- پانچ
- فلیش
- چمکتا
- فوٹ پرنٹ
- کے لئے
- ملا
- آزادی
- آزادانہ طور پر
- دوست
- سے
- مزہ
- فعالیت
- بنیادی طور پر
- جنرل
- نسلیں
- بے لوث
- حاصل
- ملتا
- حاصل کرنے
- وشال
- دے دو
- دی
- دے
- GND
- Go
- جاتا ہے
- جا
- گولڈ
- اچھا
- GPU
- GPUs
- اس بات کی ضمانت
- ہدایت دی
- ہیک
- ہیکر
- hacks
- تھا
- ہارڈ
- ہارڈ ویئر
- ہے
- ہونے
- ہیڈر
- اونچائی
- مدد کرتا ہے
- ہائی
- تاریخ
- چھید
- کس طرح
- تاہم
- HTML
- HTTPS
- رکاوٹ
- i
- شناخت
- if
- نظر انداز
- تصویر
- اہم
- نافذ کریں
- in
- انتباہ
- سمیت
- مطابقت
- انفرادی
- صنعتی
- معلومات
- ان پٹ
- کے اندر
- انسٹال
- نصب
- مثال کے طور پر
- انٹیل
- ارادہ
- دلچسپی
- انٹرفیس
- انٹرفیسز
- انٹرویو
- میں
- شامل
- ملوث
- شامل ہے
- IT
- میں
- JPEG
- فوٹو
- صرف
- بچے
- قسم
- جان
- علم
- نہیں
- لیپ ٹاپ
- لیپ ٹاپ
- بڑے
- آخری
- حال ہی میں
- مؤخر الذکر
- بچھانے
- لے آؤٹ
- LCD
- سیکھا ہے
- کم سے کم
- چھوڑ کر
- Lenovo
- آو ہم
- کی طرح
- LIMIT
- حدود
- لائن
- LINK
- لنکس
- زندگی
- لانگ
- دیکھو
- کی طرح دیکھو
- تلاش
- کھونے
- بند
- بہت
- بنا
- ماجک
- مین
- بنا
- بناتا ہے
- بنانا
- ڈویلپر
- مینوفیکچررز
- بہت سے
- مارکیٹ
- میچ
- کے ملاپ
- معاملہ
- زیادہ سے زیادہ چوڑائی
- MCU
- me
- مطلب
- میکانی
- میکانزم
- ملتا ہے
- شاید
- موڈ
- ماڈل
- ماڈل
- جدید
- ماڈیولر
- ماڈیول
- ماڈیولز
- زیادہ
- سب سے زیادہ
- بہت
- ایک سے زیادہ
- my
- ضروری
- ضرورت ہے
- پھر بھی
- نہیں
- کوئی بھی نہیں
- قابل ذکر
- نوٹس..
- اب
- آج کل
- NVIDIA
- واضح
- of
- کی پیشکش کی
- کی پیشکش
- اکثر
- ٹھیک ہے
- پرانا
- بڑی عمر کے
- on
- جہاز
- ایک
- والوں
- صرف
- اوپن سورس
- مخالفت کی
- اس کے برعکس
- اختیار
- آپشنز کے بھی
- or
- دیگر
- دیگر
- دوسری صورت میں
- باہر
- پیداوار
- نتائج
- بالکل
- بقایا
- پر
- خود
- جوڑی
- جوڑا
- پینل
- حصہ
- حصے
- پاسنگ
- ملک کو
- پی سی بی
- PCBs
- پی سی
- مدت
- ٹکڑا
- پن
- پائن
- پلاٹا
- افلاطون ڈیٹا انٹیلی جنس
- پلیٹو ڈیٹا
- کھیل
- علاوہ
- پوائنٹس
- پرہار
- بندرگاہوں
- ممکن
- ممکنہ
- طاقت
- طاقتور
- عملی
- محفوظ کر رہا ہے
- ویاپتتا
- کی روک تھام
- قیمت
- شاید
- مسائل
- عمل
- فراہم کرتا ہے
- پیدا
- پیداوار
- مصنوعات
- مصنوعات کے ڈیزائن
- منصوبے
- ملکیت
- فراہم
- فراہم کرتا ہے
- مقاصد
- ڈال
- ڈالنا
- ریل
- RAM
- رینج
- Raspberry
- رسبری PI
- تک پہنچنے
- حقیقی دنیا
- واقعی
- وجہ
- ترک
- حال ہی میں
- باقاعدہ
- ریگولیٹر
- جاری
- انحصار کرو
- ری میپ
- یاد
- ہٹا دیا گیا
- مرمت
- کی جگہ
- متبادل
- کی ضرورت ہے
- نتائج کی نمائش
- برقراری
- واپسی
- دوبارہ استعمال
- سڑک موڈ
- قوانین
- رن
- افسوس کی بات ہے
- فروخت
- اسی
- مطمئن
- کا کہنا ہے کہ
- کا کہنا ہے کہ
- دیکھنا
- علیحدہ
- سنجیدگی سے
- سرورز
- مقرر
- شدید
- شدید
- شکل
- سائز
- وہ
- ہونا چاہئے
- دکھائیں
- کی طرف
- اطمینان
- اشارہ
- سگنل
- دستخط کی
- بعد
- ایک
- چھ
- معمولی
- تھوڑا سا
- سلاٹ
- سلاٹ
- چھوٹے
- دھواں
- So
- کچھ
- کبھی کبھی
- کہیں
- ماخذ
- خلا
- مخصوص
- خاص طور پر
- تیز
- سپن
- روح
- معیار
- معیاری کاری
- معیار
- کھڑا ہے
- شروع کریں
- ابھی تک
- براہ راست
- ساخت
- سامان
- ٹھیک ٹھیک
- اس طرح
- خلاصہ
- حمایت
- گماگمن
- سوئچ کریں
- تلوار
- سسٹمز
- لے لو
- بات کر
- ٹیپ
- ٹیک
- تکنیکی طور پر
- بتاتا ہے
- سانچے
- Tesla
- سے
- کہ
- ۔
- ان
- ان
- تو
- وہاں.
- یہ
- وہ
- چیزیں
- سوچو
- سوچنا
- اس
- ان
- اگرچہ؟
- کے ذریعے
- TIE
- کرنے کے لئے
- آج
- اوپر
- بھی
- کی طرف
- رجحان
- کوشش کرتا ہے
- دو
- قسم
- بلاشبہ
- ناقابل اعتماد
- جب تک
- اپ ڈیٹ
- اپ گریڈ
- us
- استعمال کی شرائط
- استعمال کیا جاتا ہے
- صارفین
- کا استعمال کرتے ہوئے
- عام طور پر
- مختلف
- وینڈر
- نظر
- مقبول
- وولٹیج
- W
- دیوار
- چاہتے ہیں
- تھا
- راستہ..
- we
- اچھا ہے
- چلا گیا
- کیا
- جو کچھ بھی
- جب
- جب بھی
- جبکہ
- چاہے
- جس
- جبکہ
- ڈبلیو
- پوری
- کیوں
- وسیع
- وسیع رینج
- گے
- کھڑکیاں
- ساتھ
- کے اندر
- بہت اچھا
- کام
- کام کرتا ہے
- فکر مند
- بدتر
- لکھا
- غلط
- x8
- سال
- ابھی
- آپ
- اور
- زیفیرنیٹ