VirtualBox

Changeset 63916 in vbox for trunk/src


Ignore:
Timestamp:
Sep 20, 2016 8:26:22 PM (8 years ago)
Author:
vboxsync
Message:

bugref:8087: Additions/x11: support non-root X server: remove protection against loading while the X server is running which required that all virtual consoles be in text mode. We hopefully no longer need this, as the driver is only ever auto-loaded at boot time (particularly not when the Additions are installed), and it prevented the drivers from working in combination with EFI and a boot splash screen, as this also set the virtual console to graphics mode.

Location:
trunk/src/VBox/Additions/linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/vbox_drv.c

    r63807 r63916  
    318318        return -EINVAL;
    319319
    320     /* Do not load if any of the virtual consoles is in graphics mode to be
    321      * sure that we do not pick a fight with a user-mode driver or VESA. */
    322     for (i = 0; i < MAX_NR_CONSOLES - 1; ++i)
    323         if (vc_cons[i].d && vc_cons[i].d->vc_mode == KD_GRAPHICS)
    324             return -EINVAL;
    325 
    326320    return drm_pci_init(&driver, &vbox_pci_driver);
    327321}
  • trunk/src/VBox/Additions/linux/installer/vboxadd-x11.sh

    r63890 r63916  
    339339        if test -f /etc/modprobe.d/blacklist-vboxvideo.conf; then
    340340            rm -f /etc/modprobe.d/blacklist-vboxvideo.conf
    341             ${MODPROBE} vboxvideo
     341            ps -Af | grep -q '[X]org' || ${MODPROBE} vboxvideo
    342342        fi
    343343        ;;
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