<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:black;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
code
{mso-style-priority:99;
font-family:"Courier New";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
color:black;
mso-fareast-language:EN-US;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";
mso-fareast-language:EN-GB;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle24
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";
color:black;
mso-fareast-language:EN-US;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="color:windowtext">For completion, just thought I’d let anybody interested know that I have fixed this (at least, for my own setup!). The trick is to use the version of VBox Guest Additions specifically
for Ubuntu 12.* </span><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">- see the final post at
<a href="https://forums.virtualbox.org/viewtopic.php?f=6&t=45549">https://forums.virtualbox.org/viewtopic.php?f=6&t=45549</a>:<o:p></o:p></span></p>
<p class="MsoNormal">Install Ubuntu package <b>virtualbox-ose-guest-utils</b> (via apt-get or synaptic) instead of the standard VB Guest Additions.<span style="font-size:9.0pt;font-family:"Verdana","sans-serif""><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif""><br>
this instruction doesn’t seem to be mentioned anywhere (official) on the VirtualBox website. However, after installing this:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">ccw@ccw:~$ /usr/lib/nux/unity_support_test -p<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">OpenGL vendor string: Humper<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">OpenGL renderer string: Chromium<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">OpenGL version string: 2.1 Chromium 1.9<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">Not software rendered: yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">Not blacklisted: yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">GLX fbconfig: yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">GLX texture from pixmap: yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">GL npot or rect textures: yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">GL vertex program: yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">GL fragment program: yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">GL vertex buffer object: yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">GL framebuffer object: yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">GL version is 1.4+: yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">Unity 3D supported: yes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">(different OpenGL info, and “Not software rendered” and “Unity 3D supported” now say ‘Yes’, whereas before installing this version of VBox Guest Additions these said ‘no’).
I can now also run Chimera, seemingly successfully (so far at least!).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif"">Chris<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-GB">-------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-GB">Dr Chris Wood<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-GB">STFC Rutherford Appleton Laboratory<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-GB">Didcot<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-GB">OX11 0QX<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-GB">chris.wood@stfc.ac.uk<br>
www.ccpem.ac.uk<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-GB"><br>
Tel: +44(0)1235 567864<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-GB">Tel: +44(0)7909 586624<br>
Fax: +44(0)1235 567801<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Verdana","sans-serif";color:black;mso-fareast-language:EN-GB">Skype:
<a href="callto://chris_c_wood/"><span style="color:blue">chris_c_wood</span></a><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:EN-GB">
chimera-users-bounces@cgl.ucsf.edu [mailto:chimera-users-bounces@cgl.ucsf.edu] <b>
On Behalf Of </b>Greg Couch<br>
<b>Sent:</b> 06 February 2013 01:34<br>
<b>To:</b> Chimera-users@cgl.ucsf.edu<br>
<b>Subject:</b> Re: [Chimera-users] Chimera on a virtualbox<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">(No real need to involve the list, we'll figure this out and report back)<o:p></o:p></p>
<div>
<p class="MsoNormal"><br>
<br>
-------- Original Message -------- <o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td nowrap="" valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" align="right" style="text-align:right"><b>Subject: </b><b><span style="font-size:12.0pt"><o:p></o:p></span></b></p>
</td>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal">Re: [Chimera-users] Chimera on a virtualbox<span style="font-size:12.0pt"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td nowrap="" valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" align="right" style="text-align:right"><b>Date: </b><b><span style="font-size:12.0pt"><o:p></o:p></span></b></p>
</td>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal">Tue, 05 Feb 2013 17:22:51 -0800<span style="font-size:12.0pt"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td nowrap="" valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" align="right" style="text-align:right"><b>From: </b><b><span style="font-size:12.0pt"><o:p></o:p></span></b></p>
</td>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal">Greg Couch <a href="mailto:gregc@cgl.ucsf.edu"><gregc@cgl.ucsf.edu></a><span style="font-size:12.0pt"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td nowrap="" valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" align="right" style="text-align:right"><b>To: </b><b><span style="font-size:12.0pt"><o:p></o:p></span></b></p>
</td>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><a href="mailto:chris.wood@stfc.ac.uk">chris.wood@stfc.ac.uk</a><span style="font-size:12.0pt"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">It appears as if you missed the:<br>
<br>
export LD_LIBRARY_PATH=$CHIMERA/lib<br>
<br>
before running gdb because the import of libgfxinfo.so failed. And there should be a space between "break" and "_exit" in the gdb command.<br>
<br>
-- Greg<br>
<br>
On 02/05/2013 04:38 PM, <a href="mailto:chris.wood@stfc.ac.uk">chris.wood@stfc.ac.uk</a> wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:windowtext">Hi Greg,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">I know that doing anything with graphics within virtual machines is not always a brilliant idea, but I have seen Chimera work in VirtualBox and I wanted to get to the bottom of why mine doesn’t…</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">I’ve got the latest graphics driver on my host (and I run Chimera successfully on it anyway). I’ve run the commands you suggested, with the following output</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">$ gdb $CHIMERA/bin/python2.7</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Copyright (C) 2012 Free Software Foundation, Inc.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">License GPLv3+: GNU GPL version 3 or later
<a href="http://gnu.org/licenses/gpl.html"><http://gnu.org/licenses/gpl.html></a></span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">This is free software: you are free to change and redistribute it.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">There is NO WARRANTY, to the extent permitted by law. Type "show copying"</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">and "show warranty" for details.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">This GDB was configured as "x86_64-linux-gnu".</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">For bug reporting instructions, please see:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"><a href="http://bugs.launchpad.net/gdb-linaro/"><http://bugs.launchpad.net/gdb-linaro/></a>...</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Reading symbols from /home/ccw/.local/chimera-1.7/bin/python2.7...done.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">(gdb) break_exit</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Undefined command: "break_exit". Try "help".</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">(gdb) run $CHIMERA/share/__main__.py --debug</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Starting program: /home/ccw/.local/chimera-1.7/bin/python2.7 $CHIMERA/share/__main__.py --debug</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">[Thread debugging using libthread_db enabled]</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Traceback (most recent call last):</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> File "/home/ccw/.local/chimera-1.7/share/__main__.py", line 69, in <module></span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> value = chimeraInit.init(sys.argv)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> File "/home/ccw/.local/chimera-1.7/share/chimeraInit.py", line 594, in init</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> import chimera</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> File "/home/ccw/.local/chimera-1.7/share/chimera/__init__.py", line 16, in <module></span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> from _chimera import BBox, Camera, Color, ColorGroup, DirectionalLight, LODControl, Lens, LensViewer, Light, Material, MaterialColor, Model, NoGuiViewer, OGLFont, OSLAbbreviation, OpenModels, OpenState,
PathFinder, PixelMap, Plane, Point, PositionalLight, Selectable, SharedState, SpotLight, Sphere, Texture, TextureColor, TrackChanges, Vector, Viewer, X3DScene, Xform</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">ImportError: libgfxinfo.so: cannot open shared object file: No such file or directory</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">[Inferior 1 (process 4025) exited with code 01]</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">(gdb) bt</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">No stack.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">I guess the lack of libgfxinfo.so is fairly significant, and I assume that the result from bt is all part of the problem?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Thanks,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Chris</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:EN-GB">
<a href="mailto:chimera-users-bounces@cgl.ucsf.edu">chimera-users-bounces@cgl.ucsf.edu</a> [<a href="mailto:chimera-users-bounces@cgl.ucsf.edu">mailto:chimera-users-bounces@cgl.ucsf.edu</a>]
<b>On Behalf Of </b>Greg Couch<br>
<b>Sent:</b> 05 February 2013 23:26<br>
<b>To:</b> <a href="mailto:Chimera-users@cgl.ucsf.edu">Chimera-users@cgl.ucsf.edu</a><br>
<b>Subject:</b> Re: [Chimera-users] Chimera on a virtualbox</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">(Forgot to send reply to whole list)<o:p></o:p></p>
<div>
<p class="MsoNormal">-------- Original Message -------- <o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td nowrap="" valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" align="right" style="text-align:right"><b>Subject: </b><o:p></o:p></p>
</td>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal">Re: [Chimera-users] Chimera on a virtualbox<o:p></o:p></p>
</td>
</tr>
<tr>
<td nowrap="" valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" align="right" style="text-align:right"><b>Date: </b><o:p></o:p></p>
</td>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal">Tue, 05 Feb 2013 13:51:47 -0800<o:p></o:p></p>
</td>
</tr>
<tr>
<td nowrap="" valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" align="right" style="text-align:right"><b>From: </b><o:p></o:p></p>
</td>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal">Greg Couch <a href="mailto:gregc@cgl.ucsf.edu"><gregc@cgl.ucsf.edu></a><o:p></o:p></p>
</td>
</tr>
<tr>
<td nowrap="" valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" align="right" style="text-align:right"><b>To: </b><o:p></o:p></p>
</td>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><a href="mailto:chris.wood@stfc.ac.uk">chris.wood@stfc.ac.uk</a><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <o:p></o:p></p>
<div>
<p class="MsoNormal">Hi Chris,<br>
<br>
So what are you trying to do with Chimera inside a virtual machine? Presumably, you're not trying to use it graphically because virtualized graphics performance is usually abysmal. Chimera benefits immensely from direct access to the graphics hardware. So
that leaves using Chimera as a server, and for that the headless version of Chimera is usually better -- the headless version uses a software implementation of OpenGL and thus avoids any driver issues.<br>
<br>
That said, this bug is still likely to be related to OpenGL support in VirtualBox. Make sure the computer that VirtualBox is running on has an up-to-date OpenGL graphics driver. It doesn't matter what VirtualBox does if the underlying system has a bad graphics
driver.<br>
<br>
To confirm that the bug is in the graphics driver, get a backtrace of where the error occurs by using gdb as follows in a Terminal window (and assuming there is a symbolic link to the chimera binary on your path):<br>
<br>
% export CHIMERA=`chimera --root`<br>
% export LD_LIBRARY_PATH=$CHIMERA/lib<br>
% gdb $CHIMERA/bin/python2.7<br>
(gdb) break_exit<br>
(gdb) run $CHIMERA/share/__main__.py --debug<br>
(gdb) bt<br>
<br>
The '%' and '(gdb)' parts are the shell and gdb prompts, respectively. The output from the bt command will probably be in Chimera's molecular drawing code (as opposed to drawing the UI). If you need help interpreting the chimera backtrace, you can send it
to me. <br>
<br>
HTH,<br>
<br>
Greg<br>
<br>
On 02/05/2013 12:48 PM, <a href="mailto:chris.wood@stfc.ac.uk">chris.wood@stfc.ac.uk</a> wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hello all,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I'm trying to run Chimera on VirtualBox. The installation completes fine, but when I try and run the program (<code><span style="font-size:10.0pt;font-family:"Calibri","sans-serif"">cd</span></code> to the bin directory and run
<code><span style="font-size:10.0pt">./chimera</span></code>) I see<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt">X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Major opcode of failed request: 72 (X_PutImage)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Resource id in failed request: 0x480006a</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Serial number of failed request: 1382</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Current serial number in output stream: 1388</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I've tried enabling / disabling hardware virtualization & 3D acceleration, but to no avail. Although people do seem to have problems with chimera on a virtualbox, it normally seems to be a problem with OpenGL, which this doesn't seem to
be.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Has anyone seen this error before? Is there anything else I'm missing? I can’t even work out if it's a hardware, VirtualBox, or OS problem…<o:p></o:p></p>
<p class="MsoNormal"><strong><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""> </span></strong><o:p></o:p></p>
<p class="MsoNormal"><strong><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">System:</span></strong><o:p></o:p></p>
<p class="MsoNormal">VirtualBox 4.2.4<br>
Guest additions 4.2.4<o:p></o:p></p>
<p class="MsoNormal">Guest OS: Ubuntu 12.04<br>
Host OS: Windows 7 professional<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Thanks in advance!<o:p></o:p></p>
<p class="MsoNormal">Chris<o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">-------------------</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Dr Chris Wood</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">STFC Rutherford Appleton Laboratory</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Didcot</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">OX11 0QX</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><a href="mailto:chris.wood@stfc.ac.uk">chris.wood@stfc.ac.uk</a><br>
<a href="http://www.ccpem.ac.uk">www.ccpem.ac.uk</a></span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><br>
Tel: +44(0)1235 567864</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Tel: +44(0)7909 586624<br>
Fax: +44(0)1235 567801</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
<p>-- <br>
Scanned by iCritical.<o:p></o:p></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p>-- <br>
Scanned by iCritical. <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
</div>
<br><p>--
<BR>Scanned by iCritical.
</p>
<br></body>
</html>