LINUX.ORG.RU

radeon debian DRI DRM беспросвет


0

1

всем доброе время суток
с аппаратным ускорением - прямо беспросветная фигня
ну не работает и всё тут :(

ужо и все модули xorg вроде переставил - всё равно не работает ускорение
помогите плиз включить

Linux 2.6.32-5-amd64 #1 SMP Thu Nov 25 18:02:11 UTC 2010 x86_64 GNU/Linux

$ LIBGL_DEBUG=verbose 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_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_SGIX_pbuffer,
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_SGIX_pbuffer, GLX_EXT_texture_from_pixmap
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 1.4 (2.1 Mesa 7.7.1)
OpenGL extensions:




$ dmesg | grep -i drm
[ 7.838447] [drm] Initialized drm 1.1.0 20060810
[ 8.127540] [drm] radeon kernel modesetting enabled.
[ 8.140751] [drm] radeon: Initializing kernel modesetting.
[ 8.143927] [drm] register mmio base: 0xF1000000
[ 8.146941] [drm] register mmio size: 65536
[ 8.155795] [drm] GPU reset succeed (RBBM_STATUS=0x10000140)
[ 8.158526] [drm] Generation 2 PCI interface, using max accessible memory
[ 8.161260] [drm] radeon: VRAM 256M
[ 8.163940] [drm] radeon: VRAM from 0x00000000 to 0x0FFFFFFF
[ 8.166689] [drm] radeon: GTT 512M
[ 8.169393] [drm] radeon: GTT from 0x20000000 to 0x3FFFFFFF
[ 8.174763] [drm] radeon: irq initialized.
[ 8.177431] [drm] Detected VRAM RAM=256M, BAR=256M
[ 8.178791] [drm] RAM width 128bits DDR
[ 8.181633] [drm] radeon: 256M of VRAM memory ready
[ 8.182949] [drm] radeon: 512M of GTT memory ready.
[ 8.184275] [drm] GART: num cpu pages 131072, num gpu pages 131072
[ 8.187869] [drm] radeon: 1 quad pipes, 2 z pipes initialized.
[ 8.189271] [drm] PCIE GART of 512M enabled (table at 0x00040000).
[ 8.190572] [drm] radeon: cp idle (0x10000C03)
[ 8.191889] [drm] Loading R500 Microcode
[ 8.512801] [drm] radeon: ring at 0x0000000020000000
[ 8.514057] [drm] ring test succeeded in 9 usecs
[ 8.515394] [drm] radeon: ib pool ready.
[ 11.028041] [drm:radeon_fence_wait] *ERROR* fence(ffff88003d5676c0:0x00000001) 504ms timeout going to reset GPU
[ 11.030734] [drm] CP reset succeed (RBBM_STATUS=0x10000140)
[ 11.032044] [drm] radeon: cp idle (0x10000000)
[ 11.033318] [drm] radeon: ring at 0x0000000020000000
[ 11.190522] [drm:r100_ring_test] *ERROR* radeon: ring test failed (sracth(0x15E8)=0xCAFEDEAD)
[ 11.191784] [drm:r100_cp_init] *ERROR* radeon: cp isn't working (-22).
[ 11.193056] [drm:rv515_gpu_reset] *ERROR* Failed to reset GPU (RBBM_STATUS=0xF0116100)
[ 11.194329] [drm:radeon_fence_wait] *ERROR* fence(ffff88003d5676c0:0x00000001) 676ms timeout
[ 11.195610] [drm:radeon_fence_wait] *ERROR* last signaled fence(0x00000001)
[ 11.352986] [drm:r100_ib_test] *ERROR* radeon: ib test failed (sracth(0x15E4)=0xCAFEDEAD)
[ 11.505949] [drm:r100_cp_fini] *ERROR* Wait for CP idle timeout, shutting down CP.
[ 11.805104] [drm] radeon: cp finalized
[ 11.808640] [drm] Default TV standard: PAL
[ 11.810187] [drm] Radeon Display Connectors
[ 11.811409] [drm] Connector 0:
[ 11.812636] [drm] VGA
[ 11.813829] [drm] DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
[ 11.815055] [drm] Encoders:
[ 11.816286] [drm] CRT1: INTERNAL_KLDSCP_DAC1
[ 11.817490] [drm] Connector 1:
[ 11.818673] [drm] S-video
[ 11.819836] [drm] Encoders:
[ 11.820992] [drm] TV1: INTERNAL_KLDSCP_DAC2
[ 11.822131] [drm] Connector 2:
[ 11.823255] [drm] DVI-I
[ 11.824382] [drm] HPD1
[ 11.825488] [drm] DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
[ 11.826605] [drm] Encoders:
[ 11.827703] [drm] CRT2: INTERNAL_KLDSCP_DAC2
[ 11.828816] [drm] DFP1: INTERNAL_KLDSCP_TMDS1
[ 11.992107] [drm] fb mappable at 0xE0040000
[ 11.993210] [drm] vram apper at 0xE0000000
[ 11.994298] [drm] size 5242880
[ 11.995375] [drm] fb depth is 24
[ 11.996453] [drm] pitch is 5120
[ 11.997517] fb: conflicting fb hw usage radeondrmfb vs VESA VGA - removing generic driver
[ 12.027126] fb0: radeondrmfb frame buffer device
[ 12.027195] [drm] Initialized radeon 2.0.0 20080528 for 0000:05:00.0 on minor 0

$ dmesg | grep -i radeon
[ 8.127540] [drm] radeon kernel modesetting enabled.
[ 8.134514] radeon 0000:05:00.0: PCI INT A -> Link[APC3] -> GSI 18 (level, low) -> IRQ 18
[ 8.137543] radeon 0000:05:00.0: setting latency timer to 64
[ 8.140751] [drm] radeon: Initializing kernel modesetting.
[ 8.161260] [drm] radeon: VRAM 256M
[ 8.163940] [drm] radeon: VRAM from 0x00000000 to 0x0FFFFFFF
[ 8.166689] [drm] radeon: GTT 512M
[ 8.169393] [drm] radeon: GTT from 0x20000000 to 0x3FFFFFFF
[ 8.172101] radeon 0000:05:00.0: irq 28 for MSI/MSI-X
[ 8.172106] radeon 0000:05:00.0: radeon: using MSI.
[ 8.174763] [drm] radeon: irq initialized.
[ 8.181633] [drm] radeon: 256M of VRAM memory ready
[ 8.182949] [drm] radeon: 512M of GTT memory ready.
[ 8.187869] [drm] radeon: 1 quad pipes, 2 z pipes initialized.
[ 8.190572] [drm] radeon: cp idle (0x10000C03)
[ 8.196850] platform radeon_cp.0: firmware: requesting radeon/R520_cp.bin
[ 8.512801] [drm] radeon: ring at 0x0000000020000000
[ 8.515394] [drm] radeon: ib pool ready.
[ 11.028041] [drm:radeon_fence_wait] *ERROR* fence(ffff88003d5676c0:0x00000001) 504ms timeout going to reset GPU
[ 11.032044] [drm] radeon: cp idle (0x10000000)
[ 11.033318] [drm] radeon: ring at 0x0000000020000000
[ 11.190522] [drm:r100_ring_test] *ERROR* radeon: ring test failed (sracth(0x15E8)=0xCAFEDEAD)
[ 11.191784] [drm:r100_cp_init] *ERROR* radeon: cp isn't working (-22).
[ 11.194329] [drm:radeon_fence_wait] *ERROR* fence(ffff88003d5676c0:0x00000001) 676ms timeout
[ 11.195610] [drm:radeon_fence_wait] *ERROR* last signaled fence(0x00000001)
[ 11.352986] [drm:r100_ib_test] *ERROR* radeon: ib test failed (sracth(0x15E4)=0xCAFEDEAD)
[ 11.354420] radeon 0000:05:00.0: failled testing IB (-22).
[ 11.355806] radeon 0000:05:00.0: failled initializing IB (-22).
[ 11.357090] radeon 0000:05:00.0: Disabling GPU acceleration
[ 11.654821] radeon: wait for empty RBBM fifo failed ! Bad things might happen.
[ 11.805104] [drm] radeon: cp finalized
[ 11.806368] radeon 0000:05:00.0: ffff88003029a600 unpin not necessary
[ 11.810187] [drm] Radeon Display Connectors
[ 11.997517] fb: conflicting fb hw usage radeondrmfb vs VESA VGA - removing generic driver
[ 12.027126] fb0: radeondrmfb frame buffer device
[ 12.027195] [drm] Initialized radeon 2.0.0 20080528 for 0000:05:00.0 on minor 0

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

$ cat /var/log/Xorg.0.log | grep «EE»
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER

$ cat /var/log/Xorg.0.log | grep «WW»
(WW) Failed to open protocol names file /usr/lib/xorg/protocol.txt
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(WW) RADEON(0): Direct rendering disabled

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

выложите Xorg.0.log полностью на
http://paste.org.ru


хотя я наверное уже и сейчас скажу, что ядро у вас с KMS
а x11 скорее всего без, лечится загрузкой ядра с параметрами nomodeset radeon.modeset=0

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

http://paste.org.ru/?ggtkhi

сделал - и сразу же изменения в длрхинфо:

$ cat /var/log/Xorg.0.log | grep «WW»
(WW) Failed to open protocol names file /usr/lib/xorg/protocol.txt
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) Falling back to old probe method for vesa
(WW) Falling back to old probe method for fbdev
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0): MC_FB_LOCATION was: 0xffffe000 is: 0xffffe000
(WW) RADEON(0): MC_AGP_LOCATION was: 0x003f0000 is: 0xffffffc0


$ cat /var/log/Xorg.0.log | grep «EE»
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER


$ LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.3.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
libGL error: dlopen /usr/lib/dri/r300_dri.so failed (/usr/lib/dri/r300_dri.so: undefined symbol: _glapi_tls_Context)
libGL error: unable to load driver: r300_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_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
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_SGI_swap_control,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 (RV530 71C2) 20090101 TCL
OpenGL version string: 1.4 (1.5 Mesa 7.7.1)
OpenGL extensions:

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

libGL error: dlopen /usr/lib/dri/r300_dri.so failed (/usr/lib/dri/r300_dri.so: undefined symbol: _glapi_tls_Context)

у вас /usr/lib/dri/r300_dri.so не соответствует мезе
поэтому не загружается, отсюда и все проблемы

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

для сквизи

libgl1-mesa-swx11-i686 (если конфликтит - то не нужно, он опционален, его вообще можно удалить)


libgl1-mesa-glx, libgl1-mesa-swx11 один из двух


что-то запутали все в дебиане с пакетами GL )

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

ЁПЕРНЫЙ ТЕАТР! СВЕРШИЛОСЬ!

ОНО ЖИВОЕ!!!

$ LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.3.0 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: Searching for BusID pci:0000:05:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:05:00.0
display: :0 screen: 0
direct rendering: Yes
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_pbuffer,
GLX_SGIX_visual_select_group
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 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_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
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
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 (RV530 71C2) 20090101 TCL
OpenGL version string: 1.5 Mesa 7.7.1
OpenGL extensions:


МЕГАСПАСИБО!!!!

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

они типа взаимоисключающие: одно ставишь - другое автоматом удаляется

ещё раз огромное спасибо

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