PDA

View Full Version : ATI && FC5test2


brandor
2006-01-21, 07:41 PM CST
Has anyone found an ATI driver that works with fc5test2 yet?

I've been looking...

I downloaded the ATI package and compiled myself, but get errors trying to load the module...

FATAL: Error inserting fglrx (/lib/modules/2.6.15-1.1826.2.10_FC5smp/kernel/drivers/char/drm/fglrx.ko): Invalid module format

ryuheixys
2006-01-21, 08:47 PM CST
get this:
http://rpm.livna.org/fedora/4/i386/SRPMS.lvn/ati-fglrx-8.21.7.1-0.lvn.1.4.src.rpm
and see if you can follow the instruction on this page:
http://rpm.livna.org/kernel-modules.html

Whenever I build my own kernel for FC I do this using the livna rpms. I'm not sure if it'll work but you might as well give it a try.

brandor
2006-01-21, 09:19 PM CST
Thanks! I'll give that a try :)

brandor
2006-01-22, 03:16 PM CST
Any idea why I get this error?

+ bash make.sh verbose
grep: /usr/src/kernels/2.6.15-1.1826.2.10_FC5smp-i686/include/linux/compile.h: No such file or directory
ATI module generator V 2.0
==========================
initializing...
kernel includes at /usr/src/kernels/2.6.15-1.1826.2.10_FC5smp-i686/include not found or incomplete
file: /usr/src/kernels/2.6.15-1.1826.2.10_FC5smp-i686/include/linux/version.h
error: Bad exit status from /var/tmp/rpm-tmp.89568 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.89568 (%build)

Stuck there for now... all the files are there like they are supposed to be... I had to make a symlink from /usr/src/linux to the correct kernel directory...

Thanks!

ryuheixys
2006-01-22, 03:24 PM CST
yeah, I'd say that the thing is missing the kernel-devel packages
I"m not sure what its called exactly, but you should be able to find the rpm in the ISO you downloaded to install FC5 test 2 .
for example:
http://download.fedora.redhat.com/pub/fedora/linux/core/test/4.91/i386/os/Fedora/RPMS/kernel-devel-2.6.15-1.1826.2.10_FC5.i586.rpm
or
http://download.fedora.redhat.com/pub/fedora/linux/core/test/4.91/i386/os/Fedora/RPMS/kernel-devel-2.6.15-1.1826.2.10_FC5.i686.rpm
depending on the kernel version you have.
if thats not it, I dont really know
good luck

brandor
2006-01-22, 03:30 PM CST
yum list kernel-devel
Loading "installonlyn" plugin
Setting up repositories
extras-dev: ################################################## 2/2
Reading repository metadata in from local files
Installed Packages
kernel-devel.i686 2.6.15-1.1864_FC5 installed
kernel-devel.i686 2.6.15-1.1826.2.10_FC5 installed
Available Packages
kernel-devel.i586

That's the weird part, I had to install those a while back... Why is it not seeing that it's there? /boggle

ryuheixys
2006-01-23, 01:31 AM CST
ahhh, I see now that you are running an SMP kernel. I think that may be affecting it. you should see if you can find the kernel-devel for the SMP kernel that you are running. I'm not 100% sure on this but that would be a good idea. Also, there maybe a parameter to tell the build system to referr to the kernel source directory for the normal single processor kernel.
anyway, good luck!

brandor
2006-01-23, 07:36 AM CST
Bleh.. I should have seen that! Thanks for pointing it out.

Thanks again!

ryuheixys
2006-01-23, 01:43 PM CST
This is it I think:
http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/kernel-smp-devel-2.6.15-1.1869_FC5.i686.rpm
try this!

brandor
2006-01-23, 01:58 PM CST
Yep, I found that one. Didn't work though. Still couldn't load the module.

Oh well. I can wait a couple of months heh.

Thanks for all of your help. :)

codergeek42
2006-01-23, 02:10 PM CST
What type of card do you have? X.org has experimental built-in R300 DRI drivers for some newer cards (such as the 9500 through 9800 series). I'm on a Radeon 9200 (fully supported through the R200 drivers which have been part of X.org/XFree86 for a long time), so I'm not sure how exactly you could go about enabling this driver if it is not already enabled. You could check the radeon(4) man page for more information on how to configure your xorg.conf file:$ man 4 radeonHope that helps!

brandor
2006-01-23, 02:44 PM CST
I've already tried the R300 drivers. Mesa fails to compile.

I'm not at home, so I can't give the error.

Thanks for the suggestion!

*edit*
9800XT btw

LaKing
2006-02-02, 05:44 AM CST
We need to get that working folks.

The problem is that there is no radeon driver for xorg 7.0 yet

here is a wiki (http://wiki.archlinux.org/index.php/ATI_Radeon_8.20.8_and_Xorg_7) but dont understand that packman pacage thingie.

dishkuvek
2006-02-03, 08:56 AM CST
pacman is the package manager for Arch Linux. You would not be able to use it anyway, if you are going to follow the directions, follow the area they call the "hard way." Although, it looks a bit hairy.

zarthon
2006-02-23, 06:42 AM CST
The radeon driver called "radeon" that works for me using an all in wonder card with the RV350 chipset.
I have not tested if it's 3d accellerated but it seems that 2d is accelerated quite nicely.
Here is that section of the one working version of my xorg.conf
<------- this works!------>
Section "Device"
Identifier "Videocard0"
Driver "radeon"
BoardName "VGA compatible controller: ATI Technologies Inc RV350 AR [Radeon 9600]"
EndSection

Zigzagcom
2006-02-23, 08:18 AM CST
Don't mean to interrupt the thread, but maybe something related...
I have FC5T3 installed on a VMware virtual server and have been trying to install vmware-tools.
I get through the process up to the point where it is asking me for the directory for the linux header files. The default would be /usr/src/include, according to vmware-tools, but I've read a bit and suspect that they would be in /usr/src/kernels/2.6.15-1.version/include.
I've tried to define that path, but still no go. Even creating a link from the above to /usr/src/include
didn't work.

Something is missing...(I have kernel-devel installed as well)
It did work with FC4...

ryuheixys
2006-02-25, 11:51 PM CST
I finally had the time to install FC5 test release 3 (i was using fc4) so I tried doing some of the things mentioned above....
I created a set of RPMs....that do not work due to the problem of the driver detecting that its an xorg 7 and not an xorg 6.8....
as a result, I cant load the drivers. The Arch site mentioned used an older 8.20 version so I will try recompiling that one very soon to see if this is possible.
Anyway, cheers and good luck!

ryuheixys
2006-02-26, 01:00 AM CST
Okay, wow I got it all working now on my computer... amazing!
try these RPMs and if they don't fit your kernel recompile them using:
rpmbuild -bb SPECFILE.spec --target i686 (or whatever your computer is)
good luck!:

LINK:
http://www.leemhuis.info/files/fedorarpms/MISC.lvn/graphics/

PS: I had to dig through a lot of redhat mailling things and come up with this. I have a feeling this is someone's personal server so plz dont kill it. Also, this is probably something thats pretty close to what Livna is going to produce.

Flyboy917
2006-03-07, 07:04 PM CST
Okay, wow I got it all working now on my computer... amazing!
try these RPMs and if they don't fit your kernel recompile them using:
rpmbuild -bb SPECFILE.spec --target i686 (or whatever your computer is)
good luck!:

LINK:
http://www.leemhuis.info/files/fedorarpms/MISC.lvn/graphics/

PS: I had to dig through a lot of redhat mailling things and come up with this. I have a feeling this is someone's personal server so plz dont kill it. Also, this is probably something thats pretty close to what Livna is going to produce.


Specfile...this is way over my head. I don't see any specfiles in the link. Help anyone?

leethao
2006-03-07, 08:44 PM CST
Install the src.rpms which will put the spec files in /usr/src/.../SPEC and the associated source files in ../SOURCE. run rpmbuild against the spec file you want under ../SPEC

ryuheixys
2006-03-07, 10:10 PM CST
oh, i forgot but you also need to install a bunch of xorg devel packages
but here's the basic instruction:
1. get these two files
fglrx-kmod-8.22.5-0.lvn.1.2.6.15_1.1928_FC5.src.rpm
xorg-x11-drv-fglrx-8.22.5-0.lvn.1.i386.rpm
2. rpm -ivh fglrx-kmod-8.22.5-0.lvn.1.2.6.15_1.1928_FC5.src.rpm xorg-x11-drv-fglrx-8.22.5-0.lvn.1.i386.rpm
3. cd /usr/src/redhat/SPEC/
4. rpmbuild -bb fglrx-kmod.spec --target i686 (if this spits errors at you, that means that you need to install all the devel files that are neccessary, and I'm not going into this cause this should be different from one person to another)
5. cd /usr/src/redhat/RPMS/i686/
6. rpm -ivh kmod-fglrx-8.22.5-0.lvn.1.2.6.15_1.2008_FC5.i686.rpm --nodeps (kernel version number will differ from person to person)
7. manually edit your xorg.conf file in /etc/X11/ to fit your machine
8. su -
9. gdm-restart
10. all should work unless something went wrong
good luck!

Flyboy917
2006-03-08, 08:52 PM CST
oh, i forgot but you also need to install a bunch of xorg devel packages
but here's the basic instruction:
1. get these two files
fglrx-kmod-8.22.5-0.lvn.1.2.6.15_1.1928_FC5.src.rpm
xorg-x11-drv-fglrx-8.22.5-0.lvn.1.i386.rpm
2. rpm -ivh fglrx-kmod-8.22.5-0.lvn.1.2.6.15_1.1928_FC5.src.rpm xorg-x11-drv-fglrx-8.22.5-0.lvn.1.i386.rpm
3. cd /usr/src/redhat/SPEC/
4. rpmbuild -bb fglrx-kmod.spec --target i686 (if this spits errors at you, that means that you need to install all the devel files that are neccessary, and I'm not going into this cause this should be different from one person to another)
5. cd /usr/src/redhat/RPMS/i686/
6. rpm -ivh kmod-fglrx-8.22.5-0.lvn.1.2.6.15_1.2008_FC5.i686.rpm (kernel version number will differ from person to person)
7. manually edit your xorg.conf file in /etc/X11/ to fit your machine
8. su -
9. gdm-restart
10. all should work unless something went wrong
good luck!


Step 2 results:
[root@xxxxxxx]# rpm -ivh fglrx-kmod-8.22.5-0.lvn.1.2.6.15_1.1928_FC5.src.rpm xorg-x11-drv-fglrx-8.22.5-0.lvn.1.i386.rpm
error: Failed dependencies:
kmod-fglrx >= 8.22.5 is needed by xorg-x11-drv-fglrx-8.22.5-0.lvn.1.i386

Try again one rpm at a time:
rpm -ivh xorg-x11-drv-fglrx-8.22.5-0.lvn.1.i386.rpm error: Failed dependencies:
kmod-fglrx >= 8.22.5 is needed by xorg-x11-drv-fglrx-8.22.5-0.lvn.1.i386
[root@tippy jt]# rpm -ivh fglrx-kmod-8.22.5-0.lvn.1.2.6.15_1.1928_FC5.src.rpm 1:fglrx-kmod warning: user thl does not exist - using root
warning: group cttest does not exist - using root
warning: user thl does not exist - using root
warning: group cttest does not exist - using root
warning: user thl does not exist - using root
warning: group cttest does not exist - using root
warning: user thl does not exist - using root
warning: group cttest does not exist - using root
warning: user thl does not exist - using root 98%)
warning: group cttest does not exist - using root
########################################### [100%]
warning: user thl does not exist - using root
warning: group cttest does not exist - using root

Do I need to add the group cttest? Do I need to create a user thl?
Gees, I really want to get this working because I'm guessing I'm going to need it when FC5 final comes out. Fedora is under a deadline, ATI is not.

Thanks
Flyboy

ryuheixys
2006-03-08, 10:16 PM CST
sorry about that, I think i got somethings mixed up...
anyway, you dont have to create another user so dont worry
just follow the rest of the steps.
make sure that you install the kernel module that you create (in steps 2-5) before the fglrx libraries
good luck

PS: I also forgot to tell you that you need to do --nodeps on installing the kernel-module part (kmod-fglrx....) so i added that to the intructions

Flyboy917
2006-03-09, 08:17 PM CST
Well, everything went acording to the script, yet I'm still showing Mesa drivers for fglrxinfo.
Here is my xorg:


Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Technologies Inc Radeon R300 [Radeon 9700 Pro] (Secondary)"
EndSection

Section "Device"
Identifier "ATI Graphics Adapter 0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig Screen 0"
Device "ATI Graphics Adapter 0"
Monitor "aticonfig Monitor 0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

Any thoughts without wasting days on this?

Flyboy917
2006-03-09, 09:43 PM CST
fglrxinfo:
more

fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.2)

Flyboy

ryuheixys
2006-03-10, 09:08 AM CST
have you enabled fglrx glx?
so become root and try this command
ati-fglrx-config-display enable
it however looks like your machine loaded the radeon driver
look at your Xorg log in in /var/log/
also I'm not 100% sure you can mix and match the open radeon driver and the closed fglrx in one xorg configuration (I havent read up on something like that so i'm not 100% sure)

AniMate
2006-03-28, 01:48 PM CST
Hi people,

I am not a great expert on the linux area , but my questions are where can I find matching files as in this post earlier is written:

'1. get these two files
--->fglrx-kmod-8.22.5-0.lvn.1.2.6.15_1.1928_FC5.src.rpm<---
--->xorg-x11-drv-fglrx-8.22.5-0.lvn.1.i386.rpm'<---

Because I went to the lvn pages and to the rpm search pages , but I just cannot find matching versions like 8.22.5-0 , I only found 8.23.7-3 for the fglrx and 8.23.7-1/2/4 for the xorg part.

Please can anyone help me or give me a link so that I can download the matching packages and then I can try to install them.

Also I already updated the kernel to 2.6.16 , is this a problem?

Greetz,

AniMate :D