Mailing List Archive

Nvidia or Xorg Problem with GLX
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
Re: Nvidia or Xorg Problem with GLX [ In reply to ]
On Mon, Jan 19, 2015 at 11:56 AM, Frank Peters <frank.peters@comcast.net> wrote:
> Does anyone have any insight or suggestions?

Looks like a known bug [1].

[1] https://bugs.gentoo.org/show_bug.cgi?id=534128

Brandon Vincent
Re: Nvidia or Xorg Problem with GLX [ In reply to ]
On Mon, 19 Jan 2015 12:37:49 -0700
Brandon Vincent <Brandon.Vincent@asu.edu> wrote:

>
> Looks like a known bug [1].
>

A few of the reports on this issue that I've found date back
to 2010 and even earlier:

https://forums.geforce.com/default/topic/369385/geforce-drivers/failed-to-initialize-the-glx-module-can-39-t-init-glx-driver-on-fedoracore-6/

I would doubt that this problem is really new, but it has never
affected me before.

Frank Peters