Need help getting DRI to work with ATI and Slackware 11.0
SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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.
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?
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
ATI module generator V 2.0
cat: /lib/modules/2.6.18/build/include/linux/version-*.h: No such file or direct ory
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:
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
I have found a solution entry for the kernel 2.6.18 and ati 8.28.8 here
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:
4. Apply the source patch (SuSE and Fedora patches are the same)
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
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
ps who ever knows something about patching the ati drivers please post in this thread.