Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Radeon] Asistencia para configurar DRM (Abierto)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
Antares-1
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2005
Posts: 105

PostPosted: Fri Dec 16, 2005 9:04 pm    Post subject: [Radeon] Asistencia para configurar DRM (Abierto) Reply with quote

Bueno, les comento que empeze a probar de Instalar la Aceleración Grafica/Soporte OpenGL en mi Gentoo Linux.

Elegi primero la Primera Alternativa, o sea, Agpart del Kernel y Modulo DRM del Kernel Tambien. Compile, instale... sin problemas.

Lo unico que tube que hacer "Adicional" fue en la sección "MODULES"

Code:
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
#    Load       "glx"
# This loads the DRI module
#    Load       "dri"

EndSection


Es descomentar Load "glx" y Load "Dri", nada mas.

Cuando cargue glxinfo y glxgears, me dieron porcentajes muy altos de FPS, no normales (Usando los MESAGL Claro esta). Al probarlo con Aplicaciones tales como epsxe, eran excesivamente LENTOS, al igual que con los Screensavers que utilizan OpenGL y juegos como Quake 3 Arena o Unreal Tournament.

Glxinfo con MESA3D:

Code:
name of display: :0.0
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_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig
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_ARB_multisample, GLX_ATI_pixel_format_float,
    GLX_ATI_render_texture
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_multisample
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
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
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   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 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  1 0 None
0x24 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  1 0 None
0x25 16 tc  0 24  0 r  y  .  5  6  5  8  0 16  8 16 16 16 16  1 0 None
0x26 16 tc  0 24  0 r  .  .  5  6  5  8  0 16  8 16 16 16 16  1 0 None
0x27 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  1 0 None
0x28 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  1 0 None
0x29 16 dc  0 24  0 r  y  .  5  6  5  8  0 16  8 16 16 16 16  1 0 None
0x2a 16 dc  0 24  0 r  .  .  5  6  5  8  0 16  8 16 16 16 16  1 0 None


Glxgears:

Code:
1011 frames in 5.0 seconds = 202.200 FPS
1080 frames in 5.0 seconds = 216.000 FPS
1080 frames in 5.0 seconds = 216.000 FPS
960 frames in 5.0 seconds = 192.000 FPS


Años pasados me paso lo mismo con mi Tarjeta Nvidia TNT2 o mi posterior Gforce4MX, pero se soluciono facil instalando los Drivers de Nvidia y cargando el modulo correspondiente, etc etc.

Una cosita, todavia no hice el emerge x11-drm.

Por eso me decidi tirar por la opción 2, AGPART del Kernel y DRI de ATI.

Si hago emerge ati-drivers con el soporte de Agpart y Dri del Kernel me tira esto:

Code:
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.12-gentoo-r6
 * Checking for MTRR support enabled ...                                               [ ok ]
 * Checking for AGP support enabled ...                                                [ ok ]
 * Checking for DRM support disabled ...                                               [ !! ]
 * You have DRM support enabled, the direct rendering
 * will not work.
 * X11 implementation is xorg-x11.


Si recurro a la opción 3 (Todo de Ati) Es algo similar, asi que recurri a la 2.

Compile el Soporte para Agpart en el Kernel y un modulo para mi Chipset, y deshabilite el DRM:

Code:
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
pero al emerger el Modulo de DRM me tira este error en los dos CASOS (En el 3 y en el 2).

Code:
 * Building the DRM module...
make: Entering directory `/usr/src/linux-2.6.12-gentoo-r6'
  CC [M]  /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agp3.o
  CC [M]  /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/nvidia-agp.o
  CC [M]  /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.o
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c: In function `agp_find_supported_device':
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7150: error: structure has no member named `slot_name'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7170: error: structure has no member named `slot_name'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7175: error: structure has no member named `slot_name'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7201: error: structure has no member named `slot_name'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7221: error: structure has no member named `slot_name'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7241: error: structure has no member named `slot_name'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7246: error: structure has no member named `slot_name'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:6542: warning: unused variable `cap_ptr'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c: In function `__fgl_agp_init':
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7627: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c: In function `__fgl_agp_cleanup':
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:7637: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c: At top level:
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:6523: warning: `agp_check_supported_device' defined but not used
make[1]: *** [/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.o] Error 1
make: *** [_module_/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod] Error 2
make: Leaving directory `/usr/src/linux-2.6.12-gentoo-r6'
 * DRM module not built


Luego de Hacer fglxconfig, y configurar las X, todo sigue igual... en glxinfo me aparece como "Direct Rendering"... NO.

A ver si me ayudan un poquito con esto.

Me gustaria que los Miembros del Foro que usan Radeon y la Primera opción, y les funciona el DRM y a buenos FPS, me cuenten como hicieron para instalarlo y que pasos siguieron diferentes a los mios. O en el caso 2 o 3, tambien, ya que en el Howto esta todo muy mezclado y cuesta un poquito cuando recien empezas.

Me gustaria mas tirarme por el soporte del Kernel (Tengo una Radeon 9200SE) ya que la soporta, pero sino queda otra, a recurrir a los drivers de Ati.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum