View previous topic :: View next topic |
Author |
Message |
jabfinger n00b
Joined: 04 May 2005 Posts: 42 Location: Pittsburgh Pa
|
Posted: Thu Mar 22, 2007 1:38 am Post subject: open source ati dri problem |
|
|
Hello
I have been trying to get direct rendering working and it is not going well. I am using the xf86-video-ati drivers and my xorg log gives:
Code: | localhost ~ # grep -i "dri" /var/log/Xorg.0.log
X.Org Video Driver: 1.0
X.Org XInput driver : 0.6
ABI class: X.Org Video Driver, version 1.0
ABI class: X.Org Video Driver, version 1.0
ABI class: X.Org Video Driver, version 1.0
ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
(II) Loading extension XFree86-DRI
(II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 1.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.6
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.6
(II) ATI: ATI driver (version 6.6.3) for chipsets: ati, ativga
(II) R128: Driver for ATI Rage 128 chipsets:
(II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon QD (AGP),
(II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 1.0
ABI class: X.Org Video Driver, version 1.0
ABI class: X.Org Video Driver, version 1.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(II) RADEON(0): [dri] Found DRI library version 1.2.0 and kernel module version 1.25.0
ABI class: X.Org Video Driver, version 1.0
ABI class: X.Org Video Driver, version 1.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:02:00.0"
(II) RADEON(0): [dri] Visual configs initialized
(**) RADEON(0): DRI New memory map param
(**) RADEON(0): DRI Finishing init !
(II) RADEON(0): [DRI] installation complete
(WW) RADEON(0): DRI init changed memory map, adjusting ...
ABI class: X.Org Video Driver, version 1.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(EE) AIGLX error: dlopen of /usr/lib/dri/r200_dri.so failed (/usr/lib/dri/r200_dri.so: cannot open shared object file: No such file or directory) |
The (EE) says it can not find r200_dri.so in /usr/lib/dri/ and sure enough it is not there. The r200_dri.so file is not part of xf86-video-ati so I guess my question is where does the r200_dri.so file come from.
my video card is a radeon 9200 |
|
Back to top |
|
|
fangorn Veteran
Joined: 31 Jul 2004 Posts: 1886
|
|
Back to top |
|
|
jabfinger n00b
Joined: 04 May 2005 Posts: 42 Location: Pittsburgh Pa
|
Posted: Thu Mar 22, 2007 5:28 pm Post subject: |
|
|
Thanks fangorn for your reply.
I have a Sabayon live dvd so I loaded it and used it to do a little troubleshooting. I did an
Code: | equery belongs r200_dri.so |
and it said that r200_dri.so was part of mesa. From my gentoo box all the other files in /usr/lib/dri are from mesa when equeried.
I temp fixed the direct rendering problem by making a copy of r200_dri.so from Sabayon and placing it in the gentoo's /usr/bin/dri. I also had to link libexpat.so .0.5.0 to libexpat.so.1. Now direct rendering works and I get a frame rate of 2000 or so fps with glxgears.
That being said, I know what I have done to fix this problem is not correct and would like to fix it the right way. I don't know but mabey I have a flag missing in make.conf or somthing ? Should There be a specific USE flag set when mesa gets compiled ? If so, What is it or what do I read to I find out ?
My current version of mesa is media-libs/mesa-6.5.1-r1. There are newer versions but they are masked. Also about the libexpat link is this a normal way to do this or would I have to emerge a masked expat ?
thanks for the help. |
|
Back to top |
|
|
fangorn Veteran
Joined: 31 Jul 2004 Posts: 1886
|
Posted: Fri Mar 23, 2007 11:35 am Post subject: |
|
|
Yeah, I remember now that I read somewhere the Radeon project was joined into the mesa project.
In CVS version of mesa there is support for r300 chipsets, r200 chipsets should be supported in older mesa versions too. But I dont know what version supports r200 first. _________________ Video Encoding scripts collection | Project page |
|
Back to top |
|
|
Cuardin l33t
Joined: 06 Feb 2003 Posts: 713 Location: vasastaden.stockholm.se
|
Posted: Wed Jul 25, 2007 8:09 am Post subject: |
|
|
OK, I think I got it working pretty much now. Only one hitch, for some reason, no DRI modules are built. I got the DRI flag enabled and the radeon flag turned on. Do I need to have the fglrx as well or anything else?
Code: | [ebuild R ] x11-base/xorg-server-1.2.0-r3 USE="dri ipv6 nptl sdl xorg -3dfx -debug -dmx -kdrive -minimal -xprint" INPUT_DEVICES="keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="fbdev radeon vesa vga -apm -ark -chips -cirrus -cyrix -dummy -epson -fglrx -glint -i128 -i740 -i810 (-impact) -imstt -mach64 -mga -neomagic (-newport) -nsc -nv -nvidia -r128 -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -via -vmware -voodoo" 0 kB
[ebuild R ] x11-drivers/xf86-video-ati-6.6.3 USE="dri -debug" 0 kB |
_________________ Part of "The adopt an unanswered post initiative" |
|
Back to top |
|
|
qubix Tux's lil' helper
Joined: 22 Sep 2003 Posts: 146 Location: Warsaw/Poland
|
Posted: Wed Jul 25, 2007 8:34 pm Post subject: |
|
|
after enabling radeon in VIDEO_CARDS you also need to rebuild mesa i guess. Make sure you are switched to xorg-x11 opengl (eselect opengl) _________________ qubix |
|
Back to top |
|
|
Cuardin l33t
Joined: 06 Feb 2003 Posts: 713 Location: vasastaden.stockholm.se
|
|
Back to top |
|
|
|