VirtualBox

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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