I have a HP Omen laptop with Optimus (Intel + Nvidia).  Bumblebee is installed
and optirun works for glxgears and glxspheres64, however I can not get it to work
for Chrome or Chromium.  Any ideas?

I am running the Nvidia drivers from rpmfusion (the others did not work). 

Note I had to fix the faker libs in /usr/lib64:
   cd /usr/lib64
   ln -s VirtualGL/* .

optirun glxgears works great and uses Nvidia. 

Running "optirun chromium-browser" fails with a lot of errors (many due to a
font bug), and does NOT use the Nvidia GPU.

$ optirun google-chrome
Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/fonts.conf", line 6: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/fonts.conf", line 9: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 6: invalid attribute 'xmlns:its'
...
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'version'
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
[VGL] ERROR: in VirtualWin--
[VGL]    78: Could not clone X display connection
[6331:6331:0602/225635.404238:ERROR:command_buffer_proxy_impl.cc(133)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
[VGL] ERROR: in VirtualWin--
[VGL]    78: Could not clone X display connection
[1:1:0602/225635.561542:ERROR:command_buffer_proxy_impl.cc(133)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
[6331:6331:0602/225635.562191:ERROR:command_buffer_proxy_impl.cc(133)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
[VGL] ERROR: in VirtualWin--
[VGL]    78: Could not clone X display connection
[1:1:0602/225635.680049:ERROR:command_buffer_proxy_impl.cc(133)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
[6331:6331:0602/225635.680157:ERROR:command_buffer_proxy_impl.cc(133)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
[6331:6331:0602/225635.753709:ERROR:gpu_process_transport_factory.cc(1017)] Lost UI shared context.
[1:9:0602/225635.757349:ERROR:command_buffer_proxy_impl.cc(133)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.

The font errors seem to be a font issue separate from bumblebee and Nvidia.  It has
been reported for several other systems as well..  If needed, I can do a bug report.


RPM info:

$ rpm -qa | grep nvidia
akmod-nvidia-390.59-1.fc28.x86_64
xorg-x11-drv-nvidia-kmodsrc-390.59-1.fc28.x86_64
nvidia-modprobe-390.59-1.fc28.x86_64
nvidia-settings-390.59-1.fc28.x86_64
nvidia-driver-libs-390.59-1.fc28.x86_64
nvidia-driver-390.59-1.fc28.x86_64
kmod-nvidia-4.16.12-300.fc28.x86_64-390.59-1.fc28.x86_64
nvidia-libXNVCtrl-390.59-1.fc28.x86_64

$ rpm -qa | grep bumblebee
bumblebee-3.2.1-2.fc28.x86_64
bumblebee-selinux-3.2.1-2.fc28.noarch

Note, I had a hard time getting F28 installed.  I started off by trying workstation,
but ended up using the server version, then loading packages such as Mate.
I had to add "nomodeset" to the kernel line to get it to boot.  Long story and I'll
post it sometime/somewhere.....

Thanks,
--
Wade Hampton