如何在 playonlinux 上玩暗黑破坏神 3?没有 OpenGL 则无法使用 Direct3D9

如何在 playonlinux 上玩暗黑破坏神 3?没有 OpenGL 则无法使用 Direct3D9

我最近在 playonlinux (PoL) 上安装暗黑破坏神 3 时遇到了一个大问题。游戏启动菜单启动了,但是当我点击播放按钮时,窗口立即关闭,后台只剩下暗黑破坏神 iii.exe 进程在运行。

在此过程中playonlinux的调试控制台显示:

如果没有 OpenGL,则无法使用 Direct3D9。

我怀疑 32 位 nvidia openGL lib 未安装或加载。我的第一个问题是,如何安装 nvidia-glx 包而不出现以下错误?

   Reading package lists... Done
   Building dependency tree       
   Reading state information... Done
   Package nvidia-glx is not available, but is referred to by another package.
   This may mean that the package is missing, has been obsoleted, or
   is only available from another source

   E: Package 'nvidia-glx' has no installation candidate

目前,我正在运行 Ubuntu 12.04 LTS (precise),使用 quadro 2000m,安装了最新的 Nvidia 驱动程序 310.19 (thinkpad w520)。我很确定我在恢复模式下的驱动程序安装过程中安装了 opengl 32bit 库,但不知何故这仍然不起作用。

以下是 nvidia-xconfig 生成的 xorg.conf 文件。这个配置正确吗?还是我需要修改它才能加载 glx 模块?

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 310.19  (buildmeister@swio-display-x86-rhel47-             08.nvidia.com)  Thu Nov  8 02:09:12 PST 2012


Section "ServerLayout"
Identifier     "Layout0"
Screen      0  "Screen0" 0 0
InputDevice    "Keyboard0" "CoreKeyboard"
InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

# generated from default
Identifier     "Mouse0"
Driver         "mouse"
Option         "Protocol" "auto"
Option         "Device" "/dev/psaux"
Option         "Emulate3Buttons" "no"
Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier     "Keyboard0"
Driver         "kbd"
EndSection

Section "Monitor"
Identifier     "Monitor0"
VendorName     "Unknown"
ModelName      "Unknown"
HorizSync       28.0 - 33.0
VertRefresh     43.0 - 72.0
Option         "DPMS"
EndSection

Section "Device"
Identifier     "Device0"
Driver         "nvidia"
VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier     "Screen0"
Device         "Device0"
Monitor        "Monitor0"
DefaultDepth    24
SubSection     "Display"
Depth       24
EndSubSection
EndSection

非常感谢任何能解决该问题的建议和帮助。

相关内容