Technical Tip

QUESTION

I need an example xorg.conf file to configure the NVIDIA graphics chip on my laptop to successfully run under Solaris 10 x86.

ANSWER
Note: Since Solaris 10 Update 4 x86 full NVIDIA support is provided with NVIDIA's own drivers and utilities, including nvidia-settings and other utilities which may be used to create or modify settings.
For previous releases, you should be able to download the drivers direct from the NVIDIA web site.

Here is an example xorg.conf, which should be placed under /etc/X11. Make sure you take a backup of any existing file first! This file works with the TwinView Nvidia option to display on two screens, with some examples of the screen positioning.
This has been tested under update 4 of Solaris 10, with a Dell laptop (Inspiron 5150) and external Relisys 15" 1024x768 flat panel monitor.
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath        "/usr/X11R6/lib/X11/fonts/TrueType/"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1/sun/"
    FontPath        "/usr/X11R6/lib/X11/fonts/F3bitmaps/"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "IA"
    Load           "bitstream"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/mouse"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection
Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "TEO TL561"
    HorizSync       24.0 - 60.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce FX Go5200"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "metamodes" "CRT: nvidia-auto-select +0+0, DFP: nvidia-auto-select +1024+0"
    # Above option causes the external monitor to be left of laptop display.
    #Option         "metamodes" "DFP: nvidia-auto-select +0+0, CRT: nvidia-auto-select +1600+0"
    # Above option causes the external monitor to be right of laptop display.
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection


.

NOTES

  • You may have to run kdmconfig to select Xorg as your Xserver rather than Xsun.
  • You may need to make changes for other laptop models.

First Alternative course tutors can answer questions like this ... and are happy to do so. Look around our site for relevant courses in Linux -Unix - Perl - Solaris - FrameMaker

close window