Ubuntu 6.10 กับ XGL

ช่วงนี้ว่างๆ(หลังจากปั่นงานติดต่อกันหลายวัน) เลยนั่งทำ Linux ที่บ้านทั้งวันเลย แล้วก็ได้ลองเล่น XGL จนได้ (หลายคนอาจเล่นไปก่อนหน้านั้นแล้ว) ตอนแรกก็ลำบากพอดูเลย กว่าจะติดตั้งได้ เพราะว่าทำตามในเว็บ ubuntuclub.com แล้วปรากฏว่ามีปัญหา เลยต้องไปหาต่อในเว็บต่างประเทศ เอาเป็นว่ามาดูขั้นตอนการทำดีกว่าแหล่งข้อมูลจาก : http://ubuntuguide.org/wiki/Ubuntu_Edgy#How_to_install_Beryl.2FAIGLX_.28Nvidia.29เริ่มแรกเลยตรวจสอบกันก่อนว่า package ต่างๆ ของ ubuntu อัพเดทล่าสุดแล้ว

Install your *ubuntu-desktop metapackage specific to your DE, e.g. sudo apt-get install ubuntu-desktopsudo apt-get updatesudo apt-get upgradesudo apt-get dist-upgrade

จากนั้นก็เพิ่ม Repository

gksudo gedit /etc/apt/sources.list

เพิ่มโค้ดด้านล่างไปที่ท้ายไฟล์

deb http://dev.realistanew.com/beryl edgy beryldeb http://beryl-mirror.lupine.me.uk/beryl edgy beryl

(ถ้าเครื่องเป็น 64 bit ใช้ repository นี้แทน)

deb http://ubuntu.lupine.me.uk/ edgy main-amd64

เซฟไฟล์ที่แก้ไขแล้วอัพเดท package อีกครั้ง

sudo apt-get update

ติดตั้ง Beryl

sudo apt-get install beryl-core beryl-plugins beryl-plugins-data emerald beryl-settings beryl-manager beryl beryl-dev emerald-themes

แบ๊คอัพ xorg.conf

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backupgksudo gedit /etc/X11/xorg.conf

เพิ่มโค้ดด้านล่างไปยังส่วน Section ในไฟล์ xorg.conf

# Enable 32-bit ARGB GLX Visuals    Option "AddARGBGLXVisuals" "True"# If you are using an older version of compiz that# does not support rendering into the Composite# Overlay Window, you will need to disable clipping# of GLX rendering to the X Root window with this# option, or you will get a blank screen after# starting compiz:    Option "DisableGLXRootClipping" "True"

เพิ่มโค้ดด้านล่างไปยังส่วน Device ในไฟล์ xorg.conf (เฉพาะการ์ดจอ nvidia บางรุ่น)

Option          "TripleBuffer" "true"

Restart X โดยการกด Ctrl+Atl+BackspaceStart Beryl

beryl-start

หรือ

beryl-manager

สำหรับคนที่ทำครบแล้วแต่ค้างลองเพิ่มโค้ดนี้ไป ในไฟล์ /etc/gdm/gdm.conf-custom

[servers]# Override display 1 to use Xgl0=Xgl [server-Xgl] name=Xgl server command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo flexible=true

ที่บอกมาทั้งหมดนี่สำหรับคนใช้การ์ดขอ Nvidia นะครับ คนใช้การ์ดจอ Ati ลองดูตามเว็บที่บอกในแหล่งที่มาดูป.ล. สำหรับภาพหน้าจอ ไว้จะก๊อปมาให้ดูทีหลังนะคร๊าบ ตอนนี้ขอเล่นเยอะๆ ก่อน ^ ^

About llun

Just a programmer

,

  • ROMANs

    ว้าว อธิบายละเอียดดีจริงๆคับ ผมขอ อนุญาติเซฟข้อมูลน่ะคับ  …. เคยเล่น เกมส์ สามก๊กกลยุทธ์ ของไทย ป่าวคับ ? สามก๊กไทยนี้ ก๊อป Bang มาชัดๆ แต่ก็สนุกดี ภาษาไทย อ่านง่าย เข้าใจง่าย … ผมเบียร์น่ะคับ  ice_football@hotmIl.com