[sisyphus] DRI for Radeon

Led =?iso-8859-1?q?led_=CE=C1_ukr-fin=2Ecom=2Eua?=
Сб Июн 3 16:35:44 MSD 2006


В сообщении от 2 июня 2006 23:18 Konstantin A. Lepikhov написал(a):
> Hi Led!
>
> Friday 02, at 09:57:24 PM you wrote:
> > В сообщении от 2 июня 2006 21:14 Konstantin A. Lepikhov написал(a):
> > > Hi Led!
> > >
> > > Friday 02, at 09:02:33 PM you wrote:
> > > > Реально ли получить
> > > > "direct rendering: Yes" для Radeon 9250 [0000:01:00.0 VGA compatible
> > > > controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01)] с
> > > > драйвером radeon?
> > > > "По инструкции" и в результате интенсивного "гугления" всё
> > > > получилось, кроме DRI :(
> > > >
> > > > kernel-modules-drm и xorg-x11-dr{i|v}-ati установлены,
> > > >
> > > > $ ls -l /etc/X11/lib/*
> > > > lrwxrwxrwx 1 root root 41 Июн  2
> > > > 19:11 /etc/X11/lib/libGL.so.1 ->
> > > > ../../../usr/lib/X11/mesa_gl/libGL.so.1.2 lrwxrwxrwx 1 root root 53
> > > > Июн 2
> > > > 19:11 /etc/X11/lib/libglx.so ->
> > > > ../../../usr/lib/X11/modules/extensions/libglx-x11.so
> > > >
> > > > Если есть, поделитесь, плиз, рабочим конфигом
> > >
> > > что-то такое.
> > >
> > > $ lspci|grep ATI
> > > 0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV280
> > > [Radeon 9200 PRO] (rev 01) 0000:01:00.1 Display controller: ATI
> > > Technologies Inc RV280 [Radeon 9200 PRO] (Secondary) (rev 01) $ cat
> > > /etc/X11/xorg.conf |sed
> >
> > К сожалению, не помогло :(
> > Взял полностью ваш конфиг (кроме HorizSync и VertRefresh, так как TFT у
> > меня) - тоже самое: "direct rendering: No"
>
> что у вас говорит LIBGL_DEBUG=verbose glxinfo?

$ LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.0.3 r200 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed 
(/usr/X11R6/lib/modules/dri/r200_dri.so: cannot open shared object file: No 
such file or directory)
libGL error: unable to find driver: r200_dri.so
libGL: XF86DRIGetClientDriverName: 5.0.3 r200 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed 
(/usr/X11R6/lib/modules/dri/r200_dri.so: cannot open shared object file: No 
such file or directory)
libGL error: unable to find driver: r200_dri.so
display: :0  screen: 0
direct rendering: No
.............................................

после того как

# ln -s /usr/lib/X11/modules/dri.r200_dri.so \ 
	/usr/X11R6/lib/modules/dri/r200_dri.so

получаю:

$ LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 5.0.3 r200 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed 
(/usr/X11R6/lib/modules/dri/r200_dri.so: undefined symbol: 
_glapi_set_warning_func)
libGL error: unable to find driver: r200_dri.so
libGL: XF86DRIGetClientDriverName: 5.0.3 r200 (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so
libGL error: dlopen /usr/X11R6/lib/modules/dri/r200_dri.so failed 
(/usr/X11R6/lib/modules/dri/r200_dri.so: undefined symbol: 
_glapi_set_warning_func)
libGL error: unable to find driver: r200_dri.so
display: :0  screen: 0
direct rendering: No
........

> И что в конце 
> /var/log/Xorg.0.log насчет DRI говорится?

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: drmOpenMinor returns 6
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:00.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xe1be7000
(II) RADEON(0): [drm] mapped SAREA 0xe1be7000 to 0xb7951000
(II) RADEON(0): [drm] framebuffer handle = 0xd8000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000211 [AGP 0x8086/0x2560; Card 0x1002/0x5960]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0x00000001
(II) RADEON(0): [agp] ring handle = 0xd0000000
(II) RADEON(0): [agp] Ring mapped at 0xaf75a000
(II) RADEON(0): [agp] ring read ptr handle = 0xd0101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0xaf759000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xd0102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0xaf559000
(II) RADEON(0): [agp] GART texture map handle = 0xd0302000
(II) RADEON(0): [agp] GART Texture map mapped at 0xaf079000
(II) RADEON(0): [drm] register handle = 0xe9000000
(II) RADEON(0): [dri] Visual configs initialized
(II) RADEON(0): BIOS HotKeys Disabled
(**) RADEON(0): Enabling depth moves
(II) RADEON(0): Allocating from a screen of 131072 kb
(II) RADEON(0): Will use 2560 kb for front buffer at offset 0x00000000
(II) RADEON(0): Will use 2560 kb for back buffer at offset 0x00280000
(II) RADEON(0): Will use 2560 kb for depth buffer at offset 0x00500000
(II) RADEON(0): Will use 61440 kb for textures at offset 0x00780000
(II) RADEON(0): Will use 61952 kb for X Server offscreen at offset 0x04380000
(==) RADEON(0): Backing store disabled
(II) RADEON(0): X context handle = 0x1
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialized, using IRQ 17
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
(WW) RADEON(0): DRI init changed memory map, adjusting ...
(WW) RADEON(0):   MC_FB_LOCATION  was: 0xdfffd800 is: 0xdfffd800
(WW) RADEON(0):   MC_AGP_LOCATION was: 0xffffffc0 is: 0xd07fd000
(II) RADEON(0): Direct rendering enabled
(II) RADEON(0): Render acceleration enabled for R200 type cards.
(II) RADEON(0): Acceleration enabled
(**) Option "dpms" "on"
(**) RADEON(0): DPMS enabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor
(II) RADEON(0): Running MergedFB in Clone mode, Radeon Pseudo-Xinerama 
disabled
(II) RADEON(0): No video input capabilities detected and no information is 
provided - disabling multimedia i2c
(II) Loading sub module "theatre_detect"
(II) LoadModule: "theatre_detect"
(II) Loading /usr/lib/X11/modules/multimedia/theatre_detect_drv.so
(II) Module theatre_detect: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Video Driver, version 0.8
(II) RADEON(0): no multimedia table present, disabling Rage Theatre.
(==) RandR enabled

-- 
Led.



Подробная информация о списке рассылки Sisyphus