VirtualBox

Ignore:
Timestamp:
Feb 6, 2014 2:33:06 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92084
Message:

Additions/solaris/Installer: Support VMSVGA.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/solaris/Installer/postinstall.sh

    r47318 r50345  
    242242            fi
    243243
    244             # Adjust xorg.conf with video driver sections
    245             $vboxadditions_path/x11config15sol.pl
     244            # Check for VirtualBox graphics card
     245            is_vboxgraphics=`prtconf -d | grep -i pci80ee,beef`
     246            if test "$?" -eq 0; then
     247                drivername="vboxvideo"
     248            else
     249                # Check for VMware graphics card
     250                is_vmwaregraphics=`prtconf -d | grep -i pci15ad,405`
     251                if test "$?" -eq 0; then
     252                    echo "Configuring X.Org to use VMware SVGA graphics driver..."
     253                    drivername="vmware"
     254                fi
     255            fi
     256
     257            # Adjust xorg.conf with video driver sections if a supported graphics card is found
     258            if test ! -z "$drivername"; then
     259                $vboxadditions_path/x11config15sol.pl "$drivername"
     260            else
     261                # No supported graphics card found, do nothing.
     262                echo "## No supported graphics card found. Skipped configuring of X.org drivers."
     263            fi
    246264        fi
    247265    fi
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