# Documentation: man xorg.conf 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 # 071023: Modules i2c, ddc & ramdac are built-in so don't explicitly load #Load "ddc" # Display Data Channel - module is built-in #Load "i2c" # - module is built-in 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 Load "freetype" #Load "xtt" # True Type (ttf, ttc) fonts -- conflict with freetype # may need to be commented out to prevent libglxext.so errors! # Disable glx (libglx.a) 070721 due to segfaults during VT switching! # Reenable 071023 to allow Googleearth to run Load "glx" # OpenGL X protocol interface Load "dri" # Direct rendering infrastructure (libdri.a) # DRI needed for 3D. Kernel support required (?) # 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 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 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) Driver "vesa" # VESA (generic) - color depths 8, 15, 16 & 24 - VESA(4x) # VESA driver *does* work but glxgears runs slower than i810 # VESA driver is *not* DRI capable # = /usr/lib/xorg/modules/drivers/vesa_drv.so #Driver "fbdev" # Frame Buffer (generic) - FBDEV(4x) # = /usr/lib/xorg/modules/drivers/fbdev_drv.so # Requires /dev/fb0 but intelfb driver doesn't provide it... #Driver "VMware" # Virtual video card driver Identifier "Intel i915 Controller" VendorName "Intel Corp." #Driver "intel" # Intel 810, 830, 915, 945, etc. # = /usr/lib/xorg/modules/drivers/intel_drv.so #Option "UseFBDev" # see "man fbdevhw" - disable 070807 RJB Option "ModeDebug" "yes" # [] - Dump register information on crashes Option "NoAccel" "false" # [] - disable acceleration Option "DRI" "true" # [] - enable Direct Rendering Interface 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 "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" # disallow pixmap drawing into offscreen video memory # Does XAANoOffscreenPixMaps cause delays sliding windows off screen?? (070723 - maybe not) BoardName "ASUS PTGD1-LA" BusID "PCI:0:2:0" #Option "NoDDC" "1" # [] - force disable of DDC Option "LinearAlloc" "6144" # enable HD XV playback #BusID "PCI:0:2:1" # Intel has this but used for what? # # Need to understand *who* allocates the VideoRam... # i915 allocates "RAM" from physical RAM memory. VideoRam 262144 # for Xgl/Compiz? #VideoRam 131072 # for Xgl/Compiz? - allocation from this fails with FBDev + DRI + glx #VideoRam 65536 # alternate suggestion for some problems... # TV Out Setup # Need to investigate what this does!! # Option "TVStandard" "NTSC-M" # Option "TVOutFormat" "SVIDEO" # Option "UseEvents" "true" # Comments seem to suggest it minimizes MythTV usage 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