Beryl + Gnome2 + Xgl On Freebsd 6.2

昨天氣喘在家….下午好一點後,邊coding,邊試著灌Beryl
比想像中的簡單多了。我是用package 裝的~~求快
想說沒裝過~~用package 裝,裝壞了~~殺了再裝比較快
基本上還滿簡單的

先更新ports
再設好PACKAGEROOT

#setenv PACKAGEROOT ftp://ftp.tw.freebsd.org
#pkg_add -r xorg

然後再灌 nvidia 的driver

#pkg_add -r nvidia-driver


再裝beryl

#pkg_add -r beryl

最後我是用Gnome,所以就再裝Gnome

#pkg_add -r gnome2

接下來就是配置的部份了

#/usr/X11R6/bin/X -configure //這個路徑改了,在xorg7.2後 /usr/X11R6 會link 到/usr/local下
#/usr/X11R6/bin/X -config /root/xorg.conf.new
#cp /root/xorg.conf.new /etc/X11/xorg.conf

裝nvidia-driver
#cd /usr/ports/x11/nvidia-driver
#make install
裝好後記得看一下他的說明
好像要加
nvidia_load=”YES”
有的沒的
我不確定裝好nvidia-driver好後是不是就有 nvidia-xconfig
要是沒有的話就裝一下吧
pkg_add -r nvidia-xconfig
裝好後就
#nvidia-xconfig
就會把xorg.conf配好….
所以下面這段應該也不用了

配置xorg.conf

Section "Screen"
Option "AllowGLXWithComposite" "True"
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection


编辑 ~/.xinitrc

#start beryl
beryl --force-nvidia --use-cow &
emerald --replace &
/usr/local/bin/gnome-session
#end

編輯 /etc/rc.conf

linux_enable="YES"
compat5_enable="YES"
polkitd_enable="YES"
dbus_enable="YES"
gdm_enable="YES"

最後啟動吧

#startx

大功告成~~

我的測試配備是p4 1.4 + 512M + FX5600 128M (只有4x agp)
基本上3D的部份都還ok,不過我覺得開firefox 呀幹麻的都很慢~電腦規格太慢了……

References
Setting up nVidia graphics cards in FreeBSD
FreeBSD & Beryl +Nvidia
[3D桌面]我的beryl历程
新手有问题要问..关于startX

::-p:

About johnpupu

..........
This entry was posted in FreeBSD and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word