QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1805|回复: 6

笔记本nvidia显卡问题!屏幕右边有一黑带。

[复制链接]
发表于 2004-11-29 15:40:26 | 显示全部楼层 |阅读模式
为什么我装了驱动后屏幕右边有一条1厘米左右的黑带,而且显示器频率只能在800×600以下。请高手帮忙啊!
发表于 2004-11-29 16:04:38 | 显示全部楼层
修改/etc/X11/XF86Config或者xorg.conf文件,将水平、垂直刷新率都调大。
回复

使用道具 举报

 楼主| 发表于 2004-11-29 21:45:30 | 显示全部楼层
我在XF86Config里好像没有找到水平、垂直的刷新率参数,以前装RH7.0时好像是有的,现在这个版本是9.0.里面关于显示的只有分辨率之类的。下面是我的XF86Config文件内容:
[code:1]
# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "DevInputMice" "SendCoreEvents"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is 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.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "/usr/share/fonts/simsun"
        FontPath     "unix/:7100"
EndSection

Section "Module"
        Load  "xtt"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "type1"
#        Load  "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#        Option        "Xleds"                "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#        Option        "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#        Option        "XkbModel"        "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#        Option        "XkbModel"        "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#        Option        "XkbLayout"        "de"
# or:
#        Option        "XkbLayout"        "de"
#        Option        "XkbVariant"        "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#        Option        "XkbOptions"        "ctrl:swapcaps"
# Or if you just want both to be control, use:
#        Option        "XkbOptions"        "ctrl:nocaps"
#
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option            "XkbRules" "xfree86"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "PS/2"
        Option            "Device" "/dev/psaux"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "no"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
        Identifier  "DevInputMice"
        Driver      "mouse"
        Option            "Protocol" "IMPS/2"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "no"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Generic Laptop Display Panel 1024x768"
        HorizSync    31.5 - 48.5
        VertRefresh  40.0 - 70.0
        Option            "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "Videocard vendor"
        BoardName   "NVIDIA GeForce 4 (generic)"
        VideoRam    16384
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode         0666
EndSection
[/code:1]
回复

使用道具 举报

发表于 2004-12-2 23:18:55 | 显示全部楼层
你用的是东芝的笔记本吗?
回复

使用道具 举报

发表于 2004-12-2 23:29:30 | 显示全部楼层
如果你是东芝的2410,试试这个:
Configuring XF86Config
It is a bit tricky to get the GeForce4 420 to work. Use the following hints for your XF86Config-4.
Add an entry into the "Module" section in the XF86Config:

    Load    "glx"

Remove the following entries, if existing:

    Load    "GLcore"
    Load    "dri"

In section "Device" replace module "nv" with "nvidia". We should also set the BusID.

    Driver  "nvidia"
    BusID   "AGP:01:00:0"

Somehow DDC is not working properly on this laptop. So we have to put the following lines into the section "Device":

    Option  "NoDDC" "1"
    Option  "IgnoreEDID" "1"

Using a TFT together with the commercial Nvidia-drivers will let us use the following lines.

    Option  "GenerateRTList"   "0"
    Option  "OverridePolarity" "1"

Put the following two lines into section "Screen":

    Option  "NoDDC" "1"
    Option  "NvAgp" "1"

If you like some eyecandy you can add a translucent shadow to the X-pointer. Add the folowing lines at the end of section "Device":

    # Some Pointer Eyecandy
    Option                 "CursorShadow" "1"
    Option                 "CursorShadowAlpha" "63"
    Option                 "CursorShadowYOffset" "2"
    Option                 "CursorShadowXOffset" "4"

Removing the ugly black stripe in X
Now we're almost there. Firing up X should work now. But there will be an ugly black vertical stripe on the right-hand side of the screen. To get rid of it put the following line into your modules.conf

    options NVdriver NVreg_SoftEDIDs=0 NVreg_Mobile=2

Using recent drivers (16-Feb-2003 and up) this issue can also be solved by adding the following line to the Device section in your XF86Config-4.

    Option "FlatPanelProperties" "Scaling =  native"

Remember: using Debian, please do not write stuff directly to /etc/modules.conf. The content is regenerated on upgrades. Put the line into /etc/modutils/NVdriver and call update-modules once.
回复

使用道具 举报

 楼主| 发表于 2004-12-3 16:40:09 | 显示全部楼层
多谢!我的是Toshiba1410的。但上面的方法同样有效,真的太感谢了!现在已能很轻松地玩里面的企鹅游戏了。
回复

使用道具 举报

发表于 2004-12-9 15:09:21 | 显示全部楼层
我的是东芝的2410,现在安装了fc3,一切都还正常,可是企鹅那个游戏的分辨率还是在800x600的模式下,右边还是有黑带,你解决了吗?
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-28 07:24 , Processed in 0.096126 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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