VirtualBox

Changeset 63857 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
Sep 15, 2016 4:44:30 PM (8 years ago)
Author:
vboxsync
Message:

bugref:3810: X11 Guest Additions maintenance: X.Org vboxvideo should fail gracefully if the X server does not provide direct hardware access. Check this by trying to enable it and checking whether it succeeds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c

    r63556 r63857  
    745745        xf86Msg(X_INFO, "vboxvideo: kernel driver found, not loading.\n");
    746746        close(drmFd);
     747        return FALSE;
     748    }
     749    /* It is safe to call this, as the X server enables I/O access before
     750     * calling the probe call-backs. */
     751    if (!xf86EnableIO())
     752    {
     753        xf86Msg(X_INFO, "vboxvideo: this driver requires direct hardware access.  You may wish to use the kernel driver instead.\n");
    747754        return FALSE;
    748755    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette