VirtualBox

Changeset 50312 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Feb 3, 2014 4:56:24 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92021
Message:

Additions/linux/installer: support VMSVGA.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd-x11.sh

    r50107 r50312  
    296296        test -c /dev/psaux && nopsaux="";;
    297297    esac
     298    # Should we use the VMSVGA driver instead of VBoxVideo?
     299    vmsvga=""
     300    if ! grep 80eebeef /proc/bus/pci/devices > /dev/null; then
     301        vmsvga="--vmsvga"
     302    fi
    298303    # The video driver to install for X.Org 6.9+
    299304    vboxvideo_src=
     
    340345            xserver_version="X.Org Server 1.11"
    341346            vboxvideo_src=vboxvideo_drv_111.so
    342             test "$system" = "redhat" || setupxorgconf=""
     347            test "$system" = "redhat" && test -z "${vmsvga}" || setupxorgconf=""
    343348            ;;
    344349        1.10.* )
    345350            xserver_version="X.Org Server 1.10"
    346351            vboxvideo_src=vboxvideo_drv_110.so
    347             test "$system" = "redhat" || setupxorgconf=""
     352            test "$system" = "redhat" && test -z "${vmsvga}" || setupxorgconf=""
    348353            ;;
    349354        1.9.* )
     
    351356            vboxvideo_src=vboxvideo_drv_19.so
    352357            # Fedora 14 to 16 patched out vboxvideo detection
    353             test "$system" = "redhat" || setupxorgconf=""
     358            test "$system" = "redhat" && test -z "${vmsvga}" || setupxorgconf=""
    354359            ;;
    355360        1.8.* )
     
    357362            vboxvideo_src=vboxvideo_drv_18.so
    358363            # Fedora 13 shipped without vboxvideo detection
    359             test "$system" = "redhat" || setupxorgconf=""
     364            test "$system" = "redhat" && test -z "${vmsvga}" || setupxorgconf=""
    360365            ;;
    361366        1.7.* )
     
    479484                        generated="$generated  `printf "$i\n"`"
    480485                    else
    481                         "$lib_dir/x11config.sh" $autokeyboard $automouse $nopsaux "$i"
     486                        "$lib_dir/x11config.sh" $autokeyboard $automouse $nopsaux $vmsvga "$i"
    482487                    fi
    483488                    configured="true"
     
    492497            if test -z "$configured"; then
    493498                touch "$main_cfg"
    494                 "$lib_dir/x11config.sh" $autokeyboard $automouse $nopsaux --noBak "$main_cfg"
     499                "$lib_dir/x11config.sh" $autokeyboard $automouse $nopsaux $vmsvga --noBak "$main_cfg"
    495500                touch "${nobak_cfg}"
    496501            fi
Note: See TracChangeset for help on using the changeset viewer.

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