summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-11 16:06:54 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-11 16:06:54 +0900
commit355e96bd64d12d41069914735f8c7bedb6ae60c0 (patch)
tree8d30d90e2ea0dd7a60264d0d5817bcef3a2cb6fb
parent3943b45cf008a37d2d6af4ea982c7781d940a45d (diff)
more versions of vbox mods panic - blacklist all vboxvideo users from vsync
-rw-r--r--src/lib/ecore_x/xlib/ecore_x_vsync.c4
1 files changed, 4 insertions, 0 deletions
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)
325 325
326 // vboxvideo 4.3.14 is crashing when calls drmWaitVBlank() 326 // vboxvideo 4.3.14 is crashing when calls drmWaitVBlank()
327 // https://www.virtualbox.org/ticket/13265 327 // https://www.virtualbox.org/ticket/13265
328 // also affects 4.3.12
328 if (stat("/sys/module/vboxvideo", &st) == 0) 329 if (stat("/sys/module/vboxvideo", &st) == 0)
329 { 330 {
331/*
330 FILE *fp = fopen("/sys/module/vboxvideo/version", "r"); 332 FILE *fp = fopen("/sys/module/vboxvideo/version", "r");
331 if (fp) 333 if (fp)
332 { 334 {
@@ -340,6 +342,8 @@ _drm_init(void)
340 } 342 }
341 fclose(fp); 343 fclose(fp);
342 } 344 }
345 */
346 return 0;
343 } 347 }
344 348
345 snprintf(buf, sizeof(buf), "/dev/dri/card1"); 349 snprintf(buf, sizeof(buf), "/dev/dri/card1");