a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 162|回复: 1

[红旗认证] 解决ubuntu8.10显示器分辨率和刷新率问题

[复制链接]
发表于 2012-8-4 12:16:06 | 显示全部楼层 |阅读模式
  为了方便大家能尽快解决分辨率问题,早日享受3D的震撼效果,青年人网实践经验与大家一起分享。' s  z& O/ A, u! I- ?7 N) q( n& j* @
  在终端里输入以下命令对文件进行编辑:
) Z: |: x% H; q4 O- n, a  sudo gedit /etc/X11/xorg.conf0 b" W: f9 i+ {: s$ i/ T8 K
  输入超级管理员的密码。(如果之前是使用超级管理员账号登入的话,则自动跳过。)& ?7 f+ c$ F% v. U
  打开后你想要的修改Xorg.conf文件资料。% e) J7 L  T+ m7 q9 n! o& v* D
  (没安驱动开不起特效,但可以解决你修改Xorg.conf文件错误后还原) /etc/X11/xorg.conf里Ubuntu 8.10原装系统正确文件资料如下:, ?& B0 A- H' n* I( g' w
  # xorg.conf (X.Org X Window System server configuration file)
" m, z' b* X; p) [3 U' g  #
, E+ |: ~* ]- p  z6 X  # This file was generated by dexconf, the Debian X Configuration tool, using2 n; ]7 {; @1 H8 J3 v; S
  # values from the debconf database.7 V- |. n  k8 n3 `8 I+ j
  #
, N$ e2 ?4 q: G  # Edit this file with caution, and see the xorg.conf manual page.9 L8 a0 L% R! K! }; J; m6 y
  # (Type "man xorg.conf" at the shell prompt.)
4 [3 S& s( |) L- B+ y: [  #
2 G' T  @; ?* z$ N2 d  # This file is automatically updated on xserver-xorg package upgrades *only*$ a! m6 o  b$ s: f/ J+ W: T, `" o5 L
  # if it has not been modified since the last upgrade of the xserver-xorg
0 s2 _* R- n/ g8 j0 _7 b  # package.
& p3 o8 I( s2 s/ P1 K! t2 z  #
; t8 E9 b) ?' e! v7 @( M% Z, x  # Note that some configuration settings that could be done previously; k3 q% ~1 c& ^! z' E3 F  `
  # in this file, now are automatically configured by the server and settings
1 c3 F# z/ b; C  # here are ignored.# e. q1 ~/ D  S/ r1 T3 y' {
  #% |. m% C8 M$ w
  # If you have edited this file but would like it to be automatically updated
3 `+ f, j( W6 u! s  E  # again, run the following command:' j1 `1 z' n8 b" g
  # sudo dpkg-reconfigure -phigh xserver-xorg7 T# J6 h; h3 s% m
  Section "Device"
8 @2 a, `' L& d' E  Identifier "Configured Video Device"
0 M1 h3 W1 n! N* \  EndSection
, Y2 [- ^5 y/ l+ |$ U. H# W  Section "Monitor"
5 }4 s2 t# M$ O1 i" a, P$ s1 U  Identifier "Configured Monitor"
$ w( B( |8 _3 c* }. {& F  EndSection$ x6 h3 b2 _  ]6 c  I
  Section "Screen"
  N) ?7 p5 J2 A; U$ B( ]: w' {  Identifier "Default Screen"$ i0 A$ F1 Z& L! r4 y$ z
  Monitor "Configured Monitor"
& R1 G- N  w8 ~) u  Device "Configured Video Device"6 B$ N) w" i4 z4 R4 T7 C
  EndSection! B, i) @7 T: z. b# p
  (备注:保存后退出重启,这时已经修改)- k/ w% H0 @" {- f+ W( f: s' ^' q9 C
  E。安好驱动后,解决显示器分辨率和刷新率问题过低,打开系统-系统管理-Nvidia X Server settings(ATI没用过),打开X Server Display Configuration后看右边的Display(就是显示器相关设置),分辨率Resolution很低:随便选如: 640*320或800*600, 刷新率Configuration:60HZ 然后点下面Save to X Configuration File 打开 Show Preview...
7 p2 [% d% v  X: @  把里面的从# xorg.conf (X.Org X Window System server configuration file)包括一项开始把全部复制粘贴到xorg.conf文件,(同时打开原来的xorg.conf文件清空)。找到下面的这一项Option "metamodes" "800x600_60 +0+0"把它改成Option "metamodes" "1152x864_75 +0+0"(根据自己的显示器分辨率和刷新率来改)保存后退出重启,看看成功没有。如果不行找到这两项改下为
! |* Z7 v# k7 t  HorizSync 28.0 - 85.09 ^7 K! B7 ^$ u* F
  VertRefresh 43.0 - 76.0
; d) P6 f2 r) ^  哈哈~你就会发现显示器分辨率和刷新率回到正常了,并开起了特效,重新打开那个显卡设置, 系统-系统管理-Nvidia X Server settings看分辨率可以设更高到1920*1080或1920*1200。刷新率也可以设成AUTO或60到85了。
回复

使用道具 举报

 楼主| 发表于 2012-8-4 12:16:07 | 显示全部楼层

解决ubuntu8.10显示器分辨率和刷新率问题

  改了后觉得Too simple,你看后还觉得算简单吧。最后把Xorg.conf文件发出来让大家看看就知道了。
' O+ r  v/ ^4 ^: U7 C$ k  Xorg.conf文件如下:
' X- d: ]0 C, N5 K/ b: y+ w  # xorg.conf (X.Org X Window System server configuration file)" O5 ~, D9 d: Z* V9 t* E$ G2 L; C
  #
9 H3 I6 D4 d4 E* e  # This file was generated by dexconf, the Debian X Configuration tool, using
- i3 W# q) V( u: k  # values from the debconf database.
" t( X3 M, Y* C  Y5 B% m* ^$ n  #8 t1 o9 }0 H8 g9 n
  # Edit this file with caution, and see the xorg.conf manual page.* I" t. X: y/ |* Q
  # (Type "man xorg.conf" at the shell prompt.)9 _. ^. i1 t& ]; p6 Y
  #1 `" x3 A4 T# b$ e; P
  # This file is automatically updated on xserver-xorg package upgrades *only*
' B/ _3 x6 c4 A+ [, k% o  # if it has not been modified since the last upgrade of the xserver-xorg/ Q1 V9 o* v  u) p- z8 L
  # package.* w7 `" N* g8 a1 p3 P$ |6 a3 X
  #
* @, X1 t* @/ P* d  # Note that some configuration settings that could be done previously8 V4 T. _. y, s* p. }. }
  # in this file, now are automatically configured by the server and settings
* R9 h/ u7 A- z! C6 c. A2 R  # here are ignored.0 m6 R9 _6 H; q  t, P" O: X9 }+ o
  #
7 }7 i+ u# T: ^& Q) |4 e  # If you have edited this file but would like it to be automatically updated, `' M7 M# w2 x) ?- u
  # again, run the following command:. l# R4 V/ a2 \5 }) j3 C* W# p
  # sudo dpkg-reconfigure -phigh xserver-xorg4 Z6 H- U" b1 h8 @
  Section "ServerLayout"
# _* _6 ~; {, `# B! }/ U5 c  Identifier "Layout0"+ C1 C; z( Y3 V" T& u6 W
  Screen 0 "Screen0" 0 0
1 k4 q! r  x! P* V' d; `4 G  EndSection& O& ~2 I0 V8 f; {4 K9 w; ~
  Section "Module") ]& O) O' P; B# o% J  U; N
  Load "glx"! P. q* H  ^0 _1 |8 X3 C
  EndSection" S( p, V1 [5 A' S6 _, N
  Section "ServerFlags"+ o5 q  \6 J2 L2 `# ]
  Option "Xinerama" "0", ]) W' Q: l7 _# ~2 F9 R5 R& ]$ C
  EndSection/ j1 E$ f; ]' x6 s: [7 g
  Section "Monitor"
$ t% x. W" n; v& V7 P; |  Identifier "Configured Monitor". \4 B' k* I  D: i
  EndSection! I7 P; x' \8 c% `' g' E
  Section "Monitor", J" @, P/ h' ~$ i5 ]
  Identifier "Monitor0"
9 a6 I( m, y9 o" o' \  VendorName "Unknown"# j% P4 h" [, T3 ?* x
  ModelName "CRT-1"
/ Q3 g2 u: `, [( c% v- Y& _  HorizSync 28.0 - 85.0: d; V: G, m& y  q. k; K
  VertRefresh 43.0 - 76.0
- i% S% g+ f8 r( C( o5 V  EndSection
, t& i9 B8 J0 k! N* V  Section "Device"
. }) z$ K; j2 u* u6 U( K& x  Identifier "Configured Video Device"8 D# ?: y- T* A4 v
  Driver "nvidia"& ^. g5 }" m  p6 g
  Option "NoLogo" "True"; S. ~5 j3 D9 O1 F
  EndSection
3 f4 H3 `; [$ G. r* b9 T6 R! y  Section "Device"0 y) [+ J2 j2 C0 X3 H) _0 `8 M) [8 L
  Identifier "Device0"
! G! i  e" `7 |. Y7 c  Driver "nvidia"& {5 s; Q% W1 [' @7 j' A: Z
  VendorName "NVIDIA Corporation"
5 m0 o3 p. h% v0 H# v  BoardName "GeForce 7300 GT") e+ N: ?1 q# P1 [3 M2 f' H
  EndSection+ K( ~; \, G# Z9 w9 {
  Section "Screen"
5 K! k3 m  @( Z3 c) u2 D  Identifier "Default Screen"- U6 P* W& S' D: u' G1 K
  Device "Configured Video Device"5 y- h0 n/ u) s* ~% `4 c9 ~
  Monitor "Configured Monitor". g* b8 o9 R9 g4 l" Y
  DefaultDepth 24
  J5 G4 B  {7 h, Q* f1 j6 B$ O$ C  EndSection
* @6 x0 H- y6 n- ?0 c0 h1 e  Section "Screen"
/ K' O. Q) J6 R/ a4 M* r) f* K  Identifier "Screen0"  N! l  l- J* R5 D/ N) v9 z
  Device "Device0"
& L  a& ~' }5 G5 a& r4 f% Q  Monitor "Monitor0"
3 ?  J5 m  F) M4 [6 g  DefaultDepth 24
/ L2 g4 f2 {4 F" N  Option "TwinView" "0"
) [& J9 o8 o3 ?7 Z  Option "metamodes" "1152x864_75 +0+0"" B2 A3 [6 P0 z: H( q8 u! V
  SubSection "Display"
* Z0 ~0 ~( h& M" ?, Z  Depth 24
/ i+ T. }' h2 t& w" g  EndSubSection8 g/ w7 `7 V- u$ F. F. |/ z
  EndSection
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-5-3 03:30 , Processed in 0.186878 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表