先說說我為什麼寫這篇。

當我裝好 9.04 後,也把驅動程式裝上,軟體也都裝好,這一切看起來是這麼美好....

But!!!!這該死的字眼出現了。

因為剛裝好的解析度是 1920*1080,剛裝好後我通常是不會去理它,等到軟體都結束後才慢慢調校。

居然我把解析度往下調到1360*768時就給我出 代誌啦!!!!喵的咧!!!

整個畫面超出螢幕不說,連效能的表現用慘這個字都不足以形容。

而且這次居然連gdm的解析度都交由驅動程式一起改。

只好調回1920*1080先頂著,再來找解決方法。

現在,我解決了。

方法如下。

要做這個動作之前,首先要先瞭解自己所用的螢幕的水平頻率、垂直頻率及可用的解析度。

還有!要有玩死的心理準備。

以上的動作ok後,我們就進入下一步。其實也沒那麼恐怖啦。

先瞭解水平及垂直是為了防止驅動程式的預設頻率超出螢幕所能承受的範圍,變成花屏啦(我是沒有花屏過,這是別人說的)

然後瞭解解析度則是等一下強制設定時如果設定的不是螢幕支援的,那麼就可能會整個黑掉。

SO,就這樣。

 

反正有備份有保祐,千古不變。

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.back

然後因為我用的是受限的硬體驅動程式(就是ubuntu自己會雞婆跑出來的那個東西),所以要再執行一次"初始化"。

sudo aticonfig --initial -f

(題外話:剛裝好ATI驅動程式後,可能有些人會發現效能不彰(開個東西會卡卡的之類)的情形發生,有這個情況可以執行這個動作去改寫xorg.conf,有可能會改善)

這個動作還會再備份一次。

然後咧,重新啟動桌面吧。

接下來,我們修改xorg.conf

sudo gedit /etc/X11/xorg.conf

一樣,還是一篇天書。但這篇天書很意外的不算長。(大家的內容可能會有所不同)

我的內容如下:


# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# 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     "aticonfig Layout"
    Screen      0  "Default Screen" 0 0
EndSection

Section "Files"
EndSection

Section "Module"
    Load  "glx"
EndSection

Section "ServerFlags"                #
    Option        "DontZap" "no"   # 這個區塊就是把 " crl + alt + ← " 強制重啟桌面環境 的功能開起來。
EndSection                                #


Section "Monitor"
    Identifier   "Configured Monitor"
    HorizSync 31.5-67.5                      #水平頻率範圍  ◎
    VertRefresh 60-75                         #垂直頻率範圍 

EndSection

Section "Device"
    Identifier  "Configured Video Device"
    Driver      "fglrx"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Default Screen"
    Device     "Configured Video Device"
    Monitor    "Configured Monitor"
    DefaultDepth     24
    SubSection "Display"           #           
      
           Depth   24                   #           很眼熟對吧,在之前修改gdm解析度時也有出現這東西。
         Modes   "1360x768"      #           Modes 後面就是要強制的解析度。
       EndSubSection                 #

EndSection

綠色字是我本來的內容,紅色字是我加上去的。

這樣搞一搞後,我解決了我自己的問題。

arrow
arrow
    全站熱搜

    allisonxu 發表在 痞客邦 留言(1) 人氣()