Google Earth runs for all users except me [SOLVED]

Jonathan Ryshpan jonrysh at pacbell.net
Wed Feb 27 03:11:20 UTC 2013


On Thu, 2013-02-14 at 16:05 -0800, Jonathan Ryshpan wrote:
> On Fri, 2013-02-15 at 00:55 +0800, Ed Greshko wrote:
> > On 02/14/2013 09:03 PM, Jonathan Ryshpan wrote:
> > > I have just installed the proprietary nvidia drivers on an x86_64
> > > system, and have found that google-earth runs correctly when invoked by
> > > any user except me (root, guest, etc.), but not when invoked by me (that
> > > is jonrysh).  The symptom is that when invoked jonrysh everything works
> > > correctly (sidebar, top bar, tour guide, etc) EXCEPT for the main
> > > window, which is supposed to show the world image; this window is black.
> > > When invoked by any other user, google-earth runs exactly as expected.
> > >
> > > The problem is not bad data in ~/.googleearth; when .googleearth is
> > > deleted from my home directory things continue as before.
> > >
> > > System Details
> > >         CPU: AMD 64-bits, 4 core
> > >         Video: GeForce 8400GS
> > >         OpSys: Fedora 17 with all updates
> > >         Driver: kmod-nvidia-3.7.3-101.fc17.x86_64-304.64-2.fc17.5.x86_64
> > >
> > > Has anyone else seen this?  What's the best way to investigate?
> > 
> > Hummm....  On the surface it sounds like the
> > xorg-x11-drv-nvidia-libs.i686 driver issue.  Where you need to install
> > the 32-bit version on a 64-bit system in order to get it to work.
> > But, you say that it works for other users.....
> 
> Actually installing xorg-x11-drv-nvidia-libs.i686 is the second thing
> you have to do to get google-earth to display properly.  First is to
> remove /etc/fonts/conf.d/65-fonts-persian.conf otherwise google-earth
> crashes on startup.  (Figure that out!)  
> 
> Now google-earth is running properly for root and guest, but not for
> jonrysh.  Weird.
> 
> BTW: google-earth is 
>         google-earth-stable-7.0.2.8415-0.x86_64
> which I forgot to put in the original posting.

The source of the problem is that I assign a value in .bash_profile
        export LD_LIBRARY_PATH=/lib/:/usr/lib/:/usr/local/lib/:/usr/local/lib64/
which causes the wrong libGL.so to be loaded when the proprietary nvidia
graphics server is active.  The latest version of libGL, included in
Fedora-18 emits an error message, which allowed me to track to trouble
down:
        $ google-earth 
        libGL error: failed to load driver: swrast
        libGL error: Try again with LIBGL_DEBUG=verbose for more
        details.
        $ LIBGL_DEBUG=verbose google-earth
        libGL: screen 0 does not appear to be DRI2 capable
        libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
        libGL error: failed to load driver: swrast

Thanks to all who helped - jon



        



More information about the users mailing list