libGL errors
Opened this issue ยท 2 comments
probonopd commented
Thanks for this very useful piece of software ๐
Running e.g., linux-chrome
on FreeBSD 12.2 with a Nvidia GPU takes up to 100% CPU usage.
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
2611 user 9 40 10 41G 133M futex 0 0:52 105.42% CompositorTileW
Some other applications (e.g., the Olive 2 AppImage) fail to run entirely with the message
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
On the command line, Chrome floods the terminal with
[ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[ERROR:gpu_channel_manager.cc(746)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[ERROR:shared_image_stub.cc(460)] SharedImageStub: unable to create context
repeated all the time.
I suspect something is wrong resulting in libGL being software rendered rather than hardware rendered. Can this be fixed?
mrclksr commented
Try to install the Nvidia Gl libraries under the chroot (replace VERSION
(390, 418, 430, 435, 440) accordingly):
# chroot /compat/ubuntu /bin/bash -c "apt install -y libnvidia-gl-VERSION"
Unfortunately, I can't test it myself.
probonopd commented
Thanks. With VERSION=440, installation succeeded but the result did not change.
100% CPU consumption while Chrome is open.