[翻译][教学]beryl在edgy和nvidia系统中的安装

各种窗口管理器和美化相关
gmlbh
帖子: 406
注册时间: 2006-03-21 10:47

[翻译][教学]beryl在edgy和nvidia系统中的安装

#1

帖子 gmlbh » 2006-11-04 16:55

beryl在edgy和nvidia系统中的安装
nvidia最新的beta驱动已经可以在Xorg7.1的系统中直接实现beryl的3D桌面了,不再需要安装xgl和aiglx了,而且由于没有启动xgl或aiglx服务,还可以在3D桌面中实现Direct Rendering硬件加速,这样的功能在xgl中暂时是无法实现的(现在的xgl是软件加速的)。但是会带来一定的性能下降,在我的系统中(1700+,gf3ti,glxgeats大概从2800降到2300左右,以前在xgl中看电影是画音不同步的,现在放电影非常流畅了。)
(PS:我的系统是:xubuntu 6.10,用beryl官方的版本启动不了beryl0.1.1,要用svn的版本才行,但是原来用beryl0.1.0是可以的。论坛里面有svn版的源,
deb http://3v1n0.tuxfamily.org edgy beryl-svn
deb-src http://3v1n0.tuxfamily.org edgy beryl-svn )
安装nvidia beta 驱动
你可以选择以下两种方法中的任意一种来安装nvidia beta驱动。(我用的是第二种方法)

方法一:从软件仓库里安装
把下面的源添加到你的 /etc/apt/sources.list文件中
deb http://amaranth.selfip.com edgy lrm (nvidia beta 驱动的源)
#deb http://ubuntu.lupine.me.uk/ edgy lrm-amd64 (for amd64)
deb http://dev.realistanew.com/beryl edgy beryl (下面两个是beryl的源)
deb http://beryl-mirror.lupine.me.uk/beryl edgy beryl
安装nvidia beta 驱动:

代码: 全选

sudo apt-get update
sudo apt-get install nvidia-glx
配置xorg来启用新的nvidia驱动
编辑 /etc/X11/xorg.conf文件修改成以下样式:
Section "Device"
Identifier ...
Driver "nvidia"
BusID ...
EndSection
按Ctrl + Alt + BackSpace来重启X server
方法二:用nvidia官方的驱动包来安装
(如果之前已经从源里面安装过nvidia-glx驱动的话,首先要彻底卸载nvidia-glx驱动(用 –purge),检查/etc/init.d/nvidia-glx已经不存在了,还有linux-restricted-modules包已经卸载了。用以下命令卸载:

代码: 全选

sudo apt-get --purge remove nvidia-glx nvidia-settings nvidia-kernel-common 
sudo rm /etc/init.d/nvidia-*

首先安装内核头文件:

代码: 全选

sudo apt-get install linux-headers-$(uname -r) libc6-dev
安装编译环境:

代码: 全选

sudo apt-get install build-essential pkg-config xserver-xorg-dev
安装官方驱动必须要回到命令行下,按ctrl+alt+F1,然后登录,再输入:

代码: 全选

sudo /etc/init.d/gdm stop 
sudo sh /(文件路径)/NVIDIA-Linux-x86-1.0-9625-pkg1.run
注意:安装过程中会有提示,如果你不知道是什么意思的话就都选”yes”就行了。
安装完成之后,重新启动GDM

代码: 全选

sudo /etc/init.d/gdm start
注意:如果你选择第二种方法的话,每次系统更新内核之后,你都要重新安装驱动,就是以上三行命令。
你可以用以下命令来检查direct rendering是否已经可用:

代码: 全选

glxinfo | grep direct
如果显示:
direct rendering: Yes
则表明驱动安装成功了,否则就要重新配置xorg.conf,可以直接修改xorg.conf文件(参照第一种方法)或者运行下面指令:

代码: 全选

sudo nvidia-xconfig
安装beryl
添加beryl的源
把下面的源添加到你的 /etc/apt/sources.list文件中
deb http://www.beerorkid.com/compiz/ edgy main-edgy
deb http://xgl.compiz.info/ edgy main-edgy
注意:如果你用的是amd64,加下面的源:
deb http://www.beerorkid.com/compiz/ edgy main-edgy main-edgy-amd64
deb http://xgl.compiz.info/ edgy main-edgy main-edgy-amd64
升级系统:

代码: 全选

sudo apt-get update
               sudo apt-get dist-upgrade
安装beryl:

代码: 全选

sudo apt-get install beryl emerald emerald-themes
到现在为止,nvidia驱动和beryl已经安装完成了,但是beryl还不能用,必须要修改xorg.conf文件来启用nvidia新驱动的新特性才行。
打开nvidia新驱动中专门为实现3D桌面硬件加速而添加的新特性
修改/etc/X11/xorg.conf,修改Device段为
Section "Device"
[...your configuration...]
Option "AddARGBGLXVisuals" "True"
Option "TripleBuffer" "true"
EndSection
再在最后添加:
Section "Extensions"
Option "Composite" "Enable"
EndSection
好了,现在注销或者重启以下你的电脑。
进入系统后,在终端下面运行:
beryl-manager
就可以看到红宝石了。
你也可以把beryl-manager添加到自启动项里面去,但是这种方法不推荐,如果启动错误的话,你就进不了桌面的了,要回到命令行模式下把自启动项去掉才能进入桌面了的。
题外话:如果你装的是nvidia官方的驱动,在启动beryl的时候死机,可以回到命令行下重新安装nvidia的驱动,一般这样就可以解决启动beryl死机的问题了的。(我每次都是这样)

本文是以http://wiki.beryl-project.org/index.php/Install/Ubuntu/Edgy/nVIDIA文为蓝本翻译出来的,里面也添加了自己在安装和使用中的一些见解。如有错误,欢迎指正。
xzymail
帖子: 513
注册时间: 2006-06-29 11:36

#2

帖子 xzymail » 2006-11-06 0:38

请问下,我的主板是c51的,请问能不能也安装bate驱动呢?据说装了bate驱动性能会好一点,因为我现在也是放视频有时候会卡,还有,是要按第一种的方法安装驱动还是第二种好,我是NV集成的6100!!!
xzymail
帖子: 513
注册时间: 2006-06-29 11:36

#3

帖子 xzymail » 2006-11-07 1:01

lz, 我按照你的方法安装了,是用了第二种方法安装了驱动,不过无的beryl启动后那个标题栏不见了,

修改/etc/X11/xorg.conf,修改Device段为
Section "Device"
[...your configuration...]
Option "AddARGBGLXVisuals" "True"
Option "TripleBuffer" "true"
EndSection
再在最后添加:
Section "Extensions"
Option "Composite" "Enable"
EndSection
以上的一步我没有照着做咯,是不是这里的问题啊??因为实在看不出来要改哪里,请楼主说详细一点,谢谢
xzymail
帖子: 513
注册时间: 2006-06-29 11:36

#4

帖子 xzymail » 2006-11-07 11:50

这个是我的配置文件,

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Thu Sep 14 15:50:24 PDT 2006

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "Files"

# path to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"

# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"

# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"

# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Monitor"
Identifier "PH107E/S/T7"
Option "DPMS"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "PH107E/S/T7"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection
xzymail
帖子: 513
注册时间: 2006-06-29 11:36

#5

帖子 xzymail » 2006-11-07 13:02

然后启动beryl是这样子的,是不是出错了?

yang@ubuntu-yang:~$ beryl-manager
yang@ubuntu-yang:~$ XGL Absent, checking for NVIDIA
Nvidia Present
Relaunching beryl with __GL_YIELD="NOTHING"
XGL Absent, checking for NVIDIA
Nvidia Present
beryl: No GLXFBConfig for depth 32
beryl: No GLXFBConfig for depth 32
beryl: No GLXFBConfig for depth 32
Initiating splash
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2e001f0 to texture
beryl: No GLXFBConfig for depth 32
xzymail
帖子: 513
注册时间: 2006-06-29 11:36

#6

帖子 xzymail » 2006-11-07 13:04

运行了终端也出错,窗口全是白色的
gmlbh
帖子: 406
注册时间: 2006-03-21 10:47

#7

帖子 gmlbh » 2006-11-07 17:20

怎么你的显卡好像认不出来的??是什么卡啊??
“Option "AddARGBGLXVisuals" "True"”这个选项一定要有,这个是开启驱动新功能必须要添加的选项。
至于“triple buffer“可用可不用。
还有
Section "Extensions"
Option "Composite" "Enable"
EndSection
这一段视乎你的显卡显卡支持的情况添加,如果想我的显卡:gf3ti,默认就支持了的,就可以不用添加,如果默认不支持的话就要强制打开。
xzymail
帖子: 513
注册时间: 2006-06-29 11:36

#8

帖子 xzymail » 2006-11-07 19:45

可是不可能啊,我的刷新正常啊,是不是BETA驱动不可以用啊????
哦,我的是C51的主板,是集成了NV6100的显卡咯,请帮我看看,谢谢
gmlbh
帖子: 406
注册时间: 2006-03-21 10:47

#9

帖子 gmlbh » 2006-11-07 21:23

xzymail 写了:可是不可能啊,我的刷新正常啊,是不是BETA驱动不可以用啊????
哦,我的是C51的主板,是集成了NV6100的显卡咯,请帮我看看,谢谢
这是什么意思??这个驱动连7900都支持了,你的显卡肯定是支持了的。至于为什么你的显卡怎么会显示为“Generic Video Card”这个就不知道了。还有,在登陆之前,你有没有看到nvidia的logo啊??
没运行beryl之前,在终端运行:glxinfo 看看direct rendering是不是yes。我说的xorg.conf里面那几个改动的地方有没有都改了啊??等一下我把我的配置文件贴出来让你看看。
gmlbh
帖子: 406
注册时间: 2006-03-21 10:47

#10

帖子 gmlbh » 2006-11-07 21:57

Section "Device"
Identifier "NVIDIA Corporation NV20DCC [Quadro DCC]"
Driver "nvidia"
BusID "PCI:2:0:0"
Option "RenderAccel" "true"
Option "TripleBuffer" "True"
Option "AllowGLXWithComposite" "true"
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
EndSection

这是我的配置,其中identifier和BusID是根据显卡的不同而不同的。
xzymail
帖子: 513
注册时间: 2006-06-29 11:36

#11

帖子 xzymail » 2006-11-08 0:53

那就怪了,我的不是呀,还有,我用你的方法刚才安装了驱动后,重新按别的贴子安装了beryl,可以了,可是刚才beryl更新后,一启动beryl,就死了


有的,我的那个是yes,还有,有NVIDIA的LOGO,驱动是安装好的了,还有,用你的方法,beryl是可以安装的,也可以启动,就是启动后,标题栏和边框都不见了
xzymail
帖子: 513
注册时间: 2006-06-29 11:36

#12

帖子 xzymail » 2006-11-08 13:18

我不明白为什么我的
Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
是这个样子,可是,驱动是正常的了啊,那个direct rendering也是显示yes的,也有nvidia的logo

[/img]
xzymail
帖子: 513
注册时间: 2006-06-29 11:36

#13

帖子 xzymail » 2006-11-08 13:18

file:///home/yang/Desktop/Screenshot.png
gmlbh
帖子: 406
注册时间: 2006-03-21 10:47

#14

帖子 gmlbh » 2006-11-08 22:57

边框没有的话我一般是重新编译驱动,问题一般就会解决了的。
xzymail
帖子: 513
注册时间: 2006-06-29 11:36

#15

帖子 xzymail » 2006-11-09 0:27

gmlbh兄,谢谢你贴出来的配置文件,可以了,我在里边加上了

Option "RenderAccel" "true"
Option "TripleBuffer" "True"
Option "AllowGLXWithComposite" "true"
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
就正常了,呵,
还有,这样子启动beryl标题栏 也不会闪的说,

不过有时候会死掉,死机,我是说有时候!!
的确,我今天驱动是更新到了9629的正式版了,在视频全视时是不会卡的,以前按wiki里的安装是会的,感觉上3D加速更好了,希望beryl能做得更好!!

在此特别要谢谢gmlbh兄!!
回复