PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : kde4 und Compiz laufen nicht openSUSE 11.1



Nachbar
21.06.09, 17:29
Hallo Linuxgemeinde

das ist ein Duplikat des Threads
http://www.linuxforen.de/forums/showthread.php?t=262087
gehört glaub ich inhaltlich besser unter Windowmanager:

habe folgendes komisches Problem nach Installation des nvidia-Treibers auf meinem System:
openSUSE 11.1 x86_64 Nvidia GeForce 9600 GT Kernelmodul 3.0.0 NVIDIA 180.51
Kernel 2.6.27.23-0.1-trace
SessionType Standard KDE 3.5.10 "release 21.11".

Ich habe die Installation als One-click-Installation von hier http://opensuse-community.org/nvidia.ymp durchgeführt, nachdem die Installation über das YAST-Repo nicht funktioniert hatte (schwarzer Bildschirm, Sax-Fehler). Das klappte dann, allerdings fiel auf, dass die menu.lst offensichtlich verändert wurde. Man musste grub jetzt mit dem o.g. offensichtlich neu gebauten Kernel mit dem Suffix "trace" starten, default funktioniert nicht mehr.
Damit laufen die 3D-Effekte, googleearth, 3D-Spiele usw. scheinen einwandfrei, die Eingabe glxinfo | grep rendering gibt "yes" aus.

Nun gibt es aber zwei Probleme, die - wie ich vermute - miteinander zusammenhängen:

1. KDM bietet bei Session Type keine Auswahl von kde4 oder gnome mehr an (obwohl beide installiert sind). Da ich früher oder später auf kde4 umsteigen möchte, wäre ich froh, wenn mir jemeand einen Hinweis geben könnte, wie ich das wieder "aktivieren" kann. Bei der Betriebssysteminstallation hatte ich kde3.5 als Standard ausgewählt; wie aber kann ich jetzt wechseln, wenn ich will (Anwahl Standard und kde3 fährt immer kde3 hoch).
Bei den Displaymanger-Einstellungen in der syconfig fiel mir auf, das die Section DISPLAYMANAGER_XSERVER="Xorg", wie ich das von anderen Rechnern kenne, offensichtlich fehlt: /etc/sysconfig/displaymanager liefert:

## Path: Desktop/Display manager
## Description: settings to generate a proper displaymanager config

## Type: string(kdm,kdm3,kdm4,xdm,gdm,wdm,console)
## Default: ""
#
# Here you can set the default Display manager (kdm/xdm/gdm/wdm/console).
# all changes in this file require a restart of the displaymanager
#
DISPLAYMANAGER="kdm4"

## Type: yesno
## Default: no
#
# Allow remote access (XDMCP) to your display manager (xdm/kdm/gdm). Please note
# that a modified kdm or xdm configuration, e.g. by KDE control center
# will not be changed. For gdm, values will be updated after change.
# XDMCP service should run only on trusted networks and you have to disable
# firewall for interfaces, where you want to provide this service.
#
DISPLAYMANAGER_REMOTE_ACCESS="no"

## Type: yesno
## Default: no
#
# Allow remote access of the user root to your display manager. Note
# that root can never login if DISPLAYMANAGER_SHUTDOWN is "auto" and
# System/Security/Permissions/PERMISSION_SECURITY is "paranoid"
#
DISPLAYMANAGER_ROOT_LOGIN_REMOTE="no"

## Type: yesno
## Default: yes
#
# Let the displaymanager start a local Xserver.
# Set to "no" for remote-access only.
# Set to "no" on architectures without any Xserver (e.g. s390/s390x).
#
DISPLAYMANAGER_STARTS_XSERVER="yes"

## Type: yesno
## Default: no
#
# TCP port 6000 of Xserver. When set to "no" (default) Xserver is
# started with "-nolisten tcp". Only set this to "yes" if you really
# need to. Remote X service should run only on trusted networks and
# you have to disable firewall for interfaces, where you want to
# provide this service. Use ssh X11 port forwarding whenever possible.
#
DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="no"

## Type: string
## Default:
#
# Define the user whom should get logged in without request. If string
# is empty, display standard login dialog.
#
DISPLAYMANAGER_AUTOLOGIN=""

## Type: yesno
## Default: no
#
# Allow all users to login without password, but ask for the user, if
# DISPLAYMANAGER_AUTOLOGIN is empty.
#
DISPLAYMANAGER_PASSWORD_LESS_LOGIN="no"

## Type: yesno
## Default: no
#
# Display a combobox for Active Directory domains.
#
DISPLAYMANAGER_AD_INTEGRATION="no"

## Type: list(root,all,none,auto)
## Default: auto
#
# Determine who will be able to shutdown or reboot the system in kdm
# and gdm. Valid values are: "root" (only root can shutdown), "all"
# (everybody can shutdown), "none" (nobody can shutdown from
# displaymanager), "auto" (follow
# System/Security/Permissions/PERMISSION_SECURITY to decide: "easy
# local" is equal to "all", everything else is equal to "root"). Note
# that remote user can never shutdown in GDM.
#
DISPLAYMANAGER_SHUTDOWN="auto"

## Type: string
## Default: ""
#
# Mode to configure on output devices by default
# (RANDR 1.2 compatible drivers only).
#
# If set to "auto", DISPLAYMANAGER_RANDR_MODE_auto is used on laptops, and
# the empty string on workstations.
#
# The output is not explicitly enabled (read: disabled) if set to an empty
# string.
# If the variable contains a fully configured modeline (see default of
# DISPLAYMANAGER_RANDR_MODE_auto), the mode is defined and set.
# If the variable contains a mode name only, the mode has to be defined
# already.
#
# If a monitor is attached during Xstartup, or when invoking "xrandr --auto"
# during runtime, the output is correctly configured and a mode is
# automatically selected if none has been used so far.
#
# Variables are checked according to their extension for
# VGA DVI_I DVI_D DVI_A Composite S_Video Component LFP Proprietary
#
DISPLAYMANAGER_RANDR_MODE_VGA=""
#DISPLAYMANAGER_RANDR_MODE_DVI_I=""
#DISPLAYMANAGER_RANDR_MODE_DVI_D=""
#DISPLAYMANAGER_RANDR_MODE_DVI_A=""
#DISPLAYMANAGER_RANDR_MODE_Compsite=""
#DISPLAYMANAGER_RANDR_MODE_S_Video=""
#DISPLAYMANAGER_RANDR_MODE_Component=""
#DISPLAYMANAGER_RANDR_MODE_LFP=""
#DISPLAYMANAGER_RANDR_MODE_Proprietary=""

## Type: string
## Default: "1024x768_60 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync"
#
# Mode to use for laptops for DISPLAYMANAGER_RANDR_MODE_* on laptops only,
# when the according variable is set to "auto".
# (RANDR 1.2 compatible drivers only).
#
DISPLAYMANAGER_RANDR_MODE_auto="1024x768_60 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync"
## Path: Desktop/Display manager
## Description: settings to generate a proper displaymanager config
## Config: kdm3
## Type: string
## Default:
#
# space separated list of users for which icons should be shown in KDM
# if empty, then take system defaults
#
KDM_USERS=""

## Type: string
## Default:
#
# Special greeting words in kdm
#
KDM_GREETSTRING=""

## Type: string
## Default: SUSE
#
# Define the theme to be used by kdm. If empty, the traditional login
# window is used (which lacks some features)
#
DISPLAYMANAGER_KDM_THEME="SUSE"


2. Compiz lässt sich durch nichts in der Welt zum Laufen bringen. Ich habe schon einige How-Tos in Linuxforen durchgearbeitet, leider ohne Erfolg:
http://www.linux-club.de/viewtopic.php?f=24&t=101820&p=621736
http://www.linux-club.de/viewtopic.php?f=24&t=93724
http://www.linux-club.de/viewtopic.php?f=24&t=103003
http://de.opensuse.org/Propriet%C3%A4re_NVIDIA-Grafiktreiber#NV-GLX_aktivieren_.28Compositing.2F3D-Effekte_mit_nvidia.29

Ein Aufruf von Compiz auf der Kommandozeile bringt

ppp8:~> compiz
compiz (core) - Error: Screen 0 on display ":0.0" already has a compositing manager; try using the --replace option to replace the current compositing manager.
compiz (core) - Fatal: No manageable screens found on display

Wenn ich das empfohlene replace mache, gibt es zwar keinen Fehler, aber es passiert genauso nichts. Hier meine Xorg

# /.../
# SaX generated X11 config file
# Created on: 2009-06-14T13:36:39+0200.
#
# 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 "glx"
Load "dbe"
Load "extmod"
Load "dri"
Load "freetype"
EndSection

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


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


Section "Monitor"
Option "CalcAlgorithm" "XServerPool"
DisplaySize 305 230
HorizSync 31-48
Identifier "Monitor[0]"
ModelName "1024X768@60HZ"
Option "DPMS"
Option "PreferredMode" "1280x1024"
VendorName "--> VESA"
VertRefresh 50-60
UseModes "Modes[0]"
EndSection


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


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


Section "Device"
BoardName "GeForce 9600 GT"
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



Wenn jemand eine Idee hat, wie das in den Griff zu bekommen ist (compiz starten, kdm mit den Optionen kde4 und gnome einrichten) bitte um Posting! Danke.

Nachbar
22.06.09, 07:03
Hallo Linuxgemeinde

eines der Probleme konnte ich lösen, KDE4 wird in kdm jetzt angeboten. Lag daran, dass bei der Erstinstallation kdebase4-session nicht mitinstalliert wurde.

Bleibt die Frage, warum compiz nicht will. Vielleicht noch jemand ne Idee??

diarnst
23.06.09, 09:52
Wozu brauchst Du eigentlich Compiz ? Die Bildschirmeffekte bietet KDE4 auch fast alle.
Hast Du einen sonstigen speziellen Grund ?
Schon mal die KDE4-3D-Effekte ausgeschaltet bevor Du Compiz probierst?


Dietger

Nachbar
23.06.09, 10:09
Hallo

Compiz weil ich derzeit noch überwiegend kde 3.5 benutze. Werde aber 3D in kde4 mal abschalten und schauen was passiert. Bin grad nicht am Rechner, aber berichte dann nochmals. Danke.