Xorg Konfigurationsdatei Bigdesktop mit Xorg und BerylXgl

Aus Linupedia.org
Version vom 18. Mai 2007, 14:43 Uhr von Revealed (Diskussion | Beiträge) (Verwendete Hardware: (Tastenkombo für Pairmodes))
Wechseln zu: Navigation, Suche

Verwendete Hardware

Hier ein kurzer Überblick über die wichtigsten Eckdaten:

Eine xorg.conf für fglrx 8.36.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 30.0 - 96.0
  • VertRefresh 50.0 - 150.0
  • zwei 19" Röhrenmonitore
  • Auflösung für den Xserver 1024x768@85 Hz
  • Unterstützte Auflösungen: "1024x768,1024x600,800x600,640x480"
  • versuchsweise Pairmodes: "800x600+800x600,1024x768+1024x768,1024x768+800x600" [STRG (+/-)]

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.36.5 Bigdestkopsetup Xgl and Xorg 
# used Board X1950 XTX; With openSUSE 10.2
# configured for two equal CRT screens; each with 1024x768 @ 85 Hz 
# HorizSync "30.0 - 96.0" VertRefresh "50.0 - 150.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
# see comments for BusID; etc.

# Original and import of sax2:
Section "ServerLayout"
	Identifier   "aticonfig-Layout[all]"
	InputDevice  "Keyboard[0]" "CoreKeyboard"
	InputDevice  "Mouse[1]" "CorePointer"
	Screen    0  "aticonfig-Screen[0]" 0 0	
	Option       "Clone" "off"                                 # from Sax2 and Bigdesktop is set ;)
	Option       "Xinerama" "off"                              # using "in driver Xinerama Extension"
EndSection

# 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"     # All fontpaths may be used depends on
	FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"    # installation and installed fonts
	FontPath     "/usr/share/fonts/latin2/Type1"              # etc.
	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:
Section "Module"                                                  # necessary modules
	Load         "dbe"
	Load         "type1"
	Load         "freetype"
	Load         "extmod"
	Load         "glx"
	Load         "v4l"
	Load         "dri"
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 "InputDevice"                                             # Logitech Acess Keyboard
	Driver       "kbd"                                        # german Keyboard layout
	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"                                      # Logitech MX 510
	Identifier   "Mouse[1]"                                   # no special settings
	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

# 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 "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	HorizSync    30.0 - 96.0                                  # Hsynch first Monitor
	VertRefresh  50.0 - 150.0                                 # Vsynch first Monitor
	DisplaySize  350 260                                      # special for my screens
	Option	     "VendorName" "ATI Proprietary Driver"
	Option	     "ModelName" "Generic Autodetecting Monitor"
	Option	     "DPMS" "true"
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"                                  # Unused with PCI-E card?
	Option	     "HSync2" "30-96"                              # Hsync Monitor 2
	Option	     "VRefresh2" "50-150"                          # Vsync Monitor 2
	Option	     "OverlayOnCRTC2" "1"                          # Overlay
	Option       "DesktopSetup" "Horizontal,Reverse"           # Desktopsetup (reverse)
	Option       "ForceMonitors" "auto,crt1"                   # CRT Screens
	Option       "Mode2" "1024x768,1024x600,800x600,640x480"   # Modes Monitor 2
	Option       "PairModes" "800x600+800x600,1024x768+1024x768,1024x768+800x600" # pairmodes
	Option       "GammaCorrectionI"           "0x06419064"    
	Option       "GammaCorrectionII"          "0x06419064"
	Option       "ForceGenericCPU" "no"      # set to "yes" if cpu detected uncorrectly
	Option       "UseFastTLS" "0"                              # for wine; etc.
	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"                     # for AGP cards ?
#	Option	     "MaxGARTSize" "256"           # (useless f. PCI-E) tuned GART Size (AGP?)
	Option       "Stereo" "off"                                # unused in my case
	Option       "no_dri" "no"
	Option       "no_accel" "no"
	Option       "CenterMode" "off"
	Option       "ScreenOverlap" "0"
	Option       "PseudoColorVisuals" "off"
	Option	     "StereoSyncEnable" "0"                        # prevent tearing effect
	Option       "EnablePrivateBackZ" "no"                     # Z buffer?
#	Option       "backingstore" "true"                         # <- resolves redraw prob
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

# 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

Problem, dass beim Scrollen, verschieben von Icons und im Kmenü Darstellungsfehler auftreten? siehe: Hilfe Darstellungsproblem KDE