Page 1 of 1

How to run 32-bit aplications under 64-bit guest?

Posted: 28. Aug 2013, 03:45
by x-yuri
I'm having a hard time trying to run a game under ubuntu guest. Here's what it says:

Code: Select all

$ 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...
I installed Guest Additions with VBoxLinuxAdditions.run. And it seems strange, that vboxvideo_dri.so is in i386-linux-gnu and not in x86_64-linux-gnu (as is the case if installed from the package).

Re: How to run 32-bit aplications under 64-bit guest?

Posted: 28. Aug 2013, 06:06
by stefan.becker
Running VirtualBox, in VBOX a Linux, starting a Windows Game with WINE?

Crappy, more crappy is not possible.

WINE does not run all games native, so dont expect, its better working in a VM.

Start games with Windows or install Ubuntu native. There are no other solutions.

Re: How to run 32-bit aplications under 64-bit guest?

Posted: 28. Aug 2013, 14:34
by x-yuri
To be clear, I'm running Windows 7 host and 64-bit Ubuntu guest. In Ubuntu guest I'm trying to run 32-bit windows game with wine. I surely don't expect it to run better. I just wanted to confirm that this game works under Linux or rather which exactly steps are needed to run it, so that I could explain it to another person.

So, if there is a way to make it work, I'd like to know it. If there isn't, I'd appreciate if somebody could explain to me what's happening there. Also, why does VBoxLinuxAdditions.run install something into /usr/lib/i386-linux-gnu anyway on a 64-bit machine, as is not the case with the ubuntu official package? (ubuntu guy said it's not supposed to be there)