Re: ATI Radeon HD 3470 problems with X

2011-03-08 Thread Tomas Bodzar
On Mon, Mar 7, 2011 at 8:15 PM, Alexander Polakov polac...@gmail.com wrote:
 2011/3/7, Tomas Bodzar tomas.bod...@gmail.com:
 Hi,

 when trying eg. glxgears I'm getting :

 $ glxgears
 drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command
 stream. See dmesg for more info.

 This was discussed recently, see
 http://comments.gmane.org/gmane.os.openbsd.misc/183171

 In short: it doesn't work.

Ok, so some change in driver which caused this because it was working
before for me too.

 --
 Alexander Polakov | plhk.ru



ATI Radeon HD 3470 problems with X

2011-03-07 Thread Tomas Bodzar
Hi,

when trying eg. glxgears I'm getting :

$ glxgears
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command
stream. See dmesg for more info.
$

$ warzone2100
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command
stream. See dmesg for more info.
$

$ tail -2 /var/log/messages
Mar  7 18:46:37 hostname /bsd: error:
[drm:pid18843:r300_emit_carefully_checked_packet0] *ERROR* Register
4e4c failed check as flag=00
Mar  7 18:46:37 hostname /bsd: error: [drm:pid18843:r300_do_cp_cmdbuf]
*ERROR* r300_emit_packet0 failed
$

It's same either for snapshot from 1.3. or 2.3. (latest available
now). No xorg.conf set.

$ sysctl kern.version
kern.version=OpenBSD 4.9 (GENERIC.MP) #794: Wed Mar  2 07:19:02 MST 2011
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP

$

$ dmesg | grep -i vga
vga1 at pci1 dev 0 function 0 ATI Radeon HD 3470 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
radeondrm0 at vga1: apic 8 int 16 (irq 11)
$


$ sudo pcidump -v 1:0:0
 1:0:0: ATI Radeon HD 3470
0x: Vendor ID: 1002 Product ID: 95c0
0x0004: Command: 0007 Status ID: 0010
0x0008: Class: 03 Subclass: 00 Interface: 00 Revision: 00
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 10
0x0010: BAR mem prefetchable 64bit addr: 0xd000/0x1000
0x0018: BAR mem 64bit addr: 0xfe9f/0x0001
0x0020: BAR io addr: 0xdc00/0x0100
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1028 Product ID: 3243
0x0030: Expansion ROM Base Address: fea0
0x0038: 
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
0x0050: Capability 0x01: Power Management
0x0058: Capability 0x10: PCI Express
Link Speed: 2.5 / 2.5 Gb/s Link Width: x16 / x16
0x00a0: Capability 0x05: Message Signaled Interrupts (MSI)
$

$ glxgears -info
GL_RENDERER   = Mesa DRI R600 (RV620 95C0) 20090101 x86/MMX/SSE2 TCL
GL_VERSION= 1.5 Mesa 7.8.2
GL_VENDOR = Advanced Micro Devices, Inc.
GL_EXTENSIONS = GL_ARB_depth_texture GL_ARB_draw_buffers
GL_ARB_fragment_program GL_ARB_half_float_vertex GL_ARB_imaging
GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query
GL_ARB_point_parameters GL_ARB_provoking_vertex 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_MESAX_texture_float GL_ARB_texture_mirrored_repeat
GL_ARB_texture_rectangle GL_ARB_transpose_matrix
GL_ARB_vertex_array_bgra GL_ARB_vertex_buffer_object
GL_ARB_vertex_program 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_compiled_vertex_array GL_EXT_convolution
GL_EXT_copy_texture GL_EXT_draw_range_elements 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_point_parameters GL_EXT_polygon_offset
GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color
GL_EXT_separate_specular_color GL_EXT_shadow_funcs
GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture
GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_cube_map
GL_EXT_texture_edge_clamp GL_EXT_texture_env_add
GL_EXT_texture_env_combine GL_EXT_texture_env_dot3
GL_EXT_texture_filter_anisotropic 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_EXT_vertex_array_bgra GL_APPLE_packed_pixels
GL_ATI_blend_equation_separate GL_ATI_texture_env_combine3
GL_ATI_texture_mirror_once 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_ycbcr_texture GL_MESA_window_pos
GL_NV_blend_square GL_NV_light_max_exponent GL_NV_packed_depth_stencil
GL_NV_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_progra
m GL_OES_read_format GL_SGI_color_matrix GL_SGI_color_table
GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp
GL_SGIS_texture_edge_
clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command
stream. See dmesg for more info.
$



Re: ATI Radeon HD 3470 problems with X

2011-03-07 Thread Pascal Stumpf
On Mon, Mar 07, 2011 at 06:50:36PM +0100, Tomas Bodzar wrote:
 Hi,
 
 when trying eg. glxgears I'm getting :
 
 $ glxgears
 drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command
 stream. See dmesg for more info.
 $
 [...]

There's no in-kernel support for 3D on those cards yet.