Code: Select all
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
01:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX150] (rev a1)Code: Select all
Running optirun -b virtualgl /home/user/.local/share/Steam/steamapps/common/Proton 4.11/dist/bin/wine /home/user/Games/wine-prefix-nba2k13/drive_c/Program Files (x86)/2K Sports/NBA 2K13/nba2k13.exe
xauth: (argv):1: unable to read any entries from file "/var/lib/VirtualGL/vgl_xauth_key"
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.Code: Select all
PID USER GPU TYPE GPU MEM CPU HOST MEM Command
12017 root 0 Graphic 5MiB 0% 0% 44MiB Xorg :8 -config /etc/bumblebee/xorg.conf
29023 user 0 Graphic 2MiB 0% 0% 126MiB ./steamwebhelper -lang=en_US -cachedir=/
I have tried to figure out, most of people get this solved by running
Code: Select all
LD_PRELOAD=/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libstdc++.so.6 [(optirun -b virtualgl) or (primusrun)] /path/to/some/game
Code: Select all
xauth: (argv):1: unable to read any entries from file "/var/lib/VirtualGL/vgl_xauth_key"
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Edit:
I forgot to add this: when I run optirun glxgears, this uses perfectly the GPU, which I can see in nvtop, but I don't know why running games this down't work.

