Hello,
With a lot of patient searching and debugging the source, I was able to get my ATI AIW 7500 work under Suse 9.3 (2.6 kernel and Xorg 8.3.2).
The fix involved :
1) Getting latest ati.4.4.0 from CVS (Gatos CVS), and also TV viewer program source "avview"
---- $> cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gatos login
it will prompt for password, just hit enter key
---- $> cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gatos co -P ati.4.4.0
---- $> cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gatos co -P avview
2) Applying patches indicated in the following link - it has some minor errors like patch being applied using the zipped file etc, but if you are venturing this far, you probably know the deal.
http://sourceforge.net/mailarchive/m...msg_id=9125762
or on
http://mabene.icomedias.com/gatos-stuff/
click on link "Louren Veens email"
3) modify source files (which will be in the ati.4.4.0 directory of CVS you just applied patch and added extra files to in step 2) and replacing all references in code for the following :
a) In Imakefile, line "DRIINCLUDES = -I$(SERVERSRC)/GL/dri -I$(LIBSRC)/GL/dri -I$(TOP)/include "
REPLACE WITH
"DRIINCLUDES = -I$(SERVERSRC)/GL/dri -I$(LIBSRC)/GL/dri -I$(TOP)/include -I$(DRMSRCDIR)/shared"
b) replace all occurences of "drmContext " with "drm_context_t"
c) replace all occurences of "drmHandle" with "drm_handle_t"
d) replace all occurences of "XF86DRIClipRectRec" with "drm_clip_rect_t "
e) replace all occurences of "drmClipRect " with "drm_clip_rect_t "
4) Download Xorg source
http://xorg.freedesktop.org/X11R6.8.2/src-single/"
I extracted the "X11R6.8.2-src.tar.bz2" tarball for single source xorg 8.3.2(took 2 minutes to dowload), then did a tar jxvf *.bz2,
and the souce was extracted in directory "xc".
At the same level as xc, as per Xorg directions, I created another directory called "build", cd to "build" directory, and then command "lndir ../xc", and then did "make World > World.log 2>&1 &" and then command "tail -f World.log" to see how it was progressing. I did not get a single compile error, and on my XP2800, 512MB RAM, it took 45 minutes to compile the Xorg source.
5) Su to root, go to "/usr" directory and "cp -r X11R6 X11R6.orig" and go to /etc/X11 directory and "cp xorg.conf xorg.conf.orig". We then have back up of old Xserver and configuration, and can revert back if the next steps don't work.
6) From the ati.4.4.0 directory - run command "xmkmf path_to_xorg_build_directory" and then run "make", and on succesfull completion, run "make install" (make install as user "root")
7) From the avview directory - run command "autoconf", then run "autoheader", then run "automake". If automake complains, run "aclocal" and run "automake" again. After that, run "./configure". If configure complains about gcc, libzvbi, TCl/Tk, alsa etc, use Suse Yast to get "Kernel Development, zvbi and TCl/Tk, alsamixer or gamix and run "./configure" until all errors are resolved. You do not need "ffmpeg" unless you want to run video capture. Then run "make". You should have a "./start_avview.no_install" now for running.
8) Restart your X server (if you are in KDE or GNOME, simply logging out and logging back in will restart your X server - if you can't log back in, you will need to restore the X libraries and xorg.conf you made copies of in step 5 :( )
9) Go to avview directory, run "./start_avview.no_install" and have fun. If there is no sound, you might need to play around with "alsamixer" unmuting your line in.
These steps worked beautifully for me for ATI All in Wonder 7500. However, the same does not work for ATI AIW 9200.
THE FOLLOWING is a question for the GATOS gods and experts to answer -
If I read the "/var/log/XFree86*.log", I do see the tuner being recognised for both 7500 and 9200 in the "Multimedia Bus", but some additional devices are later being recognized and loaded only for the 7500, and it indicates that if found tuner on port 0, Svideo on port 1 or some such thing only for the 7500.
Does anybody know why this does not show up for 9200 ? I tried using additional "ChipId ......." in the xorg.conf files "Device Section", trying to make Xfree use the ChipId of 7500 (ChipID 0x5157), or 8500 (ChipId 0x4242) or 9000(ChipId 0x514D), hoping some of them may make it work, but nothing seems to work. Any ideas ? I could poke around with the ati.4.4.0 files if I knew "9200" specs, but I don't, and it is impossible to guess this out.
Any help will be greatly appreciated.
BTW, 3D, OpenGL, Direct Rendering etc. is working beautifully for Radeon 9200 if I use the Radeon 7500 ChipId in xorg.conf (I get FPS 2000 if I use the Radeon 9200 setting, but using Radeon 7500 ChipId boosts it to 13000 - probably overdriving it, so I don't want to really do that - don't like burning smell of GPU :))
Manish Bhangui