Xorg Konfigurationsdatei Bigdesktop mit Xorg und BerylXgl: Unterschied zwischen den Versionen

Aus Linupedia.org
Wechseln zu: Navigation, Suche
K (Verwendete Hardware: (kleine Korrektur))
K (Verwendete Hardware: weitere kleine Änderung.)
Zeile 12: Zeile 12:
 
::* zwei 19" Röhrenmonitore
 
::* zwei 19" Röhrenmonitore
 
::* Auflösung für den Xserver 1024x768@85 Hz
 
::* Auflösung für den Xserver 1024x768@85 Hz
::* Unterstützte Auflösungen: "1024x768,1024x600,800x600,768x576,640x480"  
+
::* Unterstützte Auflösungen: "1024x768,1024x600,800x600,640x480"  
  
 
'''Eingabegeräte (Tastatur/Maus) sind in diesem Fall:'''
 
'''Eingabegeräte (Tastatur/Maus) sind in diesem Fall:'''
Zeile 27: Zeile 27:
 
# modified X11 config file
 
# modified X11 config file
 
# (please do not use or modify this file without knowing what it does!)
 
# (please do not use or modify this file without knowing what it does!)
# for fglrx 8.35.5 Bigdestkopsetup  
+
# for fglrx 8.35.5 Bigdestkopsetup Xgl and Xorg  
# works with Beryl-Xgl and Xorg together X1950 XTX on openSUSE 10.2
+
# used Board X1950 XTX; With openSUSE 10.2
 
# configured for two equal CRT screens; each with 1024x768 @ 85 Hz  
 
# 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)
+
# 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"
 
# Xgl: DISPLAYMANAGER_XGL_OPTS="-lines -accel glx:pbuffer -accel xv:pbuffer -xorgAc +xinerama"
 
# Logitech Access Keyboard (german Layout) and Logitech MX510 Mouse
 
# Logitech Access Keyboard (german Layout) and Logitech MX510 Mouse
 +
# see comments for BusID; etc.
  
 
# Original:
 
# Original:
Zeile 46: Zeile 47:
 
FontPath    "/usr/share/fonts/cyrillic"
 
FontPath    "/usr/share/fonts/cyrillic"
 
FontPath    "/usr/share/fonts/latin2/misc:unscaled"
 
FontPath    "/usr/share/fonts/latin2/misc:unscaled"
FontPath    "/usr/share/fonts/latin2/75dpi:unscaled"
+
FontPath    "/usr/share/fonts/latin2/75dpi:unscaled"     # All fontpaths may be used depends on
FontPath    "/usr/share/fonts/latin2/100dpi:unscaled"
+
FontPath    "/usr/share/fonts/latin2/100dpi:unscaled"   # installation and installed fonts
FontPath    "/usr/share/fonts/latin2/Type1"
+
FontPath    "/usr/share/fonts/latin2/Type1"             # etc.
 
FontPath    "/usr/share/fonts/latin7/75dpi:unscaled"
 
FontPath    "/usr/share/fonts/latin7/75dpi:unscaled"
 
FontPath    "/usr/share/fonts/baekmuk:unscaled"
 
FontPath    "/usr/share/fonts/baekmuk:unscaled"
Zeile 79: Zeile 80:
  
 
# Sax2 import:
 
# Sax2 import:
Section "Module"
+
Section "Module"                                                 # necessary modules
 
Load        "dbe"
 
Load        "dbe"
 
Load        "type1"
 
Load        "type1"
Zeile 90: Zeile 91:
  
 
# Sax2 import:
 
# Sax2 import:
Section "InputDevice"
+
Section "InputDevice"                                             # Logitech Acess Keyboard
Driver      "kbd"
+
Driver      "kbd"                                       # german Keyboard layout
 
Identifier  "Keyboard[0]"
 
Identifier  "Keyboard[0]"
 
Option      "Protocol" "Standard"
 
Option      "Protocol" "Standard"
Zeile 102: Zeile 103:
 
# Sax2 import:
 
# Sax2 import:
 
Section "InputDevice"
 
Section "InputDevice"
Driver      "mouse"
+
Driver      "mouse"                                     # Logitech MX 510
Identifier  "Mouse[1]"
+
Identifier  "Mouse[1]"                                   # no special settings
 
Option      "Buttons" "10"
 
Option      "Buttons" "10"
 
Option      "Device" "/dev/input/mice"
 
Option      "Device" "/dev/input/mice"
Zeile 148: Zeile 149:
 
Identifier  "aticonfig-Device[0]"
 
Identifier  "aticonfig-Device[0]"
 
Option      "CenterMode" "off"
 
Option      "CenterMode" "off"
Option      "mtrr" "off"
+
Option      "mtrr" "off"                                 # Unused with PCI-E card?
 
Option      "HSync2" "31-91"                              # Hsync Monitor 2
 
Option      "HSync2" "31-91"                              # Hsync Monitor 2
 
Option      "VRefresh2" "50-85"                          # Vsync Monitor 2
 
Option      "VRefresh2" "50-85"                          # Vsync Monitor 2
Zeile 154: Zeile 155:
 
Option      "DesktopSetup" "Horizontal,Reverse"          # Desktopsetup (reverse)
 
Option      "DesktopSetup" "Horizontal,Reverse"          # Desktopsetup (reverse)
 
Option      "ForceMonitors" "auto,crt1"                  # CRT Screens
 
Option      "ForceMonitors" "auto,crt1"                  # CRT Screens
Option      "Mode2" "1024x768,1024x600,800x600,768x576,640x480" # Modes Monitor 2
+
Option      "Mode2" "1024x768,1024x600,800x600,640x480"   # Modes Monitor 2
 
Option      "GammaCorrectionI"          "0x06419064"     
 
Option      "GammaCorrectionI"          "0x06419064"     
 
Option      "GammaCorrectionII"          "0x06419064"
 
Option      "GammaCorrectionII"          "0x06419064"
Option      "ForceGenericCPU" "no"
+
Option      "ForceGenericCPU" "no"                       # set to "yes" if cpu detected uncorrectly
Option      "no_accel" "no"
+
Option      "UseFastTLS" "0"                             # for wine; etc.
Option      "UseFastTLS" "0"
 
 
Option      "BlockSignalsOnLock" "on"
 
Option      "BlockSignalsOnLock" "on"
 
Option      "FSAAEnable" "on"
 
Option      "FSAAEnable" "on"
Zeile 170: Zeile 170:
 
Option      "XAANoOffscreenPixmaps" "true"                # for "xine"
 
Option      "XAANoOffscreenPixmaps" "true"                # for "xine"
 
Option      "KernelModuleParm" "locked-userpages=0"
 
Option      "KernelModuleParm" "locked-userpages=0"
Option      "UseInternalAGPGART" "no"
+
Option      "UseInternalAGPGART" "no"                     # for AGP cards ?
Option     "MaxGARTSize" "256"
+
Option     "MaxGARTSize" "256"                           # tuned GART Size (AGP?)
Option      "Stereo" "off"
+
Option      "Stereo" "off"                               # unused in my case
 
Option      "no_dri" "no"
 
Option      "no_dri" "no"
 +
Option      "no_accel" "no"
 
Option      "CenterMode" "off"
 
Option      "CenterMode" "off"
 
Option      "ScreenOverlap" "0"
 
Option      "ScreenOverlap" "0"
 
Option      "PseudoColorVisuals" "off"
 
Option      "PseudoColorVisuals" "off"
 
Option     "StereoSyncEnable" "0"                        # prevent tearing effect
 
Option     "StereoSyncEnable" "0"                        # prevent tearing effect
Option      "EnablePrivateBackZ" "no"
+
Option      "EnablePrivateBackZ" "no"                     # Z buffer?
 
Option      "backingstore" "true"
 
Option      "backingstore" "true"
 
EndSection
 
EndSection
  
# Original:
+
# Original and import of sax2:
 
Section "ServerLayout"
 
Section "ServerLayout"
 
Identifier  "aticonfig-Layout[all]"
 
Identifier  "aticonfig-Layout[all]"
Zeile 188: Zeile 189:
 
InputDevice  "Mouse[1]" "CorePointer"
 
InputDevice  "Mouse[1]" "CorePointer"
 
Screen    0  "aticonfig-Screen[0]" 0 0
 
Screen    0  "aticonfig-Screen[0]" 0 0
Option      "Clone" "off"
+
Option      "Clone" "off"                                 # from Sax2 and Bigdesktop is set ;)
Option      "Xinerama" "off"
+
Option      "Xinerama" "off"                              # using "in driver Xinerama Extension"
 
EndSection
 
EndSection
  
Zeile 201: Zeile 202:
 
Section "Extensions"
 
Section "Extensions"
 
Option      "DAMAGE" "false"
 
Option      "DAMAGE" "false"
Option      "Composite" "false"                         # Xgl has its own extension
+
Option      "Composite" "false"                           # Xgl has its own extension
 
EndSection</pre>
 
EndSection</pre>

Version vom 6. April 2007, 23:50 Uhr

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,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 Xgl and Xorg 
# used Board X1950 XTX; With 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
# see comments for BusID; etc.

# 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 and additional:
Section "ServerFlags"
	Option       "AIGLX" "off"                                # due to lack of support
	Option       "AllowMouseOpenFail" "on"
	Option       "IgnoreABI" "on"
EndSection

# Sax2 import:
Section "Module"                                                  # necessary modules
	Load         "dbe"
	Load         "type1"
	Load         "freetype"
	Load         "extmod"
	Load         "glx"
	Load         "v4l"
	Load         "dri"
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

# 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"                                  # Unused with PCI-E card?
	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,640x480"   # Modes Monitor 2
	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"                           # 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"
EndSection

# 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

# 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