Re: xf86-video-intel low glxgears, non-existent OpenGL performance, and general WTF

2009-02-15 Thread Vasily Khoruzhick
On Sunday 15 February 2009 04:26:15 Weedy wrote:

 fff I suck. Thanks, it's 5fps but I can kinda play it
 now. So once .29 comes out will I get real opengl
I hope so, but not sure. You should ask xf86-video-intel developers ;)

 or at least better d3d?
I think it depends on wine

Regards
Vasily




signature.asc
Description: This is a digitally signed message part.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: xf86-video-intel low glxgears, non-existent OpenGL performance, and general WTF

2009-02-14 Thread Vasily Khoruzhick
On Saturday 14 February 2009 02:18:21 you wrote:

 So with 2.6.27-r8 glxgears is up to 130fps but WoW runs slower. OpenGL
 works but is like 0.1FPS.

You should try x11-drivers/xf86-video-intel-2.5.1-r1 instead of 2.6.1 ;)

Regards
Vasily


signature.asc
Description: This is a digitally signed message part.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: xf86-video-intel low glxgears, non-existent OpenGL performance, and general WTF

2009-02-14 Thread Weedy
Vasily Khoruzhick wrote:
 On Saturday 14 February 2009 02:18:21 you wrote:
 
 So with 2.6.27-r8 glxgears is up to 130fps but WoW runs slower. OpenGL
 works but is like 0.1FPS.
 
 You should try x11-drivers/xf86-video-intel-2.5.1-r1 instead of 2.6.1 ;)
 
 Regards
 Vasily

Thought of that about 5mins after sending the email. WoW still useless
and glxgears at 126.

$ cat /var/log/Xorg.0.log

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.28-gentoo-r1 i686
Current Operating System: Linux lappy 2.6.27-gentoo-r8 #2 SMP Fri Feb 13
18:10:50 EST 2009 i686
Build Date: 11 February 2009  09:32:20AM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Sat Feb 14 05:27:28 2009
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Default Layout
(**) |--Screen LCD Screen (0)
(**) |   |--Monitor LCD-Monitor
(**) |   |--Device intel
(**) Option AIGLX true
(**) Option AllowEmptyInput true
(==) Automatically adding devices
(==) Automatically enabling devices
(**) FontPath set to:
/usr/share/fonts/util,
/usr/share/fonts/encodings,
/usr/share/fonts/misc,
/usr/share/fonts/terminus,
/usr/share/fonts/corefonts,
/usr/share/fonts/default,
/usr/share/fonts/TTF,
/usr/share/fonts/Type1,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi,
/usr/share/fonts/default/ghostscript,
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/,
built-ins
(==) ModulePath set to /usr/lib/xorg/modules
(**) Extension Composite is enabled
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable 
AllowEmptyInput.
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81d5a20
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 4.1
X.Org XInput driver : 2.1
X.Org Server Extension : 1.1
X.Org Font Renderer : 0.6
(II) Loader running on linux
(++) using VT number 7

(--) PCI:*(0...@0:2:0) Intel Corporation Mobile 945GM/GMS, 943/940GML
Express Integrated Graphics Controller rev 3, Mem @ 0xeff0/0,
0xd000/0, 0xefec/0, I/O @ 0xeff8/0
(--) PCI: (0...@0:2:1) Intel Corporation Mobile 945GM/GMS/GME, 943/940GML
Express Integrated Graphics Controller rev 3, Mem @ 0xeff8/0
(II) System resource ranges:
[0] -1  0   0x - 0x (0x1) MX[B]
[1] -1  0   0x000f - 0x000f (0x1) MX[B]
[2] -1  0   0x000c - 0x000e (0x3) MX[B]
[3] -1  0   0x - 0x0009 (0xa) MX[B]
[4] -1  0   0x - 0x (0x1) IX[B]
[5] -1  0   0x - 0x (0x1) IX[B]
(II) extmod will be loaded. This was enabled by default and also
specified in the config file.
(II) dbe will be loaded. This was enabled by default and also
specified in the config file.
(II) glx will be loaded. This was enabled by default and also
specified in the config file.
(II) freetype will be loaded. This was enabled by default and also
specified in the config file.
(II) record will be loaded by default.
(II) dri will be loaded. This was enabled by default and also
specified in the config file.
(II) LoadModule: dbe

(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor=X.Org Foundation
compiled for 1.5.3, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 1.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: extmod

(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor=X.Org Foundation
compiled for 1.5.3, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 1.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: freetype

(II) Loading 

Re: xf86-video-intel low glxgears, non-existent OpenGL performance, and general WTF

2009-02-14 Thread Vasily Khoruzhick
On Saturday 14 February 2009 12:33:48 Weedy wrote:
 Vasily Khoruzhick wrote:
  On Saturday 14 February 2009 02:18:21 you wrote:
  So with 2.6.27-r8 glxgears is up to 130fps but WoW runs slower. OpenGL
  works but is like 0.1FPS.
 
  You should try x11-drivers/xf86-video-intel-2.5.1-r1 instead of 2.6.1 ;)
 
  Regards
  Vasily

 Thought of that about 5mins after sending the email. WoW still useless
 and glxgears at 126.

Please invoke following command and attach output:
LIBGL_DEBUG=1 glxinfo



signature.asc
Description: This is a digitally signed message part.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: xf86-video-intel low glxgears, non-existent OpenGL performance, and general WTF

2009-02-14 Thread Weedy
Vasily Khoruzhick wrote:
 On Saturday 14 February 2009 12:33:48 Weedy wrote:
 Vasily Khoruzhick wrote:
 On Saturday 14 February 2009 02:18:21 you wrote:
 So with 2.6.27-r8 glxgears is up to 130fps but WoW runs slower. OpenGL
 works but is like 0.1FPS.
 You should try x11-drivers/xf86-video-intel-2.5.1-r1 instead of 2.6.1 ;)

 Regards
 Vasily
 Thought of that about 5mins after sending the email. WoW still useless
 and glxgears at 126.
 
 Please invoke following command and attach output:
 LIBGL_DEBUG=1 glxinfo
 

Well ass I don't remember this before: OpenGL renderer string: Software
Rasterizer

 $ LIBGL_DEBUG=1 glxinfo
name of display: :0.0
Failed to initialize GEM.  Falling back to classic.
[intel_init_bufmgr:578] Error initializing buffer manager.
libGL error: Calling driver entry point failedlibGL error: reverting to
software direct rendering
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.3
OpenGL shading language version string: 1.10
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
GL_ARB_half_float_pixel, GL_ARB_imaging, GL_ARB_multisample,
GL_ARB_multitexture, GL_ARB_occlusion_query,
GL_ARB_pixel_buffer_object,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shader_objects,
GL_ARB_shading_language_100, GL_ARB_shadow, GL_ARB_shadow_ambient,
GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos,
GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array,
GL_EXT_convolution,
GL_EXT_copy_texture, GL_EXT_depth_bounds_test,
GL_EXT_draw_range_elements,
GL_EXT_framebuffer_object, GL_EXT_framebuffer_blit, GL_EXT_fog_coord,
GL_EXT_gpu_program_parameters, GL_EXT_histogram,
GL_EXT_multi_draw_arrays,
GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels,
GL_EXT_paletted_texture, GL_EXT_pixel_buffer_object,
GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shadow_funcs, GL_EXT_shared_texture_palette,
GL_EXT_stencil_wrap,
GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_texture_sRGB,
GL_EXT_vertex_array, GL_3DFX_texture_compression_FXT1,
GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object,
GL_ATI_blend_equation_separate, GL_ATI_texture_env_combine3,
GL_ATI_texture_mirror_once, GL_ATI_fragment_shader,
GL_ATI_separate_stencil, GL_IBM_multimode_draw_arrays,
GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert,
GL_MESA_program_debug,
GL_MESA_resize_buffers, GL_MESA_texture_array, GL_MESA_ycbcr_texture,
GL_MESA_window_pos, GL_NV_blend_square, GL_NV_fragment_program,
GL_NV_light_max_exponent, GL_NV_point_sprite, GL_NV_texture_rectangle,
GL_NV_texgen_reflection, GL_NV_vertex_program, GL_NV_vertex_program1_1,
GL_OES_read_format, GL_SGI_color_matrix, GL_SGI_color_table,

Re: xf86-video-intel low glxgears, non-existent OpenGL performance, and general WTF

2009-02-14 Thread Vasily Khoruzhick
On Saturday 14 February 2009 17:28:10 you wrote:

 Well ass I don't remember this before: OpenGL renderer string: Software
 Rasterizer

Try rebuild packages in following order, and please ensure that i915.ko module 
is loaded:

libdrm
mesa
xorg-server
xf86-video-intel

Regards
Vasily


signature.asc
Description: This is a digitally signed message part.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: xf86-video-intel low glxgears, non-existent OpenGL performance, and general WTF

2009-02-14 Thread Weedy
Vasily Khoruzhick wrote:
 On Saturday 14 February 2009 17:28:10 you wrote:
 
 Well ass I don't remember this before: OpenGL renderer string: Software
 Rasterizer
 
 Try rebuild packages in following order, and please ensure that i915.ko 
 module 
 is loaded:
 
 libdrm
 mesa
 xorg-server
 xf86-video-intel
 
 Regards
 Vasily

No change
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: xf86-video-intel low glxgears, non-existent OpenGL performance, and general WTF

2009-02-14 Thread Vasily Khoruzhick
On Sunday 15 February 2009 01:35:47 Weedy wrote:

 No change

Please check that VIDEO_CARDS in your make.conf contains intel and not 
i810. It seems that i915_dri.so is not built, you can check it with:
equery f mesa | grep i915

Regards
Vasily


signature.asc
Description: This is a digitally signed message part.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: xf86-video-intel low glxgears, non-existent OpenGL performance, and general WTF

2009-02-14 Thread Weedy
Vasily Khoruzhick wrote:
 On Sunday 15 February 2009 01:35:47 Weedy wrote:
 
 No change
 
 Please check that VIDEO_CARDS in your make.conf contains intel and not 
 i810. It seems that i915_dri.so is not built, you can check it with:
 equery f mesa | grep i915
 
 Regards
 Vasily

$ equery f mesa | grep i915
/usr/lib/dri/i915_dri.so
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: xf86-video-intel low glxgears, non-existent OpenGL performance, and general WTF

2009-02-14 Thread Vasily Khoruzhick
On Sunday 15 February 2009 02:01:25 Weedy wrote:
 Vasily Khoruzhick wrote:
  On Sunday 15 February 2009 01:35:47 Weedy wrote:
  No change
 
  Please check that VIDEO_CARDS in your make.conf contains intel and not
  i810. It seems that i915_dri.so is not built, you can check it with:
  equery f mesa | grep i915
 
  Regards
  Vasily

 $ equery f mesa | grep i915
 /usr/lib/dri/i915_dri.so

And remove Option Legacy3D false from your xorg.conf



signature.asc
Description: This is a digitally signed message part.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: xf86-video-intel low glxgears, non-existent OpenGL performance, and general WTF

2009-02-14 Thread Weedy
Vasily Khoruzhick wrote:
 On Sunday 15 February 2009 02:01:25 Weedy wrote:
 Vasily Khoruzhick wrote:
 On Sunday 15 February 2009 01:35:47 Weedy wrote:
 No change
 Please check that VIDEO_CARDS in your make.conf contains intel and not
 i810. It seems that i915_dri.so is not built, you can check it with:
 equery f mesa | grep i915

 Regards
 Vasily
 $ equery f mesa | grep i915
 /usr/lib/dri/i915_dri.so
 
 And remove Option Legacy3D false from your xorg.conf
 

fff I suck. Thanks, it's 5fps but I can kinda play it
now. So once .29 comes out will I get real opengl or at least better d3d?
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


xf86-video-intel low glxgears, non-existent OpenGL performance, and general WTF

2009-02-12 Thread Weedy
SETUP

[I] x11-base/xorg-server (1.5.3...@11/02/09): X.Org X servers
[I] x11-base/xorg-x11 (7...@11/02/09): An X11 implementation maintained
by the X.Org Foundation (meta package)
[I] x11-drivers/xf86-video-intel (2@11/02/09): X.Org driver for
Intel cards
[I] media-libs/mesa (7...@11/02/09): OpenGL-like graphic library for Linux
[I] x11-apps/mesa-progs (7...@11/02/09): Mesa's OpenGL utility and demo
[I] x11-libs/libdrm (2@11/02/09): X.Org libdrm library
[I] sys-kernel/gentoo-sources (2.6.28-r1(2.6.28-r1)@12/02/09): Full
sources including the Gentoo patchset for the 2.6 kernel tree

Section Device
Identifier   intel
Driver   intel
VendorName   Intel Corporation
BoardNameIntel Corporation Mobile 945GM/GMS/GME Express
Integrated Graphics Controller
VideoRAM 16384

#   # Acceleration options
Option  FramebufferCompression true
Option  Tilingtrue
Option  DRI   true
Option  XVideotrue
Option  Legacy3D  false
Option  TripleBuffer  false
Option  AccelMethod   UXA # XAA, EXA, UXA
Option  XvMC  false

# Other options
OptionBackingStore   true
OptionPageFlip   true
EndSection

Questions:

So glxgears runs at 62fps, and I think I saw something about it's now
locked to vsync. So that's fine I guess. But that doesn't explain why
WoW runs like crap. OpenGL is non existent, either X doesn't update the
screen or it's renders tons of crap (this is with WoW). I have tried
every version of wine/WoW that I could confirm working (on ATI/Nvidia)
so I'm pretty sure that leaves the intel driver or X.

Other then that compositing and junk works fine, some stuttering but
nothing really annoying. Mind you mplayer hates it when I have
compositing on, but xv is the only video output driver that works well
with 720p and up. But I guess they don't need the horse power that games
do.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: xf86-video-intel low glxgears, non-existent OpenGL performance, and general WTF

2009-02-12 Thread Vasily Khoruzhick
On Friday 13 February 2009 05:55:22 Weedy wrote:
 SETUP

 [I] x11-base/xorg-server (1.5.3...@11/02/09): X.Org X servers
 [I] x11-base/xorg-x11 (7...@11/02/09): An X11 implementation maintained
 by the X.Org Foundation (meta package)
 [I] x11-drivers/xf86-video-intel (2@11/02/09): X.Org driver for
 Intel cards
 [I] media-libs/mesa (7...@11/02/09): OpenGL-like graphic library for Linux
 [I] x11-apps/mesa-progs (7...@11/02/09): Mesa's OpenGL utility and demo
 [I] x11-libs/libdrm (2@11/02/09): X.Org libdrm library
 [I] sys-kernel/gentoo-sources (2.6.28-r1(2.6.28-r1)@12/02/09): Full
 sources including the Gentoo patchset for the 2.6 kernel tree

 Section Device
 Identifier   intel
 Driver   intel
 VendorName   Intel Corporation
 BoardNameIntel Corporation Mobile 945GM/GMS/GME Express
 Integrated Graphics Controller
 VideoRAM 16384

 #   # Acceleration options
 Option  FramebufferCompression true
 Option  Tilingtrue
 Option  DRI   true
 Option  XVideotrue
 Option  Legacy3D  false
 Option  TripleBuffer  false
 Option  AccelMethod   UXA # XAA, EXA, UXA
 Option  XvMC  false

 # Other options
 OptionBackingStore   true
 OptionPageFlip   true
 EndSection

 Questions:

 So glxgears runs at 62fps, and I think I saw something about it's now
 locked to vsync. So that's fine I guess. But that doesn't explain why
 WoW runs like crap. OpenGL is non existent, either X doesn't update the
 screen or it's renders tons of crap (this is with WoW). I have tried
 every version of wine/WoW that I could confirm working (on ATI/Nvidia)
 so I'm pretty sure that leaves the intel driver or X.

 Other then that compositing and junk works fine, some stuttering but
 nothing really annoying. Mind you mplayer hates it when I have
 compositing on, but xv is the only video output driver that works well
 with 720p and up. But I guess they don't need the horse power that games
 do.

With gentoo-sources-2.6.27-r8 and AccelMethod EXA you'll get your 3D

I have same issues, and I've filed bugs on freedesktop bugzilla, here they're:

http://bugs.freedesktop.org/show_bug.cgi?id=19873
http://bugs.freedesktop.org/show_bug.cgi?id=19738

So, I think we just have to wait till intel developers fix these issues :)

Regards
Vasily


signature.asc
Description: This is a digitally signed message part.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg