The newest nvidia-340xx-106 driver doesn't compatible with xorg-x11-server-1.19.6

When i update my X server version of my Fedora 27 system to 1.19.6,I meet a blank screen,nothing displayed but a cursor.

Probably here is the same bug (logs are attached there):

https://bugs.gentoo.org/649298

Which kernel version do you have? 4.15.*?

yes,kernel-4.15.4

all seems good but a error on my Xorg.0.log, It says that glx initialize failes.

all seems good but a error on my Xorg.0.log

Did you see Linux kernel hang/freeze? E.g., does your keyboard work properly (Ctrl + Alt + F1, Ctrl + Alt + F2)?

Reference found: https://devtalk.nvidia.com/default/topic/830711/linux/failed-to-initialize-the-glx-module-please-check-in-your-x-log-file-that-the-glx-module-has-been-lo/
Ideas come to mind:

  • 1 reinstall nvidia driver from package manager, not from .run file
  • 2 use the approach by @fedele6hcml . I would look somewhat like

and to rename the original file

sudo mv /usr/lib/xorg/modules/extensions/libglx.so /usr/lib/xorg/modules/extensions/libglx.so.bak

to get the exact path run

locate libglx.so

then

sudo ln /usr/lib/nvidia-340/xorg/libglx.so.340.106 /usr/lib/xorg/modules/extensions/libglx.so

Yesterday I update my kernel to 4.15.6,then update X server to 1.19.6.now reinstall nvidia-340.106 driver fix this.

Do you know anything about improved support for nVidia in 1.19 Xorg? I tried to use nv’s driver with legacy macBook Pro (GeForce GT-330M) in various configurations, even must work ones however in all cases it failed with black screen and fans spinning loud after launching an OpenGL app so it was functional only so?