Unity、Compiz、GNOME Shell和KWin對性能的影響評測 [論壇 - Ubuntu 與 KDE]


正在瀏覽:   1 名遊客


 到底部   前一個主題   下一個主題  [無發表權] 請登錄或者註冊

« 1 (2)


訪客
回覆: Unity、Compiz、GNOME Shell和KWin對性能的影響評測
Anon:訪客
KWin和Compiz非常相似,都是直接使用C++和OpenGL。Gnome3 則相當不同,他使用一個抽象庫,不直接映射OpenGL。由於Compiz和KWin結構非常相似,因此他可以們分享想法,以及程式碼。例如說他們使用相同的perspective projection matrix。如果要與Gnome3分享,則幾乎是不可能的。

另一方面,KWin內部的scene graph是專門為了OpenGL compositor的需要打造。Gnome3使用的抽象庫是一種通用的scene graph,不僅僅為了compositor開發。 當然,你會說抽象庫的開發者只要轉注在OpenGL,不需要維護一個window manager。但compositor是非常不同於其他應用程式。compositor最重要的部分是來自pixmap operation的texture,但非compositor 程式這幾乎不需要。compositor幾乎不需要先進的OpenGL功能。例如KWin中不使用z-buffer或stencil buffers。

2011/6/10 18:39 | acae9 6912f 5e560 155bd
應用擴展 工具箱
回覆: Unity、Compiz、GNOME Shell和KWin對性能的影響評測
會員五級
註冊日期:
2010/12/6 21:35
來自 K隆星上唯一的老鼠洞
所屬群組:
已註冊使用者
等級: 21
HP : 0 / 520
MP : 187 / 19455
EXP: 80
離線
嗯,
所以大家看好Gnome3嗎?

2011/6/10 22:44
應用擴展 工具箱
回覆: Unity、Compiz、GNOME Shell和KWin對性能的影響評測
會員五級
註冊日期:
2010/12/6 21:35
來自 K隆星上唯一的老鼠洞
所屬群組:
已註冊使用者
等級: 21
HP : 0 / 520
MP : 187 / 19455
EXP: 80
離線
視窗管理員可以如此影響效能
令一方面史嘟想要一個輕巧桌面
是不是能讓這些視窗管理員單獨運作?
史嘟已經知道Compiz可以Standalone
不過剛剛試了一下,覺得好肥(尤其還配Emerald)
找不到Metacity或是Mutter的Standalone的相關資訊
不知道Mutter少了Gnome-shell效能會不會有所提升
有沒有大大要分享或是補充?

2011/7/31 10:22
應用擴展 工具箱
回覆: Unity、Compiz、GNOME Shell和KWin對性能的影響評測

註冊日期:
2009/12/6 10:32
所屬群組:
已註冊使用者
等級: 71
HP : 1053 / 1756
MP : 4456 / 70823
EXP: 24
離線
找不到Metacity或是Mutter的Standalone的相關資訊


1. 從以下 MUTTER 的 Manpage 描述 Mutter 應該還不夠形成 Standalone 的條件

mutter is a minimal X window manager aimed at nontechnical users and is designed to integrate well with the GNOME desktop. mutter lacks some features that may be expected by traditional UNIX or other technical users; these users may want to investigate other available window managers for use with GNOME or standalone.

MUTTER - Clutter based compositing GTK2 Window Manager
http://manpages.ubuntu.com/manpages/natty/man1/mutter.1.html

2. 從以下 METACITY 的 Manpage 描述 Mutter 應該還不夠形成 Standalone 的條件
(與 1. 描述 類似)

metacity is a minimal X window manager aimed at nontechnical users and is designed to integrate well with the GNOME desktop. metacity lacks some features that may be expected by traditional UNIX or other technical users; these users may want to investigate other available window managers for use with GNOME or standalone.

METACITY - minimal GTK2 Window Manager
http://manpages.ubuntu.com/manpages/natty/man1/metacity.1.html

2011/7/31 13:27
應用擴展 工具箱
回覆: Unity、Compiz、GNOME Shell和KWin對性能的影響評測
會員五級
註冊日期:
2010/12/6 21:35
來自 K隆星上唯一的老鼠洞
所屬群組:
已註冊使用者
等級: 21
HP : 0 / 520
MP : 187 / 19455
EXP: 80
離線
謝謝大大的解答
所以他們要能運行還是得靠Session之類的東西囉?
那有沒有可能在LxSession下運行?
如果可以,有什麼方法可以讓他可以不使用Gnome套件下去作設定
像是主題挑選之類的

2011/7/31 18:35
應用擴展 工具箱
回覆: Unity、Compiz、GNOME Shell和KWin對性能的影響評測

註冊日期:
2009/12/6 10:32
所屬群組:
已註冊使用者
等級: 71
HP : 1053 / 1756
MP : 4456 / 70823
EXP: 24
離線
#13
是不是能讓這些視窗管理員單獨運作?
史嘟已經知道Compiz可以Standalone

假設 你的問題是延續 #13 而來
你關心的是 視窗管理員 的 單獨運作 (Standalone)
所以他們要能運行還是得靠Session之類的東西囉?

視窗管理員 與 Session 關係如下:

1. A session starts when the user successfully enters a valid combination of username and password.
2. A display manager presents the user with a login screen which prompts for a username and password.

When the display manager runs on the user's computer, it starts the X server before presenting the user the login screen, optionally repeating when the user logs out. In this condition, the display manager realizes in the X Window System the functionality of init, getty and login on character-mode terminals. When the display manager runs on a remote computer, it acts like a telnet server, requesting username and password and starting a remote session.

X11 Release 3 introduced display managers in October 1988 with the aim of supporting the standalone X terminals then just coming onto the market. Various display managers continue in routine use to provide a graphical login prompt on standalone computer workstations running X. X11R4 introduced the X Display Manager Control Protocol (XDMCP) in December 1989 to fix problems in the X11R3 implementation.

資料來源:
X display manager (program type)
X session manager

3. 所以 要能 讓電腦單獨運作 (Standalone)的是 display manager, session 只是其中一個程序.

4. 有許多 display managers 可以 用來 讓電腦單獨運作 (Standalone)
那有沒有可能在LxSession下運行?

LXSession 是 LXDE 預設的作業階段管理器
LXSession Lite 已經正式取代 LXSession 成為了預設的作業階段管理器。
LXDE使用Openbox為其預設視窗管理器
所以 你指的應該是 Openbox
Openbox 才能實做成 讓電腦單獨運作 (Standalone)
如果可以,有什麼方法可以讓他可以不使用Gnome套件下去作設定

sudo cat /etc/X11/default-display-manager
可以看出 linux 作業系統 的 預設 視窗管理員
把 openbox 寫入 /etc/X11/default-display-manager 看看 行不行

從 上面 的 4. 選取 視窗管理員 寫入 上面的檔案中 作為 預設 視窗管理員
看看 行不行 (當然 電腦中必須安裝該視窗管理員套件程式)

開機以後 再退出 預設視窗管理員 到 tty1~tty6
然後 再進 另一個 視窗管理員 也行

2011/7/31 20:34
應用擴展 工具箱
回覆: Unity、Compiz、GNOME Shell和KWin對性能的影響評測
會員五級
註冊日期:
2010/12/6 21:35
來自 K隆星上唯一的老鼠洞
所屬群組:
已註冊使用者
等級: 21
HP : 0 / 520
MP : 187 / 19455
EXP: 80
離線
OpenBox的確是個好選擇
不過小弟花了好久才找的一個算好看的主題
問一下唷大大
我看記憶體還盛這麼多,所以又塞了Docky給他
很順是很順,但是混合器似乎出問題了
螢幕暗了半邊(也不是黑掉,就是亮度一整個下滑)
Xcompmgr+Trasset真的很不穩定
設定透明的效果不太理想,還常常跑掉
所以才會想Mutter是不是有比較好

2011/7/31 21:37
應用擴展 工具箱
回覆: Unity、Compiz、GNOME Shell和KWin對性能的影響評測

註冊日期:
2009/12/6 10:32
所屬群組:
已註冊使用者
等級: 71
HP : 1053 / 1756
MP : 4456 / 70823
EXP: 24
離線
問一下唷

抱歉 抓不到 你的問題重點 在哪裡

2011/7/31 22:41
應用擴展 工具箱
回覆: Unity、Compiz、GNOME Shell和KWin對性能的影響評測
會員五級
註冊日期:
2010/12/6 21:35
來自 K隆星上唯一的老鼠洞
所屬群組:
已註冊使用者
等級: 21
HP : 0 / 520
MP : 187 / 19455
EXP: 80
離線
我想知道我的混合器有沒有得修
或是有沒有替代品^^

2011/8/1 7:51
應用擴展 工具箱

« 1 (2)

 [無發表權] 請登錄或者註冊


可以查看帖子.
不可發帖.
不可回覆.
不可編輯自己的帖子.
不可刪除自己的帖子.
不可發起投票調查.
不可在投票調查中投票.
不可上傳附件.
不可不經審核直接發帖.