LinuxForum.Fans
Тема

Аппаратное ускорение графики

Автор: CryptSpirit 62 сообщений 33500 просмотров
#3401

я думал на 9200 - RV280 чип..

#3405

Вот пример настроеного файла xorg.conf. Созданного обновлением Xorg-а

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

Section "Files"
RgbPath "/etc/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "GLcore"
Load "glx"
Load "record"
Load "xtrap"
Load "dri"
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 310 230 # mm
Identifier "Monitor0"
VendorName "SAM"
ModelName "SyncMaster"
### Comment all HorizSync and VertRefresh values to use DDC:
HorizSync 30.0 - 85.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
#Option "AccelDFS" # [<bool>]
#Option "DDCMode" # [<bool>]
#Option "IgnoreEDID" # [<bool>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
#Option "ColorTiling" # [<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "ScalerWidth" # <i>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ShowCache" # [<bool>]
#Option "DynamicClocks" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" # [<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" # [<bool>]
#Option "DefaultTMDSPLL" # [<bool>]
#Option "TVDACLoadDetect" # [<bool>]
#Option "ForceTVOut" # [<bool>]
#Option "TVStandard" # <str>
#Option "IgnoreLidStatus" # [<bool>]
#Option "DefaultTVDACAdj" # [<bool>]
#Option "Int10" # [<bool>]
Identifier "Card0"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "RV280 [Radeon 9200]"
BusID "PCI:2:0: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
#3413
Motors написал:
я думал на 9200 - RV280 чип..

http://en.wikipedia.org/wiki/Radeon_R200

CryptSpirit написал:
Вот пример настроеного файла xorg.conf. Созданного обновлением Xorg-а

И как оно, X'ы стартуют?

Что говорит glxinfo | grep render ?

Если там всё ОК, то приступим к настройке языка.

Тему надо будет переименовать во "ATI legacy + opensource драйвера"

#3415

>>http://en.wikipedia.org/wiki/Radeon_R200
ага, терь ясно)

#3426

Иксы то стартуют. Тут еще пропало нормальное приглашение в терминале. Я вижу ~$ (во всех терминалах). Уже изрядно достало.

Despite this, newer ATI Catalyst driver for Linux X Window System does not offer support for any R200 or older architecture product
:( Проблема в этом?
#3443
CryptSpirit написал:
Иксы то стартуют. Тут еще пропало нормальное приглашение в терминале. Я вижу ~$ (во всех терминалах). Уже изрядно достало.

Despite this, newer ATI Catalyst driver for Linux X Window System does not offer support for any R200 or older architecture product
:( Проблема в этом?

Это только к проприетарным относится.

Приветствие не от иксов зависит. Я поэтому и сижу на тестинге, жру кактус и т.д., лишь бы после обновления не пришлось завалы разгребать... Попробуйте обновить console-setup пакет, может покатит...

glxinfo | grep render
и
glxgears

ради интереса, пожалуйста

#3449

CryptSpirit написал:
Despite this, newer ATI Catalyst driver for Linux X Window System does not offer support for any R200 or older architecture product
откуда Catalyst-то?
точно с сайта драйвер не качал7
#3462

$ glxgears
324 frames in 5.0 seconds = 64.753 FPS
320 frames in 5.3 seconds = 60.560 FPS
320 frames in 5.3 seconds = 60.837 FPS

$ glxinfo | grep render
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
OpenGL renderer string: Mesa GLX Indirect

Пакета с сомнительным названием console-setup у меня не стоит.

#3478

LIBGL_DEBUG=verbose glxinfo

#3479
CryptSpirit написал:
Тут еще пропало нормальное приглашение в терминале. Я вижу ~$ (во всех терминалах).

~/.bashrc покажите.

#3486

Rus

name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.3.0 r200 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/r200_dri.so
libGL error: dlopen /usr/lib/dri/r200_dri.so failed (/usr/lib/dri/r200_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: r200_dri.so
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_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: 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_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (2.1 Mesa 7.0.4)
OpenGL extensions:
GL_ARB_depth_texture, 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_point_sprite,
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_ARB_texture_mirrored_repeat, GL_ARB_texture_non_power_of_two,
GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, 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_clip_volume_hint, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_framebuffer_object, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_paletted_texture, GL_EXT_point_parameters,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
GL_EXT_shared_texture_palette, 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_lod_bias,
GL_EXT_texture_mirror_clamp, GL_EXT_texture_object,
GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_ATI_draw_buffers, GL_ATI_texture_env_combine3,
GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square,
GL_NV_fragment_program, GL_NV_light_max_exponent, GL_NV_point_sprite,
GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_NV_vertex_program,
GL_NV_vertex_program1_1, 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_SGIX_depth_texture,
GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays

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
0x8d 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 Ncon

zerg, у меня lenny 5.03. А не сквизи. Раньше же все нормально было и без этого пакета. А если было нормально без этого пакета то и ставить мне его не к чему.

glx, dri обновлённые? libgl1-mesa-* ?

Что это может значить обновленные?? libgl1-mesa-glx 7.0.3-7

~/.bashrc

# ---- language-env DON'T MODIFY THIS LINE!
# ...................... bash ......................
# ----- ............ -----
# XIM ........................
# (XIM ....language-env ........................)
XIM=kinput2
# xprop ....xbase-clients ......................
if [ -n "$WINDOWID" -a -x /usr/bin/X11/xprop ] ; then
# X Window System ................ X Window System ................
# ........ (su ............) ........
xprop -id $WINDOWID >& /dev/null || unset WINDOWID
fi
if [ -n "$WINDOWID" -a -x /usr/bin/X11/xprop ] ; then
XPROP=`xprop -id $WINDOWID WM_CLASS`
case $XPROP in
*kterm* | *krxvt* | *kwterm* | *katerm* ) LANG=ja_JP.EUC-JP ;;
*UXTerm* ) LANG=ja_JP.UTF-8 ;;
*hanterm* ) LANG=ko_KR.eucKR ;;
*caterm* | *crxvt-big5* ) LANG=zh_TW.Big5 ;;
*crxvt-gb* ) LANG=zh_CN.GB2312 ;;
*aterm* ) LANG=C ;;
# gnome-terminal .. $WINDOWID ............
# mlterm .. WM_CLASS ............
# Eterm ..........................
# xterm .......................... (........................)
# rxvt-beta ..................
* ) : ;;
esac
else
case $TERM in
linux) LANG=C ;;
xterm)
if [ "$COLORTERM" != "gnome-terminal" ] ; then
LANG=C
fi ;;
jfbterm) : ;;
*) LANG=ja_JP.EUC-JP ;;
esac
fi
case $LANG in
ja_JP.UTF-8) JLESSCHARSET=utf-8 ; LV="-Ou8 -c" ;;
ja_JP.*) JLESSCHARSET=japanese-euc ; LV="-Oej -c" ;;
*) JLESSCHARSET=latin1 ; LV="-Al1 -c" ;;
esac
export LANG JLESSCHARSET LV
if type lv &>/dev/null ; then
PAGER=lv
elif type jless &>/dev/null ; then
PAGER=jless
elif type less &>/dev/null ; then
PAGER=less
else
PAGER=more
fi
export PAGER
# XMODIFIERS .. export ............emacs .. Segmentation Fault ............
# ......................Debian ............................................
function rxvt {
if /usr/bin/which krxvt &> /dev/null
then
krxvt $*
else
/usr/bin/rxvt $*
fi
}
alias jfbterm='LANG=ja_JP.EUC-JP /usr/bin/jfbterm'
alias xemacs='XMODIFIERS= xemacs'
# perl ..............................................................
# PERL_BADLANG=0 ; export PERL_BADLANG
# .bash_profile ........
BASHRC_DONE=1
# mh ............................PATH ..........
if [ -x /usr/bin/mh/mhmail ]
then
if type mhmail &>/dev/null
then
true
else
PATH=$PATH:/usr/bin/mh
fi
fi
## ----- .............. -----
# ls ...... (................)..man ls ....
if [ "$TERM" = "dumb" -o "$TERM" = "emacs" ]
then
alias ls='/bin/ls -F'
else
alias ls='/bin/ls -F --color=auto'
fi
# .............. vi ........Debian Policy Manual ....
EDITOR=vi
export EDITOR
# ............man bash ....
if [ "$TERM" = "dumb" -o "$TERM" = "emacs" ]
then
PS1='\w\$ '
else
if [ "$UID" = "0" ]
then
PS1='\[\e[41m\]\w\$\[\e[m\] '
else
PS1='\[\e[7m\]\w\$\[\e[m\] '
fi
fi
# ........................................man umask ....
umask 022
# less ........man less ....
LESS=-M
export LESS
if type /usr/bin/lesspipe &>/dev/null
then
LESSOPEN="| /usr/bin/lesspipe '%s'"
LESSCLOSE="/usr/bin/lesspipe '%s' '%s'"
export LESSOPEN LESSCLOSE
fi
# Ctrl-D ..............................man bash ....
IGNOREEOF=3
# ....................................................
# (............ "chkbackups | xargs rm" ............)
alias chkbackups='/usr/bin/find . -name "?*~" -o -name "?*.bak" -o -name ".[^.]?*~" -o -name ".[^.]?*.bak" -maxdepth 1'
# X Window System ..........
if [ "$DISPLAY" ]
then
# ...................... COLUMNS, LINES ............man bash ....
shopt -s checkwinsize
# ..................................
function xtitle()
{
/bin/echo -e "\033]0;$*\007\c"
}
fi
# ---- language-env end DON'T MODIFY THIS LINE!
#3494

CryptSpirit написал:
libGL error: dlopen /usr/lib/dri/r200_dri.so failed (/usr/lib/dri/r200_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: r200_dri.so
с dri точно всё нормально?
#3501
CryptSpirit написал:

zerg, у меня lenny 5.03. А не сквизи. Раньше же все нормально было и без этого пакета. А если было нормально без этого пакета то и ставить мне его не к чему.

Пакет служит для настройки консоли и локалей в консоли. Можете ручками ;-)
Новый xorg с его настройки данные о локали и черпает...

#3506

libgl1-mesa-dri установлен?

#3507

CryptSpirit, проверь пакет libgl1-mesa-dri

Rus, )))))

#3509

2CryptSpirit

Где вы взяли такой зачётный .bashrc?
Попробуйте так:

text

mv ~/.bashrc ~/.bashrc.old
cp /etc/skel/.bashrc ~/.bashrc
#3512

Аминь
~$ glxgears
7669 frames in 5.0 seconds = 1533.698 FPS
7661 frames in 5.0 seconds = 1532.195 FPS
7651 frames in 5.0 seconds = 1530.199 FPS
:D
Rus, пошел строить те памятник. Я его и вовсе не ставил. Говорил же что эту тему целы год не трогал и трех метровой палкой :rolleyes:
Разберусь с командой строкой. Я в процессе.

#3514

непонятно почему пакет по зависимостям не вытянулся при установке

#3515
CryptSpirit написал:
Rus, пошел строить те памятник. Я его и вовсе не ставил. Говорил же что эту тему целы год не трогал и трех метровой палкой roll
Разберусь с командой строкой. Я в процессе.

Почетное звание телепат надо все-таки присудить zerg за пост 49 :)

Войдите или зарегистрируйтесь, чтобы ответить.