<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Ken Shaffer <<a href="mailto:kenshaffer80@gmail.com" target="_blank">kenshaffer80@gmail.com</a>><br>To: sf-lug <<a href="mailto:sf-lug@linuxmafia.com" target="_blank">sf-lug@linuxmafia.com</a>><br>Cc: <br>Bcc: <br>Date: Sun, 5 Apr 2020 11:41:17 -0700<br>Subject: [sf-lug] Success on getting a GTX970 graphics card running on my old Lenovo W520<br><div dir="ltr"><div style="font-size:large">My old Lenovo W520, a business machine, is fine for everything except graphics. Most external graphics upgrades involve Thunderbolt, which of course the W520 lacks, but I did find a cheap expresscard/PCIe adapter which allowed a loaner 1G GT640 to run. <br></div><div style="font-size:large">The laptop screen was used as a primary display, and an HDMI monitor could optionally be plugged into the external GPU. Total setup was to disable the internal Nvidia Quadro 1000M.</div></div></blockquote><div><br></div><div>So you disable in the bios, right? Does that also disable the hdmi out? </div><div><br></div><div>Sometimes the video outs are connected directly to the discrete GPU so when you disable it the Intel GPU can only drive the LCD. </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:large"><br></div><div style="font-size:large">With that proof of concept on a card off the low end of the recommended cards for the adapter, I went all in off the high end and got a 4G GTX970 off Ebay from a San Francisco seller. There were all sorts of reported problems with 4G cards on the W520, because it was originally sold with 32 bit Windows 7, and Lenovo's firmware revisions squeezed the PCI memory in the lower 4G to give the poor 32 bit users more memory -- ignoring the fact the W520 is a 32 bit UEFI machine, and most users probably are running a 64 bit OS these days on it. Anyway, as expected, Ubuntu ran just fine with the new card, and unexpectedly, Windows 10 1909 did too. No tweaking for either OS. I now have the CUDA compute capability to upgrade my old CUDA 8.0 to 10 and even run Tensorflow.<br></div><div style="font-size:large"><br></div></div></blockquote><div><br></div><div>I have a W520. It has 4 ram slots - up to 8GB each for a total max 32GB ram. I haven't played with it much, just put Ubuntu on it to see if it worked. I got it cheap a year ago out of a broken pile and it wasn't broken! YAY! </div><div><br></div><div>But I'm surprised that you say it has a 32bit UEFI. I lent it out to a friend when his machine died and all we did is transferred the drives and it booted right up. </div><div><br></div><div>On the other hand I have a couple BayTrail 2-in-1's and they definitely have 32bit UEFI. I have 64bit OS but the bootloader is 32bit. grubia32.efi versus grubx64.efi It is a little complicated to set up since the Ubuntu installer will try to install grubx64.efi on Uefi booted machines. </div><div><br></div><div>Also I looked at the Lenovo firmware changelog and I didn't see the PCI memory thing. I just skimmed it though. Do you have a link to that or discussion? </div><div><br></div><div>"4G GTX970" Do you mean 4GB video ram? </div><div><br></div><div>Anyways I find this all very interesting. </div><div>So this video card is running like it is in a 1x slot (<a href="https://en.wikipedia.org/wiki/ExpressCard">https://en.wikipedia.org/wiki/ExpressCard</a> "<span style="font-family:sans-serif;font-size:14px">ExpressCard's direct connection to the system bus over a PCI Express ×1 lane") </span></div><div><span style="font-family:sans-serif;font-size:14px">I've played around a bit with a Chromebox flashed with UEFI firmware and I found a mini-pciE to ethernet card. I had some little idea to make a router out of it. Time to take out the dremel and make it fit, lol. </span></div><div><span style="font-family:sans-serif;font-size:14px"><br></span></div><div><span style="font-family:sans-serif;font-size:14px">And I looked around for the "</span>$40 Expresscard/PCIE adapter" but only see them over $100. (the ones I do see have choice of pc interface expresscard or mini-pciE) Do you have a link to the one you got? </div><div><br></div><div>Thomas</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:large"></div><div style="font-size:large">Biggest problem was getting the right power supply splitter cables for the new card (the 6 pin plugs come in two flavors, one with a rounded plug next to the clip, and one with a square plug). A square plug wont fit a rounded socket, which the video card has. The Newegg reviews on the cables indicated that picture were not to be trusted, so I bought excess cables, figuring I could make my own working one if necessary. Turns out the two splitters and extension were just what I needed to properly power the card (ugly though).</div><div style="font-size:large"><br></div><div style="font-size:large">So, total cost to upgrade the Lenovo W520 with a GTX970 GPU:</div><div style="font-size:large">$20 Portable Dell Power supply</div><div style="font-size:large">$40 Expresscard/PCIE adapter</div><div style="font-size:large">$109 GTX970 GPU (Ebay, local seller)<br></div><div style="font-size:large">$20 power cable splitters</div><div style="font-size:large">$189 Total (incl tax and shipping)</div><div style="font-size:large"><br></div><div style="font-size:large">Today's meeting was canceled, but hope it wont bee too long before we meet again.</div><div style="font-size:large">Stay Safe,<br></div><div style="font-size:large">Ken<br></div></div>
<br></blockquote></div></div>