PDA

View Full Version : ATI driver + FC3 xorg, a hint...



loop
12th November 2004, 03:48 PM
Hello,

In order to get Your ATI accelerated I recommend to:
rpm -Uvh --allfiles --oldpackage --replacefiles --replacepkgs --repackage <Xorg.6.7>.rpm
or simply
rpm -Uvh --allfiles --force --repackage <Xorg.6.7>.rpm

where <Xorg.6.7>.rpm are all Xorg.6.7 from FC2 (updates).

The only thing I have resigned from was openmotif-devel-2.2.3-6.i386 (and of course xorg-x11-deprecated-libs-devel-6.8.1-12.i386)

Instalation/compilation of (fglrx-4.3.0-3.14.6.i386.rpm) the module goes smooth... acceleration ok. (My openGL stuff compiles and runs very well).

Until ATI will produce a new driver its fine... (Your Xorg.6.8 packages (--repackage switch) You'll most probably find (depends on Your custom rpm config) in default dir: /var/spool/repackage

I hope this will help, someone...

My best,
loop

PS Personaly I think moving to 6.8 was made to early... :)

zAo
12th November 2004, 04:03 PM
Do my eyes fool me? :eek: No one ever got it to work (Radeon + Xorg 6.8), but you did? :cool:

loop
12th November 2004, 04:11 PM
I have installed FC3 just today...
Compiled the Ati module... but...
It (the Xsrv) was working until any proc would call any of dri calls/checks (even the fglrxinfo would crash the X).
A workaround was to disable dri in the xorg.conf but You pay the price of no direct when oGL-ing...
As I need oGL accelerated I've step back with the Xorg to 6.7.
So now it's rather FC3 +X6.7 +ATIdri(on Radeon 9700Mobility).

b!n42y
12th November 2004, 04:31 PM
well good work it seems however as though u have just joined - 5 posts ?
if any1 manages to do this with success id be happy to hear from them.
i was thinking about getting rid of xorg 6.8 but had no idea how to, so i went back to fc2.
good work (me newb)

lupu
12th November 2004, 04:38 PM
After searching through multiple forums and finding it "not possible" to have fglrx working(fully) in xorg 6.8 I took some time to see why it worked in Gentoo.
Every time I'd log in my X session would close(and restart due to runlevel 5), and /var/log/messages would print error messages:
Nov 11 18:09:37 duality kernel: allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.
Seems like the finger pointing goes to xorg 6.8 in combination with xscreensaver. After disabling xscreensaver from my kde autostart everything works just fine. No magic involved here :)
My version of fglrx is 3.14.6, and yes, this is FC3.

zAo
12th November 2004, 04:49 PM
After searching through multiple forums and finding it "not possible" to have fglrx working(fully) in xorg 6.8 I took some time to see why it worked in Gentoo.
Every time I'd log in my X session would close(and restart due to runlevel 5), and /var/log/messages would print error messages:
Nov 11 18:09:37 duality kernel: allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.
Seems like the finger pointing goes to xorg 6.8 in combination with xscreensaver. After disabling xscreensaver from my kde autostart everything works just fine. No magic involved here :)
My version of fglrx is 3.14.6, and yes, this is FC3.
Could you please make a work-around and put it in How-To (http://www.fedoraforum.org/forum/forumdisplay.php?f=12)? Thanks :cool:

b!n42y
12th November 2004, 04:55 PM
i dont think u can have xorg 6.8 ati drivers and direct rendering enabled for it to all work smoothly, the best suggestion ive seen so far apart from staying with fc2 and waiting for ati's new drivers late nov early dec is to do what loop suggested.
However i could be wrong.

lupu
12th November 2004, 05:42 PM
I realize now that my post was in the wrong secion, so I removed it from here.
The initial message was about 3d acceleration, and my post was(mainly) in the interest of getting dualhead working.
Sorry if I got your hopes up :)

loop
12th November 2004, 05:57 PM
i was just wanted to ask if U ever saw this message...

No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0

i guess not.. :(
that would be a good news, though... if everything went so nice... too bad...
my best,
m.

telmo
18th November 2004, 08:30 AM
I'm such a noob!!! Can you please do a how_to for us noobs??? PLEASE !!!

I'm trying to get my ATI Mobility Radeon 9600 to work with open gl since Fedora Core 3 was released... :(

ogetbilo
18th November 2004, 09:13 AM
Do my eyes fool me? :eek: No one ever got it to work (Radeon + Xorg 6.8), but you did? :cool:
I actually didn't understand what you guys say.
I have radeon+xorg 6.8 and my FC3 fresh install has perfect 3D accelleration
?:confused:

Theradoor
18th November 2004, 09:30 AM
Im waiting for the never drivers ;)

jcridge
18th November 2004, 06:11 PM
I actually didn't understand what you guys say.
I have radeon+xorg 6.8 and my FC3 fresh install has perfect 3D accelleration
?:confused:


I'm curious. Run GLXGEARS and tell us your FPS. :confused:

ogetbilo
19th November 2004, 03:27 AM
I'm curious. Run GLXGEARS and tell us your FPS. :confused:
it is around 240-260.
it was 220 fps when I used Fc2 with external drivers.
without 3d acceleration it was about 40-60.

nandowong
19th November 2004, 06:22 PM
it is around 240-260.
it was 220 fps when I used Fc2 with external drivers.
without 3d acceleration it was about 40-60.


same here, in fedora 2 my glxgears ranged from 60 to 200 fps but it made my processor usage step up to 1.79 and 100% usage on my lapton (radeon mobility u1). In fc3 it now shows 197-220 while my cpu frequency stays at 530mhz and about zero % usage. Tux racer works great too. Any good 3d games I can try? counter strike?

jcridge
20th November 2004, 12:00 AM
it is around 240-260.
it was 220 fps when I used Fc2 with external drivers.
without 3d acceleration it was about 40-60.

If you have even a moderate ATI Radeon (8500 - 9000) and 3D acceleration is working correctly you should see it jump up around 1200 - 1500 fps depending on your card. My Dell 600m with a Radeon 9000, 64 MB VRAM and the ATI drivers from ATI's website would consistently get in the high 1400 fps. When it wasn't working correctly (using FCs built-in "radeon" or "ati" drivers) I got between 285 - 320 fps.

The score you posted makes me believe your 3D acceleration is not working correctly (unless your video card is an ATI Rage 3D or something similar, but even then it should be a little higher than what you posted.

We'll just have to wait on the new ATI drivers to come out. I hear they are expected toward the end of November.

ogetbilo
20th November 2004, 09:07 AM
If you have even a moderate ATI Radeon (8500 - 9000) and 3D acceleration is working correctly you should see it jump up around 1200 - 1500 fps depending on your card. My Dell 600m with a Radeon 9000, 64 MB VRAM and the ATI drivers from ATI's website would consistently get in the high 1400 fps. When it wasn't working correctly (using FCs built-in "radeon" or "ati" drivers) I got between 285 - 320 fps.

The score you posted makes me believe your 3D acceleration is not working correctly (unless your video card is an ATI Rage 3D or something similar, but even then it should be a little higher than what you posted.

We'll just have to wait on the new ATI drivers to come out. I hear they are expected toward the end of November.
my card is plain "ati radeon". and that's all.:)

jcridge
20th November 2004, 06:11 PM
my card is plain "ati radeon". and that's all.:)

That is a pretty significant jump in performance for a straight radeon. I guess with my card I will just have to wait for the new ATI drivers. :( Hopefully they will be released soon.

maeltor
20th November 2004, 11:50 PM
Hey guys.

Somewhat linux newbie here. Spent a lot of time on FreeBSD w/ no X. Moving to Linux to replace my windows boxen w/ ATI Radeon 9500.

After all the posts i've read, the (3) different distros tried, and all the kernel module patches i could find applied, I can't get around the following error. I've spent a week and hope someone else could help me with this.


[root@localhost build_mod]# sh make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
XFree86 drm includes at /lib/modules/2.6.9-1.678_FC3/build/include/../drivers/char/drm do not fit this driver.
This driver is designed to only work with X4.1.0 or higher.
You can match this by getting Linux kernel 2.4.8 or higher.

Can anyone help me with this, or point me in the right direction. I've tried Rage3d, this forum, linuxquestions.org, kerneltrap, etc etc.

Can't fix it. Running FC3 i386. Thanks guys.

b!n42y
21st November 2004, 01:02 AM
ok the latest ati drivers dont work with xorg 6.8 which is what u have if u have fc3 and u have not rolled back to 6.7
Apparently ATI will be releasing new drivers to be complaint with 6.8 at the end of this month or early Dec..so be patient like the rest of the ATI community :(

b!n42y
21st November 2004, 01:05 AM
we are waiting for ATI to release drivers which are compatible with FC3

maeltor
21st November 2004, 01:20 AM
I've rolled back to Xorg 6.7

Basically, I haven't encountered this problem before in reading all these posts & guides, so I was hoping someone could help. Does anyone even know what that error means???

If I have to be patient, I can be, its just annoying. I have half a mind to upgrade to an Nvidia Geforce 6600GT. At least Nvidia doesn't completely have their heads up their asses when it comes to Linux support.

-Josh

b!n42y
21st November 2004, 09:11 AM
ok try to rmod the vid drivers b4 u run the make, i noticed this error once b4 its like the person who wrote the how to put 1 step b4 the other......hope this helps(bsaically ure stopping the current vid drivers (i think ))

nuopus
21st November 2004, 09:23 AM
Okay you obviously did not read his post. XORG 6.7 is known to work with the ATI fglrx drivers .. it was broken with the release of 6.8. As a matter of fact I was running XORG 6.7 with good ATI accell through fglrx when I was using gentoo .... I just made sure not to upgrade to 6.8.

So he isnt the only one to get it to work with 6.7 ... it is a very easy procedure to get fglrx working in xorg 6.7. I just hope ATI comes out with their drivers to support 6.8 though.

b!n42y
21st November 2004, 01:44 PM
ya i just reply to ppl on the hope that sumhow my advice will help ?
just to CLARIFY things
yes 6.7 and new drivers work - this is the howto u should be using http://www.fedorafaq.org/#radeon if u still get that error do the rmod step b4 the preceding step which i think is make.

maeltor
21st November 2004, 08:57 PM
Thanks for the advice guys,

If it works when i get home I'll post some messages to the HowTo creators to get them to add that troubleshooting step to their guides.

<--Praying for X6.8 support though. I had to give up some stuff that I wanted to roll back.

-Josh

b!n42y
21st November 2004, 09:56 PM
note please i just realised that the howto has changed so u wont need patches etc, just remember to uninstall previous drivers which is the equivalent of rmod and what i was talking about. But yeah just uninstall those drivers before u start this Howto.

maeltor
21st November 2004, 10:20 PM
Here is my output of lsmod:
I can't find the RADEON driver that is already installed? Am i just on crack here....

[root@localhost joshb]# lsmod
Module Size Used by
nls_utf8 1985 1
vmnet 28592 0
vmmon 44992 0
parport_pc 24705 0
lp 11565 0
parport 41737 2 parport_pc,lp
autofs4 24005 0
i2c_dev 10433 0
i2c_core 22081 1 i2c_dev
rfcomm 36701 0
l2cap 25285 5 rfcomm
sunrpc 160421 1
ipt_REJECT 6465 1
ipt_state 1857 2
ip_conntrack 40693 1 ipt_state
iptable_filter 2753 1
ip_tables 16193 3 ipt_REJECT,ipt_state,iptable_filter
button 6481 0
battery 8517 0
ac 4805 0
md5 4033 1
ipv6 232705 10
joydev 8705 0
hci_usb 15041 2
bluetooth 46917 7 rfcomm,l2cap,hci_usb
ohci1394 35033 0
ieee1394 302869 1 ohci1394
uhci_hcd 31449 0
ehci_hcd 31557 0
snd_via82xx 27237 3
snd_ac97_codec 64401 1 snd_via82xx
snd_pcm_oss 47609 0
snd_mixer_oss 17216 3 snd_pcm_oss
snd_pcm 97993 2 snd_via82xx,snd_pcm_oss
snd_timer 29765 1 snd_pcm
snd_page_alloc 9673 2 snd_via82xx,snd_pcm
gameport 4801 1 snd_via82xx
snd_mpu401_uart 8769 1 snd_via82xx
snd_rawmidi 26725 1 snd_mpu401_uart
snd_seq_device 8137 1 snd_rawmidi
snd 54053 11 snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_o ss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,s nd_seq_device
soundcore 9889 3 snd
3c59x 36585 0
r8169 19785 0
floppy 58609 0
dm_snapshot 17029 0
dm_zero 2369 0
dm_mirror 23341 2
ext3 116809 2
jbd 74969 1 ext3
dm_mod 54741 6 dm_snapshot,dm_zero,dm_mirror
sata_promise 9669 0
libata 40005 1 sata_promise
sd_mod 16961 0
scsi_mod 118545 3 sata_promise,libata,sd_mod

b!n42y
21st November 2004, 10:28 PM
ok heres wot was in the old howto - rmmod radeon and rmmod fglrx, alternatively look up on google uninstalling vid drivers on linux, im just about to add icq to my contacts so if u have problems about something u can contact me on those as well, im a newb also but have gone thru this ati mess so i might have some more experience.

maeltor
23rd November 2004, 02:37 AM
radeon is not in my list of mods. Does FC3 compile it right in to the kernel. Is there a way to figure that out?

Naj_Geetsrev
23rd November 2004, 01:48 PM
Help! I can't revert to 6.7 because of dependancy problems (i can't post them now, i am at school right now). Wicht 6.7 packages should i download, and exactly tich syntax should i use?

I'm sorry if i'm not absolutely clear, i'm dutch and my english needs improvement.

cRuNcHiE
10th December 2004, 06:08 PM
I am at this stage as well and get that exact error. Any ideas guys? Ive followed the example exactly but need to overcome this hurdle :(

cheers

crunchie



Hey guys.

Somewhat linux newbie here. Spent a lot of time on FreeBSD w/ no X. Moving to Linux to replace my windows boxen w/ ATI Radeon 9500.

After all the posts i've read, the (3) different distros tried, and all the kernel module patches i could find applied, I can't get around the following error. I've spent a week and hope someone else could help me with this.


[root@localhost build_mod]# sh make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
XFree86 drm includes at /lib/modules/2.6.9-1.678_FC3/build/include/../drivers/char/drm do not fit this driver.
This driver is designed to only work with X4.1.0 or higher.
You can match this by getting Linux kernel 2.4.8 or higher.

Can anyone help me with this, or point me in the right direction. I've tried Rage3d, this forum, linuxquestions.org, kerneltrap, etc etc.

Can't fix it. Running FC3 i386. Thanks guys.

loop
16th December 2004, 09:50 PM
Very quick and VERY dirty solution:
If You have complete Xorg 6.7 installed... (+ the kernel sources...)
Open make.sh with Your favourite text editor... find the line with the string:
"This driver is designed to only work with X4.1.0 or higher."
Force the if statement producing this output message to be always true...
(for example set the parameter to the expected value...)
Run the script again.

regards,
loop

Naj_Geetsrev
21st December 2004, 06:27 PM
Okay, can someone tell me exactly what i have to do (maybe in a howto style). I have broken my FC3 install several times in the past. Given it up, used Ubuntu for a while but I missed Fedora. I have a (for me) perfect install, and I'm not planning to destroy it.

I have downloaded all the Xorg.6.7 packages from FC2 (or, I believe i have) what do i type in the terminal?
rpm -Uvh --allfiles --force --repackage *.rpm or something like that?

Or do i have to do each rpm seperatly?

Many thanks in advance :)

da_flo
23rd December 2004, 12:23 AM
Hello everyone.

Today, I have installed my Fedora Core 3 on my brand new laptop, and I have spent the day looking for a way to get 3D acceleration for my ATI card. I found several pages with all the information I need, but as I figured through this thread ( and http://www.fedoraforum.org/forum/showthread.php?t=27323, I need to downgrade from xorg 6.8 to xorg 6.7.

I think it would be nice to do a howto or at least *detailed* list of commands to type ( since it's from FC3's xorg to FC2's xorg, it should be the same for everyone ), because the information in the threads of this forum is not enough... I tried and had a bunch of dependency problems ( openmotif-devel-2.2.3-6.i386 and xorg-x11-deprecated-libs-devel-6.8.1-12.i386 for exmaple, of course ), and trying to force the thing I ended up with totally breaking my xorg installation :'( ( Well, this shows that I am not a linux expert yet, but... ;) )

So if anyone has down this downgrade and can help to do it *cleanly*, it would be greatly appreciated.

Thanks.

Naj_Geetsrev
23rd December 2004, 10:45 AM
Kicking this topic from Laptop too Hardware would be a smart thing to do. Since this concerns every ATI owner and not only the laptop owners. :).

da_flo
23rd December 2004, 12:23 PM
Well, I tried to get xorg working...

X woudln't start after I brutally downgraded to xorg 6.7 and the Xorg.0.log tells me that it fails because it cannot load the default fixed font... ( although I had installed all the xorg Fedora 2 rpms... ). Then I tried to remove xorg 6.7 and install xorg 6.8.1 back ( from the rpms on the FC3 cds ), but I couldn't get it to work, and got the same error about fonts missing.

I could perhaps have repaired that, but I chose this morning to reinstall my FC3.. Now I tried to do another downgrade, following the advice in this thread, but this won't work :

here are the rpms in my current directory :

xorg-x11-100dpi-fonts-6.7.0-2.i386.rpm
xorg-x11-6.7.0-2.i386.rpm
xorg-x11-75dpi-fonts-6.7.0-2.i386.rpm
xorg-x11-base-fonts-6.7.0-2.i386.rpm
xorg-x11-cyrillic-fonts-6.7.0-2.i386.rpm
xorg-x11-devel-6.7.0-2.i386.rpm
xorg-x11-doc-6.7.0-2.i386.rpm
xorg-x11-font-utils-6.7.0-2.i386.rpm
xorg-x11-ISO8859-14-100dpi-fonts-6.7.0-2.i386.rpm
xorg-x11-ISO8859-14-75dpi-fonts-6.7.0-2.i386.rpm
xorg-x11-ISO8859-15-100dpi-fonts-6.7.0-2.i386.rpm
xorg-x11-ISO8859-15-75dpi-fonts-6.7.0-2.i386.rpm
xorg-x11-ISO8859-2-100dpi-fonts-6.7.0-2.i386.rpm
xorg-x11-ISO8859-2-75dpi-fonts-6.7.0-2.i386.rpm
xorg-x11-ISO8859-9-100dpi-fonts-6.7.0-2.i386.rpm
xorg-x11-ISO8859-9-75dpi-fonts-6.7.0-2.i386.rpm
xorg-x11-libs-6.7.0-2.i386.rpm
xorg-x11-libs-data-6.7.0-2.i386.rpm
xorg-x11-Mesa-libGL-6.7.0-2.i386.rpm
xorg-x11-Mesa-libGLU-6.7.0-2.i386.rpm
xorg-x11-sdk-6.7.0-2.i386.rpm
xorg-x11-syriac-fonts-6.7.0-2.i386.rpm
xorg-x11-tools-6.7.0-2.i386.rpm
xorg-x11-truetype-fonts-6.7.0-2.i386.rpm
xorg-x11-twm-6.7.0-2.i386.rpm
xorg-x11-xauth-6.7.0-2.i386.rpm
xorg-x11-xdm-6.7.0-2.i386.rpm
xorg-x11-xfs-6.7.0-2.i386.rpm
xorg-x11-Xnest-6.7.0-2.i386.rpm
xorg-x11-Xvfb-6.7.0-2.i386.rpm

Then I type ( logged in as root in runlevel 3) :
rpm -Uhv --allfiles --force --repackage xorg*.rpm

And here are the errors I get : ( sorry for the french output... I think the error message are still understandable ;) )

attention: xorg-x11-100dpi-fonts-6.7.0-2.i386.rpm: signature V3 DSA: NOKEY, key ID 4f2a6fd2
erreur: Dépendances requises:
Glide3 >= 20010520 est nécessaire pour xorg-x11-6.7.0-2.i386
xorg-x11-libs <= 6.7.99.901 entre en conflit avec xorg-x11-deprecated-libs-devel-6.8.1-12.i386
xorg-x11-devel = 6.8.1-12 est nécessaire pour (déjà installé) xorg-x11-deprecated-libs-devel-6.8.1-12.i386
libXdamage.so.1 est nécessaire pour (déjà installé) vino-2.8.1-1.i386
libXfixes.so.3 est nécessaire pour (déjà installé) vino-2.8.1-1.i386

So I'd like to know how to bypass this errors, without brutally screwing everything up of course :D ( that, I can do myself :D )

Any help will be greatly welcome :)

tr0nix
4th January 2005, 04:16 PM
Hi guys

Stupid question from a Fedora-Newbie:
May I use the "old" YUM core 2 repository and merge it with the FC3 Repository to install the "old" xorg? I'm gonna reinstall FC3 this evening anyway so I could also install it without xorg 6.8, and install xorg 6.7 via rpm.

How can I keep it so it doesn't gets updated with YUM? (I just didn't find a good YUM Howto on the net sorry)

Regards
Joel

emarcellus
19th January 2005, 03:32 AM
Hi Everyone. I just noticed a new driver on the ATI site for Xorg 6.8
I am going to erase Mandrake 10.1 and try FC3 again with this driver on my laptop.

Ed

loop
20th January 2005, 02:47 PM
Let us finish this thread with:

http://www2.ati.com/drivers/linux/linux_8.8.25.html

Regards,
loop_

esmartuek
20th March 2005, 03:35 AM
hey, I'm finally back to using Fedora now that I had my hard drives replaced under warranty when my raid array failed under windows.
anyways, I've successfully completely finished setting up Fedora in less than 1 day (a first for me) I decided to give the livna drivers a try... that was freaking painless beyond belief.
[esmar@localhost ~]$ glxgears
10887 frames in 5.0 seconds = 2177.400 FPS
13075 frames in 5.0 seconds = 2615.000 FPS
13361 frames in 5.0 seconds = 2672.200 FPS
13362 frames in 5.0 seconds = 2672.400 FPS
13360 frames in 5.0 seconds = 2672.000 FPS
13361 frames in 5.0 seconds = 2672.200 FPS
13360 frames in 5.0 seconds = 2672.000 FPS
13415 frames in 5.0 seconds = 2683.000 FPS

Prostar 8794 (DP87) "loaded"
ATI Radeon Mobility 9700 Pro Turbo 256MB DDR
P4 3.4Ghz Norwood
1GB DDR400

I'm finally a happy person.... now I just need to find a driver for my wireless lan (something I gave up on a long time ago) I'm off to go play HL2 and UT2004 in full glory

-Esmartuek