# Calculate ac_install_merge==on mergepkg(x11-base/xorg-server)!= path=/etc/X11 comment=# in(os_install_x11_video_drv,other,default)== Section "ServerLayout" Identifier "Xorg Configured" Screen "Monitor" EndSection Section "Files" FontPath "/usr/share/fonts/corefonts" FontPath "/usr/share/fonts/misc" FontPath "/usr/share/fonts/droid" #?pkg(x11-drivers/nvidia-drivers)=>390.132,430.64&&os_install_x11_video_drv==nvidia# ModulePath "/usr/lib64/extensions/nvidia" ModulePath "/usr/lib64/xorg/modules" #pkg# EndSection Section "Module" #?in(os_install_x11_video_drv,nvidia,vesa)==# Load "dri" #in# #?os_install_x11_video_drv==intel# Load "i2c" Load "bitmap" Load "ddc" Load "int10" Load "vbe" #!os_install_x11_video_drv# Load "dbe" # Double buffer extension #os_install_x11_video_drv# Load "glx" # OpenGL X protocol interface Load "extmod" # Misc. required extension EndSection Section "Monitor" Identifier "StandardMonitor" #?in(os_install_x11_video_drv,nvidia,vesa)!=# HorizSync 31.5 - 60.0 VertRefresh 60-160 #in# Option "DPMS" EndSection Section "ServerFlags" Option "StandbyTime" "0" Option "SuspendTime" "0" Option "OffTime" "0" Option "BlankTime" "0" EndSection Section "Device" Identifier "Video" #?hr_video_id!=# BusID "PCI:#-hr_video_id-#" #hr_video_id# Driver "#-os_install_x11_video_drv-#" #?os_install_x11_video_drv==nvidia# Option "RenderAccel" "True" Option "AllowGLXWithComposite" "True" Option "NoLogo" "True" Option "NvAgp" "1" Option "DPI" "96x96" #os_install_x11_video_drv# #?os_install_x11_video_drv==fglrx# Option "XAANoOffscreenPixmaps" "True" Option "AllowGLXWithComposite" "True" Option "RenderAccel" "True" Option "AddARGBGLXVisuals" "True" Option "TripleBuffer" "True" Option "UseFBDev" "True" #http://ru.gentoo-wiki.com/wiki/Fglrx Option "VideoOverlay" "on" # fix bug with mplayer Option "TexturedVideo" "on" # fix bug Xv #os_install_x11_video_drv# #?os_install_x11_video_drv==intel# Option "NoAccel" "False" Option "DRI" "True" Option "AccelMethod" "sna" #os_install_x11_video_drv# EndSection Section "Screen" Identifier "Monitor" Device "Video" Monitor "StandardMonitor" DefaultDepth 24 Subsection "Display" Viewport 0 0 Depth 24 #?cl_ver>=3.5.2.21# #?os_install_x11_resolution_preferred!=# Modes "#-os_install_x11_resolution_preferred-#" #os_install_x11_resolution_preferred# #!cl_ver# #?os_install_x11_resolution!=# Modes "#-os_install_x11_resolution-#" #os_install_x11_resolution# #cl_ver# EndSubsection EndSection #?in(os_install_x11_video_drv,nvidia,vesa,vmware,vboxvideo)==# Section "DRI" Group "video" Mode 0666 EndSection #in# #?in(os_install_x11_video_drv,vmware,vboxvideo)==# Section "Extensions" #?os_install_x11_video_drv==fglrx# Option "RENDER" "On" Option "XVideo" "On" #os_install_x11_video_drv# #?os_install_x11_composite==on&&os_install_x11_video_drv!=vesa# Option "Composite" "On" #!os_install_x11_composite# Option "Composite" "Off" #os_install_x11_composite# EndSection #in#