Problem installing NVIDIA driver on Red Hat 8.4

Hello !

I have a HP Z4 Workstation with a Quadro P2200 under RedHat 8.
The machine is connected to 2 monitors (24-inch screen)
Our goal is to have 2 different X servers, one on each screen.

For that we have installed the last version of the NVIDIA package (available on the website Index of /compute/cuda/repos/rhel8/x86_64):

[root@IBL_03 ~]# rpm -qa | grep nvidia
nvidia-driver-cuda-libs-495.29.05-1.el8.x86_64
nvidia-driver-NvFBCOpenGL-495.29.05-1.el8.x86_64
nvidia-driver-cuda-495.29.05-1.el8.x86_64
nvidia-kmod-common-495.29.05-1.el8.noarch
nvidia-libXNVCtrl-495.29.05-1.el8.x86_64
nvidia-settings-495.29.05-1.el8.x86_64
dnf-plugin-nvidia-2.0-1.el8.noarch
nvidia-driver-devel-495.29.05-1.el8.x86_64
nvidia-driver-495.29.05-1.el8.x86_64
nvidia-driver-NVML-495.29.05-1.el8.x86_64
nvidia-persistenced-495.29.05-1.el8.x86_64
nvidia-xconfig-495.29.05-1.el8.x86_64
kmod-nvidia-latest-dkms-495.29.05-1.el8.x86_64
nvidia-modprobe-495.29.05-1.el8.x86_64
nvidia-libXNVCtrl-devel-495.29.05-1.el8.x86_64
nvidia-driver-libs-495.29.05-1.el8.x86_64

On the tool nvidia-settings, we can configure the second screen to use a new X server.
But when we apply the modification and restart the computer, the second screen is in a strange state:
We can display a specific application but there is no background, no menu bar, and even the mouse is not displayed correctly (mouse is replaced by a “cross”)

Moreover after the installation of the NVIDIA driver, many errors appear at start-up.
Example:

ACPI Error: Aborting method _SB.WMIV.WMPV due to a previous error (AE_AML_OPERAND_TYPE) (20200925/psparse-531)
ACPI Error: Needed [Buffer/String/Package], found [Integer] 000000009d45f434
ACPI Error: AE_AML_OPERAND_TYPE, While resolving operants for [OpcodeName unavailable]
ACPI Error: Aborting method _SB.WMIV.WMPO due to a previous error (AE_AML_OPERAND_TYPE)
ACPI Error: Aborting method _SB.WMIV.WMPV due to a previous error (AE_AML_OPERAND_TYPE)
ACPI BIOS Error (bug) Attempt to CreateField of length zero (20200925/dsopcode-134)

Note: During the NVIDIA installation, the Nouveau driver are removed, and Wayland has been disabled.

Other question:
We regularly use the $DISPLAY environment variable to know the current screen and to choose on which screen to display our applications.

Before redhat 8, we had the display “:0” (and for the first screen “:0.0” and for the second screen “:0.1”)
But now, by deactivating Wayland, we have only the display “:1”.
The display “:0” is not retrieved, and we no longer get the screen unit

BR,
Yoann

nvidia-bug-report.log.gz (677.9 KB)

495.29.05 is a beta driver. That driver has issues.

Please post the output of xrandr --verbose
The second screen has a X cursor and no background, because there’s no window manager running. Gnome-shell only supports one screen. Try e.g.
DISPLAY=:1.1 openbox
The xserver :0 is gdm’s login screen which is suspended.

Thank you for your answers.

below the output of xrandr --verbose:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-6.8 connected primary 1920x1080+0+0 (0x21d) normal (normal left inverted right x axis y axis) 527mm x 296mm
	Identifier: 0x21c
	Timestamp:  1073754
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
	GUID: {10DE9070-0005-D096-9C1C-09F000000008}
	EDID: 
		00ffffffffffff00220eea3600000000
		151f0104a5351e783a5935ab534e9c25
		105054a10800d1c0a9c081c0b3009500
		810081800101023a801871382d40582c
		45000f282100001e000000fd00323c1e
		5011010a202020202020000000fc0048
		5020453234752047340a2020000000ff
		00434e34313231305844360a20200198
		020310b148901f041312110302e2006b
		023a801871382d40582c45000f282100
		001e023a80d072382d40102c45800f28
		2100001e011d007251d01e206e285500
		0f282100001e011d00bc52d01e20b828
		55400f282100001e8c0ad08a20e02d10
		103e96000f2821000018000000000000
		0000000000000000000000000000007e
	BorderDimensions: 4 
		supported: 4
	Border: 0 0 0 0 
		range: (0, 65535)
	SignalFormat: DisplayPort 
		supported: DisplayPort
	ConnectorType: DisplayPort 
	ConnectorNumber: 0 
	_ConnectorLocation: 0 
	non-desktop: 0 
		supported: 0, 1
  1920x1080 (0x21d) 148.500MHz +HSync +VSync *current +preferred
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
  1920x1080 (0x21e) 148.350MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.43KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  59.94Hz
  1920x1080 (0x21f) 148.500MHz +HSync +VSync
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  56.25KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  50.00Hz
  1680x1050 (0x220) 146.250MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.29KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.95Hz
  1600x900 (0x221) 108.000MHz +HSync +VSync
        h: width  1600 start 1624 end 1704 total 1800 skew    0 clock  60.00KHz
        v: height  900 start  901 end  904 total 1000           clock  60.00Hz
  1440x900 (0x222) 106.500MHz -HSync +VSync
        h: width  1440 start 1520 end 1672 total 1904 skew    0 clock  55.93KHz
        v: height  900 start  903 end  909 total  934           clock  59.89Hz
  1280x1024 (0x223) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x800 (0x224) 83.500MHz -HSync +VSync
        h: width  1280 start 1352 end 1480 total 1680 skew    0 clock  49.70KHz
        v: height  800 start  803 end  809 total  831           clock  59.81Hz
  1280x720 (0x225) 74.250MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1280x720 (0x226) 74.180MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  44.96KHz
        v: height  720 start  725 end  730 total  750           clock  59.94Hz
  1280x720 (0x227) 74.250MHz +HSync +VSync
        h: width  1280 start 1720 end 1760 total 1980 skew    0 clock  37.50KHz
        v: height  720 start  725 end  730 total  750           clock  50.00Hz
  1024x768 (0x228) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x229) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  720x576 (0x22a) 27.000MHz -HSync -VSync
        h: width   720 start  732 end  796 total  864 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  720x480 (0x22b) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  640x480 (0x22c) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
DP-0 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x22d
	Timestamp:  1073754
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
	BorderDimensions: 4 
		supported: 4
	Border: 0 0 0 0 
		range: (0, 65535)
	SignalFormat: DisplayPort 
		supported: DisplayPort
	ConnectorType: DisplayPort 
	ConnectorNumber: 2 
	_ConnectorLocation: 2 
	non-desktop: 0 
		supported: 0, 1
DP-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x22e
	Timestamp:  1073754
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
	BorderDimensions: 4 
		supported: 4
	Border: 0 0 0 0 
		range: (0, 65535)
	SignalFormat: TMDS 
		supported: TMDS
	ConnectorType: DisplayPort 
	ConnectorNumber: 2 
	_ConnectorLocation: 2 
	non-desktop: 0 
		supported: 0, 1
DP-2 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x22f
	Timestamp:  1073754
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
	BorderDimensions: 4 
		supported: 4
	Border: 0 0 0 0 
		range: (0, 65535)
	SignalFormat: DisplayPort 
		supported: DisplayPort
	ConnectorType: DisplayPort 
	ConnectorNumber: 3 
	_ConnectorLocation: 3 
	non-desktop: 0 
		supported: 0, 1
DP-3 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x230
	Timestamp:  1073754
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
	BorderDimensions: 4 
		supported: 4
	Border: 0 0 0 0 
		range: (0, 65535)
	SignalFormat: TMDS 
		supported: TMDS
	ConnectorType: DisplayPort 
	ConnectorNumber: 3 
	_ConnectorLocation: 3 
	non-desktop: 0 
		supported: 0, 1
DP-4 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x231
	Timestamp:  1073754
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
	BorderDimensions: 4 
		supported: 4
	Border: 0 0 0 0 
		range: (0, 65535)
	SignalFormat: DisplayPort 
		supported: DisplayPort
	ConnectorType: DisplayPort 
	ConnectorNumber: 1 
	_ConnectorLocation: 1 
	non-desktop: 0 
		supported: 0, 1
DP-5 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x232
	Timestamp:  1073754
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
	BorderDimensions: 4 
		supported: 4
	Border: 0 0 0 0 
		range: (0, 65535)
	SignalFormat: TMDS 
		supported: TMDS
	ConnectorType: DisplayPort 
	ConnectorNumber: 1 
	_ConnectorLocation: 1 
	non-desktop: 0 
		supported: 0, 1
DP-6 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x233
	Timestamp:  1073754
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
	BorderDimensions: 4 
		supported: 4
	Border: 0 0 0 0 
		range: (0, 65535)
	SignalFormat: DisplayPort 
		supported: DisplayPort
	ConnectorType: DisplayPort 
	ConnectorNumber: 0 
	_ConnectorLocation: 0 
	non-desktop: 0 
		supported: 0, 1
DP-7 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x234
	Timestamp:  1073754
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
	BorderDimensions: 4 
		supported: 4
	Border: 0 0 0 0 
		range: (0, 65535)
	SignalFormat: TMDS 
		supported: TMDS
	ConnectorType: DisplayPort 
	ConnectorNumber: 0 
	_ConnectorLocation: 0 
	non-desktop: 0 
		supported: 0, 1

and here the screenshot of the nvidia-settings with my 2 screens:

I had already tried with a release version but I had the same problem.
I will try again (with the version 470 for example)

I don’t see any issues regarding the nvidia driver, the second screen is there. Can’t you run anything on it?
DISPLAY=:1.1 glxgears

Yes, the glxgears is displayed on the second screen but the gear is not in a window.
And when I kill the process, the gear stop to move but an afterimage is always present on the screen.

I have tried with gedit too: when I move the window, We can see an afterimage of the previous gedit position:

Like said, there’s no WM running on the second screen. Try starting one on it:
DISPLAY=:1.1 openbox &
right-click gives you a menu. Of course, openbox needs to be installed.

Yes, I have the mouse and I can use the menu with a right-click on the second desktop.

But I don’t understand why there is no window manager.
You said that Gnome-shell only supports one screen, but in the past, we already had used this kind of thing, and it worked very well in RedHat 5… Why now, with a new and modern version it wouldn’t work ?

The common problem is that using multiple Xscreens has “come out of fashion” so most if not all window managers/desktop environments have removed support for it, like gnome2,xfce3,kde3 supported this, gnome3,xfce4,kde5 don’t support this anymore.
You might check if switching to Mate helps with that, at least it was started as a gnome2 fork, so maybe this still supports multiple Xscreens.

Ok.
Thank you very much for your help and our explanations.
In this case, maybe we’ll just abandon the 2 X servers and simply use an extended desktop

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.