It looks like you're using a vnc client that doesn't support the type of
rendering gem5 is trying to use. Try another client and it may work.

Gabe

On 11/18/11 23:03, yanke wrote:
> When I try to control gem5 via vnc. It gives me the following errors.
> Do I need to do some setting to vnc?
>
> gem5 output:
> warn: LCD dual screen mode not supported
> warn: Returning thumbEE disabled for now since we don't support
> CP14config registers and jumping to ThumbEE vectors
> warn: instruction 'mcr icialluis' unimplemented
> info: VNC client attached
> fatal: VNC client doesn't support true color raw encoding
> @ cycle 2281569301000
> [setPixelFormat:build/ARM_FS/base/vnc/vncserver.cc, line 481]
> Memory Usage: 298552 KBytes
>
>
> vnc output:
> Sat Nov 19 01:56:29 2011
> CConn: connected to host centos port 5900
> CConnection: Server supports RFB protocol version 3.8
> CConnection: Using RFB protocol version 3.8
> TXImage: Using default colormap and visual, TrueCol or, depth 24.
> CConn: Using pixel format depth 3 (8bpp) rgb111
> CConn: Using ZRLE encoding
> main: read: Connection reset by peer (104)
>
>
> the error sames to be in here: vncserver.cc[455-482]
> void
> VncServer::setPixelFormat()
> {
> DPRINTF(VNC, "Received pixel format from client message\n");
>
> PixelFormatMessage pfm;
> read1((uint8_t*)&pfm, sizeof(PixelFormatMessage));
>
> DPRINTF(VNC, " -- bpp = %d; depth = %d; be = %d\n", pfm.px.bpp,
> pfm.px.depth, pfm.px.bigendian);
> DPRINTF(VNC, " -- true color = %d red,green,blue max = %d,%d,%d\n",
> pfm.px.truecolor, betoh(pfm.px.redmax), betoh (pfm.px.greenmax),
> betoh(pfm.px.bluemax));
> DPRINTF(VNC, " -- red,green,blue shift = %d,%d,%d\n", pfm.px.redshift,
> pfm.px.greenshift, pfm.px.blueshift);
>
> if (betoh(pfm.px.bpp) != pixelFormat.bpp ||
> betoh(pfm.px.depth) != pixelFormat.depth ||
> betoh(pfm.px.bigendian) != pixelFormat.bigendian ||
> betoh(pfm.px.truecolor) != pixelFormat.truecolor ||
> betoh(pfm.px.redmax) != pixelFormat.redmax ||
> betoh(pfm.px.greenmax) != pixelFormat.greenmax ||
> betoh(pfm.px.bluemax) != pixelFormat.bluemax ||
> &nbs p; betoh(pfm.px.redshift) != pixelFormat.redshift ||
> betoh(pfm.px.greenshift) != pixelFormat.greenshift ||
> betoh(pfm.px.blueshift) != pixelFormat.blueshift)
> fatal("VNC client doesn't support true color raw encoding\n");
> }
>
>
>
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to