Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to disable video card driver?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Ray_Garraty
n00b
n00b


Joined: 14 Jan 2019
Posts: 5

PostPosted: Mon Jan 14, 2019 3:20 pm    Post subject: How to disable video card driver? Reply with quote

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... :?:
Back to top
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1190
Location: Frankfurt, Germany

PostPosted: Mon Jan 14, 2019 6:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ray_Garraty
n00b
n00b


Joined: 14 Jan 2019
Posts: 5

PostPosted: Mon Jan 14, 2019 6:28 pm    Post subject: Reply with quote

mike155 wrote:
welcome to the Gentoo forums!

ty!
mike155 wrote:
enable the VGA blank screen saver

How can I do that?
Back to top
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1190
Location: Frankfurt, Germany

PostPosted: Mon Jan 14, 2019 6:42 pm    Post subject: Reply with quote

Try
Code:
setterm --blank 2

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
View user's profile Send private message
Ray_Garraty
n00b
n00b


Joined: 14 Jan 2019
Posts: 5

PostPosted: Mon Jan 14, 2019 6:46 pm    Post subject: Reply with quote

mike155 wrote:
Code:
setterm --blank 2


Is this setting permanent or it will disappear after reboot?
Back to top
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1190
Location: Frankfurt, Germany

PostPosted: Mon Jan 14, 2019 6:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ray_Garraty
n00b
n00b


Joined: 14 Jan 2019
Posts: 5

PostPosted: Mon Jan 14, 2019 7:08 pm    Post subject: Reply with quote

OpenRC
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43000
Location: 56N 3W

PostPosted: Mon Jan 14, 2019 7:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ray_Garraty
n00b
n00b


Joined: 14 Jan 2019
Posts: 5

PostPosted: Tue Jan 15, 2019 5:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1190
Location: Frankfurt, Germany

PostPosted: Tue Jan 15, 2019 5:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43000
Location: 56N 3W

PostPosted: Tue Jan 15, 2019 5:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum