Thank you Andreas! Greatly appreciate it, will go down the path you recommended.
-----Original Message----- From: gem5-dev [mailto:[email protected]] On Behalf Of Andreas Sandberg Sent: Friday, August 28, 2015 6:08 AM To: gem5 Developer List Subject: Re: [gem5-dev] VNC server on X86 - crashes gem5 on attach/detach Hi Cagdas, As far as I know, there is no graphics support for x86 in gem5 at the moment. In addition to the VncServer, you¹ll need some form of graphics device. Gabe Black posted a simplified Cirrus-based device on RB some time ago (RB2511 [1]). I suspect one of the reasons the VNC client can¹t connect is because the VNC server doesn¹t know about any framebuffer if you don¹t have any graphics adapter in your system. I think it will report a 0x0 framebuffer in RGBA8888. //Andreas [1] http://reviews.gem5.org/r/2511 On 20/08/2015 21:55, "Cagdas Dirik (cdirik)" <[email protected]> wrote: >Hi all, > >We have been trying to setup tests with a debian 6 image with gnome, >and we need UI/desktop environment. Our image works fine with >VirtualBox and Qemu. However we cannot get it booting successfully in >gem5. Not sure if it hangs on boot, or it boots fine but we just cannot see >the output. > >To get it vnc working, we modified configs/common/FSConfig.py such as: >def makeLinuxX86System(... >... > self.vncserver = VncServer() > return self > >This modification is almost identical to this patch on review board: >http://reviews.gem5.org/r/2517/diff/1/ > >However, vncviewer is failing to connect. Moreover, when it detaches >gem5 crashes - trips on the following assert: >... >info: VNC client attached >gem5.opt: build/X86/base/vnc/vncserver.cc:396: void >VncServer::checkProtocolVersion(): Assertion `len ==12' failed. >Program aborted at cycle... > >Having patch 2517 on review board for a long time and this assertion >make me think that there is more to be done to get VNC working on X86. >Is anyone running X86 on an image with desktop? If so, can you share >the details (image, kernel version, patches, etc.)? > >Any guidance will be appreciated! > >Thanks! > >Cagdas >_______________________________________________ >gem5-dev mailing list >[email protected] >http://m5sim.org/mailman/listinfo/gem5-dev -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590 ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782 _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
