聽說 Ubuntu 11.04 採用的新桌面系統 Unity 很不一樣 https://wiki.ubuntu.com/Unity ,但很可惜我安裝完 Ubuntu 11.04 要登入系統,卻只得到 Ubuntu 認為我的系統所支援得硬體是無法跑 Unity 其訊息如下:
it seems that you do not have the hardware required to run unity.Please choose Ubuntu Classic at the login screen and you will be using the traditional enviroment.
上了 Ubuntu 的 Unity 官方 https://wiki.ubuntu.com/DemystifyingUnityGraphicsHardwareRequirements 硬體需求提到
OpenGL Version required by Unity
Unity requires OpenGL 1.4 of higher. Because of the decoupling between Opengl versions and the first implementation of new extensions by hardware vendors, just having OpenGL 1.4 is not enough. The system must also have support for a number of OpenGL extensions.
OpenGL Extensions required
- Framebuffer Object
- Rectangle Textures
- Non power of 2 textures
- Vertex programs
- Fragment programs
- buffer objects
- GLSL shader support (Optional)
Other requirements
- Minimum 128MB of video memory
- Minimum texture width/height 2048
- Enough registers for vertex and fragment shaders programs
我大概知道問題在哪裡了,我的 Server 所採用的 Video memory 大概也只有幾十 M ,以目前看來是不能使用 Ubuntu 11.04 採用的新桌面系統 Unity 了!
透過指令 “/usr/lib/nux/unity_support_test -p” 也可以知道,你的系統是不是可以跑 Unity.
root@benjr:~# /usr/lib/nux/unity_support_test -p OpenGL vendor string: VMware, Inc. OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits) OpenGL version string: 2.1 Mesa 10.1.0 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