Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Radeon 9600XT - низкий показатель FPS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
FriBut
n00b
n00b


Joined: 29 Oct 2006
Posts: 3

PostPosted: Sun Oct 29, 2006 4:56 pm    Post subject: Radeon 9600XT - низкий показатель FPS Reply with quote

Столкнулся с проблемой, связанной с работой видео карточки Radeon 9600XT под управлением ОС Gentoo ( 2.6.18-gentoo-r1 ).

Проблема заключается в низком показателе FPS ( glxgear показывает от 300 до 900 FPS ), что указывает на неработоспособность аппаратного ускорения.
Так же glxgear рапортирует о том, что:
Code:
Xlib:  extension "XFree86-DRI" missing on display ":0.0".


Покопавшись в интернете, стало очевидно, что у Ati проблемы с Линуксом...

С помощью http://gentoo-wiki.com/Ati выставил рекомендуемые параметры в menuconfig, откомпилировал ядро.

С помощью как этого форума и ещё некоторых ссылок, немного подправил xorg.conf, сейчас он выглядит следующим образом (не упоминаю неинтересные нам секции):
Code:
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "aticonfig-Screen[0]" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"       
          Option          "AIGLX" "true"
EndSection

Section "dri"
        Mode    0666
EndSection

Section "Extensions"
        Option       "Composite" "Enable"
EndSection


Section "Module"
   Load  "extmod"
   Load  "dbe"
   Load  "record"
   Load  "xtrap"
   Load  "dri"
   Load  "glx"
   Load  "freetype"
   Load  "type1"
EndSection

Section "Monitor"
   Identifier   "aticonfig-Monitor[0]"
   Option       "VendorName" "ATI Proprietary Driver"
   Option       "ModelName" "Generic Autodetecting Monitor"
   Option       "DPMS" "true"
EndSection
EndSection

Section "Device"
   Identifier  "aticonfig-Device[0]"
   Driver      "fglrx"
        Option      "XAANoOffscreenPixmaps" "true"
        Option      "dri" "true"
        Option      "VideoOverlay" "on"
        Option      "UseFastTLS" "2"
        Option      "EnablePrivateBackZ" "on"
        Option "AGPMode" "8"
        Option "OpenGLOverlay" "off"
        Option "UseInternalAGPGART" "no"
        Option "KernelModuleParm" "agplock=0"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "aticonfig-Screen[0]"
   Device     "aticonfig-Device[0]"
   Monitor    "aticonfig-Monitor[0]"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection


Glxinfo показывает следующий текст:
Code:
name of display: :0.0
Xlib:  extension "XFree86-DRI" missing on 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_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: 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: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.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

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

А вот по этому адресу находится лог файл /var/log/Xorg.0.log
Code:
http://slil.ru/23320516 он же, зеркало: http://getfile.biz/52299


На данный момент не понятно, что можно ещё сделать для запуска аппратного ускорения видео карточки, если у кого-либо будут какие мысли по этому поводу, очень хотелось бы их услышать. Заранее спасибо.
Back to top
View user's profile Send private message
Jekpol
Apprentice
Apprentice


Joined: 20 Feb 2004
Posts: 198

PostPosted: Mon Oct 30, 2006 5:01 am    Post subject: Reply with quote

А eselect opengl set ati делали?
_________________
Главное не результат, а процесс.
Back to top
View user's profile Send private message
FriBut
n00b
n00b


Joined: 29 Oct 2006
Posts: 3

PostPosted: Mon Oct 30, 2006 5:41 am    Post subject: Reply with quote

Jekpol wrote:
А eselect opengl set ati делали?

Делал :)

Ещё такой момент:
собственно, все это делается, чтобы заработал beryl, а он требует присутствия опции
Code:
Option  "AIGLX" "true"

в xorg.conf

Если опция включена на "true", в логе высвечивается
Code:
(EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/dri/fglrx_dri.so: undefined symbol: __driCreateNewScreen_20050727)
(EE) AIGLX: reverting to software rendering
Back to top
View user's profile Send private message
bobdva
Apprentice
Apprentice


Joined: 25 Nov 2003
Posts: 207
Location: Moscow

PostPosted: Mon Oct 30, 2006 7:28 am    Post subject: Re: Radeon 9600XT - низкий показатель FPS Reply with quote

FriBut wrote:

Glxinfo показывает следующий текст:
Code:
name of display: :0.0
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0  screen: 0
direct rendering: No

А вот по этому адресу находится лог файл /var/log/Xorg.0.log
Code:
http://slil.ru/23320516 он же, зеркало: http://getfile.biz/52299


На данный момент не понятно, что можно ещё сделать для запуска аппратного ускорения видео карточки, если у кого-либо будут какие мысли по этому поводу, очень хотелось бы их услышать. Заранее спасибо.


а) по строчке
Code:
direct rendering: No
уже понятно, что аппартного ускорения нет
б) посмотрел Xorg.0.log : 833 увидил
Code:

(II) fglrx(0): Composite extension enabled, disabling direct rendering
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *


не плохо было бы покопаться в dmesg относительно как был подгружен fglrx
Back to top
View user's profile Send private message
FriBut
n00b
n00b


Joined: 29 Oct 2006
Posts: 3

PostPosted: Mon Oct 30, 2006 7:56 am    Post subject: Re: Radeon 9600XT - низкий показатель FPS Reply with quote

bobdva wrote:

а) по строчке
Code:
direct rendering: No
уже понятно, что аппартного ускорения нет
б) посмотрел Xorg.0.log : 833 увидил
Code:

(II) fglrx(0): Composite extension enabled, disabling direct rendering
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *


не плохо было бы покопаться в dmesg относительно как был подгружен fglrx

Угу, отключал я Composite extension ( модуль такой в xorg.conf ), единственное, что изменилось - в glxgears колеса стали крутиться шустрее + включилось аппаратное ускорение, о чем свидетельствовала информация, предоставленная glxinfo. Но FPS оставались все те же, т.к. не удаётся запустить нужный модуль:

при Option  "AIGLX" "true"
Code:
(EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/dri/fglrx_dri.so: undefined symbol: __driCreateNewScreen_20050727)
(EE) AIGLX: reverting to software rendering


при Option  "AIGLX" "false"
Code:
(II) Loading local sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
    compiled for 7.1.1, module version = 1.0.0
    ABI class: X.Org Server Extension, version 0.3
(II) GLX: Initialized MESA-PROXY GL provider for screen 0


ps. Стоит отметить, что ядро собрано не так, как рекомендует Ati wiki ( http://gentoo-wiki.com/Ati ):
Модулем включена опция
<m> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
+ в подпункте чип моей видеокарты.

Если собирать ядро согласно инструктажу, то аппаратное ускорение при точно таких же остальных конфигурационных файлах не включается.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian 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