Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX 6.4.0 in VMware Server 2.0.0 hosted on CentOS 5.1: (3 Items)
   
QNX 6.4.0 in VMware Server 2.0.0 hosted on CentOS 5.1  
Hi everyone,

I'm having trouble starting Photon on QNX 6.4.0 running under VMware Server 2.0.0, 64-bit version.  The VMware server is
 installed on a 64-bit Linux CentOS 5.1 rack mount Dell PowerEdge server.

Our developers each have their own rack mount server where they run VMware to host a number of VMs containing different 
OS's and source branches that they are working on.  They attach remotely to the server from Windows machines.  For QNX 
VMs they usually have remote graphical access through VMware's remote console or QNX's Phindows.  Graphical access to 
the remote server's underlying CentOS is done using NX Free Remote Desktop.

The PowerEdge servers have graphics cards in them and are running a local copy of the XOrg desktop.  The local graphics 
driver is configured for 24 bit color.

We have been using the above setup for QNX 6.3.X for a few years now and really like it.  I just recently tried the 
first install of QNX 6.4.0 and found that Photon won't start up.

Does anyone have any ideas on what I should try to get Photon running on this system?  Below are copies of my sloginfo 
and display.conf file.  Thanks.

Chris.

sloginfo reports the following:

Jan 14 04:31:32    1     8     0 phfont.so: init...
Jan 14 04:31:32    1     8     0 phfont.so: initialized.
Jan 14 04:31:32    1     8     0 phfont.so: '/dev/phfont[<32|64>]' server installed.
Jan 14 04:31:32    6     8     0 pci_init: found PCI device 15ad:405
Jan 14 04:31:32    6     8     0 VMWARE svgaid=0x90000002
Jan 14 04:31:32    2     8   200 io-display: driver doesn't support, or not configured for "argb8888" at 1024x768, 60Hz
Jan 14 04:31:32    2     8     0 /usr/photon/bin/io-graphics: gf_dev_attach('/dev/io-display/15ad,0405,0'): gf errno 4

My display.conf file:

device {
        drivername=coral
        vid=0x10cf
        did=0x201e
        deviceindex=0
        display {
                xres=640
                yres=480
                refresh=60
                pixel_format=argb1555
        }
}
device {
        drivername=coral
        vid=0x10cf
        did=0x2019
        display {
                xres=640
                yres=480
                refresh=60
                pixel_format=argb1555
        }
}
device {
        drivername=carmine
        vid=0x10cf
        did=0x202b
        deviceindex=0
        display {
                xres=640
                yres=480
                refresh=60
                pixel_format=argb8888
        }
}
device {
        photon {
                driver {
                        drivername=vmware
                        modeopts=
                }
        }
        drivername=vmware
        vid=0x15ad
        did=0x405
        deviceindex=0x0
        modeopts=
        display {
                xres=1024
                yres=768
                refresh=60
                pixel_format=argb8888
                photon {
                        enabled=1
                        xoffset=0
                        yoffset=0
                        cursor=hardware
                        input_group=1
                }
        }
}

#Add your Devices PCI vid and did
#device {
#       drivername=vesabios
#       vid=0x0
#       did=0x0
#       deviceindex=0
#       display {
#               xres=640
#               yres=480
#               refresh=60
#               pixel_format=argb8888
#       }
#}

#Add your Devices PCI did
#device {
#       drivername=extreme2
#       vid=0x8086
#       did=0x0
#       deviceindex=0
#       display {
#               xres=800
#               yres=600
#               refresh=60
#               pixel_format=argb8888
#       }
#}
Re: QNX 6.4.0 in VMware Server 2.0.0 hosted on CentOS 5.1  
Hi Chris,

Your sloginfo says it all - the default graphics settings for Photon on 6.4.0 don't work with the VMWare driver.   
Change the pixel format line in the vmware stanza to read 'pixel_format=rgb565' and it should come up for you.

(Our testbed for 6.4.0 is also VMWare Server 2.0 on CentOS 5.2 - alas we're using an old recycled desktop instead of a 
nice shiny server, though).

Hope this helps,

-Will
Re: QNX 6.4.0 in VMware Server 2.0.0 hosted on CentOS 5.1  
Hi Will,

Brilliant!  I made the change to my display.conf file as you suggested, rebooted QNX, and this time Photon started right
 up.  Both Phindows and VMware's Remote Console are working.  Thanks a bunch!

Chris.