Comments (27)
With the new camera, I am not sure if this is an issue any longer.
from stk-code.
It's much better with the new camera, though unfortunately in one occasion I reproduced stutter
from stk-code.
Same procedure as last release? Same procedure as every release ... postponed :(
from stk-code.
I notice this problem very often with the add-on track "Lava fields" even with good FPS (no advanced pipeline, all other settings turned to max).
from stk-code.
Should have improved a lot in latest git. We can reopen if we ever reproduce it again...
from stk-code.
Umm... Still very reproducible for me (as in I can't not reproduce it).
from stk-code.
After having lived with this issue a while, I noticed that it seems like it is related to how hot my CPU/GPU gets (Intel HD 3000, so the GPU is on the CPU chip).
from stk-code.
@qwertychouskie How much is your FPS (since HD 3000 is the minimum) ? And if your GPU is hot it would throttle or display artifacts (if it is old).
On my laptop with Radeon HD 7640g since upgrading to Ubuntu 16.04 (with those terrible drivers that lag) the kart is moving back and forward slightly (game is still playable , FPS is around 25). I am using 0.9.2 with advanced pipeline and a lot of other effects enabled
from stk-code.
Low FPS do not seem to be the cause of the issue, it is still noticeable with the advanced pipeline turned off, even on the low-resource "Lava Fields" race.
from stk-code.
I am wondering if systems that use Mesa specifically are affected by this issue.
Should have improved a lot in latest git. We can reopen if we ever reproduce it again...
@auriamg Can this be reopened, since it is still reproducible?
from stk-code.
@qwertychouskie I am using Mesa git from padoka PPA (recommened instead of Oibaf for HD 7000 and above , don't know about Intel / NVIDIA).
from stk-code.
Hmm, the OpenGL 2.1 pipeline does not seem to have the issue, definitely something related to the graphics drivers...
from stk-code.
I take that back, it can happen in the OpenGL 2.1 pipeline, but it requires very high CPU use (in my case, the latest STK auto-compiling) to trigger it.
from stk-code.
@qwertychouskie you are probably getting an uneven framerate. getting the game totally smooth despite an erratic framerate will be hard...
from stk-code.
@auriamg I have about 25 FPS which looks smooth
from stk-code.
@auriamg Then it is one of the most uneven framerates in existence ;)
https://jacobspctuneup.tk/bug.webm
from stk-code.
@qwertychouskie Mine is smooth but it moves back and forward slightly
from stk-code.
I recorded a replay while it was doing it, and later played the replay when it was not doing it. The replay was smooth, which indicates the the kart itself is not moving, but the problem lies with the camera.
from stk-code.
@qwertychouskie How many FPS did you record the replay at ?
from stk-code.
I ment a ghost replay.
from stk-code.
@qwertychouskie Mine also looks like that video sometimes but doesn't lag
from stk-code.
In my opinion, this has not been fixed to a satisfactory degree. See https://youtu.be/XFKwCTh8mAg for an example. I used OpenGL capture which should not introduce additional overhead, but set it to limit framerate to 30 FPS.
As can be seen in the video, there's quite a lot of shaking back and forth going on, even when framerate is at a reasonably steady 28-31 FPS. Even when not doing OpenGL capture and thus not limiting framerate, it still shakes noticeably (but not as much). That would be around 50 FPS in the same track with the same settings.
from stk-code.
Actually, looking at the video again, maybe it's not the camera that's shaking, but the kart itself? Kinda looks that way, but it's a bit hard to tell what causes what. In any case it's an issue worth looking into in my opinion, however maybe it should be put in a separate ticket. Any thoughts?
from stk-code.
Looking at that video at a really low speed, the distance between the camera and kart is definitively changing, though it is hard to tell whether the kart is moving back and forth or not.
from stk-code.
Maybe it can be fixed by "smoothing" the delta t in smooth camera too
in void CameraNormal::smoothMoveCamera(float dt) line 108, change to something like this:
float f = 5.0f;
if ((current_speed > 5 ) || (current_speed < 0 ))
{
f = current_speed >0 ? current_speed/3 + 1.0f
: -1.5f * current_speed + 2.0f;
}
static float smooth_dt = 0.0f;
smooth_dt = 0.3f * dt + 0.7f * smooth_dt;
current_position += (wanted_position - current_position) * (smooth_dt *f);
This quick hack only with 1 camera (singleplayer), if work we can fix this properly.
from stk-code.
I believe this patch helped with the worst spikes, which were obviously the most important ones to fix - the micro-stuttering might be very framerate-dependent. But it certainly helped with the jerkiest movements, thanks. :)
I hope this can be merged into the game.
from stk-code.
Commited fix
Please reopen if this issue should still occur.
from stk-code.
Related Issues (20)
- Allow to make track items direction-specific
- Disabling the game sound online still plays some part of sound HOT 3
- Allow to favorite tracks HOT 1
- Allow to access parameters from a server lobby
- The stdout fps data doesn't match the in-game fps counter
- Feature request: add support for Dolphin Bar
- Clicking on lobby icons can trigger a different menu
- Physics engine really struggles with some types of collisions
- The bundled bullet code fails to compile with strict-aliasing violations HOT 1
- GPU artifact happen when use GL renderer HOT 5
- Can't remove custom build supertuxkart HOT 3
- request: video tutorial for making karts HOT 2
- race finished HOT 2
- bunny ears? HOT 2
- translation HOT 1
- supertuxkart: official OST HOT 1
- New main menu music HOT 1
- android: tracks/cards unlocked HOT 2
- Heavier karts should not jump more easily
- Don't allow do disable objects from the track through geometry detail HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stk-code.