• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Compiz unter KDE 4

Status
Für weitere Antworten geschlossen.

Gwanch

Member
Hallo!

Kan mir wer zum Thema COMPIZ, vorzugsweise zum Thema Desktop-würfel unter SUSE 11.1 weiterhelfen?

Ich habe mir jetzt alle erforderlichen Pakete runtergeladen und installiert, habe die aktuellsten Linux-grafiktreiber für meine geforce 8800 gts. doch leider bleibt beim strg+f11 drücken der bildschirm komplett schwarz.oberfläche ist KDE 4.1.3

wäre sehr dankbar...mfg

gwanch

übrigens: wenn ich unter programmen auf das compiz-config icon klicke, passiert nichts.
 
OP
Gwanch

Gwanch

Member
Code:
glxinfo | grep direct:

direct rendering: Yes
    GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
---

ccsm:

Code:
Info: No sexy-python package found, don't worry it's optional.
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 99, in <module>
    import compizconfig
ImportError: /usr/lib/python2.6/site-packages/compizconfig.so: undefined symbol: ccsGetPluginStrExtensions
 
OP
Gwanch

Gwanch

Member
aktuell habe ich mir compiz für kde4 durch eine 1-klick-installation von der opensuse.org seite installiert.
 
Okay, ich bin draußen. Beantworte Fragen präzise oder lass es bleiben, aber ich mag Dir nicht alles aus der Nase ziehen.
 
OP
Gwanch

Gwanch

Member
was habe ich denn jetzt bitte nicht präzise beantwortet ? vielleicht habe ich auch einfach keine ahnung von linux weil ich ein totaler anfänger bin und die lust auf linux vergeht mir immer mehr bei solchen antworten...
 
Sorry, bin heute etwas angeknackst.

Da ich nicht weiß, welche Pakete und aus welchen Repositories dieser one-click Pakete installiert, kann ich auch nicht sagen, was da fehlt oder falsch ist. Mein Tipp: wiederhole den one-click, schreibe Dir die damit installierten Paketnamen auf und breche das ganze dann ab. Dann deinstalliere diese Pakete über YaST und poste mir die Ausgabe von

Code:
zypper lr

...dann geht's gleich weiter. Diese one-clicker sind bisweilen nicht so zuverlässig. Wir rollen das mal neu auf.

Sorry nochmal...
 
OP
Gwanch

Gwanch

Member
schon okay, also dann:

die 1-klick-installation stammt von http://de.opensuse.org/Compiz_Fusion

dort wurden folgende pakete installiert:

compiz
compiz-emerald
compiz-emerald-themes
compiz-fusion-plugins-extra
compiz-fusion-plugins-main
compiz-kde
compiz-manager
compizconfig-settings-manager
fusion-icon
libcompizconfig
python-compizconfig
simple-ccsm

die ich alle gelöscht habe. (wobei simple-ccsm NICHT installiert war)!

die ausgabe von zypper lr brachte dies:

Code:
# | Alias             | Name                  | Aktiviert | Aktualisierung
--+-------------------+-----------------------+-----------+---------------
1 | NVIDIA Repository | NVIDIA Repository     | Ja        | Ja
2 | Packman           | Packman               | Ja        | Ja
3 | X11:XGL           | X11:XGL               | Ja        | Ja
4 | openSUSE 11.1-0   | openSUSE 11.1-0       | Ja        | Ja
5 | repo-debug        | openSUSE-11.1-Debug   | Nein      | Ja
6 | repo-non-oss      | openSUSE-11.1-Non-Oss | Ja        | Ja
7 | repo-source       | openSUSE-11.1-Source  | Nein      | Ja
8 | repo-update       | openSUSE-11.1-Update  | Ja        | Ja
 
Hm, scheint eigentlich alles da zu sein - dennoch würde ich diese Pakete jetzt mit YaST und nicht als one-click installieren (Mit dem von mir angefragten Repository war übrigens "X11:XGL" gemeint, Repo = Softwarequellen).

Vor dem nächsten Test solltest Du in den KDE4-Einstellungen ('systemsettings') die Effekte deaktivieren, denn KDE4-Effekte verhakeln sich gerne mal mit denen von Compiz. Poste außerdem mal Deine /etc/X11/xorg.conf, unabhängig (glaube ich jedenfalls) vom akuten Problem fehlen Dir sicherlich einige Treiberoptionen.

Davon abgesehen: Du weißt schon, dass Du für den Würfel kein Compiz benötigst, oder? KDE4 bietet nicht die volle Breitseite an Effekten und Funktionen, aber der Würfel und einiges mehr ist bereits implementiert - eventuell wirfst Du ja auch beides sozusagen durcheinander? Wenn es Dir nur um Fensterpudding, Würfel, Fenstergallerie und sowas geht, könntest Du Dir die Sache wesentlich einfacher machen und Compiz komplett weglassen.

Sag Bescheid. :)
 
OP
Gwanch

Gwanch

Member
jo danke für die antwort.

die xorg.cfg sieht so aus:

Code:
# /.../
# SaX generated X11 config file
# Created on: 2009-02-23T17:49:37+0100.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

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"
  FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/Type1"
  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"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail" "on"
  Option       "ZapWarning" "on"
EndSection

Section "Module"
  Load         "freetype"
  Load         "extmod"
  Load         "dbe"
  Load         "glx"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "de"
  Option       "XkbModel" "logicd"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "14"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Logitech USB Receiver"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  DisplaySize  340 270
  HorizSync    31-56
  Identifier   "Monitor[0]"
  ModelName    "1024X768@70HZ"
  Option       "PreferredMode" "1024x768"
  VendorName   "--> VESA"
  VertRefresh  50-70
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1024x768" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1024x768" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1024x768" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1024x768" "1024x600" "800x600" "768x576" "640x480" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "GeForce 8800 GTS"
  Driver       "nvidia"
  Identifier   "Device[0]"
  Screen       0
  VendorName   "NVidia"
EndSection



Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection


Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
  Option       "Composite" "on"
EndSection

gehen wir mal davon aus dass ich erstmal compiz weglasse:
das fensterwackeln und zum beispiel schnee rieseln funktionieren.nur wenn ich strg+f11 für den würfel drücke kommt ein schwarzer bildschirm, ich sehe nur die deckel des würfels, falls ich sie aktiviere.
 
{Bitte in Zukunft code-tags benutzen, ich passe das mal eben an.]

Dir fehlt so einiges. Ich poste das für Querleser mal komplett, auch wenn zwei Optionen bereits aktiviert sind (kannst aber sicherheitshalber alle Kommandos absetzen). Als root in der Konsole:

Code:
nvidia-xconfig --composite
nvidia-xconfig --allow-glx-with-composite
nvidia-xconfig --render-accel
nvidia-xconfig --add-argb-glx-visuals -d 24
nvidia-xconfig --damage-events

Danach den Desktop neustarten und nochmal nachschauen.
 
OP
Gwanch

Gwanch

Member
habe alle befehle mit sudo eingegeben, effekt gleich null, desktop-würfel immer noch schwarz.
 
1. 'sudo' ist auf SuSE einfach mal Quatsch (auf Ubuntu setzt man root-Befehle so ab), aber hat mit Deinem Problem nichts zu tun.

2. Wiederhole die Befehle und poste die anschließenden Meldungen.

3. Desktop danach neu gestartet (meinetwegen auch per reboot)?
 
OP
Gwanch

Gwanch

Member
Code:
nvidia-xconfig --composite:

Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

---

Code:
nvidia-xconfig --allow-glx-with-composite:

Using X configuration file: "/etc/X11/xorg.conf".
Option "AllowGLXWithComposite" "True" added to Screen "Screen[0]".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'
--

Code:
nvidia-xconfig --render-accel:

Using X configuration file: "/etc/X11/xorg.conf".
Option "RenderAccel" "True" added to Screen "Screen[0]".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'
--

Code:
nvidia-xconfig --add-argb-glx-visuals -d 24:

Using X configuration file: "/etc/X11/xorg.conf".
Option "AddARGBGLXVisuals" "True" added to Screen "Screen[0]".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'
--

Code:
nvidia-xconfig --damage-events:

Using X configuration file: "/etc/X11/xorg.conf".
Option "DamageEvents" "True" added to Screen "Screen[0]".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'
--

danach "reboot"

[Editiert von gropiuskalle, bitte benutze code-tags!]
 
OP
Gwanch

Gwanch

Member
schade, grad wegen den grafisch schönen effekten habe ich mich, unter anderem, für linux entschieden.

sorry wegen den code-tags, weiss nicht wie das geht.
 
Ich schaue mir den thread morgen noch mal in Ruhe an, vielleicht fällt mir noch was ein... bin auch langsam echt müde. Irgendwas muss da sein. Vielleicht versuchen wir es morgen doch nochmal mit Compiz, wenn der Würfel denn wirklich unbedingt sein muss.

code-tags gehen so: Konsolenausgabe mit der Maus markieren, dann den Knopf "Code" drücken und äh... fertig. :)

Jute Nacht aus Berlin!
 
OP
Gwanch

Gwanch

Member
hi nochmal, ich habs geschafft. ich musste in der shell "kcontrol" eingeben um die system-einstellungen zu öffnen. dort in einem der menüs bei sizungsverwaltung den windowmanager auf "compiz" setzen. dann in der shell folgendes eingeben.

Führen Sie das folgende Kommando als Benutzer aus wenn Sie compiz-manager verwenden möchten (funktioniert für KDE und GNOME mit XGL):

compiz-manager &

Führen Sie das folgende Kommando als Benutzer aus (funktioniert für KDE und GNOME mit AIGLX oder NVIDIA):

compiz --replace ccp &


GEIL GEIL GEIL ;)
 
Okay, dann soll es Compiz sein (gefällt mir übrigens auch irgendwie besser als die KDE4-Effekte, auch wenn es sich nicht *ganz* so gut in KDE integriert). Ich freue mich für Dich!

Und drauf gekommen bist Du selbst, also sei stolz auf Dich.

Edit: → Das hier aber bitte noch erledigen. Und dann ist wirklich mal gut. :)
 
Status
Für weitere Antworten geschlossen.
Oben