How to Disable Onboard Video if there is No Option in the BIOS to do it.


  • Support

    I have tested this on one of my older Supermicro Server motherboards that has onboard video, but gives no option to disable it in the motherboard BIOS. PiMP OS works, but my miners and some PiMP OS tools are crashing out because of this onboard video.

    (In reality, this method can be used to disable any "pci" device on the system, but if you don't know what you are doing, you're going to "brick" your PiMP OS install and will have to re-image your drive.)

    Issue: Can't Disable Onboard Video in motherboard BIOS. PiMP OS is working, but gputool is having an issue with "incorrect GPU bus_id".

    Fix: The below steps will disable the onboard video controller via Linux.

    Step 1. List All "PCI" Devices

    From the terminal/SSH, run lspci

    The onboard video controller is a "pci" device, so before we can disable it, we need to identify the pci bus address of the device. Running the above command will list out all known "pci" devices along with their bus address.

    Sample output of the lspci command.
    0_1534274253573_lspci.PNG

    Notice that the output is in three parts: Bus Address - Device Type - Device Name

    Step 2: Identify the Onboard Video Controller

    Scroll through the list until you've identified your onboard video controller.
    -Most will have a Device Type that looks something like "VGA compatible controller".
    -Most will also probably have "Intel" in the Device Name.
    -Just be sure you are not identifying one of your actual GPU's that you use for mining.

    When you have properly identified the correct device, write down the full Bus Address.
    -A full Bus Address is in the form AA:BB.C

    Step 3. Kick that Onboard Video Controller Out

    Run: echo 1 > /sys/bus/pci/devices/0000\:<AA>\:<BB>.<C>/remove

    (example: echo 1 > /sys/bus/pci/devices/0000\:06\:04.0/remove)

    Step 4: Force PiMP to Re-check the System

    Run: /opt/pimp/bootdetect

    That's it! That pesky onboard video controller is now gone! If you run another lspci command you will no longer see it in the list.
    Since you ran the /opt/pimp/bootdetect command above, gputool (PiMP OS) won't see it either.

    Step 5: Make it Stick!

    These changes are not preserved between reboots, so if you want them to stick, we'll need to add both commands to the /root/startup.sh file, before the first gputool --config command is executed.

    Run: nano /root/startup.sh to open the startup.sh file in the editor.

    Scroll down until you find the sleep 20 && /opt/pimp/gputool --config command and add your two commands above it.

    Example startup.sh file.
    0_1534275584940_startup.sh.PNG

    Save those changes with CTL+X, y, and <enter>.

    Reboot your rig and run another lspci to see that your onboard video controller is nowhere to be found.

    Happy Mining, PiMPs!


  • Staff

    An easy way to narrow down the list of devices from 'lspci' is to filter it for the keyword VGA, like so: 'lspci | grep VGA'.

    This "pipes" the output from 'lspci' to the 'grep' command to look for the keyword VGA using the "|" character, which is known as a 'pipe'.

    The output from this piped command will only be the lines from 'lspci' that have the keyword VGA in them.


 



Want 10% more hash from your rigs?



We promise to keep your email safe and never spam you.



Copyright (c) 2017 PiMP LLC. All rights Reserved.

Looks like your connection to PiMP Forum was lost, please wait while we try to reconnect.