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: In 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 (i.e. Left of, right of, etc)

Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "bitstream"
Load "type1"
Load "Xst"
Load "IA"
Load "glx"
EndSection
Section "Files"
RgbPath "/usr/X11/lib/X11/rgb"
FontPath "/usr/X11/lib/X11/fonts/TrueType/"
FontPath "/usr/X11/lib/X11/fonts/Type1/"
FontPath "/usr/X11/lib/X11/fonts/Type1/sun/"
FontPath "/usr/X11/lib/X11/fonts/F3bitmaps/"
FontPath "/usr/X11/lib/X11/fonts/misc/"
FontPath "/usr/X11/lib/X11/fonts/100dpi/"
FontPath "/usr/X11/lib/X11/fonts/75dpi/"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102"
Option "XkbLayout" "gb"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/mouse"
EndSection
Section "Monitor"
Identifier "My Monitor"
HorizSync 31.5 - 64.3
VertRefresh 50-90
EndSection
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection
Section "Device"
Identifier "** NVIDIA "
Driver "nvidia"
Option "TwinView" "True"
Option "SecondMonitorHorizSync" "31.5 - 48.5"
Option "SecondMonitorVertRefresh" "59.0 - 75.0"
Option "ConnectedMonitor" "dfp, dfp"
Option "MetaModes" "1024x768,1024x768"
#Option "TwinViewOrientation" "Clone"
Option "TwinViewOrientation" "LeftOf"
#Option "TwinViewOrientation" "RightOf"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "** NVIDIA "
Monitor "My Monitor"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

.

NOTES

  • You may have to run kdmconfig to select Xorg as your Xserver rather than Xsun
  • The above xorg.conf file runs successfully on a Dell Inspiron 5150 laptop running Solaris 10 x86.
  • You may need to make resolution 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