From: anu chandra (anu80125_at_gmail.com)
Date: Tue Jul 12 2016 - 11:32:50 CDT

Dear John,

I have noticed that VMD as well as glxinfo works fine as sudo user and root
user. Unfortunately, glxinfo showed following error with regular user and
the VMD also failed. It looks the issue is with environment variable. Can
you please advice me how to set this up?

As regular user:

$ glxinfo
name of display: :0.0
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
  Major opcode of failed request: 153 (GLX)
  Minor opcode of failed request: 6 (X_GLXIsDirect)
  Serial number of failed request: 46
  Current serial number in output stream: 45

As sudo:

sudo glxinfo
[sudo] password :
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
    GLX_ARB_context_flush_control, GLX_ARB_create_context,
    GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness,
    GLX_ARB_fbconfig_float, GLX_ARB_multisample, GLX_EXT_buffer_age,
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
    GLX_EXT_framebuffer_sRGB, GLX_EXT_libglvnd, GLX_EXT_stereo_tree,
    GLX_EXT_swap_control, GLX_EXT_swap_control_tear,
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
GLX_EXT_visual_rating,
    GLX_NV_copy_buffer, GLX_NV_copy_image, GLX_NV_delay_before_swap,
    GLX_NV_float_buffer, GLX_NV_multisample_coverage,
    GLX_NV_robustness_video_memory_purge, GLX_NV_swap_group,
    GLX_NV_video_capture, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGI_swap_control, GLX_SGI_video_sync
client glx vendor string: NVIDIA Corporation

Many thanks
Anu

On Tue, Jul 12, 2016 at 1:19 PM, anu chandra <anu80125_at_gmail.com> wrote:

> Dear John,
>
> Thanks for the reply. Unfortunately, reinstalling the graphics driver
> didn't help me to solve the issue. I have following driver installed,
>
> $ rpm -qa | grep nvidia
> xorg-x11-drv-nvidia-352.93-1.el7.x86_64
> nvidia-uvm-kmod-352.93-3.el7.x86_64
> yum-plugin-nvidia-1.0.2-1.el7.elrepo.noarch
> xorg-x11-drv-nvidia-gl-352.93-1.el7.x86_64
> xorg-x11-drv-nvidia-libs-352.93-1.el7.x86_64
> xorg-x11-drv-nvidia-devel-352.93-1.el7.x86_64
> nvidia-detect-367.27-1.el7.elrepo.x86_64
> nvidia-kmod-352.93-2.el7.x86_64
>
> Any help would be highly appreciated
>
>
> Many thanks
> Aneesh
>
> On Mon, Jul 11, 2016 at 6:00 PM, John Stone <johns_at_ks.uiuc.edu> wrote:
>
>> Hi,
>> Most likely what has occured here is that during your install of
>> FFTW, the system also updated your graphics driver and reverted it to a
>> Mesa software rasterizer. If you reinstall your graphics driver I would
>> expect it to correct the problems you're seeing.
>>
>> Cheers,
>> John Stone
>> vmd_at_ks.uiuc.edu
>>
>> On Mon, Jul 11, 2016 at 05:37:34PM +0100, anu chandra wrote:
>> > Dear VMD users,
>> >
>> > The VMD was working fine in my system all of these days.
>> Unfortunately,
>> > after I installed FFTW (that was for Gromacs installation), VMD
>> failed to
>> > show the display window and showed the following message,
>> >
>> > $ vmd
>> > Info) VMD for LINUXAMD64, version 1.9.2 (December 29, 2014)
>> > Info)
>> > [1]http://www.ks.uiuc.edu/Research/vmd/A A A A A A A A A A A A A A
>> A A A A A A A A A A
>> > Info) Email questions and bug reports to
>> > [2]vmd_at_ks.uiuc.eduA A A A A A A A A A
>> > Info) Please include this reference in published work using VMD:A A
>> > Info)A A A Humphrey, W., Dalke, A. and Schulten, K., `VMD - VisualA
>> A
>> > Info)A A A Molecular Dynamics', J. Molec. Graphics 1996, 14.1,
>> 33-38.
>> > Info) -------------------------------------------------------------
>> > Info) Multithreading available, 16 CPUs detected.
>> > Info) Free system memory: 31139MB (97%)
>> > Info) Creating CUDA device pool and initializing hardware...
>> > Info) Detected 1 available CUDA accelerator:
>> > Info) [0] Quadro K4200A A A A A A A 7 SM_3.0 @ 0.78 GHz, 4.0GB RAM,
>> KTO,
>> > AE2, ZCP
>> > Info) Detected 1 available TachyonL/OptiX ray tracing accelerator
>> > Warning) Detected X11 'Composite' extension: if incorrect display
>> occurs
>> > Warning) try disabling this X server option.A Most OpenGL drivers
>> > Warning) disable stereoscopic display when 'Composite' is enabled.
>> > libGL error: No matching fbConfigs or visuals found
>> > libGL error: failed to load driver: swrast
>> > XRequest.153: BadValue (integer parameter out of range for
>> operation) 0x0
>> > XRequest.153: GLXBadContext 0x2e00001
>> > XRequest.153: 0 0x0
>> > Info) OpenGL renderer: ErrorUnknown
>> > Info)A A Features: STENCIL
>> > Info)A A GLSL rendering mode is NOT available.
>> > XRequest.153: GLXBadDrawable 0x2e00091
>> > Info) Dynamically loaded 2 plugins in directory:
>> > Info) /usr/local/lib/vmd/plugins/LINUXAMD64/molfile
>> > XRequest.153: GLXBadContext 0x2e00001
>> > XRequest.153: 0 0x0
>> > XRequest.153: GLXBadDrawable 0x2e00091
>> > XRequest.153: GLXBadContext 0x2e00001
>> > XRequest.153: 0 0x0
>> >
>> > I wonder what went wrong when I installed FFTW. A re-installation of
>> the
>> > nvidia drivers also didn't help me to rectify the problem.
>> >
>> > My nvidia drivers shows,
>> >
>> > $ cat /proc/driver/nvidia/version
>> > NVRM version: NVIDIA UNIX x86_64 Kernel ModuleA 352.93A Tue AprA 5
>> > 18:18:24 PDT 2016
>> > GCC version:A gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)
>> >
>> > I am using RHEL 7 workstation. Unfortunately, a successful system
>> update
>> > and reboot also didn't help me to solve the problem.
>> >
>> > Any help here would be highly appreciated.
>> >
>> > Many thanks in advance
>> > Anu
>> >
>> > References
>> >
>> > Visible links
>> > 1. http://www.ks.uiuc.edu/Research/vmd/
>> > 2. mailto:vmd_at_ks.uiuc.edu
>>
>> --
>> NIH Center for Macromolecular Modeling and Bioinformatics
>> Beckman Institute for Advanced Science and Technology
>> University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
>> http://www.ks.uiuc.edu/~johns/ Phone: 217-244-3349
>> http://www.ks.uiuc.edu/Research/vmd/
>>
>
>