LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 06-17-2005, 09:20 AM   #16
alesz
Member
 
Registered: Mar 2005
Distribution: FC5 on disk, Knoppix as LiveCD
Posts: 48

Rep: Reputation: 15
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
 
Old 06-17-2005, 12:03 PM   #17
Mirag3
Member
 
Registered: Jun 2005
Location: Ellicott City, Maryland
Distribution: Gentoo
Posts: 36

Rep: Reputation: 15
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.

Last edited by Mirag3; 06-17-2005 at 12:04 PM.
 
Old 06-17-2005, 12:37 PM   #18
antidelldude
Member
 
Registered: Jan 2005
Distribution: Fedora Core 3/Ubuntu (debian)
Posts: 103

Original Poster
Rep: Reputation: 15
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.
 
Old 06-17-2005, 12:40 PM   #19
antidelldude
Member
 
Registered: Jan 2005
Distribution: Fedora Core 3/Ubuntu (debian)
Posts: 103

Original Poster
Rep: Reputation: 15
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.
 
Old 06-17-2005, 12:44 PM   #20
antidelldude
Member
 
Registered: Jan 2005
Distribution: Fedora Core 3/Ubuntu (debian)
Posts: 103

Original Poster
Rep: Reputation: 15
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
 
Old 06-17-2005, 05:56 PM   #21
Mirag3
Member
 
Registered: Jun 2005
Location: Ellicott City, Maryland
Distribution: Gentoo
Posts: 36

Rep: Reputation: 15
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.
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!
 
Old 06-17-2005, 06:20 PM   #22
alesz
Member
 
Registered: Mar 2005
Distribution: FC5 on disk, Knoppix as LiveCD
Posts: 48

Rep: Reputation: 15
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...
 
Old 06-18-2005, 07:35 PM   #23
ArkyMedia
LQ Newbie
 
Registered: Feb 2005
Location: Missouri
Distribution: Fedora Core 3 x86_64
Posts: 19

Rep: Reputation: 0
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)
 
Old 06-29-2005, 04:27 PM   #24
Mirag3
Member
 
Registered: Jun 2005
Location: Ellicott City, Maryland
Distribution: Gentoo
Posts: 36

Rep: Reputation: 15
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.
 
Old 06-29-2005, 04:43 PM   #25
alesz
Member
 
Registered: Mar 2005
Distribution: FC5 on disk, Knoppix as LiveCD
Posts: 48

Rep: Reputation: 15
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?
 
Old 06-30-2005, 04:58 PM   #26
gurpy
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Rep: Reputation: 0
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
 
Old 07-01-2005, 03:56 AM   #27
alesz
Member
 
Registered: Mar 2005
Distribution: FC5 on disk, Knoppix as LiveCD
Posts: 48

Rep: Reputation: 15
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?
 
Old 07-03-2005, 05:50 PM   #28
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 927

Rep: Reputation: 30
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

Last edited by rose_bud4201; 07-03-2005 at 10:56 PM.
 
Old 07-09-2005, 07:36 AM   #29
sauroman
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Rep: Reputation: 0
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
 
Old 07-09-2005, 09:26 PM   #30
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 927

Rep: Reputation: 30
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

Last edited by rose_bud4201; 08-09-2005 at 11:03 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
at long last, the new ati drivers WORK! garba Linux - Hardware 1 11-08-2005 11:02 AM
Trying to get new ATI OpenGL drivers to work jgpatton Suse/Novell 2 07-31-2005 07:51 PM
DISCUSSION: Making ATI drivers work with nforce2 and kernel 2.6 in Gentoo ElPuello LinuxAnswers Discussion 1 07-24-2005 01:41 AM
how to get ATI drivers to work? kholdstayr Slackware 11 07-20-2005 01:08 PM
cannot get DRI to work with ATI fglrx drivers under X alesz Fedora 2 06-09-2005 08:39 AM


All times are GMT -5. The time now is 01:10 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration