LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-11-2005, 05:58 PM   #1
marin_count
LQ Newbie
 
Registered: Feb 2004
Posts: 7

Rep: Reputation: 0
How to run All in wonder 7500 in Suse 9.3/Xorg - 9200 TV does not WORK


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
 
Old 08-11-2005, 06:13 PM   #2
marin_count
LQ Newbie
 
Registered: Feb 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Additional Note - Do not user ATI drivers if you want avview to work

Additional note, I had gone through a lot of frustrations earlier (XVideo Badmatch error) trying to launch avview.

Looks like avview and ATI drivers (official ATI fglrx drivers) do not go hand in had.

Gatos drivers (ati.4.4.0) do give decent OpenGL and direct rendering performance and have been stable for me, so I am staying away from ATI drivers for now.

Manish
 
Old 11-14-2005, 01:04 PM   #3
cpalkar
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
Need Help - Manish

Hi,

THIS MESSAGE IS FOR

Manish Bhangui

IF THE NAME "CHARU PALKAR" SOUNDS FAMILIAR

PLEASE CALL (519) 635 3405

THANX

CHARU
--
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE 10, KDE 3.4: OpenGL apps only work when run as root pschoenb Linux - Software 1 11-10-2005 01:43 PM
Ati Radeon 9200 SE (xorg 6.8.0) driver (HELP please!) apinta10 Slackware 22 10-11-2005 03:22 AM
Editing xorg.conf on Suse 9.2 w/ ATI Mob. 9700 Dell Inspiron 9200 elliotfuller Linux - Hardware 5 04-28-2005 09:24 AM
vmware/ xorg fullscreen problems with ati radeon 9200 isl01jbe Linux - Software 0 06-26-2004 10:42 AM
Suse Pro Can't run 3D as normal, only logged in as root Used to work. What did I do? Min Donner Linux - Laptop and Netbook 3 05-06-2004 11:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration