View previous topic :: View next topic |
Author |
Message |
Ray_Garraty n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Jan 2019 Posts: 5
|
Posted: Mon Jan 14, 2019 3:20 pm Post subject: How to disable video card driver? |
|
|
Hi! I'm assembling a home server based on Gentoo and I'm going to manage it via ssh. It has PCI-E Geforce GTS450 videocard installed and I can't remove it because there's no built-in graphics onboard and the PC simply wouldn't start. But I don't need the videocard running 24/7 heating the environment either. Can I disable graphics driver in Gentoo system? I've tried to unmark any option in kernel's Graphics support section (https://imgur.com/9bcvKgG), but the videocard still works and renders the command line... ![Question :?:](images/smiles/icon_question.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mike155 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Mon Jan 14, 2019 6:00 pm Post subject: |
|
|
Ray_Garraty,
welcome to the Gentoo forums!
- You could disable any graphics driver in the kernel except the VGA console driver. Your machine would start in VGA console mode. You could enable the VGA blank screen saver and after a few minutes, your GTS450 videochip would stop generating video signals. That's how I configure most of my servers.
- You could try bbswitch. I use bbswitch on my notebook and it completely disables the Nvidia graphics chip, which results in 3-4 Watts less on the power meter.
Mike |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ray_Garraty n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Jan 2019 Posts: 5
|
Posted: Mon Jan 14, 2019 6:28 pm Post subject: |
|
|
mike155 wrote: | welcome to the Gentoo forums! |
ty!
mike155 wrote: | enable the VGA blank screen saver |
How can I do that? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mike155 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Mon Jan 14, 2019 6:42 pm Post subject: |
|
|
Try
on a TTY console. The screen will be blanked after 2 minutes of inactivity. Press a key to get it back.
Look at 'man setterm' for details:
Quote: | setterm --blank [0-60|force|poke] (virtual consoles only)
Sets the interval of inactivity, in minutes, after which the screen will be automatically blanked (using APM if available). Without an argument, it gets the blank status (returns which vt was blanked, or zero for an unblanked vt).
The force option keeps the screen blank even if a key is pressed.
The poke option unblanks the screen.
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ray_Garraty n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Jan 2019 Posts: 5
|
Posted: Mon Jan 14, 2019 6:46 pm Post subject: |
|
|
Is this setting permanent or it will disappear after reboot? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mike155 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Mon Jan 14, 2019 6:56 pm Post subject: |
|
|
It will disappear after a reboot. But you could add the command to a start script so that it will be executed during each boot - that would make it permanent.
Which init system do you use? OpenRC or Systemd? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ray_Garraty n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Jan 2019 Posts: 5
|
Posted: Mon Jan 14, 2019 7:08 pm Post subject: |
|
|
OpenRC |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54855 Location: 56N 3W
|
Posted: Mon Jan 14, 2019 7:38 pm Post subject: |
|
|
Ray_Garraty,
Poke about in the BIOS. It should have an option to not stop on errors, so you don't get wee gems like
BIOS wrote: | No keyboard detected, Press F1 to continue |
Select the not stop on errors, then you should be able to boot with no video card fitted.
The kernel may not like that. Set the console on the network or a serial port.
Network console is not secure. Both are kernel support and boot time parameters. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ray_Garraty n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Jan 2019 Posts: 5
|
Posted: Tue Jan 15, 2019 5:10 pm Post subject: |
|
|
mike155 wrote: | It will disappear after a reboot. But you could add the command to a start script so that it will be executed during each boot |
How can I do that? Which configuration file do I need to edit?
NeddySeagoon wrote: | BIOS. It should have an option to not stop on errors |
Yes, it does. I've tried to enable it but Gentoo seems not loading, because pinging it's IP fails.
Quote: | Set the console on the network |
How? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mike155 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Tue Jan 15, 2019 5:20 pm Post subject: |
|
|
Quote: | How can I do that? Which configuration file do I need to edit? |
You could create a file '/etc/local.d/screen-blank.start'. Please loot at https://wiki.gentoo.org/wiki//etc/local.d for details. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54855 Location: 56N 3W
|
Posted: Tue Jan 15, 2019 5:39 pm Post subject: |
|
|
Ray_Garraty,
Net Console is the original document.
Refer to the ./Documentation/networking/netconsole.txt in your kernel.
Likewise for a serial console
I've not looked the kernel ./Documentation path for another reference. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|