Cannot install NVIDIA proprietary driver with realtime kernel

Solution Verified - Updated -

Issue

  • How can the following error be avoided when attempting to compile the NVIDIA proprietary driver against the realtime kernel: FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol ‘rt_mutex_destroy’

Environment

  • NVIDIA proprietary driver
  • kernel-rt package version below 3.10.0-957.rt56.910.el7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content