Click to See Complete Forum and Search --> : ATI Radeon 7200 drivers?


RallyMonkey
05-22-2004, 10:48 PM
I am trying to use my ATI Radeon 7200 graphic card with my Fedora Core 1 installation and am wondering were I could get the drivers for it? The main site only has 9*00 series cards. Thank you!

tucolino
05-22-2004, 11:43 PM
you can find 3d acceleration for older radeons at http://dri.sf.net. they have daily snapshots here (http://www.freedesktop.org/~dri/snapshots/) . if i'm not mistaken the driver you need is radeon (as opposed to r200 which is for 8500, 9100, FireGL 8800/8700, etc). double check that though. by the way, some daily snapshots are not guaranteed to work. if they have a release, i would probably use that. however, if you are using kernel 2.6 3d acceleration should work without downloading dri. i was able to enable it in my kernel for a radeon 7500. hope this helps...


tuco

Alex Cavnar, aka alc6379
05-22-2004, 11:49 PM
If you're just talking about X Windows, and no 3d accel, you should be able to run X just fine using the ati driver, no other drivers needed.

RallyMonkey
05-23-2004, 12:46 AM
I need 3D acceleration. I am trying to play AA. ON the DRI ones, I keep getting errors about the kernel. I will post the error when I can.


Thanks.

RallyMonkey
05-23-2004, 01:05 PM
Heres the error in DRI.log:

Makefile:154: *** Cannot find a kernel config file. Stop.

bwkaz
05-23-2004, 01:19 PM
Is that it? It looks like there might be more errors above it...

Do you have your distro's kernel-source package installed?

RallyMonkey
05-23-2004, 02:21 PM
Yes, I have the kernel source installed and this is the only error I get. When running install.sh It says the kernel could not compile and to look at dri.log. That error is from dri.log

mdwatts
05-23-2004, 03:06 PM
Originally posted by RallyMonkey
Yes, I have the kernel source installed and this is the only error I get.

The kernel-source that was used to build your current running kernel version?

uname -r

Compare against

rpm -qa | grep kernel-source

bwkaz
05-23-2004, 05:22 PM
OK, what does test -r /lib/modules/$(uname -r)/build/.config ; echo $? say?

Also, yes, Mike's suggestion of comparing the kernel source rpm version to the output of uname -r is a good idea. :)

RallyMonkey
05-23-2004, 05:35 PM
Here ya go:

[kyle@localhost kyle]$ test -r /lib/modules/$(uname -r)/build/.config ; echo $?
1
[kyle@localhost kyle]$ uname -r
2.4.22-1.2115.nptl
[kyle@localhost kyle]$ rpm -qa | grep kernel-source
kernel-source-2.4.22-1.2115.nptl
[kyle@localhost kyle]$


Thanks!

bwkaz
05-23-2004, 08:22 PM
Originally posted by RallyMonkey
$ test -r /lib/modules/$(uname -r)/build/.config ; echo $?
1 OK, you either don't have a /lib/modules/$(uname -r) directory (not likely; Fedora is probably like all other Red Hat derived distros, in that it builds everything and the kitchen sink as kernel modules), or you don't have a symlink in that directory named "build" that points at your kernel source tree (I'd give this one about a 40/60 chance of being the problem; usually kernel-source creates that symlink for you), or that kernel source tree doesn't have a .config file in it (this is my guess). OR, that file might just not be readable (not likely).

The DRI drivers still might not look in that place for the .config file anyway, but it'd be a start to get it there. Go into /lib/modules/$(uname -r) and look around for a build symlink. cd into build, and look for a .config (ls -a or ls -al). If it's not there, try copying /boot/config-$(uname -r) to .config, run make oldconfig to make the "changes" in .config take effect, and try the DRI thing again.

RallyMonkey
05-23-2004, 08:43 PM
I'm not sure I understand your directions. Should I do that in command line?

bwkaz
05-23-2004, 10:07 PM
Yes.

Alternately, I suppose you could use your file browser of choice, but as there are so many of them (and as I use none of them), I can't really tell you how. ;)

RallyMonkey
06-06-2004, 08:12 PM
Scratch this. One second.

RallyMonkey
06-11-2004, 04:51 PM
Heres my latest error when trying to run again. I went through the above steps.

make DRM_MODULES=radeon.o modules
make[1]: Entering directory `/home/kyle/dripkg/drm'
rm -f linux
ln -s . linux
make -C /lib/modules/2.4.22-1.2115.nptl/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/linux-2.4.22-1.2115.nptl'
gcc32 -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
make -r -f tmp_include_depends all
make[3]: Entering directory `/usr/src/linux-2.4.22-1.2115.nptl'
make[3]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl'
make -C /home/kyle/dripkg/drm CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.22-1.2115.nptl/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-1.2115.nptl/include/linux/modversions.h" MAKING_MODULES=1 modules
make[3]: Entering directory `/home/kyle/dripkg/drm'
gcc32 -I/home/kyle/dripkg/drm -D__KERNEL__ -I/usr/src/linux-2.4.22-1.2115.nptl/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-1.2115.nptl/include/linux/modversions.h -DDO_MUNMAP_4_ARGS -DVMAP_4_ARGS -nostdinc -iwithprefix include -DKBUILD_BASENAME=radeon_drv -c -o radeon_drv.o radeon_drv.c
In file included from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/list.h:6,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:12,
from drmP.h:46,
from radeon_drv.c:35:
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:60: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:60: field `loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:83: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:83: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:83: warning: function declaration isn't a prototype
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:202: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h: In function `set_in_cr4':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:206: `dad5638d' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:206: (Each undeclared identifier is reported only once
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:206: for each function it appears in.)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:206: invalid lvalue in assignment
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h: In function `clear_in_cr4':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:216: `dad5638d' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:216: invalid lvalue in assignment
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h: At top level:
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:255: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:255: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:255: warning: function declaration isn't a prototype
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:259: warning: parameter names (without types) in function declaration
In file included from drmP.h:46,
from radeon_drv.c:35:
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:190: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:190: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:190: `inter_module_register_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:190: warning: function declaration isn't a prototype
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:191: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:191: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:191: `inter_module_unregister_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:191: warning: function declaration isn't a prototype
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:192: `inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:192: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:193: `inter_module_get_request_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:193: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:194: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:194: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:194: `inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:194: warning: function declaration isn't a prototype
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:203: `try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:203: warning: parameter names (without types) in function declaration
In file included from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/highmem.h:5,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h:8,
from /usr/src/linux-2.4.22-1.2115.nptl/include/asm/io.h:47,
from /usr/src/linux-2.4.22-1.2115.nptl/include/asm/pci.h:40,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/pci.h:658,
from drmP.h:53,
from radeon_drv.c:35:
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h: In function `get_pgd_fast':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h:79: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h: In function `free_pgd_fast':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h:90: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h: In function `pte_alloc_one_fast':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h:123: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h: In function `pte_free_fast':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h:133: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
In file included from /usr/src/linux-2.4.22-1.2115.nptl/include/asm/io.h:47,
from /usr/src/linux-2.4.22-1.2115.nptl/include/asm/pci.h:40,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/pci.h:658,
from drmP.h:53,
from radeon_drv.c:35:
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h: In function `vmalloc':
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h:40: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h: In function `vmalloc_dma':
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h:49: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h: In function `vmalloc_32':
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h:58: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
In file included from radeon_drv.c:41:
drm_agpsupport.h: In function `radeon_agp_init':
drm_agpsupport.h:407: warning: implicit declaration of function `inter_module_get_Rf6a0ce24'
drm_agpsupport.h: In function `radeon_agp_uninit':
drm_agpsupport.h:436: warning: implicit declaration of function `inter_module_put_R6b99f7d8'
In file included from radeon_drv.c:49:
drm_init.h: In function `radeon_cpu_valid':
drm_init.h:123: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
In file included from radeon_drv.c:53:
drm_memory.h:65:1: warning: "pte_pfn" redefined
In file included from /usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgtable.h:124,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/mm.h:26,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/slab.h:14,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/proc_fs.h:5,
from drmP.h:50,
from radeon_drv.c:35:
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgtable-2level.h:63:1: warning: this is the location of the previous definition
In file included from radeon_drv.c:53:
drm_memory.h: In function `agp_remap':
drm_memory.h:124: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
In file included from radeon_drv.c:55:
drm_vm.h: In function `radeon_mmap':
drm_vm.h:600: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
In file included from radeon_drv.c:56:
drm_stub.h: In function `radeon_stub_open':
drm_stub.h:65: warning: implicit declaration of function `try_inc_mod_count_Re6105b23'
In file included from radeon_drv.c:56:
drm_stub.h: In function `radeon_stub_putminor':
drm_stub.h:140: warning: implicit declaration of function `inter_module_unregister_R7a9e845e'
In file included from radeon_drv.c:56:
drm_stub.h: In function `radeon_stub_register':
drm_stub.h:192: warning: implicit declaration of function `inter_module_register_R62dada05'
make[3]: *** [radeon_drv.o] Error 1
make[3]: Leaving directory `/home/kyle/dripkg/drm'
make[2]: *** [_mod_/home/kyle/dripkg/drm] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/kyle/dripkg/drm'
make: *** [radeon.o] Error 2


Thanks!

mdwatts
06-12-2004, 01:04 PM
I'm not sure if this is the solution, but make sure you have glibc-devel installed.

rpm -qa | grep glibc

RallyMonkey
06-12-2004, 01:48 PM
Still same error. I forgot to post this earlier:o

ERROR: Kernel modules did not compile

The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.

mdwatts
06-12-2004, 03:04 PM
Did you install the kernel 'src.rpm' or 'i#86.rpm' package?

The 'i#86' is the one you want as it should be the resulting kernel that was built for your distro.

j79zlr
06-12-2004, 03:27 PM
The default "radeon" or "ati" drive for XFree86/Xorg supports 3D acceleration for that card, basically all cards through the 9200 radeon.

Make sure you have this in your XF86Config or xorg.conf

Under Section "Modules"
# This loads the GLX module
Load "glx"
# This loads the DRI module
Load "dri"

The video card section:

Section "Device"
Identifier "ATI Radeon"
Driver "radeon"
Option "AgpMode" "4"
EndSection

Make sure the Monitor is told to use the card as well:

Section "Screen"
Identifier "Screen 1"
Device "ATI Radeon"
Monitor "My Monitor"
DefaultDepth 24


Create this section so all users can run acceleration

Section "DRI"
Mode 0666
EndSection

I have a Radeon 9000 using the default drivers with 3D acceleration. You can check if it is running with glxinfo | grep direct If its running it will return:

joe@tuxor$ glxinfo | grep direct
direct rendering: Yes


If its not, check the log file for errors, grep EE /var/log/Xorg.0.log or grep EE /var/log/XFree86.0.log

RallyMonkey
06-12-2004, 05:29 PM
I get:

[kyle@localhost kyle]$ glxinfo | grep direct
direct rendering: Yes

So does that mean it is working?

Nothing runs smoothly like it did on XP. Game-wise atleast. AA doesn't have any graphics at all. Just a whole bunch of strange screens when playing the game.

j79zlr
06-12-2004, 05:49 PM
Well that is a very old card. What scores do you get on glxgears ?

RallyMonkey
06-12-2004, 06:16 PM
How long should I run it? Right now I have:

[kyle@localhost kyle]$ glxgears
3202 frames in 5.0 seconds = 640.400 FPS
3519 frames in 5.0 seconds = 703.800 FPS
3529 frames in 5.0 seconds = 705.800 FPS
3530 frames in 5.0 seconds = 706.000 FPS
3529 frames in 5.0 seconds = 705.800 FPS
3530 frames in 5.0 seconds = 706.000 FPS
3529 frames in 5.0 seconds = 705.800 FPS
3529 frames in 5.0 seconds = 705.800 FPS
3530 frames in 5.0 seconds = 706.000 FPS
3529 frames in 5.0 seconds = 705.800 FPS
3530 frames in 5.0 seconds = 706.000 FPS
3529 frames in 5.0 seconds = 705.800 FPS
23094 frames in 5.0 seconds = 4618.800 FPS
10277 frames in 5.0 seconds = 2055.400 FPS
7180 frames in 5.0 seconds = 1436.000 FPS
37874 frames in 5.0 seconds = 7574.800 FPS
39993 frames in 5.0 seconds = 7998.600 FPS
38593 frames in 5.0 seconds = 7718.600 FPS
17018 frames in 5.0 seconds = 3403.600 FPS
40795 frames in 5.0 seconds = 8159.000 FPS
40704 frames in 5.0 seconds = 8140.800 FPS
39572 frames in 5.0 seconds = 7914.400 FPS
40081 frames in 5.0 seconds = 8016.200 FPS
40846 frames in 5.0 seconds = 8169.200 FPS
40347 frames in 5.0 seconds = 8069.400 FPS
40640 frames in 5.0 seconds = 8128.000 FPS
37152 frames in 5.0 seconds = 7430.400 FPS
37343 frames in 5.0 seconds = 7468.600 FPS
40485 frames in 5.0 seconds = 8097.000 FPS
40679 frames in 5.0 seconds = 8135.800 FPS
39372 frames in 5.0 seconds = 7874.400 FPS
40213 frames in 5.0 seconds = 8042.600 FPS

When I was running XP with the same card and computer I could run Halo with all the options at high smoothly. Same with AA.

j79zlr
06-12-2004, 06:31 PM
Those are good scores, you should be OK, I usually get about 1200FPS with my Radeon 9000 and can play GL games fine.

I would dl it and try it out, but its 600+MB :o you are using the Linux version and not the Windows one through Wine right.

RallyMonkey
06-12-2004, 06:40 PM
Right. Linux version.

RallyMonkey
06-12-2004, 08:03 PM
I just updated to 2.1.0 and still nothing. Does anyone know what this error means?

Xlib: extension "XiG-SUNDRY-NONSTANDARD" missing on display ":0.0".

Thanks for the help.

I tried asking at the AA forum but haven't gotten anything yet.

bwkaz
06-13-2004, 11:56 AM
Originally posted by RallyMonkey
Does anyone know what this error means?

Xlib: extension "XiG-SUNDRY-NONSTANDARD" missing on display ":0.0". That's not an error (even though it looks like it might be). It just means you aren't using the X server from Xi Graphics (they sell accelerated X servers for a lot of graphics chips; IIRC they're somewhere between $40 and $100, depending on the version you want and what kind of support).

Is AA just running slowly?

RallyMonkey
06-19-2004, 12:21 AM
No, the screen is all messed up. It is hard to explain. I tried to take a screenshot but gimp froze.

bwkaz
06-19-2004, 08:28 AM
Does the free version of tuxracer do the same thing?

We've got a Radeon 7500, and whichever drivers Mandrake 10 installed for it made tuxracer look all weird. The textures were flashing a lot, and it looked like some of the polygons may have been moving between frames.

I never did investigate it, though; I just wrote it off to strange GL drivers. I'd guess that a DRI upgrade would have helped, but I'm not sure.

RallyMonkey
06-19-2004, 04:22 PM
Actually, yes. Only on the ice. The texture flashes. But it is much worse on AA. I thought it was supposed to look like that on Tux Racer. It is annoying.

RallyMonkey
06-22-2004, 06:13 PM
Does anyone have any ideas? Nobody seems to know much about Linux on the AA forums.

Thanks!

RallyMonkey
06-28-2004, 08:04 PM
I'm not sure how you feel about bumping or triple posting here at jl. But I feel I have waited long enough to warrent a bump? The aa forum I have gotten one reply and he said.

Sorry, I'm an nvidia guy myself, so i can't help you with your graphics problems.

So does anyone have any ideas? Anywhere I can get the drivers? I really want to play anything.

Thank you very much for an answer.

bwkaz
06-28-2004, 09:37 PM
I'm not really sure. Unless you think it would be worth it to change your OpenGL libraries by (re)installing DRI (or, well, something like that -- I'm STILL not quite sure how DRI is supposed to work with OpenGL; I think it's supposed to use Mesa, but that doesn't sound right).

I suppose you could grab the newest Mesa package and hope that it works...

RallyMonkey
06-28-2004, 10:54 PM
Thanks for the suggestion. But the only thing it changed is now I have to run games in root.

bwkaz
06-29-2004, 06:15 PM
Does it work correctly (i.e. without the flashing) when you're root? If so, then you can probably fix it by changing the permissions on /dev/dri/* (or /dev/drm/*, I can't remember for sure which it is). You can get X to change the permissions for you, using the "DRI" section in XF86Config:

Section "DRI"
Group "video"
Mode "0660"
EndSection (Or something like that; it might be Option "Group" "video" and likewise for mode, I don't remember for sure. If you want, you can get rid of the group and just use mode 0666, but then any user can mess with your video.)

IsaacKuo
06-29-2004, 06:56 PM
I don't know any answers, but have followed this thread with some interest. Just last Sunday, I finally got 3d hardware accelerated graphics working with my Ati Radeon 7200. The driver I'm using is "ati"--whatever Knoppix came with, so I suppose it's the open source driver.

My particular issue had nothing to do with my XF86Config or ati driver, and everything to do with agpgart thinking it didn't support my VIA chipset motherboard. I fixed it with a Debian specific fix I found by Googling around, and that gave me DRI, along with 3d hardware accelerated OpenGL! My DRI permissions are 0666...

Anyway, the only OpenGL programs I've tried out are the OpenGL xscreensavers and GLIV (a cool image viewer with smooth fading, zooming, and rotation).

GLIV and most of the OpenGL programs look fine, but some of them have strange graphics glitches with spurious polygons extending out to the screen edges. It sort of looks neat, but I wouldn't be happy with them in a game.

In contrast, my slower workstation has a Radeon 7000 in it, and it doesn't have any of those graphics glitches. I'd swap the cards except that my Radeon 7200 is being cooled in a very case specific way (homebrew case). Also, the Radeon 7200 has 64megs of RAM vs the 32megs on the Radeon 7000, which makes quite a difference with GLIV for larger images.

RallyMonkey
08-09-2004, 11:01 PM
I'm gonna bring this back from the dead. I tried running DRI again with the latest snapshots and here is the log:


make DRM_MODULES=radeon.o modules
make[1]: Entering directory `/home/kyle/dripkg/drm'
rm -f linux
ln -s . linux
make -C /lib/modules/2.4.22-1.2115.nptl/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/linux-2.4.22-1.2115.nptl'
make -r -f tmp_include_depends all
make[3]: Entering directory `/usr/src/linux-2.4.22-1.2115.nptl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl'
make -C /home/kyle/dripkg/drm CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.22-1.2115.nptl/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2

-march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-1.2115.nptl/include/linux/modversions.h" MAKING_MODULES=1 modules
make[3]: Entering directory `/home/kyle/dripkg/drm'
gcc32 -I/home/kyle/dripkg/drm -D__KERNEL__ -I/usr/src/linux-2.4.22-1.2115.nptl/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-bo

undary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-1.2115.nptl/include/linux/modversions.h -DDO_MUNMAP_4_ARGS -DVMAP_4_ARGS -nostdinc -iwithprefix include -DKBUILD_BASENAME=radeon_drv -c -o radeon_drv.o radeon_drv.c
In file included from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/list.h:6,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:12,
from drmP.h:46,
from radeon_drv.c:35:
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:60: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:60: field `loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:83: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:83: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:83: warning: function declaration isn't a prototype
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:202: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h: In function `set_in_cr4':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:206: `dad5638d' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:206: (Each undeclared identifier is reported only once
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:206: for each function it appears in.)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:206: invalid lvalue in assignment
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h: In function `clear_in_cr4':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:216: `dad5638d' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:216: invalid lvalue in assignment
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h: At top level:
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:255: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:255: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:255: warning: function declaration isn't a prototype
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:259: warning: parameter names (without types) in function declaration
In file included from drmP.h:46,
from radeon_drv.c:35:
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:190: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:190: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:190: `inter_module_register_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:190: warning: function declaration isn't a prototype
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:191: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:191: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:191: `inter_module_unregister_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:191: warning: function declaration isn't a prototype
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:192: `inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:192: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:193: `inter_module_get_request_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:193: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:194: invalid suffix on integer constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:194: syntax error before numeric constant
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:194: `inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:194: warning: function declaration isn't a prototype
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:203: `try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/module.h:203: warning: parameter names (without types) in function declaration
In file included from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/highmem.h:5,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h:8,
from /usr/src/linux-2.4.22-1.2115.nptl/include/asm/io.h:47,
from /usr/src/linux-2.4.22-1.2115.nptl/include/asm/pci.h:40,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/pci.h:658,
from drmP.h:53,
from radeon_drv.c:35:
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h: In function `get_pgd_fast':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h:79: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h: In function `free_pgd_fast':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h:90: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h: In function `pte_alloc_one_fast':

/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h:123: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h: In function `pte_free_fast':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgalloc.h:133: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
In file included from /usr/src/linux-2.4.22-1.2115.nptl/include/asm/io.h:47,
from /usr/src/linux-2.4.22-1.2115.nptl/include/asm/pci.h:40,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/pci.h:658,
from drmP.h:53,
from radeon_drv.c:35:
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h: In function `vmalloc':
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h:40: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h: In function `vmalloc_dma':
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h:49: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h: In function `vmalloc_32':
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/vmalloc.h:58: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
In file included from radeon_drv.c:41:
drm_agpsupport.h: In function `radeon_agp_init':
drm_agpsupport.h:408: warning: implicit declaration of function `inter_module_get_Rf6a0ce24'
drm_agpsupport.h: In function `radeon_agp_uninit':
drm_agpsupport.h:437: warning: implicit declaration of function `inter_module_put_R6b99f7d8'
In file included from radeon_drv.c:49:
drm_init.h: In function `radeon_cpu_valid':
drm_init.h:123: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
In file included from radeon_drv.c:53:
drm_memory.h: In function `agp_remap':
drm_memory.h:130: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
In file included from radeon_drv.c:55:
drm_vm.h: In function `radeon_mmap':
drm_vm.h:603: `boot_cpu_data_R4a8db2ac' undeclared (first use in this function)
In file included from radeon_drv.c:56:
drm_stub.h: In function `radeon_stub_open':
drm_stub.h:65: warning: implicit declaration of function `try_inc_mod_count_Re6105b23'
In file included from radeon_drv.c:56:
drm_stub.h: In function `radeon_stub_putminor':
drm_stub.h:147: warning: implicit declaration of function `inter_module_unregister_R7a9e845e'
In file included from radeon_drv.c:56:
drm_stub.h: In function `radeon_stub_register':
drm_stub.h:204: warning: implicit declaration of function `inter_module_register_R62dada05'
make[3]: *** [radeon_drv.o] Error 1
make[3]: Leaving directory `/home/kyle/dripkg/drm'
make[2]: *** [_mod_/home/kyle/dripkg/drm] Error 2

make[2]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/kyle/dripkg/drm'
make: *** [radeon.o] Error 2



I don't know if any of these could possibly be the problem? I got Fedora Core with a book and they took these RPM's out for space constraints.

post continued

P.S. Sorry about the long post.

bwkaz
08-10-2004, 06:59 PM
I don't think any of those packages are the problem (nice waste of vertical space though :p). I think it's rather that the DRI package that you're trying to compile is getting extremely confused with your kernel sources.

Which is understandable if you're using Fedora (those sources are patched so far that they'd confuse almost anything outside the kernel tree). Can you just upgrade to a kernel.org 2.6 kernel? It'd be a heck of a lot easier than trying to sort that mess out... especially since recent 2.6 kernels come with good enough DRI drivers that you don't generally have to compile them from the DRI project...

Otherwise, investigate the current setting of CONFIG_MODVERSIONS. Try to copy the kernel source directory (to make a backup), and then try a couple of things. First, in the original kernel source directory, do a make menuconfig, then exit and save (don't change anything). See if that helps. If not, then go back into menuconfig and flip the state of the modversions entry (don't know where it is exactly for you, but look around for a "loadable module support" type entry, and it should be somewhere under a submenu of that -- it's called something like "module versioning"). Exit and save, and try DRI yet again.

RallyMonkey
08-10-2004, 10:43 PM
I just finished downloading Fedora Core 2. I think I am just going to start fresh instead of updating.