You are not logged in.
Is there a way to disable the vsync when KMS is used?
Offline
I have the same problem/question. Quake is unplayable like this.
Offline
Does anyone have an answer to this?
It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)
Offline
Have your tired here?
Offline
KMS is enabled by default for a while now. Anyway, I've found the solution. Apparently vsync is hardcoded into the driver, so if you want to disable it you need the following patch:
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
index 103972f..7ddcda0 100644
--- a/src/radeon_dri2.c
+++ b/src/radeon_dri2.c
@@ -313,7 +313,7 @@ radeon_dri2_copy_region(DrawablePtr drawable,
}
vsync = info->accel_state->vsync;
- info->accel_state->vsync = TRUE;
+ //info->accel_state->vsync = TRUE;
(*gc->ops->CopyArea)(&src_pixmap->drawable, &dst_pixmap->drawable, gc,
0, 0, drawable->width, drawable->height, 0, 0);
It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)
Offline