Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Default Screen" 0 0 Option "AIGLX" "true" # "true" if xorg-server compiled with aiglx # InputDevice "Mouse0" "CorePointer" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" # See: http://wiki.archlinux.org/index.php/XOrg_Font_Configuration FontPath "/usr/share/fonts/misc/" # for "cursor" and "fixed" FontPath "/usr/share/fonts/TTF/" # for ttf, ttc, etc. FontPath "/usr/share/fonts/Type1/" # for pfa, pfb & CID # FontPath "/usr/share/fonts/CID/" -- doesn't exist? # Try 100dpi fonts before 75dpi fonts to see if better quality. # Probably works best with 1600x1200 pixel display. FontPath "/usr/share/fonts/100dpi/" FontPath "/usr/share/fonts/75dpi/" EndSection Section "Module" Load "bitmap" # for bdf, pfc & snf fonts #Load "ddc" # Display Data Channel - module is built-in Load "i2c" # ? Load "dbe" # Double buffering extension Load "extmod" # Miscellaneous extensions (required) #SubSection "extmod" #omit "xfree86-dga" # don't initialize the DGA extension, DGA required for xawtv #EndSubSection Load "record" # X event recorder Load "xtrap" # ? # Only need the following two modules if you do not use xfs #Load "type1" # Adobe Type 1 font (pfa, pfb, cid) handler #Load "speedo" # Bitstream Speedo (spd) font handler # True Type, CFF, Open Type, bitmap, Windows, PFR & Type42 font handler # 090619 RJB - remove loading freetype since it appears defunct # Load "freetype" - no longer in xorg-server-1.6.1.X #Load "xtt" # True Type (ttf, ttc) fonts -- conflict with freetype # may need to be commented out to prevent libglxext.so errors! Load "glx" # OpenGL X protocol interface (libglx.a) Load "dri" # Direct rendering infrastructure (libdri.a) # DRI needed for 3D. Kernel support required (?) # 11/15/2006 - try without "dri" -- see if compiz works # Causes loading of: /usr/lib/xorg/modules/extensions/libdri.so (?) #Load "GLcore" # Mesa OpenGL support - sub module for glx #Load "v4l" # Video4Linux: x11-drivers/xf86-video-v4l Load "vbe" # Visual Basic Extensions (???) #Load "int10" # For using BIOS to soft-boot secondary graphics cards EndSection # suggested by Remi in http://blogs.gentoo.org/Remi 08/10/18 # Prevents Xorg from using HAL Section "ServerFlags" Option "AutoAddDevices" "false" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc104" # US 'windows' keyboard EndSection # Input device for generic mouse Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" EndSection # Input device for Microsoft type mouse with scroll wheel Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "auto" # In case of problems, use "IMPS/2", because the PS/2 protocol # doesn't seem to support a scroll wheel Option "Device" "/dev/input/mice" # The ZAxisMapping enables the scroll wheel Option "ZAxisMapping" "4 5" # Needed to force the number of buttons on the mouse (optional?) Option "Buttons" "5" EndSection Section "Monitor" Identifier "MonitorHPf1503" VendorName "HP" ModelName "HP f1503" DisplaySize 300 230 # mm Width Height (X Y) HorizSync 30.0 - 63.0 VertRefresh 56.0 - 76.0 Option "DPMS" EndSection Section "Monitor" Identifier "MonitorMagnavox26MF605W" VendorName "Magnavox" ModelName "26MF605W" DisplaySize 580 330 # mm Width Height (X Y) HorizSync 31.0 - 50.0 VertRefresh 56.0 - 63.0 # Discussion re: commenting out DPMS # and enabling NoDDC and IgnoreEDID to bypass monitor queries Option "DPMS" #Option "NoDDC" # [] - ignore monitor DDC #Option "IgnoreEDID" # [] - ignore monitor EDID ## DDC shows: ## h_active: 1280 h_sync: 1344 h_sync_end 1472 h_blank_end 1664 h_border: 0 ## v_active: 768 v_sync: 771 v_sync_end 778 v_blanking: 798 v_border: 0 # from GTF -- this is too far to the right # -- but we can fix it by using the TV control "autoadjust" # Try this just from the DDC information w/o hsync or vsync # The display General Timing Formula can be calculated using "gtf". # One can use "gtf" to generate a Modeline for the display. Modeline "1280x768" 79.50 1280 1344 1472 1664 768 771 778 798 # Modeline "1280x768b" 78.7368 1280 1344 1472 1648 768 771 778 798 # Modeline "1280x768c" 77.9736 1280 1344 1472 1632 768 771 778 798 -hsync +vsync # For Nvidia w/ KDF-60WF655 # ModeLine "1280x768d" 79.74 1280 1360 1496 1736 768 769 781 787 ## Modeline "1280x768" 79.30 1280 1335 1473 1665 768 769 772 793 # # 1280x720 @ 60.00 Hz (GTF) hsync: 44.76 kHz; pclk: 74.48 MHz # Added +hsync to see if we can fix screen position problem... # Also have a vsync problem... # Change back to -hsync because it may cause a gnome-settings-daemon # Startup problem... Modeline "1280x720" 74.48 1280 1336 1472 1664 720 721 724 746 Modeline "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806 EndSection Section "Monitor" Identifier "MonitorDell2007WFP" VendorName "Dell" ModelName "2007WFP" # http://support.dell.com/support/edocs/monitors/2007WFP/en/about.htm#Specifications # clock: 146.2 MHz Image Size: 434 x 270 mm # h_active: 1680 h_sync: 1784 h_sync_end 1960 h_blank_end 2240 h_border: 0 # v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: 1089 v_border: 0 # Ranges: V min-max: 56-76 Hz, H min-max: 30-83 kHz, PixClock max 150 MHz DisplaySize 433.4 270.9 # mm Width Height (X Y) = 17.0" x 10.7" # Response time is 16ms typical HorizSync 30.0 - 83.0 # kHz (automatic) VertRefresh 56.0 - 76.0 # Hz (except 1680 x 1050 @ 60Hz only) # Discussion re: commenting out DPMS # and enabling NoDDC and IgnoreEDID to bypass monitor queries Option "DPMS" ## Suggestions for larger monitors ## Modeline "1680x1050" 146 1680 1784 1960 2240 1050 1053 1059 1089 # 090619 RJB: don't know whether to specify -VSync (for faster glxgears) ModeLine "1680x1050" 147.14 1680 1784 1960 2240 1050 1058 1063 1103 # May need to have noDDC turned on to avoid matching "monitor" claims # Modeline "1680x1050" 148.5 1680 1784 1960 2240 1050 1053 1059 1089 # ModeLine "1680x1050" 119.0 1680 1728 1760 1840 1050 1053 1059 1080 -HSync +VSync # Generted in Xorg.0.log during startup... # Modeline "1680x1050" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 +hsync -vsync Modeline "1280x1024" 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync # Modeline "1280x1024" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync Modeline "1152x864" 104.00 1152 1224 1344 1536 864 867 871 905 -hsync +vsync Modeline "1024x768" 78.80 1024 1040 1136 1312 768 769 772 800 +hsync +vsync # Modeline "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync Modeline "800x600" 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync # Modeline "800x600" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync # Modeline "640x480" 31.50 640 656 720 840 480 481 484 500 -hsync -vsync # Modeline "640x480" 25.20 640 656 752 800 480 490 492 525 -hsync -vsync # Modeline "720x400" 28.32 720 738 846 900 400 412 414 449 -hsync +vsync #Option "NoDDC" # [] - ignore monitor DDC #Option "IgnoreEDID" # [] - ignore monitor EDID EndSection # # Under "Driver" options are:- # Values: : integer, : float, : "True"/"False", : "String", # : " Hz/kHz/MHz" # [arg]: arg optional # Section "Device" # Driver "vga" # VGA (generic) - color depths 1, 4 & 8 - VGA(4x) # No vga drivercurrently , e.g. /usr/lib/xorg/modules/drivers/vga_drv.so #Driver "VMware" # Virtual video card driver #Driver "vesa" # VESA (generic) - color depths 8, 15, 16 & 24 - VESA(4x) # when loaded with intelfb -> agpgart fails says: # (II) VESA: driver for VESA chipsets: vesa # (II) Primary Device is: ISA # (WW) Falling back to old probe method for vesa # (EE) No devices detected. #ChipID 2 # tried PCI:0:2:0 -- didn't work (Device ID is second #) # See "man xorg.conf" for further information #Driver "fbdev" # Frame Buffer (generic) - FBDEV(4x) # = /usr/lib/xorg/modules/drivers/fbdev_drv.so #Option "UseFBDev" # see fbdevhw(4) and fbdev(4) # with intelfb -> agpgart installed "fbdev" complains about no /dev/fb0 # (needs a frame buffer device) # with "vesafb" installed startx only displays the X for the start screen # When fbdev is used with UseFBDev with intelfb, Xorg faults and produces a stack trace. # Fault occurs in the module libshadow.so. # DO NOT use with intelfb (or vesafb!) compiled into the kernel Driver "intel" # Intel 810, 830, 915, 945, etc. # Depends on i915 driver which creates /dev/dri/card# # Needs i915.modeset=1 on kernel boot line or module # load line to enable UXA (KMS) options # To get small "console" fonts (large screen) need # intelfb built into kernel... # with system supporting intelfb -> agpgart X still thinks the primary # device is ISA. Must intelfb be compiled into the kernel? Identifier "Intel i915 Controller" VendorName "Intel Corp." # = /usr/lib/xorg/modules/drivers/i810_drv.so Option "NoAccel" "false" # [] - disable acceleration Option "DRI" "true" # [] - enable Direct Rendering Interface (for X / glxgears) Option "VBERestore" "true" # [] - use VBE restore to restore initial text mode Option "XVideo" "true" # [] - enable Xvideo support #Option "SWcursor" # [] - hardware cursor used where available #Option "ColorKey" # - pixel value for YUV video overlay #Option "CacheLines" # - graphics memory for 2D accelation & video #Option "Dac6Bit" # [] - change to 6 bit RGB instead of 8-bit #Option "XvMCSurfaces" # - number of surfaces for XvMC (6 or 7), disables XvMC Option "PageFlip" "true" # [] - flip back & front buffers (faster if driver supports it) # Want to look in sources for "intelPageFlip" ?? Option "AccelMethod" "UXA" # Accelerated method for DRI2 capabilities Option "Tiling" "False" # Disable tiling (problematic) # Added Jan-June 2009 # Needs to be compared with TTM/KMS... #Option "ShowCache" # [] - ? #Option "GLX" # [] - for libglut? removed in Xorg X7 # XAA is part of the "old" 2D architecture. #Option "XaaNoPixmapCache" # [] - only required for i810 and i815 Option "XaaNoOffscreenPixmaps" "true" # What does this really do? # Does XAANoOffscreenPixMaps cause delays sliding windows off screen?? BoardName "ASUS PTGD1-LA" BusID "PCI:0:2:0" # = VGA compatible controller #BusID "PCI:0:2:1" # Intel Display Controller (PCI?) #Option "NoDDC" "1" # [] - force disable of DDC Option "LinearAlloc" "6144" # enable HD XV playback VideoRam 262144 # for Xgl/Compiz? #VideoRam 65536 # alternate suggestion for some problems... EndSection Section "DRI" # Direct Rendering Infrastructure Group "video" # Only allow video group users #Mode 0660 # for Aiglx/compiz Mode 0666 # for Aiglx/compiz # RJB 27 Sep 2006 - mode from 660 to 666 - what about non-root DRI??? EndSection Section "Screen" Identifier "Default Screen" Device "Intel i915 Controller" # Monitor "MonitorHPf1503" # Monitor "MonitorMagnavox26MF605W" Monitor "MonitorDell2007WFP" Option "MonitorLayout" "CRT" # only needed for external monitor on laptop? #DefaultDepth 32 # Depth 32 isn't supported by the I830 driver? DefaultDepth 24 # Depth 32 isn't supported by the i830 driver? # May need to add mode "768x576" for TV playback? SubSection "Display" Depth 1 # No mode "1600x1200" "1400x1050" "1280x1024" "1152x864" (?) Modes "1680x1050" "1280x1024" "1152x864" "1280x768" "1024x768" "800x600" Viewport 0 0 EndSubSection SubSection "Display" Depth 4 # No mode "1600x1200" "1680x1050" "1280x1024" "1152x864" "1280x1024" "1152x864" (?) # Would have to change /etc/conf.d/local.start Modes "1680x1050" "1280x1024" "1152x864" "1280x768" "1024x768" "800x600" Viewport 0 0 EndSubSection SubSection "Display" Depth 8 Modes "1680x1050" "1280x1024" "1152x864" "1280x768" "1024x768" "800x600" Viewport 0 0 EndSubSection SubSection "Display" Depth 15 Modes "1680x1050" "1280x1024" "1152x864" "1280x768" "1024x768" "800x600" Viewport 0 0 EndSubSection # Might want to confine 16 bit colors to 800x600 & 640x480 SubSection "Display" Depth 16 Modes "1680x1050" "1280x1024" "1152x864" "1280x768" "1280x720" "1024x768" "800x600" Viewport 0 0 EndSubSection SubSection "Display" Depth 24 # Mode names must match those in the BIOS! Modes "1680x1050" "1280x1024" "1152x864" "1280x768" "1280x720" "1024x768" "800x600" Viewport 0 0 EndSubSection SubSection "Display" Depth 32 Modes "1680x1050" "1280x1024" "1152x864" "1280x768" "1280x720" "1024x768" "800x600" Viewport 0 0 EndSubSection EndSection Section "Extensions" Option "Composite" "Enable" # when using xorg-server has aiglx EndSection