forked from enlightenment/efl
more versions of vbox mods panic - blacklist all vboxvideo users from vsync
This commit is contained in:
parent
3943b45cf0
commit
355e96bd64
|
@ -325,8 +325,10 @@ _drm_init(void)
|
||||||
|
|
||||||
// vboxvideo 4.3.14 is crashing when calls drmWaitVBlank()
|
// vboxvideo 4.3.14 is crashing when calls drmWaitVBlank()
|
||||||
// https://www.virtualbox.org/ticket/13265
|
// https://www.virtualbox.org/ticket/13265
|
||||||
|
// also affects 4.3.12
|
||||||
if (stat("/sys/module/vboxvideo", &st) == 0)
|
if (stat("/sys/module/vboxvideo", &st) == 0)
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
FILE *fp = fopen("/sys/module/vboxvideo/version", "r");
|
FILE *fp = fopen("/sys/module/vboxvideo/version", "r");
|
||||||
if (fp)
|
if (fp)
|
||||||
{
|
{
|
||||||
|
@ -340,6 +342,8 @@ _drm_init(void)
|
||||||
}
|
}
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), "/dev/dri/card1");
|
snprintf(buf, sizeof(buf), "/dev/dri/card1");
|
||||||
|
|
Loading…
Reference in New Issue