From 355e96bd64d12d41069914735f8c7bedb6ae60c0 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Mon, 11 Aug 2014 16:06:54 +0900 Subject: [PATCH] more versions of vbox mods panic - blacklist all vboxvideo users from vsync --- src/lib/ecore_x/xlib/ecore_x_vsync.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/ecore_x/xlib/ecore_x_vsync.c b/src/lib/ecore_x/xlib/ecore_x_vsync.c index e3b1140f84..ac8f7b65a9 100644 --- a/src/lib/ecore_x/xlib/ecore_x_vsync.c +++ b/src/lib/ecore_x/xlib/ecore_x_vsync.c @@ -325,8 +325,10 @@ _drm_init(void) // vboxvideo 4.3.14 is crashing when calls drmWaitVBlank() // https://www.virtualbox.org/ticket/13265 + // also affects 4.3.12 if (stat("/sys/module/vboxvideo", &st) == 0) { +/* FILE *fp = fopen("/sys/module/vboxvideo/version", "r"); if (fp) { @@ -340,6 +342,8 @@ _drm_init(void) } fclose(fp); } + */ + return 0; } snprintf(buf, sizeof(buf), "/dev/dri/card1");