tumbleweed-20190126- optirun x steam problem

NAME=“openSUSE Tumbleweed”

VERSION=“20190126”

​lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GK106M [GeForce GTX 765M] (rev ff)

Hello guys ,
So , I just finished installed steam and its run ok on my intel card.
Now , when I try to run steam on my nvidia car ( :~> optirun steam ) , I keep getting this error :

/usr/bin/optirun /usr/bin/steam
Running Steam on opensuse-tumbleweed 20190126 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Installing breakpad exception handler for appid(steam)/version(1548979876)
Invalid MIT-MAGIC-COOKIE-1 keylibGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

[VGL] WARNING: The OpenGL rendering context obtained on X display
[VGL] :8 is indirect, which may cause performance to suffer.
[VGL] If :8 is a local X display, then the framebuffer device
[VGL] permissions may be set incorrectly.
Installing breakpad exception handler for appid(steam)/version(1548979876)
Installing breakpad exception handler for appid(steam)/version(1548979876)

and stay here forever .

Nvidia card is working ok since I have not problem running “optirun glxspheres” and “optirun glxinfo | grep OpenGL”

~> optirun glxinfo | grep OpenGL
Invalid MIT-MAGIC-COOKIE-1 keyOpenGL** vendor string: NVIDIA Corporation**
OpenGL renderer string: GeForce GTX 765M/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 410.93
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 410.93
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:

Doyou guys have any idea how can I fix this problem ?
Thank you
Guilly

ok , so I played a little bit more around and seems i was able to fix my own problem.
I added the nvidia lib directories in /etc/ld.so.conf.d/graphviz.conf:
/usr/lib64/nvidia
/usr/lib/nvidia

after that, i update the library cache in the system:
# ldconfig

hope I can help somebody else .

Cheers,