Hello,

My system has been running well but just by chance I noticed a strange
error in my xorg-server log:

(EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
(EE) NVIDIA(0): log file that the GLX module has been loaded in your X
(EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module.

The X log indeed indicates that the loaded GLX module is *not* the nvidia
GLX module:

(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"

As a consequence, the nvidia glx module fails to initialize and I suppose
that opengl has fallen back to software rendering.

I cannot pinpoint this error to any specific change in my system because,
as I mentioned, my system has been running well and there has been no need
to check the logs or to check anything else.

After doing some searching, I did find that others have reported the same
problem and the solution is to delete the Xorg glx module, which is located
at /usr/lib64/xorg/modules/extensions/libglx.so.  After deleting (or renaming)
this file and then restarting X the problem vanishes.

However, this solution is far from ideal.  There must be a proper way to
fix this issue.

Does anyone have any insight or suggestions?

My xorg.conf has the necessary module paths set:

ModulePath "/usr/lib64/xorg/modules"
ModulePath "/usr/lib64/opengl/nvidia"

My eselect is set to opengl nvidia:

eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11

Also, re-installing the nvidia-drivers, as the X log file suggests,
did not solve the problem.

Until I find a proper fix, I'll have to keep the xorg glx module
deleted.

Frank Peters


Reply via email to