How to Disable Onboard Video if there is No Option in the BIOS to do it.
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
gputoolis 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
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
Notice that the output is in three parts:
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
Step 3. Kick that Onboard Video Controller Out
echo 1 > /sys/bus/pci/devices/0000\:<AA>\:<BB>.<C>/remove
echo 1 > /sys/bus/pci/devices/0000\:06\:04.0/remove)
Step 4: Force PiMP to Re-check the System
That's it! That pesky onboard video controller is now gone! If you run another
lspcicommand you will no longer see it in the list.
Since you ran the
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.shfile, before the first
gputool --configcommand is executed.
nano /root/startup.shto open the
startup.shfile in the editor.
Scroll down until you find the
sleep 20 && /opt/pimp/gputool --configcommand and add your two commands above it.
Save those changes with
Reboot your rig and run another
lspcito see that your onboard video controller is nowhere to be found.
Happy Mining, PiMPs!
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.
We promise to keep your email safe and never spam you.
Copyright (c) 2017 PiMP LLC. All rights Reserved.