LINUX.ORG.RU

[archlinux, ati]Медленная работа ati в archlinux


0

1

Доброго времени суток, товарищи.

Решил я на досуге попробовать arch на ноутбуке. Установка прошла успешно: установид xorg и xf86-video-ati ( + mesa, libgl, ati-dri). Однако после входа систему glxgears показывает производительность в десятки раз меньшую, чем в стоявшей до этого ubuntu.

/etc/X11/xorg.conf:

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF/"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
	Load  "dri2"
	Load  "glx"
	Load  "record"
	Load  "dri"
	Load  "extmod"
	Load  "dbe"
	Load  "drm"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	#DisplaySize	  300   190	# mm
	Identifier   "Monitor0"
	VendorName   "SEC"
	ModelName    "4542"
EndSection

Section "Device"
        Option     "AGPMode"            	"4"
        Option     "AGPFastWrite"       	"yes"
        Option     "EnablePageFlip"     	"on"
        Option     "ColorTiling"        	"on"
       	Option     "RenderAccel"        	"on"
        Option     "AccelMethod"        	"EXA"
        Option     "DRI"                	"on"
        Option     "EXAVSync"           	"yes"
	Identifier  "ATI Radeon Xpress 1250"
	VendorName  "ATI Technologies Inc"
	Driver      "radeon"
	BusID       "PCI:1:5:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

видеокарта - Ati Xpress 1250.

★★★

glxinfo

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
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_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_INTEL_swap_event
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_INTEL_swap_event
GLX version: 1.4
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_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_INTEL_swap_event
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 (RS600 7942) 20090101  NO-TCL DRI2
OpenGL version string: 1.5 Mesa 7.8.3
OpenGL 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_framebuffer_blit, 
    GL_EXT_framebuffer_object, GL_EXT_fog_coord, 
    GL_EXT_gpu_program_parameters, GL_EXT_histogram, GL_EXT_multi_draw_arrays, 
    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_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
Genuine ★★★
() автор топика
Ответ на: комментарий от alpha2

>А какие-нибудь там radeon-firmware стоят?

Нет. Я такого пакета в репозитории не нахожу.

Действовал согласно вики: xorg-input-drivers, xf86-video-ati, mesa, libgl, ati-dri, linux-firmware

Genuine ★★★
() автор топика

Только сейчас обратил внимание:

$ glxgears 
Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. 
300 frames in 5.0 seconds = 59.818 FPS 
300 frames in 5.0 seconds = 59.819 FPS 
300 frames in 5.0 seconds = 59.818 FPS 
300 frames in 5.0 seconds = 59.818 FPS 
300 frames in 5.0 seconds = 59.819 FPS 
300 frames in 5.0 seconds = 59.818 FPS 
300 frames in 5.0 seconds = 59.818 FPS 

Т.е. получается, что в результате синхронизации частота вращения зубчатых колес синхронизируется с частотой обновления экрана. glxgears показывает 60 кадров в секунду независимо от размера окна.

Genuine ★★★
() автор топика
Ответ на: комментарий от Genuine

Если свободные дрова, то юзай driconf, если проприетарщина - amdcccle.

daemonpnz ★★★★★
()

Попробуй обновить месу из АУРа с галлиумом.

neocrust ★★★★★
()

на intel аналогично, ну в Debian все OK Ъ хоть и свежак

muzlocker
()
Ответ на: комментарий от Genuine

всё нормально же.
при отключении VSync'а (если оно отключабельно) оно будет давать от полтыщи до тыщи попугаев :P

snoopcat ★★★★★
()

Option «EXAVSync» «yes»



Насколько я понимаю, включена верт. синхронизация, которая ограничивает fps частотой обновления моника.

Viglim
()
Ответ на: комментарий от Viglim

Вообще, складывается впечатление, что при включенном kms значения в /etc/X11/xorg.conf ни на что не влияют. Установка «EXAVSync» в значение «on» («off»), как и удаление самого /etc/X11/xorg.conf ни чего не меняют. После перезагрузки glxgears показывают то же самое.

Genuine ★★★
() автор топика

>Однако после входа систему glxgears показывает производительность в десятки раз меньшую, чем в стоявшей до этого ubuntu.

ФАК!
glxgears is not a benchmark!

anon_666
()

Если поддерживается fgrlx'ом - ставь catalyst-test(1.9 xorg) и наслаждайся 3d и powersaving'ом.

arknir
()
Ответ на: комментарий от anon_666

Чушь. Если даже колесики крутятся в десятки раз медленнее, значит и более продвинутая графика будет делать тоже самое.

arknir
()
Ответ на: комментарий от Genuine

При включенном kms автоматически включается vsync.
Были идеи, что помогает отключение в driconf(не помогло), в xorg.conf(не помогло). В modinfo тоже пусто, так что вам два варианта:
radeon.modeset=0 в опции загрузки ядра, или fgrlx.

arknir
()
Ответ на: комментарий от arknir

>так что вам два варианта: radeon.modeset=0 в опции загрузки ядра, или fgrlx.

fgrlx не поддерживает Xpress 1250

А nomodeset в опциях ядра сработало:

$ glxgears

6434 frames in 5.0 seconds = 1286.707 FPS

6514 frames in 5.0 seconds = 1302.759 FPS

6520 frames in 5.0 seconds = 1303.917 FPS

Genuine ★★★
() автор топика
Ответ на: комментарий от xkitenz

>А реальный профит от этого был?

Пока не заметил разницы в скорости работы между ними.

Genuine ★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.