Power off video card until reboot from command line?
I have "headless" machine with video card, I use very rarely, only if I want physical access to it. The cooler of this video card became old and started to produce bad noise.
Can I disable this video card in such a way, that it:
1) will turn on again on reboot
2) a cooler stop to rotate
I did
lspci | grep VGA
sudo lspci -vs 01:00
to know it's module then I put
blacklist radeon
into
/etc/modprobe/blacklist.conf
but this didn't help.
How to accomplish?
video power-management modprobe graphic-card
add a comment |
I have "headless" machine with video card, I use very rarely, only if I want physical access to it. The cooler of this video card became old and started to produce bad noise.
Can I disable this video card in such a way, that it:
1) will turn on again on reboot
2) a cooler stop to rotate
I did
lspci | grep VGA
sudo lspci -vs 01:00
to know it's module then I put
blacklist radeon
into
/etc/modprobe/blacklist.conf
but this didn't help.
How to accomplish?
video power-management modprobe graphic-card
add a comment |
I have "headless" machine with video card, I use very rarely, only if I want physical access to it. The cooler of this video card became old and started to produce bad noise.
Can I disable this video card in such a way, that it:
1) will turn on again on reboot
2) a cooler stop to rotate
I did
lspci | grep VGA
sudo lspci -vs 01:00
to know it's module then I put
blacklist radeon
into
/etc/modprobe/blacklist.conf
but this didn't help.
How to accomplish?
video power-management modprobe graphic-card
I have "headless" machine with video card, I use very rarely, only if I want physical access to it. The cooler of this video card became old and started to produce bad noise.
Can I disable this video card in such a way, that it:
1) will turn on again on reboot
2) a cooler stop to rotate
I did
lspci | grep VGA
sudo lspci -vs 01:00
to know it's module then I put
blacklist radeon
into
/etc/modprobe/blacklist.conf
but this didn't help.
How to accomplish?
video power-management modprobe graphic-card
video power-management modprobe graphic-card
asked 3 hours ago
DimsDims
3971830
3971830
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
First, look for Bus ID of the graphic card. A possible method is lspci | grep VGA. An output example is:
XX:XX.X VGA compatible controller: NVIDIA Corporation Device 1b80 (rev a1)
Now, you can disable temporally this GPU assigning the value 1 in a file called “remove” inside the correct path of this PCI device. Changing XX with previous Bus ID values.
sudo echo 1 > /sys/bus/pci/devices/0000:XX:XX.X/remove
This command will disable the GPU in runtime. A restart will put the GPU available again. I tested it with a Nvidia GPU in a CentOS 7 server. Maybe the path is different for other GPUs or GNU/Linux distributions. I hope this configuration disables the cooler too.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f507071%2fpower-off-video-card-until-reboot-from-command-line%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
First, look for Bus ID of the graphic card. A possible method is lspci | grep VGA. An output example is:
XX:XX.X VGA compatible controller: NVIDIA Corporation Device 1b80 (rev a1)
Now, you can disable temporally this GPU assigning the value 1 in a file called “remove” inside the correct path of this PCI device. Changing XX with previous Bus ID values.
sudo echo 1 > /sys/bus/pci/devices/0000:XX:XX.X/remove
This command will disable the GPU in runtime. A restart will put the GPU available again. I tested it with a Nvidia GPU in a CentOS 7 server. Maybe the path is different for other GPUs or GNU/Linux distributions. I hope this configuration disables the cooler too.
add a comment |
First, look for Bus ID of the graphic card. A possible method is lspci | grep VGA. An output example is:
XX:XX.X VGA compatible controller: NVIDIA Corporation Device 1b80 (rev a1)
Now, you can disable temporally this GPU assigning the value 1 in a file called “remove” inside the correct path of this PCI device. Changing XX with previous Bus ID values.
sudo echo 1 > /sys/bus/pci/devices/0000:XX:XX.X/remove
This command will disable the GPU in runtime. A restart will put the GPU available again. I tested it with a Nvidia GPU in a CentOS 7 server. Maybe the path is different for other GPUs or GNU/Linux distributions. I hope this configuration disables the cooler too.
add a comment |
First, look for Bus ID of the graphic card. A possible method is lspci | grep VGA. An output example is:
XX:XX.X VGA compatible controller: NVIDIA Corporation Device 1b80 (rev a1)
Now, you can disable temporally this GPU assigning the value 1 in a file called “remove” inside the correct path of this PCI device. Changing XX with previous Bus ID values.
sudo echo 1 > /sys/bus/pci/devices/0000:XX:XX.X/remove
This command will disable the GPU in runtime. A restart will put the GPU available again. I tested it with a Nvidia GPU in a CentOS 7 server. Maybe the path is different for other GPUs or GNU/Linux distributions. I hope this configuration disables the cooler too.
First, look for Bus ID of the graphic card. A possible method is lspci | grep VGA. An output example is:
XX:XX.X VGA compatible controller: NVIDIA Corporation Device 1b80 (rev a1)
Now, you can disable temporally this GPU assigning the value 1 in a file called “remove” inside the correct path of this PCI device. Changing XX with previous Bus ID values.
sudo echo 1 > /sys/bus/pci/devices/0000:XX:XX.X/remove
This command will disable the GPU in runtime. A restart will put the GPU available again. I tested it with a Nvidia GPU in a CentOS 7 server. Maybe the path is different for other GPUs or GNU/Linux distributions. I hope this configuration disables the cooler too.
answered 45 mins ago
Sergi Pérez LaberniaSergi Pérez Labernia
13
13
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f507071%2fpower-off-video-card-until-reboot-from-command-line%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown