Go to main content
Oracle VTS 8.2.0 Software User's Guide

Exit Print View

Updated: March 2017
 
 

Run hlgraphics Test

  1. Set DISPLAY to a local display server screen. For example:
    # export DISPLAY=sr1-sfbay-11:77.0
    # echo $DISPLAY 
    
  2. Enable hlgraphics test from the UI or TTY by selecting Graphics LT. Click Options and select hlgraphicstest if it is not selected.

    By default, the test is disabled.

  3. Ensure that /dev/fb link is correctly set up and pointing to the correct device. Type:
    # ls -al /dev/fbs
    total 24
    drwxr-xr-x   6 root     root           6 Feb  1 20:04 .
    drwxr-xr-x 276 root     sys          276 Feb  6 13:55 ..
    lrwxrwxrwx   1 root     root          66 Dec 24 12:54 mga0 -> ../../devices/pci@340/pci@1/pci@0/pci@1/pci@0/pci@5/display@0:mga0
    
  4. Ensure that Xorg is running on the system. Perform the following steps to enable Xorg:
    1. Install the sunvts-mga package. Type:
      # pkg install sunvts-mga
      # ln -s /devices/pci@340/pci@1/pci@0/pci@1/pci@0/pci@5/display@0:mga0/dev/fb
      
    2. Reboot your system and run the following command.
      # fbconfig -list
      Device File Name Device Model Config Program
      /dev/fbs/mga0 display fbconf_xorg
      

      Note - If fbconfig -list does not list any configured X servers, then install the xorg package and again run the fbconfig -list command.
    3. Install the Xorg package. Type:
      # pkg install Xorg
      # /usr/bin/X &
      
    4. To start Xorg, type:
      # /usr/bin/X&
      

      Attach a keyboard and mouse to your system and install solaris-desktop package to see the Java Desktop login screen.

      # pkg install --accept solaris-desktop
      -reboot 
      

      Note - The installation of the package comes into affect only after rebooting the system.
    5. Disable the JDS dtlogin screen before you can start graphicstest to see the test passes. Else, the graphicstest will not get any pass. Type:
      # cd /usr/dt/bin
      # dtconfig –d
      

      Note - You can enable the JDS dtlogin screen using dtconfig -e command.

Related Information