LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-18-2006, 10:27 AM   #31
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121

The simplest way is to :

1. Install the kernel sources or the kernel headers package.
2. Download the latest driver from ATi website.
3. Run the installation and run ati-config
4. Reboot once (or) just load the fglrx module using modprobe.

That's it. It's simple and no longer a pain.

Also about the glxgears output -- I would no longer rely on it as with the new driver that program seems not to report correct results. Try fgl_glxgears program instead (it will report a lower fps generally than glxgears, so don't worry if it's not too high)

Last edited by vharishankar; 12-18-2006 at 10:28 AM.
 
Old 12-18-2006, 12:04 PM   #32
ganooch
Member
 
Registered: Aug 2006
Location: Dallas, TX
Distribution: Slackware 11.0
Posts: 39

Original Poster
Rep: Reputation: 15
That is the weird thing. fgl_glxgears gives me 900fps! Which one should I put me faith in, or is there a better measure of rendering speed?
 
Old 12-18-2006, 08:23 PM   #33
glussier
Member
 
Registered: Jul 2005
Location: Montreal, Qc, Canada
Distribution: Fedora Core 5/6 Slackware 10.1/11
Posts: 120

Rep: Reputation: 15
Quote:
Here is the problem. glxgears only gives me ~250fps. I would like to use xgl, so glxgears needs to be 700 - 1000fps. I have an ATI Radeon Mobility X600 card in my laptop. Is this 250fps a limitation of the card, or is there something else that I need to do to achieve 3D acceleration?
And, who told you so? Do fgl_glxgears instead. glxgears means absolutly nothing for an ATI card. Since the 8.28 drivers glxgears went down many folds, even if fgl_glxgears still gives the same results.
 
Old 12-18-2006, 09:16 PM   #34
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
Quote:
Originally Posted by ganooch
That is the weird thing. fgl_glxgears gives me 900fps! Which one should I put me faith in, or is there a better measure of rendering speed?
As I mentioned before, glxgears does NOT report correct results with this graphics driver. Don't ask me why I don't know. Please use fgl_glxgears as I told you before. Nevertheless, if it says
Code:
Direct rendering: Yes
that's the end of the matter - everything is working fine.
 
Old 12-19-2006, 07:44 AM   #35
ganooch
Member
 
Registered: Aug 2006
Location: Dallas, TX
Distribution: Slackware 11.0
Posts: 39

Original Poster
Rep: Reputation: 15
Great. Thanks for the information. Now, as for xgl, what should I do next (I am using KDE). Should I use beryl, and if so, has anyone successfully used xgl with an ATI card, KDE and Slackware?

Thanks,

ganooch
 
Old 12-19-2006, 02:46 PM   #36
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 65
glxgears w/Newer ATI and some other newer drivers reports wrong.

If dri is working, you've got all you need.
 
Old 12-31-2006, 10:51 AM   #37
ganooch
Member
 
Registered: Aug 2006
Location: Dallas, TX
Distribution: Slackware 11.0
Posts: 39

Original Poster
Rep: Reputation: 15
I have successfully installed 3desktop (after resolving several dependency issues). This 3D desktop implementation is impressive, but is not real xgl. From my searches for answers I have come to the conclusion that in order to get xgl to work with KDE and Slack 11.0, I will need to upgrade my xorg to at least 7.1. Is this recommended? Has anyone done it? Is it worth attempting? I can't find any instructions for upgrading xorg to 7.1 that I have faith in.

Is there anyone here that has successfully gotten xgl to work with KDE and Slackware 11.0?


--ganooch
 
Old 03-05-2007, 01:54 PM   #38
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Rep: Reputation: 30
Quote:
I have to say that getting Direct Rendering enabled on my Slack box has got to be the biggest "pita" I have ever messed with.

I dowloaded the ATI driver and installed it. That wasn't enough. Somehow in the process I wound up with a /lib/modules/fglrx/build_mod directory. There, I ran the "sh ./make.sh" and found out not only did I not have a /usr/src/linux symlink, but I was also missing the /usr/src/linux/include/linux/version.h file. So I had to create it using "cd /usr/src/linux" "make include/linux/version.h"
After that I was able to go back to /lib/modules/fglrx/build_mod and run "sh ./make.sh" successfully. After that compiled, I went back to the /lib/modules/fglrx/ directory and ran "sh ./make_install.sh" that put the module into the kernel. Most of this I didn't know how to do ant it took me about 30 hours of Googling, and system reconstruction to figure out.
I need to fix this issue to successfully build the fglrx module. This is the known error

Code:
ATI module generator V 2.0
==========================
initializing...
cat: /lib/modules/2.6.18/build/include/linux/version-*.h: No such file or direct                                             ory
Error:
kernel includes at /lib/modules/2.6.18/build/include do not match current kernel                                             .
they are versioned as ""
instead of "2.6.18".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux

How did you include the version.h as you specify above

by typing the command "make include/linux/version.h"
or compiling the kernel in a appropriate way


regards
 
Old 03-10-2007, 04:52 AM   #39
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Rep: Reputation: 30
Hi

i've got a ati 9200 se for the record

I have found a solution entry for the kernel 2.6.18 and ati 8.28.8
here

Code:
In case it's of any use, this worked:

How to build ATI 8.28.8 driver on kernel 2.6.18.

(Issue is that UTS_RELEASE define has moved from include/linux/version.h to the (new) include/linux/utsrelease.h)

   1. sh ati-driver-installer-8.28.8.run --extract your-dirname
   2. cd your-dirname
   3. edit common/lib/modules/fglrx/build_mod/make.sh with:

         # src_file=$linuxincludes/linux/version.h
         src_file=$linuxincludes/linux/utsrelease.h
       

   4. Apply the source patch (SuSE and Fedora patches are the same)

          cd common/lib/modules/fglrx/build_mod
          patch 
   5. cd back to your-dirname and, as root:

          ./ati-installer.sh 8.28.8 --install
but when i type patch nothing comes up. There should be a patch in there to amend some files scripts isn't

regards
 
Old 03-11-2007, 10:05 AM   #40
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Rep: Reputation: 30
[Solved]

Unfortunately those who own the ATI 9200 graphic card cannot use ati drivers higher than ati-driver-installer-8.28.8.run version. On top of that the 8.28.8 does not support the latest kernels ( in my case 2.6.18). Now there is a patch out there but i couldn't find it, so what i did was to degrade to 2.6.12 kernel which i am happy to use.
I have successfully built the fglrx module and i have 3d accelaration on at 1200 fps.

Don't forget to load the 1) agpgart module, 2) agp-specific module(mine intel_agp) and 3) fglrx module

have fun

ps who ever knows something about patching the ati drivers please post in this thread.


regards
 
  


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
ATI and DRI drivers help please Digitalsoldier Linux - Newbie 4 08-04-2005 10:18 PM
cannot get DRI to work with ATI fglrx drivers under X alesz Fedora 2 06-09-2005 07:39 AM
ATI 9600se running slower than older ATI card w/ DRI on euth665667 Linux - Hardware 0 07-03-2004 06:10 AM
ati problem..(DRI + tv out mix) NoirX252 Linux - Software 1 05-09-2004 01:04 PM
ATI radeon, no DRI breakerfall Linux - Hardware 3 11-11-2003 07:42 PM


All times are GMT -5. The time now is 07:19 AM.

Main Menu
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