Portál AbcLinuxu, 26. dubna 2024 10:23


Dotaz: Vytižení cpu vs. DRI

ZdenálM avatar 6.6.2007 12:25 ZdenálM | skóre: 2 | blog: Student | Třebíč
Vytižení cpu vs. DRI
Přečteno: 401×
Odpovědět | Admin
Zdravím,

mám Gentoo (2.6.18-suspend2-r1), grafiku Radeon 7000. Glxgears hlásí 600fps a vytěžují cpu zhruba na 30%. Zapnutý kompozitor v XFCE4 vytěžuje cpu při přesunu oken atd. na 100%, takže je to nepoužitelné. Na forums.gentoo.org jsem nic neobjevil :-(

glxinfo hlásí:

glxinfo | grep rendering
libGL warning: 3D driver claims to not support visual 0x4b
direct rendering: Yes
a v logu Xorg je tohle
 cat /var/log/Xorg.0.log | egrep "WW|EE"
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/Speedo" does not exist.
(II) Loading extension MIT-SCREEN-SAVER
(WW) RADEON(0): Failed to detect secondary monitor, MergedFB/Clone mode disabled
(WW) RADEON(0): Option "DRI" is not used
(WW) RADEON(0): Option "AllowGLXWithComposite" is not used
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x3
v xorg.conf mám
Section "Device"
        Identifier  "ATI Radeon"
        VendorName  "ATI Technologies Inc"
        Driver      "radeon"
        Option      "BusType" "PCI"
# acceleration
        Option          "AGPMode" "4"
#        Option          "AGPFastWrite" "no"
        Option          "EnablePageFlip" "on"
        Option          "RenderAccel" "on"
        Option          "ColorTiling"   "on"
#        Option          "AccelMethod"   "EXA" # or XXA
#       Option      "backingstore" "true"
        Option      "XAANoOffscreenPixmaps" "on"
        Option      "DRI"     "on"
#        Option          "UseFBDev"   "yes"   # important (!) 
        Option "AllowGLXWithComposite" "true"
EndSection
Díky za případné rady a návrhy co s tím. Mějte se ;-)
Nástroje: Začni sledovat (1) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

10.3.2008 11:21 Freeeman
Rozbalit Rozbalit vše Re: Vytižení cpu vs. DRI
Odpovědět | | Sbalit | Link | Blokovat | Admin
Jsem na tom podobne, ale o trochu hure, po dlouhem laborovani jsem dospel az sem, akcelerace "jede" ale asi tak na pul, nebo spis softwarova.

#glxgears 
3564 frames in 5.1 seconds = 695.769 FPS
3422 frames in 5.0 seconds = 684.399 FPS

Coz mi prijde malo, mam ATI Radeon 7500, asi pred pul rokem mi jeste chodil fglrx driver a tam byl mnohem vic FPS, ted po reinstalaci uz fglrx nerozbehnu, asi uz podpora me lagacy grafiky neni. Nicmene pri Q3 Enginu games mi to nevykresluje textury ale jinak to celkem bezi.

#glxinfo 
name of display: :0.0
display: :0  screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
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 Radeon 20061018 AGP 4x x86/MMX/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

jeste fgl_fglxgears, ale u toho si nejsem jist jestli neni pouze u driveru fglrx, nicmene vypis se hodi. Kdybyste nekdo vedel co s tim byl bych vdecny. THX

fgl_fglxgears 
Using GLX_SGIX_pbuffer
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  160 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  35
  Current serial number in output stream:  35

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.