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

[gelöst] Neverball ruckelt

mmw

Member
Hallo!

Ich hab mir Neverball 1.4 per Yast gedownloadet. Das Spiel läuft unter openSUSE 11.1 (64-Bit) und KDE 4.1. Allerdings nicht flüssig. Und das, obwohl ich den offiziellen nvidia-Treiber für meine Karte installiert habe. Unter Windows läuft es auch problemlos.

Es ist nicht unspielbar, nervt aber doch schon ein wenig... Hat jemand eine Idee, woran das liegen könnte?

Danke vorab!

---
Edit 1: [gelöst]
Edit 2: Thread wieder offen
Edit 3: nochmal [gelöst]
 
OP
M

mmw

Member
Code:
:~> glxinfo | grep direct
direct rendering: Yes
    GL_EXT_direct_state_access, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
 
Poste mal bitte Deine xorg.conf. Es gibt bestimmte Optionen, die den NVidia-Treiber performanter machen, wahrscheinlich fehlen die Dir.
 
OP
M

mmw

Member
gropiuskalle schrieb:
Poste mal bitte Deine xorg.conf.
Code:
# /.../
# SaX generated X11 config file
# Created on: 2009-02-22T19:35:17+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         "dri"
  Load         "dbe"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
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" "10"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Razer Copperhead Laser Mouse"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  DisplaySize  376 301
  HorizSync    30-83 
  Identifier   "Monitor[0]"
  ModelName    "C19-3"
  Option       "DPMS"
  Option       "PreferredMode" "1280x1024"
  VendorName   "FUS"
  VertRefresh  43-76
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  Modeline      "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection


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


Section "Device"
  BoardName    "GeForce 7600 GS"
  Driver       "nvidia"
  Identifier   "Device[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
 
Als root in eine Konsole tippen:

Code:
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 schauen.
 
OP
M

mmw

Member
gropiuskalle schrieb:
Code:
nvidia-xconfig --allow-glx-with-composite
nvidia-xconfig --render-accel
nvidia-xconfig --add-argb-glx-visuals -d 24
nvidia-xconfig --damage-events
Kannst du mir davor noch kurz sagen, was die Befehle bewirken sollen, oder einen Link geben, wo diese erklärt sind? Danke!
 
Aktivierung von nv-glx mit Composite sowie OpenGL, Farbtiefe auf 24bit, 'render-accel' und 'damage-events' erhöhen die Performance stark. 'nvidia-xconfig' schreibt diese Optionen in Deine xorg.conf (was ich immer etwas zuverlässiger finde als das händische herumkritzeln), was Dir auch mit jedem Befehle bestätigt wird.

Code:
man nvidia-xconfig

Die Befehle sind in dieser Kombination bewährt und getestet (trotzdem gut, dass Du nachfragst).
 
OP
M

mmw

Member
Danke!

Allein mit der Eingabe von
Code:
nvidia-xconfig --allow-glx-with-composite
wird das Ruckeln beseitigt.

Die anderen Optionen werde ich dann eventuell auch nochmal ausprobieren. Im Grunde kann da ja nichts schief gehen, oder?
 
Ha, freut mich, dass das hinhaut.

Die anderen Optionen können nicht nur nicht viel kaputtmachen, sie sind sogar sehr empfehlenswert.

Versprochen. :)

Schau Dir auch mal 'nvidia-settings' an, damit kannst Du mit einer grafischen Oberfläche noch ein paar andere NVidia-Optionen feinkonfigurieren (und userspezifisch abspeichern lassen). "Digital Vibrance" finde ich zum Beispiel total angenehm.
 
OP
M

mmw

Member
Thread wieder offen.

Ich habe mir jetzt mal den Code der aktuellen version von Neverball (1.5.0) geladen und kompiliert. Und das Problem ist wieder da. Ein unvorstellbares Ruckeln.
Ich habe testweise mal alle Einstellungen runtergefahren und 800x600 als Auflösung gewählt. Ohne Veränderung.
Die Einstellungen für den nvidia-Treiber sind noch so, wie sie gropiuskalle empfohlen hat.

Bitte also nochmal um Hilfe!
 
OP
M

mmw

Member
Ich hab' jetzt auf KDE 4.2 geupdatet und ich habe erneut das Gefühl, dass es ein bisschen besser geworden ist. Allerdings läuft es immer noch nicht so glatt, wie es eigentlich sollte.
 
OP
M

mmw

Member
Da das Spiel im Vollbild-Modus einwandfrei läuft, schiebe ich die Schuld für die Ruckler mal KDE in die Schuhe.

Aber auf jeden Fall kann ich jetzt flüssig spielen und schließe den Thread deswegen (mall wieder).

Danke!
 
Oben