kernel-4.18.0-193.6.3.el8_2.x86_64 update broke kmod-nvidia driver functioning

Issues related to hardware problems
mprater
Posts: 20
Joined: 2020/04/16 19:10:33

kernel-4.18.0-193.6.3.el8_2.x86_64 update broke kmod-nvidia driver functioning

Post by mprater » 2020/06/22 21:28:29

Hi All,

I just updated my system from kernel-4.18.0-147.8.1.el8_1.x86_64 to kernel-4.18.0-193.6.3.el8_2.x86_64. Prior to this update, I had installed the kmod-nvidia-390xx.x86_64 packages to get nvidia driver support for my legacy nvidia card (Quadro 4000):

Code: Select all

yum list installed | grep nvidia
kmod-nvidia-390xx.x86_64                           390.132-2.el8_2.elrepo                            @elrepo      
nvidia-x11-drv-390xx.x86_64                        390.132-2.el8_2.elrepo                            @elrepo      
nvidia-x11-drv-390xx-libs.x86_64                   390.132-2.el8_2.elrepo                            @elrepo 
This had been working perfectly for some time in kernel-4.18.0-147.8.1.el8_1.x86_64.

After the kernel update, the nvidia driver appears to be working:

Code: Select all

lspci | grep VGA
05:00.0 VGA compatible controller: NVIDIA Corporation GF100GL [Quadro 4000] (rev a3)
However, now when I attempt to run the graphical applications I normally use, there's a problem. Launching one such application from the command line produces this output, and the OpenGL viewports in the app don't work:

Code: Select all

RuntimeError: Viewer tabs require at least OpenGL 4.2. (Detected "3.1 Mesa 19.3.4".)
[ERROR python.UI4.App.Tabs]: Error creating "Viewer (Hydra)" tab: RuntimeError: Viewer tabs require at least OpenGL 4.2. (Detected "3.1 Mesa 19.3.4".)
[WARN python.UI4.App.Tabs]: Cannot apply settings {'monitorFrontBufferVisible': False, 'aoEnabled': False, 'viewportLayoutStyle': 'Single', 'verticalToolBarVisible': True, 'hudVisible': True, 'annotationsVisible': True, 'gridVisible': True, 'boundingBoxesEnabled': True, 'proxyGeometryEnabled': True} to given tab widget <UI4.Widgets.IconLabelFrame.IconLabelFrame object at 0x7f30198bd8a0>: The IconLabelFrame widget class does not have an applySettings() method.
Failed to compile vertex shader: 0:1(10): error: GLSL 4.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, and 3.00 ES

Failed to compile vertex shader: 0:1(10): error: GLSL 4.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.00 ES, and 3.00 ES
I don't know why, but there are a large number of mesa packages installed:

Code: Select all

yum list installed | grep mesa
mesa-dri-drivers.x86_64                            19.3.4-2.el8                                      @AppStream   
mesa-filesystem.x86_64                             19.3.4-2.el8                                      @AppStream   
mesa-libEGL.x86_64                                 19.3.4-2.el8                                      @AppStream   
mesa-libEGL-devel.x86_64                           19.3.4-2.el8                                      @AppStream   
mesa-libGL.x86_64                                  19.3.4-2.el8                                      @AppStream   
mesa-libGL-devel.x86_64                            19.3.4-2.el8                                      @AppStream   
mesa-libGLU.x86_64                                 9.0.0-15.el8                                      @AppStream   
mesa-libGLU-devel.x86_64                           9.0.0-15.el8                                      @AppStream   
mesa-libgbm.x86_64                                 19.3.4-2.el8                                      @AppStream   
mesa-libglapi.x86_64                               19.3.4-2.el8                                      @AppStream   
mesa-libxatracker.x86_64                           19.3.4-2.el8                                      @AppStream   
mesa-vulkan-drivers.x86_64                         19.3.4-2.el8                                      @AppStream   
along with the nouveau driver:

Code: Select all

yum list installed | grep nouveau
xorg-x11-drv-nouveau.x86_64                          1:1.0.15-4.el8.1                                  @AppStream
The nouveau driver is blacklisted, and I examined the /etc/X11/xorg.conf file, which appears to be okay:

Code: Select all

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 390.132  (buildmeister@swio-display-x64-rhel04-14)  Fri Nov  1 05:15:46 PDT 2019

# /etc/X11/nvidia-xorg.conf provided by http://elrepo.org

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "keyboard"
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 "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Videocard0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection
Does anyone have any ideas as to what's wrong, or how to fix it? Previously, I would manually install the nvidia drivers from an nvidia .run file, but I hoped using kmod-nvidia would shield me from that. Now it appears to have made the kernel update process even more of a headache. At least I knew how to manually install the driver - now I don't know how to fix this.

Thanks, mitch

chemal
Posts: 672
Joined: 2013/12/08 19:44:49

Re: kernel-4.18.0-193.6.3.el8_2.x86_64 update broke kmod-nvidia driver functioning

Post by chemal » 2020/06/22 21:51:06

You need to update kmod-nvidia-390xx, too.

mprater
Posts: 20
Joined: 2020/04/16 19:10:33

Re: kernel-4.18.0-193.6.3.el8_2.x86_64 update broke kmod-nvidia driver functioning

Post by mprater » 2020/06/22 22:04:12

Thanks, but that doesn't appear to be the issue:

Code: Select all

sudo yum update kmod-nvidia-390xx.x86_64 nvidia-x11-drv-390xx.x86_64 nvidia-x11-drv-390xx-libs.x86_64
Last metadata expiration check: 0:26:29 ago on Mon 22 Jun 2020 02:36:23 PM PDT.
Dependencies resolved.
Nothing to do.
Complete!

chemal
Posts: 672
Joined: 2013/12/08 19:44:49

Re: kernel-4.18.0-193.6.3.el8_2.x86_64 update broke kmod-nvidia driver functioning

Post by chemal » 2020/06/22 22:15:29

What is the output of glxinfo? It should contain the line "OpenGL vendor string: NVIDIA Corporation".

mprater
Posts: 20
Joined: 2020/04/16 19:10:33

Re: kernel-4.18.0-193.6.3.el8_2.x86_64 update broke kmod-nvidia driver functioning

Post by mprater » 2020/06/22 23:35:36

Code: Select all

glxinfo | grep vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: VMware, Inc.

Hmm. What does this mean?
Last edited by mprater on 2020/06/22 23:58:57, edited 1 time in total.

chemal
Posts: 672
Joined: 2013/12/08 19:44:49

Re: kernel-4.18.0-193.6.3.el8_2.x86_64 update broke kmod-nvidia driver functioning

Post by chemal » 2020/06/22 23:41:43

It means your using software rendering -- donated by VMware to Mesa.

mprater
Posts: 20
Joined: 2020/04/16 19:10:33

Re: kernel-4.18.0-193.6.3.el8_2.x86_64 update broke kmod-nvidia driver functioning

Post by mprater » 2020/06/22 23:47:21

Okay - that would explain the behavior I'm seeing. Any idea how to configure the system to use hardware rendering instead?

mprater
Posts: 20
Joined: 2020/04/16 19:10:33

Re: kernel-4.18.0-193.6.3.el8_2.x86_64 update broke kmod-nvidia driver functioning

Post by mprater » 2020/06/22 23:55:09

I'm also seeing this:

Code: Select all

glxinfo | grep "direct rendering"
direct rendering: Yes
Doesn't that mean hardware rendering is enabled?

chemal
Posts: 672
Joined: 2013/12/08 19:44:49

Re: kernel-4.18.0-193.6.3.el8_2.x86_64 update broke kmod-nvidia driver functioning

Post by chemal » 2020/06/23 00:36:01

Direct rendering does not imply hardware acceleration.

I guess you need to go through the logs to see where things go wrong. First thing to check is probably whether the nvidia kernel module was successfully loaded or not.

mprater
Posts: 20
Joined: 2020/04/16 19:10:33

Re: kernel-4.18.0-193.6.3.el8_2.x86_64 update broke kmod-nvidia driver functioning

Post by mprater » 2020/06/23 00:43:07

Any suggestions as to what I'm looking for?

Post Reply

Return to “CentOS 8 - Hardware Support”