That problem has been discussed several times on the coot mailing list.
Currently a workaround is to type:

(set-use-stroke-characters 1)

in scheme console (Calculate > Scripting > Scheme).
(You can also add it to coot settings).
As a side effect fonts will look worse.

I've just tested a better fix (patch attached) and it seems to work,
It requires compilation from source, so for now use the workaround
above.

Marcin


On Sun, May 17, 2015 at 11:10:41AM -0300, Jorge Iulek wrote:
> Thanks Carlos Contreras-Martel and Lu Zuokun for pointing me to check
> graphic driver problems (or update them from the vendor, by the way,
> controller model Intel HD 4000). Taking some time with this today, I still
> feel I will have to study further before making changes.
> This poses me yet other question, though maybe it escapes the discussion
> list scope, that I must search further: how (and where) different are the
> resources used by the virtual machine compared to the host machine, such
> that this graphical behavior is different.
> Yours,
> 
> Jorge
> 
> On 05/16/2015 08:39 PM, Jorge Iulek wrote:
> >Dear all,
> >
> >    My machine has openSuSE 12.3, a lenovo ideadpad with 8 cores (4 are
> >virutal) and 8 GB memory.
> >    For a number of  coot versions in it (including the newest one), coot
> >answers slowly to rotating, but specially the space bar translate is even
> >more slow (from residue x to x+1 etc.).
> >    Curiously, in either CentOS or even openSuSE in oracle virtualboxes
> >(under this openSuSE host), to which I liberate only 1 cpu and only 1 GB
> >memory, it goes much faster, at a very reasonable speed. How could be
> >that? In principle I thought that the multicore configuration of the host
> >machine might be the culprit.
> >    So, for coot tasks, I have been using the virtual machine, but that is
> >impractical.
> >    The closest to this problem I found was
> >https://www.mail-archive.com/coot@jiscmail.ac.uk/msg03787.html , but I
> >could not devise any trial to solve the problem. Even trying the
> >http://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/web/docs/coot.html#Slow-Computer-Configuration
> >  
> ><http://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/web/docs/coot.html#Slow-Computer-Configuration>
> >
> >     configuration did not solve the problem satisfactorily.
> >     I tried to search wider, but could not find other suggestions. Should 
> > you have one, I would be glad to try.
> >     Sincerely yours,
> >
> >Jorge
> >
> 
> 

-- 
This e-mail and any attachments may contain confidential, copyright and or 
privileged material, and are for the use of the intended addressee only. If you 
are not the intended addressee or an authorised recipient of the addressee 
please notify us of receipt by returning the e-mail and do not use, copy, 
retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not 
necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments 
are free from viruses and we cannot accept liability for any damage which you 
may sustain as a result of software viruses which may be transmitted in or with 
the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and 
Wales with its registered office at Diamond House, Harwell Science and 
Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
--- src/graphics-info.cc        2014-12-02 16:00:08.000000000 +0000
+++ src/graphics-info.cc        2015-05-18 18:29:45.420807088 +0100
@@ -1920,7 +1920,8 @@
    } else { 
    
       glRasterPos3f(x,y,z);
-      glPushAttrib (GL_LIST_BIT);
+      glPushAttrib (GL_LIST_BIT|GL_ENABLE_BIT);
+      glDisable(GL_FOG);
       for (unsigned int i = 0; i < s.length(); i++)
         glutBitmapCharacter (graphics_info_t::atom_label_font, s[i]);
       glPopAttrib();
@@ -4649,7 +4650,8 @@
       // GLfloat pink[3] =  { 1.0, 0.8, 0.8 };
       GLfloat pink[3] =  { font_colour.red, font_colour.green, 
font_colour.blue };
       glColor3fv(pink);
-      glPushAttrib (GL_LIST_BIT);
+      glPushAttrib (GL_LIST_BIT|GL_ENABLE_BIT);
+      glDisable(GL_FOG);
       void *font = graphics_info_t::atom_label_font;
       font = GLUT_BITMAP_TIMES_ROMAN_24;
       for (unsigned int i=0; i<generic_texts_p->size(); i++) {
--- src/graphics-ligand-view.cc 2014-09-08 20:54:39.000000000 +0100
+++ src/graphics-ligand-view.cc 2015-05-18 18:27:23.714796284 +0100
@@ -307,7 +307,8 @@
 
 void
 graphics_ligand_atom::bitmap_text(const std::string &s) const {
-   glPushAttrib (GL_LIST_BIT);
+   glPushAttrib (GL_LIST_BIT|GL_ENABLE_BIT);
+   glDisable(GL_FOG);
    for (unsigned int i = 0; i < s.length(); i++)
       glutBitmapCharacter (GLUT_BITMAP_HELVETICA_10, s[i]);
    glPopAttrib();

Reply via email to