Open lestephane opened 5 years ago
Hello @lestephane, Xlib: extension "NV-GLX" missing on display ":0.0".
in your log hints that Steam might be trying to use nVidia's libGL.so with the Intel chip, which is incompatible and Ubuntu 16.04 predates general distro usage of libglvnd to sort that out for you.
I suspect that the nVidia driver install in xenial-updates is glvnd-enabled while the mesa build is not (https://bugs.launchpad.net/xenial-backports/+bug/1777944) which leads to this issue.
Thanks for the feedback, @kisak-valve, never heard of libglvnd, which sounds cool. Compiling and installing libglvnd would be the recommended workaround for now, correct? Or is there something more drastic required (like upgrading to 18.04)?
Unfortunately, I don't have a suitable optimus laptop in my test box collection to give a recommendation.
ok, I'll try and report
On a side note, since you have Optimus, you can try the Optimus pain in the butt stuff on regular Linux OS's or you can try an OS that works better with that like Pop OS https://www.reddit.com/r/pop_os/comments/achbud/hows_nvidia_optimus_doing_these_days/
You do have choices. Some choices are just better. That's something for you to think about and determine what you need or feel is better.
So, after
nvidia-418
(nvidia-430
segfaults)dpkg -i
nstalling libglvnd0 from the 18.04 .deb
s (which only have a libc6 dependency)
the error about the missing "NV-GLX" extension is now gone. Yay.
I'm also able to launch games if I use primusrun (vblank_mode=0 primusrun %command%
).
That will keep me going until I upgrade to 18.04.
No luck with intel graphics.
As for the embedded browser window (and news popup), it remains completely empty, stuck loading.
But I don't care about that as long as I can play games.
I've indicated all the steps I went through it case it helps other ubuntu 16.04 users.
Don't know enough to tell whether the browser problem is a separate issue. System out only contains repeated occurrences of
STEAM_RUNTIME_HEAVY: ./steam-runtime-heavy
and one
Fatal : VkResult is "ERROR_INITIALIZATION_FAILED" in /home/pgriffais/src/Vulkan/base/vulkanexamplebase.cpp at line 823
nothing else.
I also checked dmesg
output for the same log entries as in #6481, but nothing conspicuous.
Edit 2019-09-08: I since have found out that I had an ordering problem in ld.so.conf.d
. Once I made sure that libGLdispatch.so.0.0.0 is first loaded from the top-level /usr/lib and /usr/lib32 (provided by ubuntu 18.04's libglvnd0, for which I downloaded the .deb file, and ran dpkg -i), the browser also works.
$ ldconfig -p | grep libGLdispatch
libGLdispatch.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 <<<<
libGLdispatch.so.0 (libc6,x86-64) => /usr/lib/nvidia-418/libGLdispatch.so.0
libGLdispatch.so.0 (libc6) => /usr/lib/i386-linux-gnu/libGLdispatch.so.0 <<<<
libGLdispatch.so.0 (libc6) => /usr/lib32/nvidia-418/libGLdispatch.so.0
if I haven't had any other issue in the next few reboots, I'll close the issue.
I'm still getting intermittent issues after rebooting:
So my intermittent issues seem related to the installation of new kernel images. From looking at it all of yesterday, my current understanding is that the two following extra steps may be required everytime the kernel gets upgraded (at least for my etckeeper protected machine).
sudo dpkg-reconfigure bbswitch-dkms nvidia-418 # replace with your nvidia-{version}
sudo update-initramfs -k all -u # technically, -k all is optional if you only want to update for the current kernel
I had assumed that these steps are run correctly automatically upon apt upgrade, but since I use etckeeper, apt upgrades may be interrupted when there are modified / untracked files in /etc, probably causing relevant apt hooks not to be invoked as they should. And I want to keep using etckeeper.
So I've added these steps to my troubleshooting checklist, and will close after a few more kernel upgrades have gone smoothly.
Your system information
Please describe your issue in as much detail as possible:
When i start the steam client, it stays stuck loading the store (black window), same for the News pop-up.
Since the regular steam client did not offer much in the way of logging to standard output, I installed the beta client (which exhibits the same problem), and got the output below. This makes no sense to me as I made sure glxinfo, glxspheres (with and without primusrun) is working!
Steps for reproducing this issue:
This is an approximation, as setting up nvidia drivers is always a pain in the ass when using bumblebee.
bumblebee
andnvidia-384
glxinfo
runs fineglxspheres
runs fineprimusrun glxspheres
runs finerm $HOME/.steam
(if if exists)dpkg install -i steam_latest.deb
(sha1sum: cb97d32fd5a995a5d0713eba3d6e9c58f5748cac)steam
in a terminal.