Bug 277590

Summary: Putter rendering is very slow
Product: [Applications] kolf Reporter: Art Giles <abg1935>
Component: generalAssignee: Stefan Majewsky <majewsky>
Status: RESOLVED FIXED    
Severity: normal CC: jtamate, kde-games-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.3

Description Art Giles 2011-07-12 00:15:41 UTC
Version:           unspecified
OS:                Linux

When you putt the putter moves very slow. When hits the ball will move very. So you do not know what is going to happen. 

Reproducible: Didn't try

Steps to Reproduce:
Open Kolf and play the game.

Actual Results:  
The putter moves very slow to hit the ball.

Expected Results:  
The putter should move faster. The should move faster.
Comment 1 Jaime Torres 2011-07-15 14:48:49 UTC
At what resolution do you run kolf? I mean, full screen, in a small window?

In any case, try to start kolf from a konsole or Alt+F2 with:
kolf --graphicssystem raster

probably it will be faster (it does here). If it is the case, then it is a Qt or X11 driver problem.
Comment 2 Stefan Majewsky 2011-10-03 11:24:28 UTC
On my system, this can reliably be worked around by starting Kolf with the command
"kolf -graphicssystem raster" (as mentioned in comment #1). I'm working on a patch that enables the raster graphicssystem by default; this should be in 4.8, we'll see if it can get into 4.7.3, too.
Comment 3 Stefan Majewsky 2011-10-07 18:44:39 UTC
SVN commit 1257773 by majewsky:

On X11, choose raster graphicssystem automatically in libkdegames apps.

The QApplication::setGraphicsSystem calls in Kapman and Palapeli are
removed, as libkdegames does now care about this.

DIGEST: This quite improves the rendering performance on Qt <= 4.7.

BUG: 277590
FIXED-IN: 4.7.3

 M  +0 -5      kapman/main.cpp  
 M  +3 -0      libkdegames/CMakeLists.txt  
 A             libkdegames/chooserastergraphicssystem.cpp   [License: LGPL (v2)]
 M  +0 -3      palapeli/src/main.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1257773
Comment 4 Stefan Majewsky 2011-10-07 18:46:59 UTC
SVN commit 1257774 by majewsky:

On X11, choose raster graphicssystem automatically in libkdegames apps.

Backport of revision 1257773 from trunk.

The QApplication::setGraphicsSystem calls in Kapman and Palapeli are
removed, as libkdegames does now care about this.

CCBUG: 277590


 M  +0 -5      kapman/main.cpp  
 M  +3 -0      libkdegames/CMakeLists.txt  
 A             libkdegames/chooserastergraphicssystem.cpp   [License: LGPL (v2)]
 M  +0 -3      palapeli/src/main.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1257774