顯示具有 radeon 標籤的文章。 顯示所有文章
顯示具有 radeon 標籤的文章。 顯示所有文章

2009年11月22日 星期日

xorg force VGA output only


or say, disable/ignore LVDS output, referred from X Quirks - Ubuntu wiki:

  1. use the command to generate an xorg.conf (from Xorg - ArchWiki): Xorg -configure mv /root/xorg.conf.new /etc/X11/xorg.conf
  2. In section "Section "Device"" of xorg.conf add the line: Option "monitor-LVDS" "LVDS"
  3. Then the following new section: Section "Monitor" Identifier "LVDS" Option "Ignore" "True" EndSection
Why should I do this? Well, when you mess up your display panel of your laptop and get a radeon driver which binds LVDS and VGA together...

2009年2月6日 星期五

xf86-video-ati fine tuning


雖然本人在之前提過,1.5 的 xorg server 基本上已經不太需要 /etc/X111/xorg.conf 檔案,但發現這樣使用某些預設的參數時,會讓 performance 未到其最佳化的部份,故在此做一筆記。##ReadMore##

方法基本上也很土:查看 /var/log/Xorg.0.log 看看哪些參數並未最佳化;同時查看 manpage man radeon 先確認自己的型號,然後開始一一試選項,看看那些沒有開的打開是否 OK,其中幾個比較重要選項簡單列表: Section "Screen" Identifier "Default Screen" SubSection "Display" Virtual 1280 800 EndSubSection EndSection 減小 Virtual Desktop size, 減輕 GPU 負擔達到加速的效果 Section "Device" Identifier "Configured Video Device" Driver "radeon" Option "AccelMethod" "EXA" EndSection 開啟 EXA 硬體加速,某些卡預設是跑 XAA ,EXA 會比較有效率。如果會花屏,可以考慮換回。 其他的部份可以參考 arch wiki 上的資料(url) 調整,需要 xorg.conf 模版可以在這篇找到,把 AutoAddDevices 選項打開即可自動抓輸入裝置

2008年12月25日 星期四

Compiz in Kde4


For Archlinux:

# pacman -S compiz-fusion-gtk
注意,是 gtk 不是 compiz-fution-kde, 後者會安裝過時的 libkde3##ReadMore##

安裝後發現似乎 kde4 內設定的改用 cf 當 manager 會失敗,所以只好用下面的方法:

  1. 創建 /usr/bin/compiz-kde-launcher:
    #!/bin/sh LIBGL_ALWAYS_INDIRECT=1 compiz --replace ccp & kde4-window-decorator &
    個人 ATi 顯卡問題所才要加 LIBGL_ALWAYS_INDIRECT=1 ,如果測試沒問題可以刪去。
  2. 編緝 ~/.kde4/Autostart/compiz.desktop;
    [Desktop Entry] Encoding=UTF-8 Exec=/usr/bin/compiz-kde-launcher StartupNotify=false Terminal=false Type=Application X-KDE-autostart-after=kdesktop
重啟 X 後即可自動啟動。

若想要設定可以使用程式:

ccsm

2008年5月29日 星期四

kernel 2.6.25 catalyst radeon


Kernel

昨天更新系統時發現有 kernel 從 2.6.24 更新到 2.6.25 ,細節可以參考:url
以一個月半就從官方放出這點來看,速度算是最極快的吧

記得更新完要看一下 /etc/rc.conf.pacmannew (名字有點忘)
配置的差別在於原本的 module black list 改成一起放在 module list 裡,以及最一開始加了個不知是啥的選項,預設也沒開。

Catalyst

此外,catalyst (ATi/AMD 驅動) 也昇級到了 8.5 ,主要是修正 3D 在某些程序下的相容問題,以及在 composite 下的影片播放問題,詳細請參考:url
安裝完後以前在 compiz 下播放影片會畫面閃爍的問題被解決了,但仍不時會在螢幕上看到破碎的點;且其代價是不開 composite 在 2D 畫面時會有貼圖錯誤,此點令本人十分惱火,畢竟這台從以前就 3D 無望,大部份時間還是用 2D 在跑,而新版驅動 2D 效能還降,便決定拔 catalyst (fglrx) 裝 radeon

radeon

配置請參考這篇文章:url
然後注意,在設置 /etc/X11/xorg.conf 時,請注意其中的名字雖然可以亂取,但切記要讀清楚前後文使之統一:

  • Server layout 的 Screen 名稱要和下面 Screen Identifer 的一樣
  • Section Screen 內定的 Monitor 和 Device 又要和 Monitor, Device Section 的 Identifier 一樣
不然就會像我一樣 kdm 載入卻開不出畫面... 最後是獨自在黑暗 console 下摸索出來的。