Ask Your Question

32bit Wine killed by optirun

asked 2015-06-15 10:53:42 -0500

bthomas gravatar image

updated 2015-06-15 11:09:42 -0500

I installed NVidia/Bumblebee via the standard method.

$ optirun glxgears | grep GL_VENDOR
GL_VENDOR     = NVIDIA Corporation

Awesome. Now time to try this on wine. My setup can be described as follows:

 $ sudo dnf install wine
 $ sudo dnf install VirtualGL.i686
 $ WINEPREFIX="/home/bthomas/.local/share/wineprefixes/win32_test" WINEARCH="win32" wine "wineboot"
 $ WINEPREFIX="/home/bthomas/.local/share/wineprefixes/civv" optirun wine 'cmd'

The problem is cmd silently exits. It works without optirun. Anyone else run into this kind of problem? Any ideas?

EDIT: This is a segfault (running shell with optirun gives a bit more info).

EDIT2: It seems this problem likely has something to do with VirtualGL.i686, since primus.i686 is still able to run it.

edit retag flag offensive close merge delete


Hmm, I think i might have isolated it further. I don't believe that the (correct) opengl drivers are being loaded by wine when either primusrun or optirun execute cmd. Primusrun gives the illusion of working until the drivers are used (I think this is because it implements something like lazy evaluation in it's optimisations).

bthomas gravatar imagebthomas ( 2015-06-15 20:12:20 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-06-16 15:10:05 -0500

bthomas gravatar image

Ok I think I've got an idea. Create a 32bit arch linux chroot, connect it to the host's X server and bumblebee deamon. Think that'd work?

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-06-15 10:53:42 -0500

Seen: 293 times

Last updated: Jun 15 '15