more versions of vbox mods panic - blacklist all vboxvideo users from vsync

This commit is contained in:
Carsten Haitzler 2014-08-11 16:06:54 +09:00
parent 3943b45cf0
commit 355e96bd64
1 changed files with 4 additions and 0 deletions

View File

@ -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");