*[[http://www.arunviswanathan.com/node/53|Using xrandr and gtf to add a new mode to your X configuration at runtime]]
====== 10.04 nvidia 최신 드라이버 설치 방법 ======
$ sudo add-apt-repository ppa:nvidia-vdpau/ppa
$ sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
$ sudo apt-get update && sudo apt-get upgrade
====== MS윈도에서 modeline 얻는법 ======
[[http://entechtaiwan.net/util/ps.shtm|PowerStrip]]다운로드 후 트레이아이콘에서 "Display Profiles" -> "Configure" -> "Advanced timing options" 나오는 정보중 마지막 줄이 Xorg modeline 임
First 모드라인
PowerStrip timing parameters:
1440x900=1440,80,152,232,900,3,6,25,106554,512
Generic timing details for 1440x900:
HFP=80 HSW=152 HBP=232 kHz=56 VFP=3 VSW=6 VBP=25 Hz=60
VESA detailed timing:
PClk=106.55 H.Active=1440 H.Blank=464 H.Offset=64 HSW=152 V.Active=900 V.Blank=34 V.Offset=3 VSW=6
Linux modeline parameters:
"1440x900" 106.554 1440 1520 1672 1904 900 903 909 934 +hsync +vsync
PowerStrip timing parameters:
1440x900=1440,80,152,232,900,3,6,25,106554,512
Generic timing details for 1440x900:
HFP=80 HSW=152 HBP=232 kHz=56 VFP=3 VSW=6 VBP=25 Hz=60
VESA detailed timing:
PClk=106.55 H.Active=1440 H.Blank=464 H.Offset=64 HSW=152 V.Active=900 V.Blank=34 V.Offset=3 VSW=6
Linux modeline parameters:
"1440x900" 106.554 1440 1520 1672 1904 900 903 909 934 +hsync +vsync
$ diff /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
36c36
< HorizSync 28.0 - 55.0
---
> HorizSync 28.0 - 60.0
54c54,55
< Option "metamodes" "1024x768 +0+0"
---
> Option "metamodes" "1440x900 +0+0"
> #Option "metamodes" "1024x768 +0+0"
수정 후
133 [ 1250.759] (**) NVIDIA(0): Option "MetaModes" "1440x900 +0+0"
134 [ 1250.759] (**) NVIDIA(0): Enabling 2D acceleration
135 [ 1252.241] (WW) NVIDIA(GPU-0): The EDID read for display device CRT-1 is invalid:
136 [ 1252.241] (WW) NVIDIA(GPU-0): unrecognized EDID Header.
현재 모드라인 얻기
$ xvidtune -show
"1440x900" 106.50 1440 1520 1672 1904 900 903 909 934 -hsync +vsync
XEVA 32 모드라인
PowerStrip timing parameters:
1360x768=1360,80,112,240,768,3,6,18,85500,2048
Generic timing details for 1360x768:
HFP=80 HSW=112 HBP=240 kHz=48 VFP=3 VSW=6 VBP=18 Hz=60
VESA detailed timing:
PClk=85.50 H.Active=1360 H.Blank=432 H.Offset=64 HSW=112 V.Active=768 V.Blank=27 V.Offset=3 VSW=6
Linux modeline parameters:
"1360x768" 85.500 1360 1440 1552 1792 768 771 777 795 +hsync +vsync
CARDINAL 모니터 모드라인
PowerStrip timing parameters:
1280x1024=1280,56,112,240,1024,1,3,38,108000,272
Generic timing details for 1280x1024:
HFP=56 HSW=112 HBP=240 kHz=64 VFP=1 VSW=3 VBP=38 Hz=60
VESA detailed timing:
PClk=108.00 H.Active=1280 H.Blank=408 H.Offset=40 HSW=112 V.Active=1024 V.Blank=42 V.Offset=1 VSW=3
Linux modeline parameters:
"1280x1024" 108.000 1280 1336 1448 1688 1024 1025 1028 1066 +hsync +vsync
vi /etc/gdm/Init/Default : 아래 내용 추가
xrandr --newmode "1280x1024" 108.000 1280 1336 1448 1688 1024 1025 1028 1066 +hsync +vsync
xrandr --addmode DVI-0 "1280x1024"
xrandr --output DVI-0 --mode 1280x1024
====== xorg.conf 생성 ======
$ sudo service gdm stop
$ sudo Xorg -configure
$ sudo mv ~/xorg.conf.new /etc/X11/xorg.conf
$ sudo service gdm start
====== EDID read ======
install
$ sudo apt-get install read-edid
read
$ sudo get-edid | parse-edid
====== references ======
*[[http://www.x.org/wiki/FAQVideoModes#ObtainingmodelinesfromWindowsprogramPowerStrip|Obtaining modelines from Windows program PowerStrip]]
*[[https://wiki.ubuntu.com/X/Config/Resolution|X/Config/Resolution]]
*[[http://howto-pages.org/ModeLines/]]