[Kubuntu] kdm startet mit composite nicht mehr!

pho3niX

Lt. Commander
Registriert
Juli 2003
Beiträge
1.750
Hi zusammen!

Bin grad über "composite" gestolpert. Soll ja ganz schön sein (Grafikkarten-Beschleunigung aufm Desktop, schöne Effekte, etc.) Deswegen hab ich mal versucht das ganze einzurichten, allerdings startet kdm bei folgender xorg.conf nicht mehr:
Code:
Section "Files"
	FontPath	"/usr/share/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/Type1"
	FontPath	"/usr/share/X11/fonts/CID"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
	Load	"GLcore"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"de"
	Option		"XkbVariant"	"nodeadkeys"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"Buttons"		"7"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"NVIDIA Corporation NV35 [GeForce FX 5900XT]"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
	Option		"AllowGLXWithComposite"	"true"
	Option		"RenderAccel"		"true"
	Option		"NoLogo"		"true"
EndSection

Section "Monitor"
	Identifier	"GDM-3001PT"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"NVIDIA Corporation NV35 [GeForce FX 5900XT]"
	Monitor		"GDM-3001PT"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1600x1200" "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1600x1200" "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1600x1200" "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1600x1200" "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1600x1200" "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1600x1200" "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection

#Sections "Extensions"
#	Option		"Composite"	"true"
#EndSection
Wenn ich jedoch die untersten 3 Zeilen auskommentiere, läufts halt ganz normal! Würd das halt gern mal ausprobieren. Hat jemand eine Idee, was ich noch einstellen o.ä. muss?

Danke schon mal :)

PS: Hab die nvidia-glx Treiber installiert. Kann das das Problem sein? Spiele laufen aber alle ohne Probleme...
 
Zuletzt bearbeitet:
hast du denn alle composite pakete installiert?
wenn ja: msp2601 kann dir sicher mal meine ehemalige xorg.conf geben, mit der geht's ;).

PS: die treiber sind nicht das problem, die laufen damit astrein.
PPS: http://gentoo-wiki.com/Xorg_X11_and_Transparency

(das mergen geht bei dir halt nicht, ansonsten sollte alles auch bei kubuntu stimmen)
 
Zuletzt bearbeitet:
Was sind denn "alle" Composite-Pakete?
Suchergebnisse:
[ ] libxcomposite-dev
[x] libxcomposite1
[ ] libxcomposite1-dbg
[ ] x11proto-composite-dev

PS: "xdpyinfo | grep Composite"-Ausgabe:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xdpyinfo: unable to open display ":0.0".
 
Zuletzt bearbeitet:
eventuell noch xcompmgr & transset (ich weiss allerdings nicht inwieweit die wichtig sind).
kde hat glaube sogar nen eigenen manager, glaube kompmgr.
ansonsten lass dir mal von msp die datei schicken. die habe ich damals modifiziert und monatelang genutzt, und auch er nutzt sie mittlerweile - sollte also auch bei dir gehen..(musst dann nur auflösung anpassen)
 
Hab die 2 Programme mal installiert -> ohne Erfolg.

msp hat grad ne PM bekommen... (hoffe auf baldige Antwort ;))
 
Kann es vll einfach nur sein das du bei composite enable anstelle von true schreiben musst

Option "Composite" "Enable"

Ansonsten hier mal meine bzw karusos ehemalige xorg.conf

Code:
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"  	# Double buffer extension

# 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

# This loads the font modules
    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
    Load       "glx"
# This loads the DRI module
#    Load       "dri"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath	"/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# 

    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
#    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"
#    FontPath   "/usr/share/fonts/Speedo/"
#    FontPath   "/usr/share/fonts/TrueType/"
#    FontPath   "/usr/share/fonts/freefont/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is 
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client. 

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings. 

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"kbd"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option     "Protocol"      "Xqueue"

    Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option	"Xleds"      "1 2 3"

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"


#    Option "XkbDisable"

    Option "XkbRules"	"xorg"
    Option "XkbModel"	"pc105"
    Option "XkbLayout"	"de"
    Option "XkbVariant"	"nodeadkeys"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/psaux"
    Option "Zaxismapping" "4 5"
# Mouse-speed setting for PS/2 mouse.

#    Option "Resolution"	"256"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"	"Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"	"9600"
#    Option "SampleRate"	"150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
    Identifier  "siemens"
    HorizSync   31.5 - 89.0
    VertRefresh 50-100
EndSection

Section "Monitor" 
 Identifier "tft" #TV 
 HorizSync 60 
 VertRefresh 30-150 
 EndSection 

# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier  "6800"
    Driver      "nvidia"
    #VideoRam    131072
    # Insert Clocks lines here if appropriate
    Screen 0
    Option      "RenderAccel" "true"
    Option "AllowGLXWithComposite" "true"
    Option "DPMS"
EndSection

Section "Device" 
         Driver          "nvidia" 
         Identifier      "tft-6800" 
         Screen 1 
         Option          "RenderAccel" "true" 
	 Option 	 "AllowGLXWithComposite" "true"
	 Option		 "DPMS"
 EndSection 
# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen[0]"
    Device      "6800"
    Monitor     "siemens"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" 
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" 
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" 
        ViewPort    0 0
    EndSubsection
EndSection

Section "Screen" 
 Device "tft-6800" 
 Identifier "Screen[1]" 
 Monitor "tft" 
 DefaultDepth 24 
         SubSection "Display" 
                 Depth 24 
                 Modes "1024x768" 
         EndSubSection
 EndSection 

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen 0 "Screen[0]"
    Screen 1 "Screen[1]" Rightof "Screen[0]"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection



Section "Extensions"
Option "Composite" "Enable"
EndSection

MfG
Msp2601
 
Coole Anleitung, habs gleich mal getestet :)
Das erste worüber man stolpert ist, dass Composite GLX nicht mag. Ohne GLX ist es sehr lahm, aber dafür hat man dann:
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"

und schon läuft alles super flüssig und sieht gut aus.

Also die Anleitung ist schon komplett, man muss nur "Nvidia + Xorg" beachten. Ohne diese Tipps macht es sonst keinen Spaß.
 
Welche meinst du jetzt genau?
Ich habe meine eigene Config nur um die Punkte erweitert, die in der Anleitung stehen.

Section "Extensions"
Option "Composite" "true"
EndSection

Option "AllowGLXWithComposite" "true"
Option "RenderAccel" "true"

Die Sache mit transset-df und dem Scrollrad klappt bei mir nicht, wäre aber eh nur ein Test gewesen. Wer verzichtet schon auf das Scrollen? :)
 
aki klappt das bei dir mit option "composite" "true" denn bei karusos alten die ich jetzt auch nutze ist option "composite" "enable".

MfG
Msp2601
 
naja dann geht wohl beides. Werd ich nachher mal bei meinem Gentoo testen.

MfG
Msp2601
 
*g* was soll man dann noch dagegen sagen. Wollte ich auch nicht abschreiten das es geht wollte es nur mal testen.

MfG
Msp2601
 
Config funzt wunderbar... muss jetzt nur noch ein bisschen anpassen ;)
 
Na dann viel spaß mit composite und der transparenz.

MfG
Msp2601
 
BTW: Ist es normal, dass mein X-Server manchmal einfach abkackt?
 
composite wird sehr leicht instabil wenn du das "fade in und fade out" anmachst.
in kde kannste das ja über die fenstereigenschaften ganz einfach regeln. musst halt nur den haken bei dem faden wegmachen, dann sollte es wesentlich stabiler laufen(steht aber zumindest im engl. dabei)
 
hm schade... gerade den Effekt find ich nämlich so toll ;)

Wird/Soll das auch irgendwann mal stabil laufen?
 
Hatte bis jetzt weniger Probleme, obwohl fade in und fade out an sind. Man sollte bloß nicht ein laufendes Video mit alt + linke Maustaste anpacken und durch die Gegend schieben :) Das ergab bei mir einen reproduzierbaren Freeze. Man konnte zwar noch die Maus bewegen, aber der Rechner hat auf nichts mehr reagiert.

Per Kontrollzentrum hat man noch ein paar mehr Optionen. Aktive / Inaktive Fenster transparent machen, oder nur Fenster die verschoben werden etc. Find ich jetzt aber nicht so sinnvoll.
Habe die Config aus der Anleitung übernommen, sieht ja recht nett aus:
xcompmgr -cCfF -r7 -o.65 -l-10 -t-8 -D7 &
 
Zurück
Oben