You are not logged in.

#1 2009-09-12 20:17:03

chozar
Member
Registered: 2009-04-04
Posts: 8

AMD 785G / ATI RS880 / HD4200 Integrated Video xvideo acceleration

I just purchased a new Gigabyte motherboard that uses the 785G chipset.

It is marketed as having ATI HD4200 graphics, which uses the RS880 core.

These boards were released in early August.

While both the radeon (xf86-video-ati) and radeonhd (xf86-video-radeonhd) drivers work, only the former has 2d acceleration.  The latter lacks acceleration, even if I set two flags in my xorg.  (I have to enable EXA and DRI as per directions at x.org).  Neither work for xvideo rendering, which is a problem for most applications such as mplayer and miro.  I get mplayer using software rendering, but it works rather slowly.  Running the command `xvinfo` reveals that no adapters are found.

I believe the issue is PCI IDs.  Even though the latest branch drivers support this video chip, they have only been updated over the summer to recognize them explicitly.  However, a formal release of these drivers did not occur, until yesterday.

The x.org radeon driver was updated two days ago to include new PCI IDs, which may solve my problem.  While they are working on a 6.13 driver, the most recent stable driver was 6.12.2 up until a few days ago, which is the one in the Arch repository.  They have tagged the latest 6.12.3 (and 6.12.4 a few hours later).  I am having difficulty getting these installed and working from git, it would be nice if an updated package existed.

Does anyone know if this package could be updated, and how long that may be?  I just assembled this system together last Monday, it would really make my day to have xvideo working on this!  It has quickly become a very popular chip set, and it would be great to see Arch support.  I appreciate assistance in advance.

-chozar

Offline

#2 2009-09-12 21:04:35

chozar
Member
Registered: 2009-04-04
Posts: 8

Re: AMD 785G / ATI RS880 / HD4200 Integrated Video xvideo acceleration

I managed to install and compile the 6.12.4 branch from xorg git.  I got their driver working, but still have Xvideo issues.  The new driver sees my PCI ID just fine.  There was an error in the build instructions on the xorg site.  For multiple module paths in xorg.conf, each path should have its own entry in xorg.conf, not comma delineated in a single line.

But of course that does not matter with broken XVideo.  xvinfo still returs the same "no adapters present".

cat /var/log/Xorg.0.log | grep '(EE)' gives:

(EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
(EE) RADEON(0): Acceleration initialization failed

and

(WW) RADEON(0): Direct rendering disabled

I wonder if anyone can help point out how to get this going.  Perhaps I need the latest ATI DRI as well?

Offline

#3 2009-09-12 21:11:40

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: AMD 785G / ATI RS880 / HD4200 Integrated Video xvideo acceleration

Ιnstall xf86-video-ati-git from AUR and retry. And in the xorg.conf put only these:

Section "Device"
    Identifier  "My Graphics Card"
    Driver      "radeon"
        Option      "DRI" "on" 
        Option      "AccelMethod" "EXA"
 EndSection

Notice that you should have only 2D acceleration till January. After 2.6.32 kernel is declared stable, 3D acceleration with xf86-video-ati will be available for r600-r700 (and possibly ? r800) owners.

Last edited by flamelab (2009-09-12 21:17:45)

Offline

#4 2009-09-12 22:09:21

chozar
Member
Registered: 2009-04-04
Posts: 8

Re: AMD 785G / ATI RS880 / HD4200 Integrated Video xvideo acceleration

Thank you for the reply.

I had installed xf86-video-ati-git, and it caused X to hang with a black screen.

I would guess that that driver is essentially the 6.12.4 that I am using now.  It works, just without hardware acceleration.

xvinfo reports no adapters found
glxinfo reports direct rendering: yes, but the gl renderer string is "software renderer"

I think this hardware is just too new to really function 100%.

Offline

#5 2009-09-12 23:29:48

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: AMD 785G / ATI RS880 / HD4200 Integrated Video xvideo acceleration

If its just a missing PCI ID, go to https://bugs.freedesktop.org/ and open a new bug. Usually a new PCI ID is added very fast.

Offline

#6 2009-09-13 00:29:07

chozar
Member
Registered: 2009-04-04
Posts: 8

Re: AMD 785G / ATI RS880 / HD4200 Integrated Video xvideo acceleration

They updated the latest driver to include the new PCI IDs, then tagged a release version out of it.  I installed this, and while my system now explicitly knows I have an HD4200, the same problem remains.  No Xvideo.

Perhaps it is something else.  Do I need to install anything special to get Xv working?

Offline

#7 2009-09-13 06:27:35

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: AMD 785G / ATI RS880 / HD4200 Integrated Video xvideo acceleration

See man radeon

       Option      "DMAForXv" "on"

Offline

#8 2009-09-13 13:08:17

Andrwe
Member
From: Leipzig/Germany
Registered: 2009-06-17
Posts: 322
Website

Re: AMD 785G / ATI RS880 / HD4200 Integrated Video xvideo acceleration

Did you tried installing the xf86-video-radeonhd-git?

Offline

#9 2009-09-25 01:01:22

chozar
Member
Registered: 2009-04-04
Posts: 8

Re: AMD 785G / ATI RS880 / HD4200 Integrated Video xvideo acceleration

Neither DMAforXv option setting seems to make it work.
I tried both the latest AUR and Xorg version of Radeon.

I just installed the proprietary catalyst drivers from AUR, and it was surprisingly simple.  I get XVideo and 3D too.

Offline

#10 2009-10-02 15:50:43

unhammer
Member
Registered: 2009-10-01
Posts: 99
Website

Re: AMD 785G / ATI RS880 / HD4200 Integrated Video xvideo acceleration

I also installed the proprietary drivers from AUR, works fine so far, Neverball is fast and xvinfo shows a buncha stuff wot I don't understand so that seems to work too (with the xf86 driver xvinfo reported no adapters and glxinfo had nothing on "direct"). If anyone wants I can post my xorg files. I'd very much like to use the xf86 driver but I guess I'll have to wait for that kernel update :-/

(Oh, and also I had to set TerminateServer=True to get kdm to not freeze on logout, as described in the wiki on ATI)

Last edited by unhammer (2009-10-02 16:23:12)

Offline

#11 2010-01-06 21:27:57

Kasumi_Ninja
Member
Registered: 2009-12-31
Posts: 54

Re: AMD 785G / ATI RS880 / HD4200 Integrated Video xvideo acceleration

flamelab wrote:

Ιnstall xf86-video-ati-git from AUR and retry. And in the xorg.conf put only these:

Section "Device"
    Identifier  "My Graphics Card"
    Driver      "radeon"
        Option      "DRI" "on" 
        Option      "AccelMethod" "EXA"
 EndSection

Notice that you should have only 2D acceleration till January. After 2.6.32 kernel is declared stable, 3D acceleration with xf86-video-ati will be available for r600-r700 (and possibly ? r800) owners.

How do I tell if 3d acceleration is working? I have the  AMD 785G / ATI RS880 / HD4200 Integrated videocard and I am not sure 3d acceleration is working:

$ glxgears

IRQ's not enabled, falling back to busy waits: 2 0
6034 frames in 5.0 seconds = 1206.701 FPS
7879 frames in 5.0 seconds = 1575.761 FPS
8116 frames in 5.0 seconds = 1623.070 FPS
8099 frames in 5.0 seconds = 1619.746 FPS
8122 frames in 5.0 seconds = 1624.362 FPS

$ glxinfo

name of display: :0.0
IRQ's not enabled, falling back to busy waits: 2 0
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_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_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
client glx vendor string: Mesa Project and 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_MESA_copy_sub_buffer, 
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_make_current_read, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RS880 9710) 20090101  TCL
OpenGL version string: 1.5 Mesa 7.7
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_depth_clamp, GL_ARB_draw_buffers, 
    GL_ARB_fragment_program, 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_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_depth_clamp, GL_NV_light_max_exponent, 
    GL_NV_packed_depth_stencil, GL_NV_texture_rectangle, 
    GL_NV_texgen_reflection, GL_NV_vertex_program, 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

8 GLX Visuals
   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
----------------------------------------------------------------------
0x21 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x22 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x70 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x71 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x72 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x73 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x74 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x67 32 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 Ncon

8 GLXFBConfigs:
   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
----------------------------------------------------------------------
0x68  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x69  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x6a  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x6b  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x6c  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x6d  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x6e  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x6f  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow

Offline

#12 2010-01-07 12:49:48

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: AMD 785G / ATI RS880 / HD4200 Integrated Video xvideo acceleration

OpenGL renderer string: Mesa DRI R600 (RS880 9710) 20090101  TCL

3D is working. Otherwise the rendering string is Software Rasterizer.

Offline

#13 2010-01-07 21:21:46

Kasumi_Ninja
Member
Registered: 2009-12-31
Posts: 54

Re: AMD 785G / ATI RS880 / HD4200 Integrated Video xvideo acceleration

Perry3D wrote:

OpenGL renderer string: Mesa DRI R600 (RS880 9710) 20090101  TCL

3D is working. Otherwise the rendering string is Software Rasterizer.

Lol, thanks. Performance is awful though sad

Offline

#14 2010-01-07 22:26:01

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: AMD 785G / ATI RS880 / HD4200 Integrated Video xvideo acceleration

What are you doing with the 3d-acceleration?
Remember: glxgears is not a benchmark. You can not use it to compare the radeon driver vs. the fglrx driver.

But you are right: gaming with the open source driver isn't very comfortable yet. At the moment the development concentrates on implementing features and not on optimizing for performance.
For me compiz is a lot faster when i use the open source driver. Alike video acceleration.

Offline

#15 2010-02-12 01:11:24

oGRE2080
Member
From: UKRAINE-NY
Registered: 2009-10-09
Posts: 63

Re: AMD 785G / ATI RS880 / HD4200 Integrated Video xvideo acceleration

Can U post your full xorg.conf for the ATI HD 4200, just got HP laptop with the same card, I cannot figure it out %) tnx

Offline

#16 2010-02-12 05:39:14

Kasumi_Ninja
Member
Registered: 2009-12-31
Posts: 54

Re: AMD 785G / ATI RS880 / HD4200 Integrated Video xvideo acceleration

oGRE2080 wrote:

Can U post your full xorg.conf for the ATI HD 4200, just got HP laptop with the same card, I cannot figure it out %) tnx

I don't have a xorg.conf

Offline

Board footer

Powered by FluxBB