自 2012 年首次安装以来,我的 Unity 一直都很好。我一直使用 Unity 3D 会话,从不使用 2D 会话。但现在,我只有 Unity 2D 会话。我不想要 2D 会话,我想恢复我的 3D 会话。我不知道为什么,现在我得到了Unity 3D supported: no
信息,而以前我总是可以使用 3D 会话。
命令结果/usr/lib/nux/unity_support_test -p
:
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 0x300)
OpenGL version string: 2.1 Mesa 8.0.2
Not software rendered: no
Not blacklisted: yes
GLX fbconfig: yes
GLX texture from pixmap: yes
GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: yes
GL framebuffer object: yes
GL version is 1.4+: yes
Unity 3D supported: no
命令结果dpkg -l | grep xorg-video
:
ii xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2 X.Org X server -- AMD/ATI display driver wrapper
ii xserver-xorg-video-cirrus 1:1.3.2-4build1 X.Org X server -- Cirrus display driver
ii xserver-xorg-video-fbdev 1:0.4.2-4ubuntu2 X.Org X server -- fbdev display driver
ii xserver-xorg-video-geode 2.11.13-2build1 X.Org X server -- Geode GX2/LX display driver
ii xserver-xorg-video-intel 2:2.17.0-1ubuntu4.4 X.Org X server -- Intel i8xx, i9xx display driver
ii xserver-xorg-video-mach64 6.9.0-1build2 X.Org X server -- ATI Mach64 display driver
ii xserver-xorg-video-mga 1:1.4.13.dfsg-4build2 X.Org X server -- MGA display driver
ii xserver-xorg-video-neomagic 1:1.2.5-2build2 X.Org X server -- Neomagic display driver
ii xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2 X.Org X server -- Nouveau display driver
ii xserver-xorg-video-openchrome 1:0.2.904+svn1050-1 X.Org X server -- VIA display driver
ii xserver-xorg-video-qxl 0.0.16-2 X.Org X server -- QXL display driver
ii xserver-xorg-video-r128 6.8.1-5build2 X.Org X server -- ATI r128 display driver
ii xserver-xorg-video-radeon 1:6.14.99~git20111219.aacbd629-0ubuntu2 X.Org X server -- AMD/ATI Radeon display driver
ii xserver-xorg-video-s3 1:0.6.3-4build2 X.Org X server -- legacy S3 display driver
ii xserver-xorg-video-savage 1:2.3.3-1ubuntu1 X.Org X server -- Savage display driver
ii xserver-xorg-video-siliconmotion 1:1.7.5-1build2 X.Org X server -- SiliconMotion display driver
ii xserver-xorg-video-sis 1:0.10.3-3build2 X.Org X server -- SiS display driver
ii xserver-xorg-video-sisusb 1:0.9.4-2build2 X.Org X server -- SiS USB display driver
ii xserver-xorg-video-tdfx 1:1.4.3-4build2 X.Org X server -- tdfx display driver
ii xserver-xorg-video-trident 1:1.3.4-2build2 X.Org X server -- Trident display driver
ii xserver-xorg-video-vesa 1:2.3.0-7build2 X.Org X server -- VESA display driver
命令结果lshw -c video
:
*-display
description: VGA compatible controller
product: 2nd Generation Core Processor Family Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:50 memory:dd000000-dd3fffff memory:c0000000-cfffffff ioport:e000(size=64)
问题
- 我的问题到底是什么?为什么以前我可以使用 3D,现在却不能?
- 如何恢复我的 Ubuntu 3D 会话?
答案1
问题
实际问题是 Ubuntu 切换到使用错误的驱动程序。在这种情况下,NVIDIA Noveau llvmpipe
。
解决方案
切换 Ubuntu 以使用正确的驱动程序。在这种情况下,Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2
。
演练
http://ubuntuforums.org/showthread.php?t=2234888
结论
这个问题已经解决。