logo       

ATI Radeon 9600 and Gatos: msg#00001

video.gatos.devel

Subject: ATI Radeon 9600 and Gatos


I took some advice from the gatos-devel mailing list, and upgraded
my Debian 3.1 Sarge to the new Debian Testing version called Etch
(this uses kernel 2.6.15-1-486), and proceeded to try to get the Gatos
packages to work on this ATI Radeon 9600. I finally got stuck on
the compile of km. Here is what I did, up to this point.
Perhaps someone could help me figure out what to do next.

I downloaded and installed linux-kernel-headers-2.6.15-1-486 and
linux-source-2.6.15, also Debian pkgs.
Then I downloaded and installed ATI.4.4.0: X.org 6.7.0 driver from Gatos.

Then I tried compiling km-0.6.1.
I got this error:
/usr/src/km/km.c:1026: error: ‘PCI_DEVICE_ID_ATI_RADEON_LE’ undeclared here
(not in a function)
/usr/src/km/km.c:1028: error: ‘PCI_DEVICE_ID_ATI_RADEON_LF’ undeclared here
(not in a function)

So then I looked up the following info from various spots in the
Xorg.0.logfile
ATI Radeon 9600 AP (AGP),
(II) Primary Device is: PCI 01:00:0
(II) ATI: Candidate "Device" section "ATI Technologies, Inc. RV350 AP
[Radeon 9600]".
(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found
(--) Chipset ATI Radeon 9600 AP (AGP) found
(--) RADEON(0): Chipset: "ATI Radeon 9600 AP (AGP)" (ChipID = 0x4150)
(II) RADEON(0): Detected Rage Theatre as device 1 on VIP bus with id
0x4d4a1002
(II) RADEON(0): Detected Rage Theatre revision 00000001
(II) RADEON(0): Microcode: Use default microcode type: BINARY
(EE) RADEON(0): Microcode: cannot load microcode
(II) RADEON(0): Rage Theatre disabled
(II) PCI: 01:00:0: chip 1002,4150 card 1002,4722 rev 00 class 03,00,00 hdr
80
(II) PCI: 01:00:1: chip 1002,4170 card 1002,4723 rev 00 class 03,80,00 hdr
00

Then I edited km.c and modified the defines and the table
static struct pci_device_id km_pci_tbl [].
I added the following 2 defines to the list:
#ifndef PCI_DEVICE_ID_ATI_RADEON_AP
#define PCI_DEVICE_ID_ATI_RADEON_AP 0x4150
#endif
#ifndef PCI_DEVICE_ID_ATI_RADEON_AP2
#define PCI_DEVICE_ID_ATI_RADEON_AP2 0x4170
#endif

And I removed most of the entries from the struct, adding the
following 2 for my ATI Radeon 9600:
{PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_AP,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, HARDWARE_RADEON},
{PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_AP2,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, HARDWARE_RADEON},
Then I was able to compile km.

Then it was time to compile ffmpeg-0.4.8.
However now I got an error that I don't know how to fix.
Compile error:
In file included from avcodec.h:14,
from common.c:27:
common.h:66: error: array type has incomplete element type
common.h:70: error: array type has incomplete element type
make[1]: *** [common.o] Error 1
make[1]: Leaving directory `/usr/src/ffmpeg-0.4.8/libavcodec'

In ffmpeg subdir libavcodec file common.h lines 64-70
are the following:
struct AVOption;
#ifdef HAVE_MMX
extern const struct AVOption avoptions_common[3 + 5];
#else
extern const struct AVOption avoptions_common[3];
#endif
extern const struct AVOption avoptions_workaround_bug[11];

Can I fix this somehow? Add some other "workaround"?
Perhaps I need a newer ffmpeg, but it has to have the source code.
At the ffmpeg website, you need something called "svn" which I
don't know what it is, and even if I did, I don't know if it's
going to work with Avview or not.
Can anyone help me get past this block?

- persall88@xxxxxxxxxxxxx



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Gatos-devel mailing list
Gatos-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/gatos-devel
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise