I'm trying to run a game under wine. I want to confirm if it works under linux
. I'm running ubuntu quantal
under virtualbox (the host OS is Windows 7
). The Guest Additions are successfully installed:
$ lsmod | grep vbox
vboxvideo 12612 1
drm 288972 2 vboxvideo
vboxsf 43770 0
vboxguest 235494 7 vboxsf
Here's what wine
says:
$ LIBGL_DEBUG=verbose wine nhc.exe
libGL: screen 0 does not appear to be DRI2 capable
libGL: XF86DRIGetClientDriverName: 1.0.0 vboxvideo (screen 0)
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/vboxvideo_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/vboxvideo_dri.so
libGL error: dlopen /usr/lib/i386-linux-gnu/dri/vboxvideo_dri.so failed (/usr/lib/i386-linux-gnu/dri/vboxvideo_dri.so: wrong ELF class: ELFCLASS64)
libGL: OpenDriver: trying ${ORIGIN}/dri/tls/vboxvideo_dri.so
libGL: OpenDriver: trying ${ORIGIN}/dri/vboxvideo_dri.so
libGL error: dlopen ${ORIGIN}/dri/vboxvideo_dri.so failed (${ORIGIN}/dri/vboxvideo_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib/dri/tls/vboxvideo_dri.so
libGL: OpenDriver: trying /usr/lib/dri/vboxvideo_dri.so
libGL error: dlopen /usr/lib/dri/vboxvideo_dri.so failed (/usr/lib/dri/vboxvideo_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: vboxvideo_dri.so
libGL error: failed to load driver: vboxvideo
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/yuri/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/yuri/.drirc: No such file or directory.
fixme:d3d_caps:wined3d_guess_card No card selector available for GL vendor 0x4 and card vendor 0000 (using GL_RENDERER "Gallium 0.4 on llvmpipe (LLVM 0x301)").
wine: Unhandled page fault on read access to 0xffffffff at address 0x75948050 (thread 0009), starting debugger...
Is there a way to remedy it?
It looks like you've installed 64 bit guest additions in a 32 bit guest. You need to install the 32 bit version instead.
Also, just run the game on the Win7 host system instead of running it under wine on an OS it wasn't built for, in a VM, on top of the OS it was built for.