GLX with RDP and nvidia drivers not working

Issues related to applications and software problems
Post Reply
mr.reca
Posts: 2
Joined: 2020/04/28 07:53:49

GLX with RDP and nvidia drivers not working

Post by mr.reca » 2020/04/28 08:15:12

Good morning everyone,

This is my first post. I'll do my best :)

I have a CentOS release 6.10 with 2 nvidia cards (Quadro P5000). As far as I know, I installed nvidia drivers from the official page (it was a .sh file). This is the output of nvidia-smi:

Code: Select all

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.50       Driver Version: 430.50       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Quadro P5000        Off  | 00000000:5B:00.0 Off |                  Off |
| 27%   43C    P0    40W / 180W |      0MiB / 16278MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Quadro P5000        Off  | 00000000:9E:00.0 Off |                  Off |
| 29%   44C    P0    40W / 180W |      0MiB / 16278MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
I need access through RDP on this machine, so I installed the packages (xrdp, tigervnc-server, tigervnc-server-module and xorg-x11-server-Xorg) from yum. I can access the machine, but when I run glxinfo I have an error:

Code: Select all

name of display: :11.0
Xlib:  extension "GLX" missing on display ":11.0".
Xlib:  extension "GLX" missing on display ":11.0".
Xlib:  extension "GLX" missing on display ":11.0".
Xlib:  extension "GLX" missing on display ":11.0".
Xlib:  extension "GLX" missing on display ":11.0".
Error: couldn't find RGB GLX visual or fbconfig

Xlib:  extension "GLX" missing on display ":11.0".
Xlib:  extension "GLX" missing on display ":11.0".
Xlib:  extension "GLX" missing on display ":11.0".
Xlib:  extension "GLX" missing on display ":11.0".
Xlib:  extension "GLX" missing on display ":11.0".
Xlib:  extension "GLX" missing on display ":11.0".
This is the strange part, because libGLX is installed. It's picking the one from /usr/lib and /usr/lib64 (using whereis libGLX.so) but I think those are not the files that nvidia installs.

Do I need some additional configuration? Do I need to point to another lib?

In case this helps, this is the current xorg.conf file (generated using nvidia-xconfig --enable-all-gpus --separate-x-screens):

Code: Select all

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 430.50


Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0"
    Screen      1  "Screen0 (1)" RightOf "Screen0"
    Screen      2  "Screen0 (2)" RightOf "Screen0 (1)"
    Screen      3  "Screen0 (3)" RightOf "Screen0 (2)"
    Screen      4  "Screen1" RightOf "Screen0 (3)"
    Screen      5  "Screen1 (1)" RightOf "Screen1"
    Screen      6  "Screen1 (2)" RightOf "Screen1 (1)"
    Screen      7  "Screen1 (3)" RightOf "Screen1 (2)"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath      "/usr/lib64/xorg/modules"
    FontPath        "catalogue:/etc/X11/fontpath.d"
    FontPath        "built-ins"
EndSection

Section "Module"
    Load           "glxserver_nvidia"
    Load           "glx"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

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

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

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro P5000"
    BusID          "PCI:91:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device0 (1)"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro P5000"
    BusID          "PCI:91:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Device0 (2)"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro P5000"
    BusID          "PCI:91:0:0"
    Screen          2
EndSection

Section "Device"
    Identifier     "Device0 (3)"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro P5000"
    BusID          "PCI:91:0:0"
    Screen          3
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro P5000"
    BusID          "PCI:158:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1 (1)"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro P5000"
    BusID          "PCI:158:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Device1 (2)"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro P5000"
    BusID          "PCI:158:0:0"
    Screen          2
EndSection

Section "Device"
    Identifier     "Device1 (3)"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro P5000"
    BusID          "PCI:158:0:0"
    Screen          3
EndSection

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

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

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

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

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1 (1)"
    Device         "Device1 (1)"
    Monitor        "Monitor1"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1 (2)"
    Device         "Device1 (2)"
    Monitor        "Monitor1"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1 (3)"
    Device         "Device1 (3)"
    Monitor        "Monitor1"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Thank you so much.

User avatar
TrevorH
Forum Moderator
Posts: 29486
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: GLX with RDP and nvidia drivers not working

Post by TrevorH » 2020/04/28 08:31:21

Connecting via RDP does not use the physical display card nor will it use the drivers for it.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

mr.reca
Posts: 2
Joined: 2020/04/28 07:53:49

Re: GLX with RDP and nvidia drivers not working

Post by mr.reca » 2020/04/28 08:57:30

So is this behaviour "normal"? Is there a way to remote access the machine in order to use its drivers?

Post Reply

Return to “CentOS 6 - Software Support”