Xorg Konfigurationsdatei Bigdesktop mit Xorg und BerylXgl

Aus Linupedia.org
Version vom 6. April 2007, 17:35 Uhr von Revealed (Diskussion | Beiträge) (Verwendete Hardware: (kleine Korrektur))
Wechseln zu: Navigation, Suche

Verwendete Hardware

Hier ein kurzer Überblick über die wichtigsten Eckdaten:

Eine xorg.conf für fglrx 8.35.5 mit SUSE 10.2 und "2.6.18.8-0.1-default i386 GNU/Linux"

  • ATI Bigdesktopmodus für Xgl/Xorg ohne das die Config geändert werden muss
  • AIGLX wird vom Treiber noch nicht unterstützt

Beide Geräte mit folgenden Einstellungen:

  • HorizSync 31.0 - 91.0
  • VertRefresh 50.0 - 85.0
  • zwei 19" Röhrenmonitore
  • Auflösung für den Xserver 1024x768@85 Hz
  • Unterstützte Auflösungen: "1024x768,1024x600,800x600,768x576,640x480"

Eingabegeräte (Tastatur/Maus) sind in diesem Fall:

  • Logitech Access Keyboard (deutsches Tastenlayout)
  • Logitech MX 510 Maus

Grafikkarte:

  • ASUS EAX 1950 XTX PCI-E;

Verwendeter Sysconfigwert bei Beryl-Xgl (/etc/syconfig/displaymanager):

  • DISPLAYMANAGER_XGL_OPTS="-lines -accel glx:pbuffer -accel xv:pbuffer -xorgAc +xinerama"
# /.../
# modified X11 config file
# (please do not use or modify this file without knowing what it does!)
# for fglrx 8.35.5 Bigdestkopsetup 
# works with Beryl-Xgl and Xorg together X1950 XTX on openSUSE 10.2
# configured for two equal CRT screens; each with 1024x768 @ 85 Hz 
# HorizSync    31.0 - 91.0 VertRefresh  50.0 - 85.0 (both same; refer to monitor manual)
# Xgl: DISPLAYMANAGER_XGL_OPTS="-lines -accel glx:pbuffer -accel xv:pbuffer -xorgAc +xinerama"
# Logitech Access Keyboard (german Layout) and Logitech MX510 Mouse

# Original:
Section "Files"
	FontPath     "/usr/share/fonts/misc:unscaled"
	FontPath     "/usr/share/fonts/local"
	FontPath     "/usr/share/fonts/75dpi:unscaled"
	FontPath     "/usr/share/fonts/100dpi:unscaled"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/URW"
	FontPath     "/usr/share/fonts/Speedo"
	FontPath     "/usr/share/fonts/PEX"
	FontPath     "/usr/share/fonts/cyrillic"
	FontPath     "/usr/share/fonts/latin2/misc:unscaled"
	FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
	FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
	FontPath     "/usr/share/fonts/latin2/Type1"
	FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
	FontPath     "/usr/share/fonts/baekmuk:unscaled"
	FontPath     "/usr/share/fonts/japanese:unscaled"
	FontPath     "/usr/share/fonts/kwintv"
	FontPath     "/usr/share/fonts/truetype"
	FontPath     "/usr/share/fonts/uni:unscaled"
	FontPath     "/usr/share/fonts/CID"
	FontPath     "/usr/share/fonts/ucs/misc:unscaled"
	FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
	FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
	FontPath     "/usr/share/fonts/hellas/misc:unscaled"
	FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
	FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
	FontPath     "/usr/share/fonts/hellas/Type1"
	FontPath     "/usr/share/fonts/misc/sgi:unscaled"
	FontPath     "/usr/share/fonts/xtest"
	FontPath     "/opt/kde3/share/fonts"
	FontPath     "unix/:7100"
	InputDevices "/dev/gpmdata"
	InputDevices "/dev/input/mice"
EndSection

# Sax2 import and additional:
Section "ServerFlags"
	Option       "AIGLX" "off"                                # due to lack of support
	Option       "AllowMouseOpenFail" "on"
	Option       "IgnoreABI" "on"
EndSection

# Sax2 import:
Section "Module"
	Load         "dbe"
	Load         "type1"
	Load         "freetype"
	Load         "extmod"
	Load         "glx"
	Load         "v4l"
	Load         "dri"
EndSection

# Sax2 import:
Section "InputDevice"
	Driver       "kbd"
	Identifier   "Keyboard[0]"
	Option       "Protocol" "Standard"
	Option       "XkbLayout" "de"
	Option       "XkbModel" "logiaccess"
	Option       "XkbRules" "xfree86"
	Option       "XkbVariant" "nodeadkeys"
EndSection

# Sax2 import:
Section "InputDevice"
	Driver       "mouse"
	Identifier   "Mouse[1]"
	Option       "Buttons" "10"
	Option       "Device" "/dev/input/mice"
	Option       "Name" "Logitech USB-PS/2 Optical Mouse"
	Option       "Protocol" "explorerps/2"
	Option       "Vendor" "Sysp"
	Option       "ZAxisMapping" "4 5"
EndSection

# aticonfig import:
Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	HorizSync    31.0 - 91.0                                  # Hsynch first Monitor
	VertRefresh  50.0 - 85.0                                  # Vsynch first Monitor
	Option	     "VendorName" "ATI Proprietary Driver"
	Option	     "ModelName" "Generic Autodetecting Monitor"
	Option	     "DPMS" "true"
EndSection

# Sax2 import:
Section "Modes"
	Identifier   "Modes[0]"
	Modeline     "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
EndSection

# aticonfig import:
Section "Screen"
	Identifier   "aticonfig-Screen[0]"
	Device       "aticonfig-Device[0]"
	Monitor      "aticonfig-Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1024x768" "800x600" "640x480"           # resolutions
	EndSubSection
EndSection

# aticonfig import and additional (modified):
Section "Device"
	BoardName    "ASUS EAX 1950 XTX"                           # ;)
	BusID        ""                 # your BUS ID FOR ADAPTER  #example: BusID    "1:0:0" 
	Driver       "fglrx"
	Identifier   "aticonfig-Device[0]"
	Option       "CenterMode" "off"
	Option       "mtrr" "off"
	Option       "HSync2" "31-91"                              # Hsync Monitor 2
	Option       "VRefresh2" "50-85"                           # Vsync Monitor 2
	Option	     "OverlayOnCRTC2" "1"                          # Overlay
	Option       "DesktopSetup" "Horizontal,Reverse"           # Desktopsetup (reverse)
	Option       "ForceMonitors" "auto,crt1"                   # CRT Screens
	Option       "Mode2" "1024x768,1024x600,800x600,768x576,640x480" # Modes Monitor 2
	Option       "GammaCorrectionI"           "0x06419064"    
	Option       "GammaCorrectionII"          "0x06419064"
	Option       "ForceGenericCPU" "no"
	Option       "no_accel" "no"
	Option       "UseFastTLS" "0"
	Option       "BlockSignalsOnLock" "on"
	Option       "FSAAEnable" "on"
	Option	     "Capabilities" "0x00000800"
	Option	     "FSAAScale" "0"
	Option	     "FSAADisableGamma" "on"
	Option	     "VideoOverlay" "on"                           # There Can Be Only One ;)
	Option	     "OpenGLOverlay" "off"                         # There Can Be Only One ;)
	Option       "ForceGenericCPU" "no"
	Option       "XAANoOffscreenPixmaps" "true"                # for "xine"
	Option       "KernelModuleParm" "locked-userpages=0"
	Option       "UseInternalAGPGART" "no"
	Option	     "MaxGARTSize" "256"
	Option       "Stereo" "off"
	Option       "no_dri" "no"
	Option       "CenterMode" "off"
	Option       "ScreenOverlap" "0"
	Option       "PseudoColorVisuals" "off"
	Option	     "StereoSyncEnable" "0"                        # prevent tearing effect
	Option       "EnablePrivateBackZ" "no"
	Option       "backingstore" "true"
EndSection

# Original:
Section "ServerLayout"
	Identifier   "aticonfig-Layout[all]"
	InputDevice  "Keyboard[0]" "CoreKeyboard"
	InputDevice  "Mouse[1]" "CorePointer"
	Screen    0  "aticonfig-Screen[0]" 0 0	
	Option       "Clone" "off"
	Option       "Xinerama" "off"
EndSection

# SaX2 import (modified):
Section "DRI"
    Group            "video"
    Mode              0666
EndSection

# Sax2 import (additional):
Section "Extensions"
	Option       "DAMAGE" "false"
	Option       "Composite" "false"                          # Xgl has its own extension
EndSection