close

用得好好的為什麼要換?

原因簡單。

因為我看著解析度過大(1920*1080)的gdm登入畫面很不爽!

我進桌面後也才往下調到1360*768而己,這該死的gdm憑什麼解析度要這麼大?

更讓我奇怪的是,為啥不讓我有更簡單方便的方法讓我調?

不過咧,遇到問題就是解決問題才會越學越多。

我的主機跟螢幕先簡單介紹一下:

主機板 微星 K9A2GM-FIH  (它長這樣)

          晶片組:AMD® 780G

顯示卡 撼訊 HD3650 1GB DDR2 (它長這樣)

          晶片:ATI 3650

螢幕(更正確的來說是液晶電視)

      BENQ VH3243 / 解析度1366*768 60HZ ,最大解析度可以上到 1920*1080 60HZ   ,支援1080P

什麼CPU、記憶體、硬碟都不是重點,重點是要能跑就好。本山人只有木耳,裝太好的音效卡對我來說有那麼一點浪費。

ok!這樣的東西依我的 這篇 安裝筆記理論上就可以裝好了 ,所以跳過。

開始整治我的 gdm 解析度。

基本上,只要裝了ATi顯卡驅動程式後,X11的xorg.conf裡就會全部替換成ATi的設置。也就是說,還沒進入桌面之前的解析度都是讓驅動程式去抓。

所以才會造成登入畫面是一個解析度,進入桌面環境後又是另一個解析度,但其實桌面的預設解析度是跟登入畫面gdm一樣大的,但是差別在可以自己調整。

現在我們知道xorg.conf是我們要找的東西(我不稱之為"問題",因為它本來就好好的沒出事,不想理它也不會有大狀況,我只是想試著改看看而己),那我們就把它備份起來。

例如:

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

再用喜歡的編輯器來開

例如:

          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     "amdcccle Layout"
    Screen      0  "amdcccle-Screen[1]-0" 0 0
EndSection

Section "Files"
EndSection

Section "Module"
    Load  "glx"
EndSection

Section "Monitor"
    Identifier   "Configured Monitor"
EndSection

Section "Monitor"
    Identifier   "amdcccle-Monitor[1]-0"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection

Section "Device"
    Identifier  "Configured Video Device"
    Driver      "fglrx"
EndSection

Section "Device"
    Identifier  "amdcccle-Device[1]-0"
    Driver      "fglrx"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Default Screen"
    Device     "Configured Video Device"
    Monitor    "Configured Monitor"
    DefaultDepth     24
EndSection

Section "Screen"
    Identifier "amdcccle-Screen[1]-0"
    Device     "amdcccle-Device[1]-0"
    Monitor    "amdcccle-Monitor[1]-0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes "1360x768" "1024x768"  <---- 這行原本沒有,是我新增加的。
    EndSubSection
EndSection

GDM這鬼東西的解析度呢,用就是我新增加的那行紅字 "Modes" 後面的頭一個解析度。

1360*768 是我想要的解析度,後面的1024*768有沒有用我不知道,但是這個是1360*768如果出問題後的替代解析度。

因為每個人的xorg.conf 都不見得一樣,所以請自行在類似的地方加入。

忘了提醒一點,設定的解析度最好是螢幕本身有支援的

然後重啟 gdm , 應該就改好了。

 

參考的網址 : http://wiki.ubuntu.org.cn/index.php?title=UbuntuHelp:FixVideoResolutionHowto/zh&variant=zh-tw

 

 

 

arrow
arrow
    全站熱搜

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