免费注册 查看新帖 |

Chinaunix

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

Xorg.conf for nvidia with compiz [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-21 17:43 |只看该作者 |倒序浏览

Relevant xorg settings
Code:
# This loads the GLX module
    Load "glx"
EndSection
Section "Monitor"
    Identifier "DELL"
    Displaysize 445 278
    Option "DPMS"
    HorizSync 30-83
    VertRefresh 56-75
    Modeline "1680x1050_60.00" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync
EndSection
Section "Device"
    Identifier "Nvidia"
    Driver "nvidia"
    VideoRam 262144
    Option "NoLogo" "true"
    Option "DynamicTwinView" "0"
    Option "RenderAccel" "true"
    Option "TripleBuffer" "true"
    Option "NoFlip" "true"
    Option "AllowGLXWithComposite" "true"
    Option "Coolbits" "1"
    Option "BackingStore" "true"
    Option "UseEdidDpi" "false"
    Option "DPI" "96 x 96"
    Option "UseEdidFreqs" "false"
EndSection
Section "Extensions"
    Option "Composite" "Enable"
EndSection
Section "Screen"
    Identifier "Screen 1"
    Device "Nvidia"
    Monitor "DELL"
    DefaultDepth 24
    Option "AddARGBGLXVisuals" "true"
    Option "DisableGLXRootClipping" "true"
    Option "ExactModeTimingsDVI" "true"
Subsection "Display"
        Depth 24
   Modes "1680x1050_60" "1280x1024" "1152x864" "1024x768" "800x600"
        ViewPort 0 0
    EndSubsection
EndSection
Section "ServerLayout"
I get this everytime I try to start compiz. I'm running
Gentoo 2006.1 AMD64
NVidia 7100GS with nvidia-drivers-1.0.9629
Xorg 7.1 with nvidia desktop effects
Gnome 2.16.1
compiz-0.3.2
kernel 2.6.17.13
Code:
Section "Files"
    RgbPath "/usr/share/X11/rgb"
    FontPath "/usr/share/fonts/local"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/Type1"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/CID"
    FontPath "/usr/share/fonts/75dpi"
    FontPath "/usr/share/fonts/100dpi"
    ModulePath "/usr/lib64/xorg/modules"
EndSection
Section "Module"
    Load "dbe"
    SubSection "extmod"
        Option "omit xfree86-dga"
    EndSubSection
    Load "type1"
    Load "freetype"
    Load "ddc"
    #Load "GLcore"
    #Load "dri"
    Load "glx"
EndSection
Section "ServerFlags"
    Option "blank time" "10" # 10 minutes
    Option "standby time" "20"
    Option "suspend time" "30"
    Option "off time" "60"
EndSection
Section "InputDevice"
    Identifier "Keyboard0"
    Driver "keyboard"
    Option "AutoRepeat" "500 5"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option "XkbVariant" ""
    Option "XkbOptions" ""
EndSection
Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Device" "/dev/input/mouse0"
    Option "Protocol" "IMPS/2"
EndSection
Section "Monitor"
    Identifier "Monitor0"
    HorizSync 28.0-96.0 # multisync
    VertRefresh 50.0-75.0 # typical for a single frequency fixed-sync monitor
    #1280x1024 @75Hz
    ModeLine "1280x1024" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
    Option "dpms"
EndSection
Section "Device"
    Identifier "Device0"
    Driver "nvidia"
EndSection
Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    Option "AddARGBGLXVisuals" "True"
    DefaultDepth 24
    SubSection "Display"
        Depth 16
        Modes "1280x1024" "1024x768"
    EndSubsection
    SubSection "Display"
        Depth 24
        Modes "1280x1024" "1024x768"
    EndSubSection
EndSection
Section "ServerLayout"
    Identifier "Main Layout"
    Screen "Screen0"
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Extensions"
        Option "Composite" "Enable"
EndSection
    Option "AIGLX" "false"
EndSection


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/3272/showart_344237.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP