Several essential KDE applications (sddm, krunner, plasmashell) segfault on startup with 361.16

then, what is a quick fix? overwrite all libs of libglvnd with make install? only one file? what branch? how build libglvnd? --enable-x/–disable-x?, need a special version of gcc? (arch ship 5.3.0)

grettings and GAMBARE!!!

No, sorry – x11glvnd.so is a separate X extension that tells the client-side libglvnd which vendor library to load. When there’s no x11glvnd.so, the NVIDIA driver provides its own version of the extension that tells it to load libGLX_nvidia.so.0. You shouldn’t need to worry too much about x11glvnd for this bug.

I tested “./configure --prefix=/usr && make install” earlier, which replaces all of the NVIDIA-provided components with the upstream versions. Be sure to “make uninstall” before reinstalling from the .run package or pass the --install-liblgnvd option to the .run installer if you want to revert to the ones provided by the driver installer.

How would you go about building it cross/compile to 32bit when on a 64bit system?

I got xfce4 up and running, minus some issues here and there with icons, but steam fails with this message,

STEAM_RUNTIME=1 steam
/home/salamanderrake/.local/share/Steam/steam.sh: line 159: DISTRIB_RELEASE: unbound variable
/home/salamanderrake/.local/share/Steam/steam.sh: line 159: DISTRIB_RELEASE: unbound variable
Running Steam on gentoo 64-bit
STEAM_RUNTIME is enabled by the user
Installing breakpad exception handler for appid(steam)/version(1452297105)
Installing breakpad exception handler for appid(steam)/version(1452297105)
Installing breakpad exception handler for appid(steam)/version(1452297105)
Installing breakpad exception handler for appid(steam)/version(1452297105)
Fontconfig error: “/etc/fonts/conf.d/10-scale-bitmap-fonts.conf”, line 70: non-double matrix element
Fontconfig error: “/etc/fonts/conf.d/10-scale-bitmap-fonts.conf”, line 70: non-double matrix element
Fontconfig warning: “/etc/fonts/conf.d/10-scale-bitmap-fonts.conf”, line 78: saw unknown, expected number
glXChooseVisual failedMain.cpp (306) : Assertion Failed: Fatal Error: glXChooseVisual failed
Assert( Assertion Failed: Fatal Error: glXChooseVisual failed ):Main.cpp:306

Installing breakpad exception handler for appid(steam)/version(1452297105)
[0108/212338:ERROR:main_delegate.cc(777)] Could not load cef_extensions.pak
[0108/212338:ERROR:browser_main_loop.cc(203)] Running without the SUID sandbox! See chromium - An open-source project to help move the web forward. - Monorail for more information on developing with the sandbox on.
assert_20160108212338_6.dmp[19566]: Uploading dump (out-of-process)
/tmp/dumps/assert_20160108212338_6.dmp
Installing breakpad exception handler for appid(steamwebhelper)/version(20160108124543)
Installing breakpad exception handler for appid(steamwebhelper)/version(1452297105)
Installing breakpad exception handler for appid(steamwebhelper)/version(1452297105)
Installing breakpad exception handler for appid(steamwebhelper)/version(20160108124543)
Installing breakpad exception handler for appid(steamwebhelper)/version(1452257143)
[0108/212339:ERROR:main_delegate.cc(777)] Could not load cef_extensions.pak
assert_20160108212338_6.dmp[19566]: Finished uploading minidump (out-of-process): success = yes
assert_20160108212338_6.dmp[19566]: response: CrashID=bp-a1110b54-2ead-47ed-bc22-e0be42160108
assert_20160108212338_6.dmp[19566]: file ‘’/tmp/dumps/assert_20160108212338_6.dmp’', upload yes: ‘‘CrashID=bp-a1110b54-2ead-47ed-bc22-e0be42160108’’

nope, configure --prefix=/usr --enable-static=no && make && sudo make install only make a all windows turn in black.

without overwrite, at least, can open the programs with yakuake (I adore this program)

I surrender

good luck

@salamanderrake, with

export CC=‘gcc -m32’
export CXX=‘g++ -m32’
export LDFLAGS=‘-m32’
export PKG_CONFIG_PATH=‘/usr/lib32/pkgconfig’

greetings

yeah I surrender also. I will wait for a fix from nvidia/gentoo

Is there more detailed documentation on stuff like this than the installedcomponents.html?

About that installedcomponets.htlm, why is there no mention of libGLX.so.361.16 and libGLX_nvidia.so.361.16? are they supposed to be installed also?

I have no idea :)

I think not. Do you mean ‘libglx.so.361.16’, not ‘libGLX.so.361.16’?

  • libGLX_nvidia.so.361.16 (nv drivers)
  • linux-vdso.so.1 (0x00007ffe21d01000)
    	libnvidia-tls.so.361.16 => /usr/lib/libnvidia-tls.so.361.16 (0x00007fa4e502e000)
    	libnvidia-glcore.so.361.16 => /usr/lib/libnvidia-glcore.so.361.16 (0x00007fa4e33a3000)
    	libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fa4e3061000)
    	libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fa4e2e4e000)
    	libc.so.6 => /usr/lib/libc.so.6 (0x00007fa4e2aaa000)
    	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fa4e28a6000)
    	libm.so.6 => /usr/lib/libm.so.6 (0x00007fa4e25a7000)
    	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fa4e2384000)
    	/usr/lib64/ld-linux-x86-64.so.2 (0x000055dbed805000)
    	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fa4e2180000)
    	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fa4e1f79000)
    
  • libGLX.so.0.0.0 (libglvnd)
  • linux-vdso.so.1 (0x00007ffd7f1b8000)
    	libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f57c9f20000)
    	libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f57c9c12000)
    	libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f57c9a00000)
    	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f57c97fb000)
    	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f57c95de000)
    	libc.so.6 => /usr/lib/libc.so.6 (0x00007f57c923a000)
    	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f57c9016000)
    	/usr/lib64/ld-linux-x86-64.so.2 (0x000055b5680ff000)
    	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f57c8e12000)
    	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f57c8c0c000)
    
  • libglx.so.361.16 (nv drivers)
  • linux-vdso.so.1 (0x00007ffea2f95000)
    	libnvidia-tls.so.361.16 => /usr/lib/libnvidia-tls.so.361.16 (0x00007f3d2034c000)
    	libnvidia-glcore.so.361.16 => /usr/lib/libnvidia-glcore.so.361.16 (0x00007f3d1e6c1000)
    	libc.so.6 => /usr/lib/libc.so.6 (0x00007f3d1e31d000)
    	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f3d1e118000)
    	libm.so.6 => /usr/lib/libm.so.6 (0x00007f3d1de1a000)
    	/usr/lib64/ld-linux-x86-64.so.2 (0x0000563f74a57000)
    
  • x11glvnd.so.0.0.0 (libglvnd)
  • linux-vdso.so.1 (0x00007ffcc2585000)
    	libc.so.6 => /usr/lib/libc.so.6 (0x00007f84908b0000)
    	/usr/lib64/ld-linux-x86-64.so.2 (0x0000555ec755e000)
    

    no I mean libGLX.so.361.18, libglx.so.361.16 is the xorg module, both the 361.16 nvidia-drivers and glvnd install it I believe. I will have to check.

    Infact libGL.so.1 that comes with 361.16 links to libGLX.so.0

    ldd libGL.so.1 
            linux-vdso.so.1 (0x00007ffcce1de000)
            libdl.so.2 => /lib64/libdl.so.2 (0x00007f56da78c000)
            libGLX.so.0 => not found
            libGLdispatch.so.0 => /usr/lib64/opengl/nvidia/lib/libGLdispatch.so.0 (0x00007f56da4f4000)
            libc.so.6 => /lib64/libc.so.6 (0x00007f56da15c000)
            /lib64/ld-linux-x86-64.so.2 (0x0000555fca482000)
    
    └───╼  ldd /usr/lib/libGL.so.1 
            linux-vdso.so.1 (0x00007ffe7af07000)
            libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f01aa8ae000)
            libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007f01aa67c000)
            libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007f01aa36e000)
            libc.so.6 => /usr/lib/libc.so.6 (0x00007f01a9fc9000)
            /usr/lib64/ld-linux-x86-64.so.2 (0x00005624756ad000)
            libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f01a9c87000)
            libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f01a9a75000)
            libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f01a9851000)
            libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f01a964d000)
            libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f01a9447000)
    

    i’ve tested again only with overwrite /usr/lib/libGLX.so.0 with libGLX.so.0.0.0 builded from libglvnd aaron’s branch git (builded through makepkg arch system)

    i get this: http://wstaw.org/m/2016/01/09/IMG_20160109_032227.jpg

    How can get the traces of this?

    can get nothing in TTY because is black (i think is a problem by my DP swich used for share the screen with 2 pcs)

    greetings

    EDIT: oh. my bad, then if the aaron24/libglvnd and NVIDIA/libglvnd is not the branch used to build libglvnd shiped with 361.16… what branch is? a internal?

    @ salamanderrake
    I was wrong in #29

  • 'cat ./manifest' (361.16)
  • libOpenGL.so.0 0755 GLVND_LIB NATIVE
    libOpenGL.so 0000 GLVND_SYMLINK NATIVE libOpenGL.so.0
    libGLESv1_CM.so.1 0755 GLVND_LIB NATIVE
    libGLESv1_CM.so 0000 GLVND_SYMLINK NATIVE libGLESv1_CM.so.1
    libGLESv2.so.2 0755 GLVND_LIB NATIVE
    libGLESv2.so 0000 GLVND_SYMLINK NATIVE libGLESv2.so.2
    libGLdispatch.so.0 0755 GLVND_LIB NATIVE
    libGLX.so.0 0755 GLVND_LIB NATIVE
    libGLX.so 0000 GLVND_SYMLINK NATIVE libGLX.so.0
    libGL.so.1 0755 GLVND_LIB NATIVE
    libGL.so 0000 GLVND_SYMLINK NATIVE libGL.so.1
    libEGL.so.1 0755 OPENGL_LIB NATIVE
    libEGL.so 0000 OPENGL_SYMLINK NATIVE libEGL.so.1
    
  • libglvnd #mtree
  • ./usr type=dir
    ./usr/lib mode=755 type=dir
    ./usr/lib/libGL.so type=link link=libGL.so.1.0.0
    ./usr/lib/libGL.so.1 type=link link=libGL.so.1.0.0
    ./usr/lib/libGL.so.1.0.0
    ./usr/lib/libGLESv1_CM.so type=link link=libGLESv1_CM.so.1.0.0
    ./usr/lib/libGLESv1_CM.so.1 type=link link=libGLESv1_CM.so.1.0.0
    ./usr/lib/libGLESv1_CM.so.1.0.0
    ./usr/lib/libGLESv2.so type=link link=libGLESv2.so.2.0.0
    ./usr/lib/libGLESv2.so.2 type=link link=libGLESv2.so.2.0.0
    ./usr/lib/libGLESv2.so.2.0.0
    ./usr/lib/libGLX.so type=link link=libGLX.so.0.0.0
    ./usr/lib/libGLX.so.0 type=link link=libGLX.so.0.0.0
    ./usr/lib/libGLX.so.0.0.0
    ./usr/lib/libGLdispatch.so type=link link=libGLdispatch.so.0.0.0
    ./usr/lib/libGLdispatch.so.0 type=link link=libGLdispatch.so.0.0.0
    ./usr/lib/libGLdispatch.so.0.0.0
    ./usr/lib/libOpenGL.so type=link link=libOpenGL.so.0.0.0
    ./usr/lib/libOpenGL.so.0 type=link link=libOpenGL.so.0.0.0
    ./usr/lib/libOpenGL.so.0.0.0
    ./usr/lib/xorg type=dir
    ./usr/lib/xorg/modules type=dir
    ./usr/lib/xorg/modules/extensions type=dir
    ./usr/lib/xorg/modules/extensions/x11glvnd.so type=link link=x11glvnd.so.0.0.0
    ./usr/lib/xorg/modules/extensions/x11glvnd.so.0 type=link link=x11glvnd.so.0.0.0
    ./usr/lib/xorg/modules/extensions/x11glvnd.so.0.0.0
    

    ‘libGLX.so.361.16’ not found in ‘./manifest’

    Arch Linux way:

    1. download repo from https://github.com/aaronp24/arch-nvidia-utils
    2. edit PKGBUILD
    3. # nvidia-libgl
              ["APPLICATION_PROFILE"]="nvidia-libgl install_app_profile"
      -       ["GLVND_LIB"]="nvidia-libgl install_lib"
      -       ["GLVND_SYMLINK"]="nvidia-libgl symlink_lib"
              ["GLX_MODULE_SHARED_LIB"]="nvidia-libgl install_glx_module"
      

      to

      # Ignored entries
      +       ["GLVND_LIB"]="ignored"
      +       ["GLVND_SYMLINK"]="ignored"
              ["INSTALLER_BINARY"]="ignored"          # provided by pacman :)
              ["KERNEL_MODULE_SRC"]="ignored"         # kernel modules are handled by the nvidia PKGBUILD
              ["DKMS_CONF"]="ignored"                 # dkms is not used
              ["LIBGL_LA"]="ignored"                  # .la files are not needed
      
    4. build packages
    5. uninstall arch nvidia-* packages (from repo/AUR)/or bump 'pkgrel=' for new nvidia-*
    6. install new nvidia-* packages and libglvnd
    7. it should work

    Edit: ‘arch-lib32-nvidia-utils’ https://github.com/fafryd1125/arch-lib32-nvidia-utils
    Edit2: Tested - working (start openbox, firfox, mpv- I do not use kde)
    Edit3: Add libglvnd http://pastebin.com/EH831SUR

    yea, i have my mod for those pkgbuilds XD

    http://sl1pkn07.wtf/paste/view/669067b8

    include dkms module + lib32 + some other things from nvidia

    and no. not working (see my screenshot(xd) above

    Instead of trying to fix the crash with the glvnd lib, it’s probably just easier to fix it with a patch on Qt5 code, until Nvidia release their update.

    I’ve already submitted a patch to Qt https://codereview.qt-project.org/145406

    Yay that fixed my issues on gentoo, now I have new drivers and kde/plasma5

    The only problem is now I have no HDMI audio output.

    the patch is for what component? i don’t want build all Qt5

    edit: okis. qtbase