LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Need help getting DRI to work with ATI and Slackware 11.0 (https://www.linuxquestions.org/questions/slackware-14/need-help-getting-dri-to-work-with-ati-and-slackware-11-0-a-496713/)

vharishankar 12-18-2006 10:27 AM

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)

ganooch 12-18-2006 12:04 PM

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?

glussier 12-18-2006 08:23 PM

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.

vharishankar 12-18-2006 09:16 PM

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.

ganooch 12-19-2006 07:44 AM

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

cwwilson721 12-19-2006 02:46 PM

glxgears w/Newer ATI and some other newer drivers reports wrong.

If dri is working, you've got all you need.

ganooch 12-31-2006 10:51 AM

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

props666999 03-05-2007 01:54 PM

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

props666999 03-10-2007 04:52 AM

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

props666999 03-11-2007 10:05 AM

[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


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