VirtualBox

Changeset 67043 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 23, 2017 2:07:04 PM (8 years ago)
Author:
vboxsync
Message:

bugref:8533: Additions/x11: fully support VMSVGA
Add VBoxClient support for dynamic resizing with VMSVGA enabled. This is not yet started by default. VBoxClient --vmsvga should be run as root outside of an X session for recent versions of the Linux kernel and interacts with the SVGA kernel graphics driver. When run inside an X session it interacts with the X11 graphics driver.

Location:
trunk/src/VBox/Additions/x11/VBoxClient
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk

    r65381 r67043  
    3636        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-helper.cpp \
    3737        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/x11-clipboard.cpp \
    38         clipboard.cpp
     38        clipboard.cpp \
     39        display-svga.cpp
    3940VBoxClient_LIBPATH = \
    4041        $(VBOX_LIBPATH32_X11)
  • trunk/src/VBox/Additions/x11/VBoxClient/VBoxClient.h

    r62883 r67043  
    8080#endif /* VBOX_WITH_DRAG_AND_DROP */
    8181extern struct VBCLSERVICE **VBClCheck3DService();
     82extern struct VBCLSERVICE **VBClDisplaySVGAService();
    8283
    8384#endif /* !___vboxclient_vboxclient_h */
  • trunk/src/VBox/Additions/x11/VBoxClient/main.cpp

    r65672 r67043  
    183183             "--checkhostversion|"
    184184#endif
    185              "--seamless|check3d [-d|--nodaemon]\n", pcszFileName);
    186     RTPrintf("Starts the VirtualBox X Window System guest services.\n\n");
     185             "--seamless|check3d|"
     186             "--vmsvga [-d|--nodaemon]\n", pcszFileName);
     187    RTPrintf("Starts the VirtualBox DRM/X Window System guest services.\n\n");
    187188    RTPrintf("Options:\n");
    188189    RTPrintf("  --clipboard        starts the shared clipboard service\n");
     
    196197    RTPrintf("  --check3d          tests whether 3D pass-through is enabled\n");
    197198    RTPrintf("  --seamless         starts the seamless windows service\n");
     199    RTPrintf("  --vmsvga           starts VMSVGA dynamic resizing for DRM or for X11\n");
    198200    RTPrintf("  -d, --nodaemon     continues running as a system service\n");
    199201    RTPrintf("  -h, --help         shows this help text\n");
     
    285287            g_pService = VBClCheck3DService();
    286288        }
     289        else if (!strcmp(argv[i], "--vmsvga"))
     290        {
     291            if (g_pService)
     292                break;
     293            g_pService = VBClDisplaySVGAService();
     294        }
    287295        else if (!strcmp(argv[i], "-h") || !strcmp(argv[i], "--help"))
    288296        {
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