LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   ATI DRIVERS WORK NOW! Kernel 2.6.11 (https://www.linuxquestions.org/questions/fedora-35/ati-drivers-work-now-kernel-2-6-11-a-327987/)

alesz 06-17-2005 08:20 AM

direct rendering not working.
 
i have ATI Radeon 9550 on KDE4, kernel is 2.6.11-1.27_FC3.

i somehow managed to install a fglrg kernel module (which is not the patched one suggested above!!) and it lists
when i do lsmod. but i don't get direct rendering to work, fps is about 200 with glxgears.

is the pached module somehow different?
yum already updated my installed module several times, but still nothing works.
in xorg.conf i tried to (independetely):
-set UseInternalAGPGART "on" or "off"
-set UseFastTLS to "2" or "3"
-turn off glx, dri modules,...

any clues?
Code:

glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect


Mirag3 06-17-2005 11:03 AM

ALRIGHT i figured it out! This setup doesnt work for 2.6.11-1.27_FC3 as far as i can tell. HOWEVER, there is a livna rpm that will do the trick. The only catch is that you have to install two rpms, the first is a dependency.

Go to this ftp server http://rpm.livna.org/fedora/3/i386/RPMS.unstable/ and dowload two packages in this order:

ati-fglrx-8.14.13.1-0.lvn.4.3.i386.rpm
kernel-module-fglrx-2.6.11-1.27_FC3smp-8.14.13.1-0.lvn.4.3.i686.rpm
(or you would download the non-smp kernel package if youre not running smp. to find out what youre running simply issue the command "uname -r")

After installing both rpms (you can even let mozilla config FC3 to do it if you want) simply reboot and run glxgears, if your fps is over 2000 - its working!

Note: If it isnt working then on startup you will see an error about how ati-fglrx failed to load.

antidelldude 06-17-2005 11:37 AM

Quote:

Originally posted by Mirag3
Sorry man, but i dont think it works for me, what kernel are you using, i got 2.6.11-1.27smp. I think i spelled everything right, and it still just freezes up heres my code (i saved it in my home dir):
Code:

Installed: gcc.i386 0:3.4.3-22.fc3
Dependency Installed: glibc-devel.i386 0:2.3.5-0.fc3.1 glibc-headers.i386 0:2.3.5-0.fc3.1 glibc-kernheaders.i386 0:2.4-9.1.87
Dependency Updated: cpp.i386 0:3.4.3-22.fc3 glibc.i686 0:2.3.5-0.fc3.1 glibc-common.i386 0:2.3.5-0.fc3.1 libgcc.i386 0:3.4.3-22.fc3
Complete!
[root@localhost andy]# rpm -Uvh --force ati.rpm
Preparing...                ########################################### [100%]
  1:fglrx_6_8_0            ########################################### [100%]
[root@localhost andy]# cd /lib/modules/fglrx/build_mod/
[root@localhost build_mod]# patch -p0 /home/andy/p1.patch


I KNEW IT! You did spell it wrong. patch -p0 /home/andy/p1.patch You are missing a variable.
It is [root@localhost build_mod]# patch -p0 </home/andy/p1.patch
Try that one out. As it says in my howto. I made the same mistake first time I tried it.:D

antidelldude 06-17-2005 11:40 AM

Quote:

Originally posted by Cypionate
I have a ati mobile 7500 graphics card in my IBM t42 and I can't get drivers to ever work for it. Any suggestions would be welcomed although I think I'm beat for now.
These Drivers are for the 8500 series and up. Sorry dude. I havn't done anything with the 7500 series as of yet but I will soon.

antidelldude 06-17-2005 11:44 AM

Re: direct rendering not working.
 
Quote:

Originally posted by alesz
i have ATI Radeon 9550 on KDE4, kernel is 2.6.11-1.27_FC3.

i somehow managed to install a fglrg kernel module (which is not the patched one suggested above!!) and it lists
when i do lsmod. but i don't get direct rendering to work, fps is about 200 with glxgears.

is the pached module somehow different?
yum already updated my installed module several times, but still nothing works.
in xorg.conf i tried to (independetely):
-set UseInternalAGPGART "on" or "off"
-set UseFastTLS to "2" or "3"
-turn off glx, dri modules,...

any clues?
Code:

glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect


There's your problem. Yum ATI fglrx modules rarely work because as the kernel changes so often, Yum can't keep up. If you happen to have the same kernel as the module go ahead and Yum install it. If not, Follow the directions at the beginning of this thread after you do a

yum remove fglrx

Mirag3 06-17-2005 04:56 PM

Quote:

Originally posted by antidelldude
I KNEW IT! You did spell it wrong. patch -p0 /home/andy/p1.patch You are missing a variable.
It is [root@localhost build_mod]# patch -p0 </home/andy/p1.patch
Try that one out. As it says in my howto. I made the same mistake first time I tried it.:D

AHH sorry, youre absolutely right!!! A lot of people use the '<' and '>' symbols to signify <replace your dir here>! so when i saw it i automatically didnt think much of it!. Ill try it as soon as a get a chance!

alesz 06-17-2005 05:20 PM

Re: Re: direct rendering not working.
 
it suddenly works for me, after following your steps.
i did not know that the modules could be so different.
i did yum remove fglrx, installed ati.rpm, patched with p0 and p1, installed and it really worked!!!

thank you a million times for answering my question and helping me out, i've been solving this problem about a month now...

ArkyMedia 06-18-2005 06:35 PM

ATI control panel
 
here's an additional little hint from an ATI graphics card user since january.

to build the ati control panel

open your ATI rpm with ark and extract the panel_sources.tgz file

make a new folder and extract the panel sources there

open terminal there and do

export QT_STATIC=1;make;make install

look in your menu and there should be a control panel icon.


hope this works. it took me until a few days ago to squash this bug in FC3/4 (CentOS doesn't have this bug, funny)

Mirag3 06-29-2005 03:27 PM

Yeah, just wanted to say it worked, but you do have to
Code:

chmod +x
or else it doesnt work, even if you use sh.

alesz 06-29-2005 03:43 PM

works with 2.6.11-1.35_FC3, but quake3 and doom3 does not work
 
i updated my kernel and selinux policy, built the kernel module again, inserted, and it works fine with most applications.
but suddenly quake3 and doom3 games stopped working, which it did work with former .27_FC3 kernel and selinux policy.
btw, cedega also stopped working.
i already had to chcon some libraries to make things work, because selinux just went crazy after update... but quake still doesnt work.

when running cedega, it says:
Code:

/usr/bin/cedega: line 348: 17179 Segmentation fault      $SHELL -c "$RUNWINE $WINVER -debugmsg $DEBUGMSG -use-dos-cwd $WORKDIR $EJECT $DT -- $COMMAND_LINE"
when running quake3, only reasonably error it reports:
Code:

Received signal 11, exiting...
is this all just a selinux problem, did anyone experienced the same trouble and of cource does anyone perhaps know how to fix it?

gurpy 06-30-2005 03:58 PM

Hi, i'm getting the error:
S010600508b019e0c:/lib/modules/fglrx # ./make_install.sh
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
FATAL: Error inserting fglrx (/lib/modules/2.6.11.4-20a-default/kernel/drivers/char/drm/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)
failed.

Any ideas?

Thanks

alesz 07-01-2005 02:56 AM

kernel problem
 
as seen, your module compiles, but the kernel won't accept it.
probably there is a problem with your kernel, it's not the FC3 kernel (the latest fc3 kernel is 2.6.11-1.35_FC3), right?

what does dmesg say?

rose_bud4201 07-03-2005 04:50 PM

Well, I did all of this, and it appeared to work flawlessly. The only catch was I don't have xorg, I have XFree86, so when fglrxconfig generated an xorg.conf file I copied the contents to XF86Config.

Now, when I try to startx, I get this error:
(EE) Failed to load module "fglrx" (module requirement mismatch, 0)
(EE) No drivers available.

Fatal server error:
no screens found

/var/log/XFree86.0.log has this to say:
(II) LoadModule: "fglrx"
(II) Loading /usr/X11R6/lib/modules/drivers/fglrx_drv.o
(II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
compiled for 6.8.0, module version = 8.12.10
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 0.7
(II) UnloadModule: "fglrx"
(II) Unloading /usr/X11R6/lib/modules/drivers/fglrx_drv.o

I'm getting a *really* sinking feeling that I need to upgrade from XFree86 to Xorg, and I haven't the faintest clue how to do this. Does anyone have a patch that'll do it, or is this a massive pain-in-the-arse "uninstall everything XF86 and install a whole bunch of replacement xorg packages"?

Edit:
Nevermind, I found my answer :) In a nutshell, yes it does mean that I had to uninstall everything, blah blah blah. However, I did it the easy way: apt4rpm. Installs simply with a very nice script, and works flawlessly. I had to add the line "rpm ftp://ftp.gwdg.de/pub/linux/suse/apt SuSE/9.1-i386 xorg" to my /etc/apt/sources.list, and do a dist-upgrade (Simply trying to install xorg won't do it, but doing dist-upgrade apt automagically recognizes xorg as an upgrade of XFree86). GLXGears now reports a 4400+ FPS. So yup, everything's happy now. Teh w00t :D

sauroman 07-09-2005 06:36 AM

Hi,

is there another site that I can get the 2 patches from? The link doen't work :(.

Also, has anyone tried installing the drivers with gcc-4.0.0-13 (yum install gcc)? I get an error that gcc-3,,,, is required when trying to install ati's latest drivers which I never got until installing this version. Hopefully the older drivers with patches will be ok.


Thanks

rose_bud4201 07-09-2005 08:26 PM

I don't know if there's a mirror, but I still have the ones that I downloaded. You can grab them here:
ATI patches


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