raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=355e96bd64d12d41069914735f8c7bedb6ae60c0

commit 355e96bd64d12d41069914735f8c7bedb6ae60c0
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon Aug 11 16:06:54 2014 +0900

    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 e3b1140..ac8f7b6 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");

-- 


Reply via email to