installing Nvidia GPU on CentOS disables internal VGA, how to fix; display UNCLAIMED

Issues related to hardware problems
Post Reply
RobbieTheK
Posts: 19
Joined: 2016/07/31 04:26:10

installing Nvidia GPU on CentOS disables internal VGA, how to fix; display UNCLAIMED

Post by RobbieTheK » 2021/09/15 19:55:42

We are using the GTX 1050 as a GPU accelerator so it's not needed for display purposes. It appears the internal VGA is disabled. How can I re-enable the VGA? We are on Rocks Cluster 6.1.1 in Centos 6.10 and yes we're trying to upgrade.

Code: Select all

cat /etc/X11/xorg.conf
Section "ServerFlags"
   Option "RandR" "on"
 EndSection
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 430.40

Section "ServerLayout"
	Identifier     "Layout0"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
	ModulePath   "/usr/lib64/xorg/modules/extensions/nvidia"
	ModulePath   "/usr/lib64/xorg/modules"
	FontPath     "/usr/share/fonts/default/Type1"
EndSection

Section "InputDevice"

    # generated from default
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "Emulate3Buttons" "no"
	Option	    "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from data in "/etc/sysconfig/keyboard"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbLayout" "us"
	Option	    "XkbModel" "pc105"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Unknown"
	ModelName    "Unknown"
	Option	    "DPMS"
EndSection

Section "Device"
	Identifier  "Device0"
	Driver      "nvidia"
	VendorName  "NVIDIA Corporation"
	Option "AllowEmptyInitialConfiguration" "true"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Device0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Depth     24
	EndSubSection
EndSection

Code: Select all

 lspci|grep -i vga
01:04.0 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200eW WPCM450 (rev 0a)
03:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050] (rev a1)

Code: Select all

lshw -numeric -C display
  *-display               
       description: VGA compatible controller
       product: GP107 [GeForce GTX 1050] [10DE:1C81]
       vendor: NVIDIA Corporation [10DE]
       physical id: 0
       bus info: pci@0000:03:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:24 memory:df000000-dfffffff memory:c0000000-cfffffff(prefetchable) memory:be000000-bfffffff(prefetchable) ioport:d800(size=128) memory:def80000-deffffff(prefetchable)
  *-display UNCLAIMED
       description: VGA compatible controller
       product: MGA G200eW WPCM450 [102B:532]
       vendor: Matrox Electronics Systems Ltd. [102B]
       physical id: 4
       bus info: pci@0000:01:04.0
       version: 0a
       width: 32 bits
       clock: 33MHz
       capabilities: pm vga_controller cap_list
       configuration: latency=64 maxlatency=32 mingnt=16
       resources: memory:db800000-dbffffff(prefetchable) memory:ddffc000-ddffffff memory:de000000-de7fffff

Code: Select all

xrandr --verbose --properties
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1680 x 921, maximum 4096 x 2304
default connected 1680x921+0+0 (0x15c) normal (normal) 0mm x 0mm
	Identifier: 0x151
	Timestamp:  -354028520
	Subpixel:   unknown
	Clones:    
	CRTC:       0
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000

Code: Select all

inxi -G
Graphics:  Card-1: Matrox Systems MGA G200eW WPCM450 
           Card-2: NVIDIA GP107 [GeForce GTX 1050] 
           X.org: 1.17.4 driver: nvidia tty size: 179x41 Advanced Data: N/A for root
And I promise to return if/when I find a solution.

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: installing Nvidia GPU on CentOS disables internal VGA, how to fix; display UNCLAIMED

Post by TrevorH » 2021/09/15 22:29:17

CentOS 6 is no longer supported. It went EOL about a year ago. Find a different distro that still has support.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

RobbieTheK
Posts: 19
Joined: 2016/07/31 04:26:10

Re: installing Nvidia GPU on CentOS disables internal VGA, how to fix; display UNCLAIMED

Post by RobbieTheK » 2021/09/15 23:24:46

We're trying to upgrade but there is an incomplete Rocks upgrade that was started by my predecessor which needs to be resolved and I'm waiting for guidance from their admins. As it's open source we rely on their responses which takes time.

So let's pretend it's CentOS 7. Any suggestions for getting the VGA working?

tunk
Posts: 1204
Joined: 2017/02/22 15:08:17

Re: installing Nvidia GPU on CentOS disables internal VGA, how to fix; display UNCLAIMED

Post by tunk » 2021/09/16 12:51:56

Wouldn't really know, but you could see if there's any settings in the bios.

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: installing Nvidia GPU on CentOS disables internal VGA, how to fix; display UNCLAIMED

Post by jlehtone » 2021/10/03 19:17:04

At least you do see both devices; there were boards that disable integrated chip when discrete GPU is connected.

You do have:

Code: Select all

Section "Device"
	Identifier  "Device0"
	Driver      "nvidia"
	VendorName  "NVIDIA Corporation"
	Option "AllowEmptyInitialConfiguration" "true"
EndSection
Which clearly loads NVidia's X11 driver. You should rather load something for the Matrox.
(Or was it that you need to load the NVidia driver too, for CUDA?
Definitely have a "Device" for Matrox and set the "Screen" to use that device.)


How about BIOS and GRUB? Do they show on both, or only via discrete's port(s)?

Post Reply