你好,游客 登录 注册 搜索
背景:
阅读新闻

Ubuntu配置3D桌面

[日期:2007-12-18] 来源:Linux公社  作者:Linux [字体:大 中 小]

则可以继续
安装开源驱动
输入命令
sudo apt-get remove xorg-driver-fglrx; sudo apt-get install libgl1-mesa-glx libgl1-mesa-dri

备份配置文件
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
sudo gedit /etc/X11/xorg.conf

把
Section "Device"
Identifier "ATI Technologies Inc Radeon ***"
Driver "ati"
BusID "PCI:1:0:0"
EndSection
替换成
Section "Device"
Identifier "ATI Technologies Inc Radeon ***" (这里保持原来标示)
Driver "radeon"
BusID "PCI:1:0:0"
Option "XAANoOffscreenPixmaps"
Option "AGPMode" "4"
Option "AGPFastWrite" "true"
Option "DisableGLXRootClipping" "true"
Option "AddARGBGLXVisuals" "true"
Option "AllowGLXWithComposite" "true"
Option "EnablePageFlip" "true"
EndSection

然后把
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
替换成
Section "ServerLayout"
Option "AIGLX" "true"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection

然后如果没有以下两段的话则在文件最后加上
Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

然后保存文件
重启系统或者Ctrl-Alt-Backspace 重启图形服务器

重启后打开 terminal
输入
glxinfo | grep vendor
应该得到
server glx vendor string: SGI
client glx vendor string: SGI
OpenGL vendor string: Tungsten Graphics, Inc.

然后运行
glxinfo | grep "direct rendering"
应该得到
direct rendering: Yes

4 安装 Beryl

首先备份源列表
cp /etc/apt/sources.list /etc/apt/sources.list.bak

然后运行
sudo echo "deb http://Ubuntu.beryl-project.org feisty main" >> /etc/apt/sources.list
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -
sudo apt-get update

然后编辑/etc/X11/xorg.conf
sudo gedit /etc/X11/xorg.conf

在文件中找 Section "Module" 段 确保里面含有
Load "dri"
Load "dbe"
Load "glx"

我的修改后如下
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
Load "dbe"
EndSection

保存后重启系统或者Ctrl-Alt-Backspace 重启图形服务器

重启后打开terminal 安装 beryl 和 emerald 主题
sudo apt-get install beryl beryl-manager emerald-themes

安装完之后运行
beryl-manager
或者
在应用程序->附件->beryl-manager
这个时候你就可以享受3D桌面特效

linux
相关资讯       Ubuntu 3D 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款