VMware Communities
sol10
Contributor
Contributor

Xorg server issues - Solaris 10 x86 guest on WinXP host

Hello,

I am running Sol 10 5/08 x86 64-bit on a Dell Precision 690 wkstn with WinXP using VMware Workstation 6.0.4. I have a NVIDIA Quadro FX 3500 video card. I am not sure if this is really a VMware issue or one that can be solved using Solaris.

I need to run "Xnest -depth 8 -class Pseudocolor," but my video setup, using the Xorg server (Xsun not supported by VMware Tools), does not support Pseudocolor visuals. Here is my xdpyinfo:

xdpyinfo

name of display: :0.0

version number: 11.0

vendor string: Sun Microsystems, Inc.

vendor release number: 10300000

maximum request size: 16777212 bytes

motion buffer size: 256

bitmap unit, bit order, padding: 32, LSBFirst, 32

image byte order: LSBFirst

number of supported pixmap formats: 7

supported pixmap formats:

depth 1, bits_per_pixel 1, scanline_pad 32

depth 4, bits_per_pixel 8, scanline_pad 32

depth 8, bits_per_pixel 8, scanline_pad 32

depth 15, bits_per_pixel 16, scanline_pad 32

depth 16, bits_per_pixel 16, scanline_pad 32

depth 24, bits_per_pixel 32, scanline_pad 32

depth 32, bits_per_pixel 32, scanline_pad 32

keycode range: minimum 8, maximum 255

focus: window 0x1e0000a, revert to Parent

number of extensions: 37

BIG-REQUESTS

DAMAGE

DEC-XTRAP

DOUBLE-BUFFER

DPMS

Extended-Visual-Information

GLX

MIT-SCREEN-SAVER

MIT-SHM

MIT-SUNDRY-NONSTANDARD

RANDR

RECORD

RENDER

SECURITY

SGI-GLX

SHAPE

ST

SYNC

SolarisIA

TOG-CUP

VMWARE_CTRL

X-Resource

XAccessControlExtension

XC-APPGROUP

XC-MISC

XEVIE

XFIXES

XFree86-Bigfont

XFree86-DGA

XFree86-Misc

XFree86-VidModeExtension

XINERAMA

XINERAMA

XInputExtension

XKEYBOARD

XTEST

XVideo

default screen number: 0

number of screens: 1

screen #0:

dimensions: 1600x1200 pixels (542x406 millimeters)

resolution: 75x75 dots per inch

depths (7): 24, 1, 4, 8, 15, 16, 32

root window id: 0x3e

depth of root window: 24 planes

number of colormaps: minimum 1, maximum 1

default colormap: 0x20

default number of colormap cells: 256

preallocated pixels: black 0, white 16777215

options: backing-store NO, save-unders NO

largest cursor: 32x32

current input event mask: 0xfa2033

KeyPressMask KeyReleaseMask EnterWindowMask

LeaveWindowMask ButtonMotionMask StructureNotifyMask

SubstructureNotifyMask SubstructureRedirectMask FocusChangeMask

PropertyChangeMask ColormapChangeMask

number of visuals: 4

default visual id: 0x22

visual:

visual id: 0x22

class: TrueColor

depth: 24 planes

available colormap entries: 256 per subfield

red, green, blue masks: 0xff0000, 0xff00, 0xff

significant bits in color specification: 8 bits

visual:

visual id: 0x23

class: TrueColor

depth: 24 planes

available colormap entries: 256 per subfield

red, green, blue masks: 0xff0000, 0xff00, 0xff

significant bits in color specification: 8 bits

visual:

visual id: 0x24

class: TrueColor

depth: 24 planes

available colormap entries: 256 per subfield

red, green, blue masks: 0xff0000, 0xff00, 0xff

significant bits in color specification: 8 bits

visual:

visual id: 0x25

class: TrueColor

depth: 24 planes

available colormap entries: 256 per subfield

red, green, blue masks: 0xff0000, 0xff00, 0xff

significant bits in color specification: 8 bits

Notice that only 4 TrueColor visuals are supported. Does anyone know how I can change my setup so that my Xserver supports a Pseudocolor visual? VMware Tools is very limited for Solaris, and it set up the Xserver for me.

Any help or advice anyone could provide would be greatly appreciated.

Thanks...

0 Kudos
6 Replies
sol10
Contributor
Contributor

Here is /etc/X11/xorg.conf, set up by VMware Tools:

cat xorg.conf

Section "ServerLayout"

Identifier "X.org Configured"

Screen 0 "Screen0" 0 0

InputDevice "Mouse0" "CorePointer"

InputDevice "Keyboard0" "CoreKeyboard"

InputDevice "XWorkAround"

EndSection

Section "Files"

RgbPath "/usr/X11/lib/X11/rgb"

ModulePath "/usr/X11/lib/modules"

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 "Module"

Load "IA"

Load "Xst"

Load "dbe"

Load "extmod"

Load "record"

Load "xtrap"

Load "GLcore"

Load "glx"

Load "xtsol"

Load "bitstream"

Load "freetype"

Load "type1"

EndSection

Section "InputDevice"

Identifier "Keyboard0"

Driver "kbd"

EndSection

Section "InputDevice"

Identifier "Mouse0"

Driver "mouse"

Option "Protocol" "ps/2"

Option "Device" "/dev/kdmouse"

Option "ZAxisMapping" "4 5 6 7"

EndSection

Section "Device"

Identifier "VMware SVGA"

Driver "vmware"

EndSection

Section "Screen"

Identifier "Screen0"

Device "VMware SVGA"

Monitor "vmware"

  1. Don't specify DefaultColorDepth unless you know what you're

  2. doing. It will override the driver's preferences which can

  3. cause the X server not to run if the host doesn't support the

  4. depth.

Subsection "Display"

  1. VGA mode: better left untouched

Depth 4

Modes "640x480"

ViewPort 0 0

EndSubsection

Subsection "Display"

Depth 8

Modes "1600x1200"

ViewPort 0 0

EndSubsection

Subsection "Display"

Depth 15

Modes "1600x1200"

ViewPort 0 0

EndSubsection

Subsection "Display"

Depth 16

Modes "1600x1200"

ViewPort 0 0

EndSubsection

Subsection "Display"

Depth 24

Modes "1600x1200"

ViewPort 0 0

EndSubsection

EndSection

Section "Monitor"

Identifier "vmware"

VendorName "VMware, Inc"

HorizSync 1-10000

VertRefresh 1-10000

EndSection

Section "InputDevice"

Identifier "XWorkAround"

Driver "void"

EndSection

I have ViewSonic 1600x1200 flat screen DVI monitors. Does anyone know how to modify this file (or others) to get me Pseudocolor visual support?

Thanks in advance...

0 Kudos
sol10
Contributor
Contributor

Maybe I should install the latest NVIDIA Solaris driver, although my Quadro FX 3500 isn't supported by it (3450 is)?

http://www.nvidia.com/object/solaris_display_173.14.09.html

0 Kudos
sol10
Contributor
Contributor

I installed the latest nvidia driver and ran nvidia-xconfig, which made a new xorg.conf file. Option "CIOverlay" is in the new file, which should enable Pseudocolor visuals. However, after rebooting with -- -r, Xorg won't start. Xerrors says:

No devices detected

Fatal server error:

no screens found

XIO: fatal IO error 146 (Connection refused) on X server ":0.0"

error (pid 714): Server for display :smileyshocked: can't be started

/var/log/Xorg.0.log appears to show that /usr/X11/lib/modules/drivers//nvidia_drv.so (compiled for 4.0.2, module version 1.0.0) is loaded:

(II) NVIDIA dlloader X driver 173.14.09

(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs

(II) Prinmary Device is: PCI 00:0f:0

(EE) No devices detected

So Xorg can't find my video devices. This page: http://us.download.nvidia.com/solari...ppendix-c.html does show that the Quadro FX 3500 is supported (thank heavens). All this should work, no?

/usr/X11/bin/scanpci

pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x7190

Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge

pci bus 0x0000 cardnum 0x01 function 0x00: vendor 0x8086 device 0x7191

Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge

pci bus 0x0000 cardnum 0x07 function 0x00: vendor 0x8086 device 0x7110

Intel Corporation 82371AB/EB/MB PIIX4 ISA

pci bus 0x0000 cardnum 0x07 function 0x01: vendor 0x8086 device 0x7111

Intel Corporation 82371AB/EB/MB PIIX4 IDE

pci bus 0x0000 cardnum 0x07 function 0x03: vendor 0x8086 device 0x7113

Intel Corporation 82371AB/EB/MB PIIX4 ACPI

pci bus 0x0000 cardnum 0x0f function 0x00: vendor 0x15ad device 0x0405

VMware Inc Abstract SVGA II Adapter

pci bus 0x0000 cardnum 0x10 function 0x00: vendor 0x1000 device 0x0030

LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI

pci bus 0x0000 cardnum 0x11 function 0x00: vendor 0x15ad device 0x0790

VMware Inc Device unknown

pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x8086 device 0x100f

Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)

pci bus 0x0002 cardnum 0x01 function 0x00: vendor 0x1274 device 0x1371

Ensoniq ES1371

My Quadro card is not seen, only VMware devices. Is this normal? /dev/nvidia0 should be symlinked to /dev/fbs/nvidia0, but there is nothing in /dev/fbs except text-0 -> ../../devices/pci@0,0/display@f:text-0. So the NVIDIA devices is not correctly configured. Please help.

0 Kudos
newbie93
Hot Shot
Hot Shot

sol10,

I am not 100% sure of this, but I am fairly certain that you can't/shouldn't install video device drivers in any guest OS. Guest OS's do not have direct access to video card hardware. I believe that you can enable some experimental 3D support in a guest OS, but again that's through VMTools, once it is installed.

I will let some of the experts chime in now..

As an aside, I have guest Solaris 5/08 64-bit installed and running on a XP 32-bit Host OS running on a Dell Precision M90 that has a Quado FX-3500M (Mobile version of the FX-3500) running with no issues at all. Mind you, you need to make sure that the processor's cores are VT-enabled to be able to do this. I have the Dell supplied video drivers installed, not nVidia's drivers. They are different.

sol10
Contributor
Contributor

Hello,

Thanks for your reply. Everything is working fine with my 64-bit Solaris setup, other than the fact that I can't get pseudocolor visuals supported using the VMware video drivers. Maybe there is a way to configure the xorg.conf file to do that using the VMware drivers, but I've been unsuccessful so far. Setting my default depth to 8-bit color didn't work well, at least with JDS (I'll look into that with CDE now). I saw the stuff about the Direct 3d with regard to VMware tools, and will look into that further. I heard from VMware that only VMware video drivers can be used in the guest OS, so you are correct about that.

0 Kudos
sol10
Contributor
Contributor

Newbie93,

By the way, do the results of xdpyinfo for you look the same as mine (see my first post to this thread)? You and I have almost the same setup. What version of VMware Workstation are you using?

Thanks again...

0 Kudos