免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2394 | 回复: 3
打印 上一主题 下一主题

桌面分辨率问题!『已解决』 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-06-02 19:26 |只看该作者 |倒序浏览
Solaris 10 u5 的系统
宽屏显示器!

安装后需要装nVidia的驱动才能支持宽屏。
这个没关系,官方驱动还是有的,安装也方便。

问题:
每次进系统时,默认的环境是1024*768的。
需要进入NVIDIA X Server Settings设置一下才能调整到1440*900的分辨率。

该设置哪里才能解决呢?除了/etc/X11/.xorg.conf还能在哪里折腾呢??

说明:这是新问题,之前装好驱动后自己就好好的,突然之间出来的故障!

附上系统自己的和NVIDIA设定的xorg.conf:

==系统自己的xorg.conf===============================================
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11/lib/X11/rgb"
        ModulePath   "/usr/X11/lib/modules"
        FontPath     "/usr/X11/lib/X11/fonts/TrueType/"
        FontPath     "/usr/X11/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11/lib/X11/fonts/Type1/sun/"
        FontPath     "/usr/X11/lib/X11/fonts/F3bitmaps/"
        FontPath     "/usr/X11/lib/X11/fonts/misc/"
        FontPath     "/usr/X11/lib/X11/fonts/100dpi/"
        FontPath     "/usr/X11/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "IA"
        Load  "Xst"
        Load  "dbe"
        Load  "extmod"
        Load  "record"
        Load  "xtrap"
        Load  "GLcore"
        Load  "glx"
        Load  "xtsol"
        Load  "bitstream"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/mouse"
        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   "Quadro FX 560"
        BusID       "PCI:7: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
        EndSubSection
EndSection

===================================================================

==NVIDIA设定的xorg.conf============================================

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (@builder55)  Mon May 19 00:23:12 PDT 2008

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath        "/usr/X11R6/lib/X11/fonts/TrueType/"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1/sun/"
    FontPath        "/usr/X11R6/lib/X11/fonts/F3bitmaps/"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "IA"
    Load           "bitstream"
    Load           "xtsol"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/mouse"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "IOD LCD-AD191X2"
    HorizSync       31.5 - 60.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro FX 560"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1440x900 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

==========================================================================

[ 本帖最后由 FlyInSunShine 于 2008-6-4 10:34 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-06-03 00:33 |只看该作者
高手们来解决,我也来学习一下

论坛徽章:
0
3 [报告]
发表于 2008-06-03 13:17 |只看该作者
运行

#nvidia-seting  (好像是这样)

选择你想要的分辨率,点击保存配置文件即可。这就是在Linux 和 solaris x86下使用nvidia的卡的好处。

论坛徽章:
0
4 [报告]
发表于 2008-06-04 10:33 |只看该作者
已解决!

我一直更改的是文件“/etc/X11/.xorg.conf”
实际方案:不管“/etc/X11/.xorg.conf”是什么
建立“/etc/X11/xorg.conf”把设置写好就OK了!

就是两个文件的差别!
原因不明,有待高手指点~~~

汗一个先,我一直以为配置文件就是那一个“.”开头的xorg.conf呢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP