Re: [SLUG] Running Google Earth in Ubuntu

2007-04-18 Thread Ken Caldwell
On Thu, 2007-04-12 at 21:10 +1000, Ken Caldwell wrote:
 On Thu, 2007-04-12 at 17:05 +1000, Ken Caldwell wrote:
  On Thu, 2007-04-12 at 06:05 +0100, Dave Airlie wrote:
   fglrx won't give you direct rendering on 9200 whatsoever.. they stopped 
   supporting that card a long time ago..
   
   the open source driver should support that card in feisty fine..
   
   glxinfo should give direct rendering... does glxgears run?
   
   Does the system lockup completely? do you have any fancy AGP options 
   enabled in the logs..? does adding Option CardType PCI to the 
   driver section in xorg.conf make any difference?
  
  Attached is my xorg.conf file and a file glxinfo.txt containing the
  output of glxinfo. glxgears runs slowly and jerkily unless the window is
  small.
  
  The computer does not lock solid when I try to run googleearth but as
  that program seems to take about 95% of the CPU time not much else
  happens!
  
  I cant see mention of AGP in the xorg.conf file, in which log file
  should I look. (As you have no doubt guessed my knowledge of video cards
  is very limited.)
  
 I edited xorg.conf to call the radeon subdriver but the results were
 as before. I note that glxinfo reports direct rendering: No but I have
 not determined why. I shall be off line now until Monday.

I have investigated this a bit further and extracted more information
using glxinfo.

[EMAIL PROTECTED]:~$ export LIBGL_DEBUG=verbose
[EMAIL PROTECTED]:~$ glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.2.0 r200 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/r200_dri.so
libGL error: dlopen /usr/lib/dri/r200_dri.so failed
(/usr/lib/dri/r200_dri.so: undefined symbol: _glapi_add_dispatch)
libGL error: unable to find driver: r200_dri.so
libGL: XF86DRIGetClientDriverName: 5.2.0 r200 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/r200_dri.so
libGL error: dlopen /usr/lib/dri/r200_dri.so failed
(/usr/lib/dri/r200_dri.so: undefined symbol: _glapi_add_dispatch)
libGL error: unable to find driver: r200_dri.so
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_texture_from_pixmap, 
GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_MESA_copy_sub_buffer, 
GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGI_swap_control, 
GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_visual_select_group
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, 
GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample, 
GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, 
GLX_ARB_multisample
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI R200 20060602 AGP 1x x86/MMX+/3DNow!
+/SSE2 TCL
OpenGL version string: 1.3 Mesa 6.5.2
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp, 
GL_ARB_texture_cube_map, GL_ARB_texture_env_add, 
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3, 
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color, 
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add, 
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, 
GL_EXT_texture_lod_bias

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
--
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x24 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x26 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x27 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x29 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2c 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2e 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2f 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x31 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x4b 32 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
[EMAIL PROTECTED]:~$ 

The problem seems to be:-

libGL: OpenDriver: trying /usr/lib/dri/r200_dri.so
libGL 

Re: [SLUG] Running Google Earth in Ubuntu

2007-04-18 Thread Peter Hardy
On Wed, 2007-04-18 at 16:14 +1000, Ken Caldwell wrote:
 I have investigated this a bit further and extracted more information
 using glxinfo.
*snip*
 The problem seems to be:-
 
 libGL: OpenDriver: trying /usr/lib/dri/r200_dri.so
 libGL error: dlopen /usr/lib/dri/r200_dri.so failed
 (/usr/lib/dri/r200_dri.so: undefined symbol: _glapi_add_dispatch)
 libGL error: unable to find driver: r200_dri.so
 
 As /usr/lib/dri/r200_dri.so exists on this system do these messages
 indicate a bug in the package libgl1-mesa-dri which provided it?

Earlier in this thread you mentioned you're using the ati driver. Do you
have the fglrx driver package (xorg-driver-fglrx) installed as well? It
installs its own libGL library, which is incompatible with the x.org
one. And a quick test on my Ubuntu machine (with a Radeon 9250) gives
the same error.

So, uninstall xorg-driver-fglrx and try it again. :-)

-- 
Pete

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Running Google Earth in Ubuntu

2007-04-12 Thread Ken Caldwell
On Thu, 2007-04-12 at 06:05 +0100, Dave Airlie wrote:
 
  Google Earth probably needs to have direct rendering and 3D
  capability, because it uses OpenGL to draw the textures and such. The
  open source ati driver likely won't give you direct rendering on a
  9200 card, and you'll need to install the proprietary fglrx drivers
  from ATI to get 3D support. There's a good howto on the Ubuntu wiki:
  https://help.ubuntu.com/community/BinaryDriverHowto/ATI
  That documents how to install it from the repos or how to do it
  manually. It doesn't have a guide specifically for Feisty, but it
  should be a similar procedure.
 
 fglrx won't give you direct rendering on 9200 whatsoever.. they stopped 
 supporting that card a long time ago..
 
 the open source driver should support that card in feisty fine..
 
 glxinfo should give direct rendering... does glxgears run?
 
 Does the system lockup completely? do you have any fancy AGP options 
 enabled in the logs..? does adding Option CardType PCI to the 
 driver section in xorg.conf make any difference?

Attached is my xorg.conf file and a file glxinfo.txt containing the
output of glxinfo. glxgears runs slowly and jerkily unless the window is
small.

The computer does not lock solid when I try to run googleearth but as
that program seems to take about 95% of the CPU time not much else
happens!

I cant see mention of AGP in the xorg.conf file, in which log file
should I look. (As you have no doubt guessed my knowledge of video cards
is very limited.)

cheers,
Ken

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type man xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section Files
FontPath/usr/share/fonts/X11/misc
FontPath/usr/share/fonts/X11/cyrillic
FontPath/usr/share/fonts/X11/100dpi/:unscaled
FontPath/usr/share/fonts/X11/75dpi/:unscaled
FontPath/usr/share/fonts/X11/Type1
FontPath/usr/share/fonts/X11/100dpi
FontPath/usr/share/fonts/X11/75dpi
# path to defoma fonts
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
EndSection

Section Module
Loadbitmap
Loaddbe
Loadddc
Loaddri
Loadextmod
Loadfreetype
Loadglx
Loadint10
Loadvbe
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRules  xorg
Option  XkbModel  pc104
Option  XkbLayout us
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/psaux
Option  Protocol  ImPS/2
Option  ZAxisMapping  4 5
EndSection

Section InputDevice
Driver  wacom
Identifier  stylus
Option  Device/dev/wacom# Change to 
# /dev/input/event
# for USB
Option  Type  stylus
Option  ForceDevice   ISDV4 # Tablet PC ONLY
EndSection

Section InputDevice
Driver  wacom
Identifier  eraser
Option  Device/dev/wacom# Change to 
# /dev/input/event
# for USB
Option  Type  eraser
Option  ForceDevice   ISDV4 # Tablet PC ONLY
EndSection

Section InputDevice
Driver  wacom
Identifier  cursor
Option  Device/dev/wacom# Change to 
# /dev/input/event
# for USB
Option  Type  cursor
Option  ForceDevice   ISDV4 # Tablet PC ONLY
EndSection

Section Device
Identifier  ATI Technologies Inc RV280 [Radeon 9200 PRO]
Driver  ati
BusID   PCI:1:0:0
EndSection

Section Monitor
Identifier  CMC 17 AD
Option  DPMS
HorizSync   30-65
VertRefresh 50-75
EndSection


Re: [SLUG] Running Google Earth in Ubuntu

2007-04-12 Thread Heracles
I changed my 9250 ATI for a 6200 G-Force Nvidia (less than $90 for the
256Mb model) and it runs well. I have it running in the background at
this time.
Not sure what is causing it to use so much CPU on your machine Ken. It
does not take much CPU at all on mine. It is fast and smooth and has no
effect on performance.

So if you really want to run it and can't get the ATI running the way
you want, an Nvidia is a cheap replacement.

(BTW, easyubuntu will go and get the proprietary drivers and install
them if you really must.)

Heracles


Ken Caldwell wrote:
 On Thu, 2007-04-12 at 06:05 +0100, Dave Airlie wrote:
 Google Earth probably needs to have direct rendering and 3D
 capability, because it uses OpenGL to draw the textures and such. The
 open source ati driver likely won't give you direct rendering on a
 9200 card, and you'll need to install the proprietary fglrx drivers
 from ATI to get 3D support. There's a good howto on the Ubuntu wiki:
 https://help.ubuntu.com/community/BinaryDriverHowto/ATI
 That documents how to install it from the repos or how to do it
 manually. It doesn't have a guide specifically for Feisty, but it
 should be a similar procedure.
 fglrx won't give you direct rendering on 9200 whatsoever.. they stopped 
 supporting that card a long time ago..

 the open source driver should support that card in feisty fine..

 glxinfo should give direct rendering... does glxgears run?

 Does the system lockup completely? do you have any fancy AGP options 
 enabled in the logs..? does adding Option CardType PCI to the 
 driver section in xorg.conf make any difference?
 
 Attached is my xorg.conf file and a file glxinfo.txt containing the
 output of glxinfo. glxgears runs slowly and jerkily unless the window is
 small.
 
 The computer does not lock solid when I try to run googleearth but as
 that program seems to take about 95% of the CPU time not much else
 happens!
 
 I cant see mention of AGP in the xorg.conf file, in which log file
 should I look. (As you have no doubt guessed my knowledge of video cards
 is very limited.)
 
 cheers,
 Ken
 
 
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Running Google Earth in Ubuntu

2007-04-12 Thread Ken Caldwell
On Thu, 2007-04-12 at 17:05 +1000, Ken Caldwell wrote:
 On Thu, 2007-04-12 at 06:05 +0100, Dave Airlie wrote:
  fglrx won't give you direct rendering on 9200 whatsoever.. they stopped 
  supporting that card a long time ago..
  
  the open source driver should support that card in feisty fine..
  
  glxinfo should give direct rendering... does glxgears run?
  
  Does the system lockup completely? do you have any fancy AGP options 
  enabled in the logs..? does adding Option CardType PCI to the 
  driver section in xorg.conf make any difference?
 
 Attached is my xorg.conf file and a file glxinfo.txt containing the
 output of glxinfo. glxgears runs slowly and jerkily unless the window is
 small.
 
 The computer does not lock solid when I try to run googleearth but as
 that program seems to take about 95% of the CPU time not much else
 happens!
 
 I cant see mention of AGP in the xorg.conf file, in which log file
 should I look. (As you have no doubt guessed my knowledge of video cards
 is very limited.)
 
I edited xorg.conf to call the radeon subdriver but the results were
as before. I note that glxinfo reports direct rendering: No but I have
not determined why. I shall be off line now until Monday.

cheers,
Ken


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Running Google Earth in Ubuntu

2007-04-11 Thread Ken Caldwell
Afternoon All,

I have been trying to run googleearth in Ubuntu Feisty. The video card
seems to be RV280 Radeon 9200 PRO. The driver in /etc/X/xorg.conf is
shown as ati. The application starts and and reports that it is
Initialising but never proceeds further. While running it seems to be
using a lot of CPU. Which logs are most likely to show what is going on?

cheers,
Ken


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Running Google Earth in Ubuntu

2007-04-11 Thread David P

On 4/12/07, Ken Caldwell [EMAIL PROTECTED] wrote:

I have been trying to run googleearth in Ubuntu Feisty. The video card
seems to be RV280 Radeon 9200 PRO. The driver in /etc/X/xorg.conf is
shown as ati.



Google Earth probably needs to have direct rendering and 3D
capability, because it uses OpenGL to draw the textures and such. The
open source ati driver likely won't give you direct rendering on a
9200 card, and you'll need to install the proprietary fglrx drivers
from ATI to get 3D support. There's a good howto on the Ubuntu wiki:
https://help.ubuntu.com/community/BinaryDriverHowto/ATI
That documents how to install it from the repos or how to do it
manually. It doesn't have a guide specifically for Feisty, but it
should be a similar procedure.

David

(sorry Ken for sending this message twice to you, I forgot to cc it to
the list earlier)
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Running Google Earth in Ubuntu

2007-04-11 Thread Dave Airlie




Google Earth probably needs to have direct rendering and 3D
capability, because it uses OpenGL to draw the textures and such. The
open source ati driver likely won't give you direct rendering on a
9200 card, and you'll need to install the proprietary fglrx drivers
from ATI to get 3D support. There's a good howto on the Ubuntu wiki:
https://help.ubuntu.com/community/BinaryDriverHowto/ATI
That documents how to install it from the repos or how to do it
manually. It doesn't have a guide specifically for Feisty, but it
should be a similar procedure.


fglrx won't give you direct rendering on 9200 whatsoever.. they stopped 
supporting that card a long time ago..


the open source driver should support that card in feisty fine..

glxinfo should give direct rendering... does glxgears run?

Does the system lockup completely? do you have any fancy AGP options 
enabled in the logs..? does adding Option CardType PCI to the 
driver section in xorg.conf make any difference?


Dave.

--
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html