Xorg Konfigurationsdatei Bigdesktop mit Xorg und BerylXgl

Aus Linupedia.org
Wechseln zu: Navigation, Suche

Verwendete Hardware

Hier ein kurzer Überblick über die wichtigsten Eckdaten:

Eine xorg.conf für fglrx mit SUSE und "kernel-default i386 GNU/Linux"

  • Verwendet unter SuSE 10.2 und 10.3
  • AIGLX ist in der config deaktiviert!

Beide Monitore 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: "1024x768+1024x768" [STRG+ALT (+/-)]

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

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

Grafikkarte:

  • ASUS EAX 1950 XTX PCI-E;

Unter SuSE 10.2/10.3 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 Bigdestkopsetup Xgl and Xorg/AIGLX or normal.
# used Board X1950 XTX; With openSUSE 10.2/10.3
# 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)
# SuSE 10.2/10.3 Xgl: DISPLAYMANAGER_XGL_OPTS="-lines -accel glx:pbuffer -accel xv:pbuffer -xorgAc +xinerama"
# before beryl went compiz fusion. And compiz fusion.
# 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"                                # partial support in SuSE 10.3;
	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"
	Option       "XkbOptions" "caps:shiftlock"
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

### 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  400 300                                      # special for my screens
#	Option	     "VendorName" "ATI Proprietary Driver"        # <- because unused
#	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"      # only Mainmemory in mtrr since 10.3? # 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	    "EnableMonitor" "crt1,crt2"                    # Screens Enabled
	Option       "ForceMonitors" "auto,crt1"                   # CRT Screens
	Option       "Mode2" "1024x768,1024x600,800x600,640x480"   # Modes Monitor 2
	Option       "PairModes" "1024x768+1024x768"               # pairmodes ;)
	Option       "GammaCorrectionI"           "0x06419064"    
	Option       "GammaCorrectionII"          "0x06419064"
	Option       "ForceGenericCPU" "no"                        # set to "yes" if cpu detected uncorrectly
	Option       "UseFastTLS" "0"                              # for wine; etc. (unnecessary)
	Option       "BlockSignalsOnLock" "on"
#	Option       "FSAAEnable" "on"                             # AMD ATI CCC
	Option	     "Capabilities" "0x00000800"
#	Option	     "FSAAScale" "0"                               # AMD ATI CCC
#	Option	     "FSAADisableGamma" "on"                       # AMD ATI CCC
### EXPERIMENTELL!! :::
## For cards newer than X1050 and IGPs we must have this one:
## Option "VideoOverlay" "off"
## Option "OpenGLOverlay" "off"
## Option "TexturedVideo" "on"
## In this Section tipps for AIGLX etc. optimized reading various threads.
	Option	    "Textured2D" "on"                              # f. AIGLX 
	Option	    "TexturedXrender" "off"                        # f. AIGLX 
	Option	    "TexturedVideoSync" "on"                       # ?
	Option	    "VideoOverlay" "off"	                   # only one! (off if Textured Video Enable)
	Option	    "OpenGLOverlay" "off"	                   # only one! (off if Textured Video Enable)
	Option	    "TexturedVideo" "on"                           # See GL/Video Overlay! only One!
	Option	    "XAANoOffscreenPixmaps" "true"                 # f. AIGLX und Xine
### See comments for this section above!
	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"                                 # alias for DRI yes (true)!
	Option       "no_accel" "no"
	Option       "ScreenOverlap" "0"
	Option       "PseudoColorVisuals" "off"
	Option	     "StereoSyncEnable" "0"                        # prevent tearing effect
	Option       "EnablePrivateBackZ" "no"                     # Z buffer?
#	Option       "backingstore" "true"                         # Commenting (removal)resolves redraw prob
#	Option       "EnablePageFlip" "true"
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                                       # POSIX and permissions (/dev/shm)
EndSection

### Sax2 import (additional):
Section "Extensions"
	Option       "DAMAGE" "true"                               # setting depending on AIGLX/XGL ("true" for SuSE10.3)
	Option       "Composite" "on"                              # setting depending on AIGLX/XGL ("on" for SuSE 10.3)
	Option       "RENDER" "Enable"                             # Enable;
EndSection

F: Warum sind OpenGL Overlay und Video Overlay deaktiviert?:

A: Textured Video wurde aktiviert!

  • Problem beim scrollen und verschieben mit Darstellungsfehlern in KDE und im Kmenü? siehe:
Hilfe Darstellungsproblem KDE



Zurück zu den X-Server Musterkonfigurationen