Jump to content

bringmeyoursours

Registered User
  • Posts

    5
  • Joined

  • Last visited

Posts posted by bringmeyoursours

  1. Finally! Writing up a detailed guide on how I managed to get the Radeon R9 380 Gaming model to run with the Lenovo E540 ThinkPad. 

     

    Items Used

     

    Lenovo E540 ThinkPad running Windows 10 64 bit

    BPlus PE4L V2.1b (mPCIe cable is hardwired to the PE4C board)

    MSI Radeon R9 Gaming (4Gbps)
    Thermaltake Smart Series 600 watt PSU

     

    Software Necessary

     

    Tech Inferno Fan's Setup 1.30 (can't recommend supporting this dude more, this would not have been done had he not been kind in helping out).

     

    NEW IASL tools - I cannot stress enough how important this is for this newer hardware, I lost days fiddling with old tools that would not compile even the dumped DSDT table -  located here.


    ASL tool - located here

     

    Drivers used for the R9 380 were the newest drivers available on AMD's website as of 8/13/16 - located here.


    Display Driver Uninstaller from 3DGuru - located here.


    Notepad++ - to modify the DSL file used in the DSDT Override - located here.


    MSI Afterburner - necessary if the problem I had with the fans on the eGPU not spinning up when windows loads, allows manual control of fan speed - located here.

    Step 1 - Install Setup 1.30

     

    Obtain the installation files from Tech Inferno Fan, or from the downloads section of this website. Install the program on the Lenovo with supplied installation instructions.

     

    Step 2 - Establish a DSDT Override

     

    We are doing this to extend the PCI Root Bridge out to make room in memory for the new card (in essence).

     

    Extract your IASL tools to a folder on the root of the C:\ drive. I chose C:\IASL


    Then extract the ASL tools to another folder, I used C:\ASL

    Next, open an administrative command prompt and navigate to your IASL tools. 

     

    The first command we will use is to dump all the ACPI tables into binary .DAT files :

    acpidump -b

    You will notice that the folder with your tools now has a mess of .DAT files, one of which being DSDT.dat (BACK THIS FILE UP), which leads me to the next command, which disassembles the .DAT file into plaintext for editing :

    iasl DSDT.dat

    At this point you will need to open Notepad++ and open the disassembled file called "DSDT.dsl", hit ctrl+f, and type "DWordMemory" in. Scroll to the last instance, and add the following after the line " ,, _Y24, AddressRangeMemory, TypeStatic)" :

    QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
       0x0000000000000000, // Granularity
       0x0000000C20000000, // Range Minimum,  set it to 48.5GB
       0x0000000E0FFFFFFF, // Range Maximum,  set it to 56.25GB
       0x0000000000000000, // Translation Offset
       0x00000001F0000000, // Length calculated by Range Max - Range Min.
       ,, , AddressRangeMemory, TypeStatic)

    Next, you will save the file, and go back to your command prompt, and we will compile the newly modified DSDT table using the command :

    iasl DSDT.dsl

    Copy the newly created DSDT.aml from the IASL folder to the ASL folder, now in command prompt, navigate to C:\ASL and use the following commands to override the DSDT table and enable test signing on the operating system :

    asl /loadtable DSDT.aml
    bcdedit -set TESTSIGNING ON

    Now, reboot the system, open device manager, click the view tab and switch the view to "Resources by Connection", and check to see if you have a new Large Memory entry in the list.

     

    If it is there, the DSDT Override was successful, if not, recheck the previous steps. At this point you may need to run the Device Driver Uninstaller tool, and uninstall the "PCI Express Root Complex" in device manager under the "System Devices"
     

    Step 3 - Attach eGPU, Perform PCI Compaction to avoid Code 12/43 error.

     

    Power off the system, disconnect the WiFi adapter, attach the mPCIe lead to the mPCIe slot where the WiFi adapter once was.

     

    Place eGPU inside of the PE4C, attach leads from PSU, flip the switch on the PSU to on.

     

    Now boot the system and select Setup 1.30 before windows loads by default, select the Chainload with MBR option.

     

    It will kick back to give you the option to boot to Windows or Setup 1.30 again, select Setup 1.30, then select Setup 1.30 with a menu.

     

    Your R9 should be detected automatically, but if it is not, unplug the mPCIe lead and plug it back in, and press F5.

     

    When it is detected, select PCIe Ports, Select Gen2, and highlight the ATIAMD card at the bottom. Press F3, this saves the Gen2 setting on the port to the startup configuration.

     

    Afterwards, select the PCI Compaction menu item, set the Endpoint to be 56.25GB (36-bit), then select iGPU and eGPU as the scope, and force the iGPU to be 32 bit.

     

    When compaction is finished, select Chainload, then test run. 

     

    Step 4 - Verifying Drivers and Communication for the eGPU


    You will select to boot into Windows 10 now, with eGPU attached and powered on. Navigate to device manager, Uninstall the drivers for the iGPU (I didn't have to do this as I didn't have them installed in the first place, but I found that there is a bit of a conflict when trying to reinstall the iGPU drivers with the DSDT Override in place), and install the drivers for the R9. This (in theory) should succeed and you should have a bouncing baby eGPU of your own! If there is an error 12, it is likely the compaction or DSDT Override has failed in some way.

     

     If there is an error 43, I solved that issue by deleting the PCI Express Root Complex device and restarting. 

     

    There are a few caveats that I haven't entirely looked into, such as not being able to do a soft reboot without the system booting to a black screen, requiring a hard shutdown and power on to fix.

     

    Once you've verified that the drivers are installed with no error codes or systematic problems with the existing iGPU (usually driver related in my experience), it is safe to reboot, boot into Setup 1.30 again, and select the automated start option to expedite your boot. It would be wise to test that option out. Thankfully this system doesn't have strict whitelisting in place, making this a little bit easier. If you find that the fans on the eGPU fail to spin up upon getting to the windows desktop, install the MSI Afterburner tool to manually control the fan speed (Thanks nando!)


    Benchmarks
     

    GPUZ

    Spoiler

    f3cc6b6564.gif

     

    3DMark

    Spoiler

    f3d26b16a1.png

    Spoiler

    f3d21c65ab.png

     

    Heaven Benchmark

    Spoiler

    f3de0c6e99.png

    Spoiler

    f3de267694.png



    Thanks a ton to nando for the help and for the eGPU setup software!

     

     

    • Thumbs Up 1
  2. 1 hour ago, Tech Inferno Fan said:

     

    To apply any of the PCIe changes made in Setup 1.30 requires that you perform Chainloading rather that a reboot. Proceed then to do this by:

     

    1. Set Chainloader->mode=MBR. Confirm Chainloading to your Windows bootmenu, then into Windows works by doing Chainloader->Test Run. If not, alter the Chainloader settings until it does.

     

    2. Perform your PCI compaction as outlined when highlight PCI Compaction->Run compact and hit F1 (help)

     

    3.  Test your PCI compaction by doing Chainloader->Test Run.  If system fails to chainload or is unstable review the PCI compaction settings  (highlight PCI Compaction->Run compact and hit F1 (help)) as well as (temporarily at least) set your eGPU port to Gen1 speed by selecting PCIe Ports->Gen1 until stability is reached.

    Thanks! Further question if you don't mind, after the scope is set as the egpu, should I select none or the internal on the second prompt? 
    Sorry for the pointless repost by the way, I hadn't gotten a notification on here yet! :o

    Edit - Compaction with egpu as scope, igpu to 32bit gets the device to show up with the proper driver, but incurs an error 43. Getting closer, I feel. 

  3. I'm having issues rebooting from setup 1.30 into windows. It reboots to a black screen, and I can't seem to get the adapter to show up in device manager after the fact.
    This is a Lenovo Thinkpad E540 with no whitelisting (as far as I can tell), an AMD Radeon R9 380 on Windows 10.


    Steps taken are as follows :
    1.) set long memory (device was detected on hard reboot but never a restart)

    2.) ran Guru3D's device driver uninstaller, uninstalled the PCI Express Root Complex (as thats all i saw related to PCIE in device manager)

    3.) rebooted into Setup 1.30 from a hard shutdown

    4.) ran pci compaction with the scope set as the egpu and the second menu (cant remember off the top of my head what it is), i selected none

    5.) rebooted from the setup 1.30 menu and it booted to a black screen.
     

    I have tried to unplug the egpu immediately after selecting reboot in the setup 1.30 menu, it comes back with video but having plugged the mpcie adapter in at various times (in the grub loader menu, during the aux menu (F8 key), and the adapter refuses to show up. Maybe I'm misunderstanding the steps inside of Setup 1.30 or I'm failing to understand the hotswapping. If the egpu is plugged in and powered on from a hard shutdown and power on, it shows up perfectly in device manager and in setup 1.30, but always a black screen when in place from a software reboot. 

    Any ideas? Thanks!

  4. Great guide! got me as far as getting the Long Memory set, but now on my E540 (no whitelisting) I'm having issues rebooting from setup 1.30 into windows. It reboots to a black screen, and I can't seem to get the adapter to show up in device manager after the fact. Steps taken are as follows :
    1.) set long memory (device was detected on hard reboot but never a restart)

    2.) ran Guru3D's device driver uninstaller, uninstalled the PCI Express Root Complex (as thats all i saw related to PCIE in device manager)

    3.) rebooted into Setup 1.30 from a hard shutdown

    4.) ran pci compaction with the scope set as the egpu and the second menu (cant remember off the top of my head what it is), i selected none

    5.) rebooted from the setup 1.30 menu and it booted to a black screen.
     

    I have tried to unplug the egpu immediately after selecting reboot in the setup 1.30 menu, it comes back with video but having plugged the mpcie adapter in at various times (in the grub loader menu, during the aux menu (F8 key), and the adapter refuses to show up. 

    Any ideas? Thanks!

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.