[Nix-dev] bumblebee and 32bit OpenGL on 64bit
Corey O'Connor
coreyoconnor at gmail.com
Thu May 1 19:30:43 CEST 2014
Hello all,
How to get the 64bit version of optirun/bumblebee to locate the 32bit
libraries when required?
I'm unable to run 32bit software (wine) using optirun. The 32bit virtualgl
libraries cannot be loaded:
ERROR: ld.so: object
'/nix/store/z0xqj8ilkpvk1lhy43jn53hslzq7sy48-virtualgl-2.3.2/lib/libdlfaker.so'
from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object
'/nix/store/z0xqj8ilkpvk1lhy43jn53hslzq7sy48-virtualgl-2.3.2/lib/librrfaker.so'
from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
If I use optirun built for i686 but bumblebeed built for 64bit I can get
glxinfo to work as expected. However, I cannot get wine to run as expected.
Wine, even with started with the 32bit optirun seems to switch back to the
system optirun. Or just bypasses optirun entirely.
Installing the 32bit bumblebee system wide results in bumblebeed failing to
initialize the nvidia driver:
May 01 00:07:25 flop bumblebeed[16192]: [XORG] (EE) NVIDIA(0): Failed to
initiate mode change.
May 01 00:07:25 flop bumblebeed[16192]: [XORG] (EE) NVIDIA(0): Failed to
complete mode change
I have tried to enable the 64bit bumblebeed with a 32bit optirun installed
system wide. This, oddly, results in optirun unable to LD_PRELOAD the 32bit
or 64bit libraries.
According to the Arch documentation the 64bit optirun/bumblebeed should
also work for 32bit software so long as both 32/64 libraries are installed.
I'm not sure how this is done.
Anybody have experience with this?
-Corey O'Connor
coreyoconnor at gmail.com
http://corebotllc.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140501/3015fe03/attachment.html
More information about the nix-dev
mailing list