LinuxSir.cn,穿越时空的Linuxsir!

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

gentoo好像不支持1920X1080分辨率--(解决啦)

[复制链接]
发表于 2009-7-22 18:33:41 | 显示全部楼层 |阅读模式
显示器三星f2380,xorg.conf已经设置为1920X1080,但是进入KDE居然是1600X1200,进入KDE没问题,应该只是xoeg.conf分辨率设置问题吧?或者内核要配置?
发表于 2009-7-23 21:44:40 | 显示全部楼层
你的显卡支持么?看看Xorg.log
回复 支持 反对

使用道具 举报

发表于 2009-7-23 23:35:12 | 显示全部楼层
跟内核没关系。跟xorg.conf设置和显卡驱动有关系。

如果windows下正常的话,显卡应该是支持此分辨率的。
回复 支持 反对

使用道具 举报

发表于 2009-7-23 23:48:05 | 显示全部楼层
不知道xorg是不是支持。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-25 14:52:07 | 显示全部楼层
xp下面没有问题,当是linux不行。sabayon4.2 liveDVD也不行。XP下面的显示器显示的参数为67.2khz,60hz,1920x1080。在xorg.cong里面设置这些参数还是1600x1200
ati x800 显卡
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-26 13:35:41 | 显示全部楼层
我的xorg.conf
# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"          # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
#    Load        "type1"
    Load        "freetype"
    Load        "v4l"
    Load        "xtt"
#    Load        "fglrx"

# This loads the GLX module
    Load       "glx"
# This loads the DRI module
    Load       "dri"
    Load       "drm"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath        "/usr/share/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#

    FontPath   "/usr/share/fonts/TTF/"
# The module search path.  The default path is shown here.

#    ModulePath "/usr/lib/modules"

    FontPath         "/usr/share/fonts/misc"
    FontPath         "/usr/share/fonts/ttf-bitstream-vera"
    FontPath         "/usr/share/fonts/Type1"
    FontPath         "/usr/share/fonts/100dpi"
    FontPath         "/usr/share/fonts/75dpi"
    FontPath         "/usr/local/share/fonts"
EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

EndSection

Section "InputDevice"

    Identifier        "Keyboard1"
    Driver        "kbd"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option     "rotocol"      "Xqueue"

    Option "AutoRepeat" "500 30"

#    Option "XkbDisable"

    Option "XkbRules"        "xorg"
    Option "XkbModel"        "pc105"
    Option "XkbLayout"        "us"
#    Option "XkbVariant"        "us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier        "Mouse1"
    Driver        "mouse"
    Option "rotocol"    "IMPS/2"        # IntelliMouse PS/2
    Option "Device"      "/dev/input/mice"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.


    Option "ZAxisMapping"   "4 5 6 7"


EndSection



Section "Monitor"

    Identifier  "My Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   31-67.2
   

#    HorizSync        30-64         # multisync
#    HorizSync        31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync        15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

   
    VertRefresh  60

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier        "Standard VGA"
    VendorName        "Unknown"
    BoardName        "Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.


    Driver     "vga"


EndSection

# Device configured by xorgconfig:

Section "Device"
    Identifier  "** ATI Radeon (generic)               [radeon]"
    Driver      "radeon"
    Option          "AGPMode" "8"
    Option          "EnablePageFlip" "True"   
    Option          "XAANoOffscreenPixmaps" "true"
    Option          "XaaNoScanlineImageWriteRect"
    Option          "XaaNoScanlineCPUToScreenColorExpandFill"
#    BusID           "CI:1:0:0"
#
    Option "VideoOverlay" "on"
    Option "AccelMethod" "XAA"
#
#    Option "AccelDFS"    "1"
#    Option "AGPFastWrite" "1"
   
    #VideoRam    262144
    # Insert Clocks lines here if appropriate
EndSection


Section "Screen"
    Identifier  "Screen 1"
    Device      "** ATI Radeon (generic)               [radeon]"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1920x1080"
        Virtual     1920 1080
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16

        Virtual     1920 1080
        Modes       "1920x1080"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1920x1080"
        Virtual     1920 1080
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"


    Screen "Screen 1"


    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "DRI"
    Mode 0666
EndSection
回复 支持 反对

使用道具 举报

发表于 2009-7-26 17:06:03 | 显示全部楼层
  1. Modeline "1920x1080" 208.17  1920 2024 2280 2752  1080 1080 1083 1125
复制代码
看看行不行


~ $ gtf 1920 1080 60 也可以得到modeline


read-edid也是一个途径,用法是 ~ $ sudo get-edid | parse-edid

  1. Option "noDDC" "True"
  2. Option "UseEdid" "False"
  3. Option "UseEdidDpi" "False"
  4. Option "UseEdidFreqs" "False"
  5. Option "ModeValidation" "NoEdidModes"
复制代码
或许这样的options也能解决问题



Xorg.0.log 也是要拿来对照参考的
回复 支持 反对

使用道具 举报

发表于 2009-7-26 17:36:09 | 显示全部楼层
最快捷的方法是 xrandr -s 1920 1080
回复 支持 反对

使用道具 举报

发表于 2009-7-26 20:59:47 | 显示全部楼层
怎么可能不支持,给你ModeLine参考下

    ModeLine "1920x1080@24" 74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
    Modeline "1920x1080@50" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
    Modeline "1920x1080@60" 148.350 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync

不过我是N卡,实在不行,你去下载个XBMC的Live版刻盘或者U盘量产启动看看行不行
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-26 21:16:45 | 显示全部楼层
gtf 1920 1080 60
可以了,谢谢各位!
xrandr -s 1920x1080好像不行。执行和显示
Size 1920x1080 not found in available modes
回复 支持 反对

使用道具 举报

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

本版积分规则

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