On Sunday, 02 March, 2014 16:17:22 Ethan Merritt wrote:
> I recently acquired a new machine and found that my previous
> coot executables will not run on it, and neither will the 
> stable or "nightlies" built for Fedora/RHEL or Ubuntu.
> No problem, I thought, I'll just rebuild it from current source.
> 
> That worked, but the graphics display speed of the resulting
> executable is very slow.  I have not noticed rendering speed
> issues with any other programs I am running.
> 
> The recent mention here of buggy Mesa versions makes me wonder
> if that is what I'm suffering from.
> I can't find any likely pointers on the web.  
> Does anyone have more detail?  
> Is there a work-around?

Following up on my own problem report....

I eventually poked something (don't ask me what!) in one of several
graphics configuration tools that made a large difference.
As best as I can tell by comparing the Xorg.0.log files before and
after, the difference is this:

Xorg.0.log:[1690259.966] (==) AIGLX enabled
Xorg.0.log:[1690259.978] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
Xorg.0.log:[1690259.978] (II) AIGLX: enabled GLX_INTEL_swap_event
Xorg.0.log:[1690259.978] (II) AIGLX: enabled GLX_ARB_create_context
Xorg.0.log:[1690259.978] (II) AIGLX: enabled GLX_ARB_create_context_profile
Xorg.0.log:[1690259.978] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
Xorg.0.log:[1690259.978] (II) AIGLX: enabled GLX_SGI_swap_control and 
GLX_MESA_swap_control
Xorg.0.log:[1690259.978] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by 
buffer objects
Xorg.0.log:[1690259.978] (II) AIGLX: Loaded and initialized i965

So enabling AIGLX makes a huge difference.
Unfortunately I can't find any changes in xorg.conf or anywhere else that
would explain why  it is now enabled whereas before it wasn't.
 Anyhow I now get very fast rendering of lines, shaded objects (ball-and-stick) 
etc.

HOWEVER....As soon as even a single label (atom name or distance)
appears on the screen it goes back to being slow.  Clearing the labels
makes it fast; clicking an atom makes it slow; 100% reproducible.
So it really doesn't like rendering characters.
Any ideas on what else I might try?

        Ethan



> Since I'm building from source I am perfectly happy to try
> patching the Coot end of things if that would help.
> 
>       Ethan
> 
> 
> Graphics (Intel HD4000)
> 000:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor 
> Graphics Controller (rev 09) (prog-if 00 [VGA controller])
>         Subsystem: Intel Corporation Device 2211
>         Flags: bus master, fast devsel, latency 0, IRQ 44
>         Memory at e0000000 (64-bit, non-prefetchable) [size=4M]
>         Memory at c0000000 (64-bit, prefetchable) [size=512M]
>         I/O ports at 4000 [size=64]
>         Expansion ROM at <unassigned> [disabled]
>         Capabilities: <access denied>
>         Kernel driver in use: i915
>         Kernel modules: i915
> 
> CPU (Ivy Bridge)
> vendor_id       : GenuineIntel
> cpu family      : 6
> model           : 58
> model name      : Intel(R) Core(TM) i7-3517UE
> stepping        : 9
> microcode       : 0x19
> 
> Operating System
> Mageia 4
> lib64mesagl1-devel-10.0.3-1.mga4.tainted
> lib64mesaegl1-devel-10.0.3-1.mga4.tainted
> mesa-10.0.3-1.mga4.tainted
> lib64mesaglu1-devel-9.0.0-3.mga4
> lib6lib64freeglut3-2.8.1-2.mga4
> 

Reply via email to