Bei #glxinfo unter root kein display öffenbar, nur als sonstiger user
Auch bei anderen gtk Anwendungen kommt oft die Meldung, $DISPLAY nicht vhd. und/oder display cannot open.
In /var/log/Xorg.0.log bis zum Schluß alles OK, kein Fehler, auch alles angeschaltet wie im Konfig-File verlangt, incl. AIGLX
Aber: anscheinend wird mesa verwendet statt direct rendering, und beryl funktioniert nicht. Wie wird man mesa los ?
Der beryl-manager funktioniert.
Mit dem artist X 0.3 live CD funktioniert beryl, mit Mandrake und RedHat 6 funktioniert auch compiz, stets mit AIGLX. Ich will das aber bei meiner eigentlichen Installierung zum Laufen kriegen. Dabei habe ich einige Funktionen in das xorg.conf File übernommen. Siehe unten.
Ich habe eine Radeon 8500 Karte.
Nachtrag: xorg.conf unten geändert, funktioniert trotzdem nicht.
Ausgabe #glxinfo (falls NICHT unter root): display: :0.0 screen: 0 OpenGL vendor string: Brian Paul OpenGL renderer string: Mesa X11 OpenGL version string: 1.5 Mesa 6.5.2 ======== /etc/X11/xorg.conf : ================ Section "Module" # This loads the font modules # Load "xtt" # Load "speedo" Load "i2c" Load "bitmap" Load "ddc" Load "type1" Load "freetype" Load "extmod" # in jedem Fall Load "synaptics" Load "vbe" Load "dbe" Load "int10" # This loads the DBE extension module. Load "dbe" # Double buffer extension # This loads the GLX module Load "glx" # This loads the DRI module Load "dri" # muss an sein !! # This loads the miscellaneous extensions module, and disables # initialisation of the XFree86-DGA extension within that module. SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection EndSection # ************************************************** ******************** # Files section. This allows default font and rgb paths to be set # ************************************************** ******************** Section "Files" FontPath "/usr/share/fonts/TTF" FontPath "/usr/share/fonts/OTF" FontPath "/usr/share/fonts/Type1" FontPath "/usr/share/fonts/misc" FontPath "/usr/share/fonts/75dpi/:unscaled" # FontPath "/usr/lib/X11/fonts/local/" FontPath "/usr/lib/X11/fonts/misc/" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/Speedo/" FontPath "/usr/lib/X11/fonts/Type1/" FontPath "/usr/lib/X11/fonts/TTF/" FontPath "/usr/lib/X11/fonts/OTF/" FontPath "/usr/lib/X11/fonts/cyrillic/" FontPath "/usr/lib/X11/fonts/75dpi/" FontPath "/usr/lib/X11/fonts/100dpi/" # The module search path. The default path is shown here. # ModulePath "/usr/lib/xorg/modules" EndSection # ************************************************** ******************** # Server flags section. # ************************************************** ******************** Section "ServerFlags" Option "AIGLX" "on" # on bei radeon , off bei fglrx -Driver EndSection # ************************************************** ******************** # Input devices # ************************************************** ******************** # ************************************************** ******************** # Core keyboard's InputDevice section # ************************************************** ******************** Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "AutoRepeat" "500 30" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "fr" EndSection # ************************************************** ******************** # Core Pointer's InputDevice section # ************************************************** ******************** Section "InputDevice" # Identifier and driver Identifier "Mouse1" Driver "mouse" Option "Protocol" "PS/2" # PS/2 Mouse Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5 6 7" Option "Emulate3Buttons" EndSection # ************************************************** ******************** # Other input device sections # this is optional and is required only if you # are using extended input devices. This is for example only. Refer # to the xorg.conf man page for a description of the options. # ************************************************** ******************** # ************************************************** ******************** # Monitor section # ************************************************** ******************** # Any number of monitor sections may be present Section "Monitor" Identifier "monitor" Option "DPMS" # Bei artist vhd, bei Sabayon nicht HorizSync 31.5 - 64.3 VertRefresh 50-100 EndSection # ************************************************** ******************** # Graphics device section # ************************************************** ******************** Section "Device" Identifier "ATIRadeon8500" Driver "radeon" # oder "ati" Achtung: oben Option "AIGLX" on bei radeon , off bei fglrx -Driver setzen VideoRam 65536 # fraglich, bei S und nicht Option "RenderAccel" "true" # fraglich, oder on Option "AllowGLXWithComposite" "true" # fraglich Option "XAANoOffscreenPixmaps" #Option "BusType" "PCI" #Option "BusID" "PCI:1:0:0" Option "ColorTiling" "1" Option "EnablePageFlip" "1" #Option "VideoOverlay" "on" # unklar, vielleicht noetig #Option "OpenGLOverlay" "off" # unklar, vielleicht noetig Option "TripleBuffer" "true" # fraglich, bei Sabayon und Artist nicht da Option "AGPMode" "4" # fraglich #Option "UseInternalAGPGART" "no" # yes falls schnellerer AGPGART vom mainbord benutzen, aber unklar obs funktioniert # This forces the AGP mode 4x. If you want to use a different value, just change it Option "EnablePageFlip" "on" # This option can improve a little bit. Fraglich # Insert Clocks lines here if appropriate EndSection # ************************************************** ******************** # Screen sections # ************************************************** ******************** Section "Screen" Identifier "Screen 1" Device "ATIRadeon8500" Monitor "monitor" DefaultDepth 16 Option "RenderAccel" "true" Option "AllowGLXWithComposite" "true" Option "AddARGBGLXVisuals" "true" # noetig dass Fensterleiste kommt Option "DisableGLXRootClipping" "True" Subsection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection # ************************************************** ******************** # ServerLayout sections. # ************************************************** ******************** Section "ServerLayout" # The Identifier line must be present Identifier "Simple Layout" Screen "Screen 1" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection Section "DRI" Mode 0666 # unbedingt EndSection Section "Extensions" Option "Composite" "Enable" # enable bei radeon, disable bei fglrx Driver EndSection
Dieser Beitrag wurde von blob bearbeitet: 09. April 2007 - 06:36