LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1516|回复: 10

KDE分辨率问题(已解决)

[复制链接]
发表于 2008-12-28 20:33:26 | 显示全部楼层 |阅读模式
昨天到今天奋斗了十个小时左右,终于emerge kde-meta 装上了,虽然有一个错误,一个文件没装上。但KDE还是可以进去。但是不爽的是,那个分辨率怎么也调不好。最高只有600多*500多。我是N卡,驱动装上的。麻烦哪位高手指点一下。
在网上看过好像设置/etc/X11/xorg.conf 里就可以改分辨率。
我设置的是:
SubSection  "Display"
        Depth 24
        Modes  "1024*768"
EndSubSection
上面那个是自己加上去的。但是不管用。

对了  那个没装上的文件叫做kopete。
提示错误是:please reemerge X11-libs/qt3 with USE="opengl"
顺便再问一个低级问题,我在gentoo当中弄了好多个用户,但就是不知道怎么删掉。
发表于 2008-12-28 21:37:36 | 显示全部楼层
贴你的xorg.conf ,N卡型号及驱动版本号和/usr/src/linux/.config
回复 支持 反对

使用道具 举报

发表于 2008-12-28 22:21:36 | 显示全部楼层
Modes      "1024x768_85"
实在没办法可以这样
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-29 00:38:18 | 显示全部楼层
Section
"ServerLayout"
       
Identifier     "X.org Configured"
       
Screen      0  "Screen0" 0 0
       
InputDevice    "Mouse0" "CorePointer"
       
InputDevice    "Keyboard0" "CoreKeyboard"

EndSection

Section "Files"
       
RgbPath      "/usr/share/X11/rgb"
       
ModulePath   "/usr/lib/xorg/modules"
       
FontPath     "/usr/share/fonts/misc/"
       
FontPath     "/usr/share/fonts/TTF/"
       
FontPath     "/usr/share/fonts/OTF"
       
FontPath     "/usr/share/fonts/Type1/"
       
FontPath     "/usr/share/fonts/100dpi/"
       
FontPath     "/usr/share/fonts/75dpi/"

EndSection

Section
"Module"
       
Load  "dbe"
       
Load  "dri"
       
Load  "wfb"
       
Load  "xtrap"
       
Load  "GLcore"
       
Load  "glx"
       
Load  "record"
       
Load  "extmod"
       
Load  "type1"
       
Load  "freetype"

EndSection

Section
"InputDevice"
       
Identifier  "Keyboard0"

Driver      "kbd"
EndSection

Section "InputDevice"
       
Identifier  "Mouse0"
       
Driver      "mouse"
       
Option            "rotocol" "auto"
       
Option            "Device" "/dev/input/mice"
       
Option            "ZAxisMapping" "4 5 6 7"

EndSection

Section "Monitor"
       
Identifier   "Monitor0"
       
VendorName   "Monitor Vendor"
       
ModelName    "Monitor Model"

EndSection

Section "Device"
       
Identifier  "Card0"
       
Driver      "nvidia"
       
VendorName  "nVidia Corporation"
       
BoardName   "Unknown Board"
       
BusID       "CI:1:0:0"
EndSection

Section "Screen"
       
Identifier "Screen0"
       
Device     "Card0"
       
Monitor    "Monitor0"
       
SubSection "Display"
               
Viewport   0 0
               
Depth     1
       
EndSubSection
       
SubSection "Display"
               
Viewport   0 0
               
Depth     4
       
EndSubSection
       
SubSection "Display"
               
Viewport   0 0
               
Depth     8
       
EndSubSection
       
SubSection "Display"
               
Viewport   0 0
               
Depth     15
        EndSubSection
       
SubSection "Display"
               
Viewport   0 0
               
Depth     16
        EndSubSection
       
SubSection "Display"
               
Viewport   0 0
               
Depth     24
               
Modes     "1024*768"
       
EndSubSection
EndSection

以上是我的/etc/X11/xorg.conf
N卡型号及驱动版本号和/usr/src/linux/.config
其中 我只知道N卡是94的  驱动版本号和/usr/src/linux.config就真不清楚了。原谅,我进GENTOO没多久
回复 支持 反对

使用道具 举报

发表于 2008-12-29 10:09:23 | 显示全部楼层
若用的是nvidia官方驱动的话修改xorg.conf,最佳分辨率和行场扫描频率根据自己的显示器参数改

  1. Section "Screen"
  2.         Identifier      "Screen0"
  3.         Device  "Card0"
  4.         Monitor "Monitor0"
  5.         DefaultColorDepth 24
  6.         Option         "ConnectedMonitor" "CRT"
  7.         Option         "MetaModes" "CRT-0:1024x768"
  8.         Option         "HorizSync" "CRT-0: 30-80"
  9.         Option         "VertRefresh" "CRT-0: 60"
  10.         SubSection "Display"
  11.                 Depth   1
  12.                 Modes "1024x768" "800x600" "640x480"
  13.         EndSubSection
  14. EndSection
复制代码
回复 支持 反对

使用道具 举报

发表于 2008-12-29 10:11:28 | 显示全部楼层
  1. Section "Monitor"
  2.         Identifier   "Monitor0"
  3.         VendorName   "Monitor Vendor"
  4.         ModelName    "15inch LCD "
  5.         DisplaySize  304.1 228.1
  6.         HorizSync    25.0 - 50.0
  7.         VertRefresh  50.0 - 70.0
  8.         Option      "DPMS"
  9. EndSection
复制代码
回复 支持 反对

使用道具 举报

发表于 2008-12-29 12:06:45 | 显示全部楼层
在xorg里边用modeline。
看这个。http://en.gentoo-wiki.com/wiki/Intel_GMA#Manual_modesetting
用gtf命令生成modeline。
回复 支持 反对

使用道具 举报

发表于 2008-12-29 12:11:03 | 显示全部楼层
删除用户使用 root 权限

# userdel userName
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-29 18:33:17 | 显示全部楼层
问题已经解决了   谢谢大家    解决的方法是  照peter_l说的  把
Section "Screen"
        Identifier      "Screen0"
        Device  "Card0"
        Monitor "Monitor0"
        DefaultColorDepth 24
        Option         "ConnectedMonitor" "CRT"
        Option         "MetaModes" "CRT-0:1024x768"
        Option         "HorizSync" "CRT-0: 30-80"
        Option         "VertRefresh" "CRT-0: 60"
        SubSection "Display"
                Depth   1
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
改进去  然后突然就那么一下  分辨率上来了  无比欢喜。呵呵 感谢。不过进入KDE的画面改成了一个很大的NVIDIA的标志。
  关于
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "15inch LCD "
        DisplaySize  304.1 228.1
        HorizSync    25.0 - 50.0
        VertRefresh  50.0 - 70.0
        Option      "DPMS"

EndSection
这一段我没改进去,因为我改Section "Screen"就行了。本人技术有限,所以就没敢再改
回复 支持 反对

使用道具 举报

发表于 2008-12-29 20:09:36 | 显示全部楼层
把粗体那个加上就没nvidia的logo了

  1. Section "Device"
  2.     Identifier     "Card0"
  3.     Driver         "nvidia"
  4.     VendorName     "All"
  5.     BoardName      "All"
  6.     Option         "AddARGBGLXVisuals" "True"
  7.     Option         "RenderAccel" "True"
  8.     [b]   
  9.    Option         "NoLogo" "True"
  10.     [/b]
  11. EndSection
复制代码
回复 支持 反对

使用道具 举报

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

本版积分规则

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