我正在尝试在 wine 下运行游戏。我想确认它是否可以在 下运行linux
。我在 virtualbox 下运行ubuntu quantal
(主机操作系统是Windows 7
)。Guest Additions 已成功安装:
$ lsmod | grep vbox
vboxvideo 12612 1
drm 288972 2 vboxvideo
vboxsf 43770 0
vboxguest 235494 7 vboxsf
以下是内容wine
:
$ 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...
有办法补救吗?
答案1
看起来您在 32 位客户机中安装了 64 位客户机附加组件。您需要安装 32 位版本。
另外,只需在 Win7 主机系统上运行该游戏,而不是在它未为其构建的操作系统上的 Wine 下、在 VM 中、在其为其构建的操作系统之上运行它。