2

I recently installed Centos 7 on a Dell PowerEdge R740 with a Nvidia GPU added to it.

After installation I was surprised to see that the iDRAC remote console capabilities was not working.

Not even console com2 when doing ssh to the iDRAC even though there is a serial-getty@ttyS1.service running.

Getting the serial interface working was just a matter of switching the port mapping in the iDRAC from serialportaddrsel=serial1com2serial2com1 to serialportaddrsel=serial1com1serial2com2 using the iDRAC gui or the command line tools (syscfg/racadm).

But fixing the remote console in the GUI is another story.

After some dialogue with Dell I was able to confirm that this is the expected behavior as the remote console only shows what's on the integrated GPU and the OS only sends output to the Nvidia GPU.

The subject of ttys is a bit mystical with it being layer upon layer of abstractions emulating long dead hardware, but should it not be possible to have ttys presented on all GPUs in a system?

Doing lspci | grep VGA lists both GPUs, so my interpretation is that the hardware allows linux to use both.

  • a tty is simply linux's representation of a device that takes input and then also outputs information to a standard output, and it goes back to tele type writers and how they function. In simple terms all a tty is, is a terminal, since only your nvidia gpu is probably only being used that's why the tty is being shown there only, since the nvidia GPU is in active use. – Qasim Feb 10 at 12:15
  • Are you able in your system's BIOS settings able to activate both the integrated and your add-in GPUs? – DopeGhoti Feb 10 at 16:02
3

Normally, when only one GPU is being used by the virtual console TTYs, there is just one virtual console TTY actually usable at any time, and so there is no ambiguity as to where any keyboard and mouse input must go.

But if you have two active GPUs and virtual consoles on each, you would need to have some means of switching your keyboard (and mouse) focus between the two active TTYs. The virtual console TTY subsystem does not do this (as far as I know...), but a GUI desktop can cope with it, as switching mouse and keyboard focus between things is a perfectly normal and expected operation within it.

Or... you could plug in a second mouse and keyboard, and have two completely separate Keyboard-Video-Mouse sets. This would be a multiseat configuration.

| improve this answer | |
1

Because that's the default.

All of the kernel virtual terminals map to a single framebuffer device at system bootstrap: the first "primary" framebuffer device that happens to be initialized, where the meaning of "primary" is platform-dependent. (On PC98 and compatible platforms, it is the framebuffer device of the display adapter that is providing the VGA display. On SPARC machines it is whatever matches the OpenFirmware configuration. And so forth.)

This is the default unless the system is explicitly configured otherwise.

It is otherwise configured by the fbcon=map: kernel command-line setting. It can also be adjusted after bootstrap with the mis-named con2fbmap tool, whose doco has been marked as "not finished" since 2006. ☺

(con2fbmap is mapping KVTs, not the console. The console's mapping mechanism is something rather different.)

Further reading

| improve this answer | |
  • con2fbmap does not seem to be a thing on CentOS, is that just a Debian thing? – azzid Feb 11 at 14:32
  • No. – JdeBP Feb 11 at 14:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.