PDA

View Full Version : Direct Rendering Working - Knoppix 3.3 - FGLRX 3.2.8



digitalpcht
10-27-2003, 10:17 AM
Hey All,

I am fairly novice to linux but after installing knoppix 3.3 on my pentium 4,
intel i850, radeon 7500 tx rig I installed the new fglrx drivers from ati
version 3.28 and could not get direct rendering working for the life of me.

After searching for help, I heard and saw on the net the same old ...
(you should recompile the kernel jazz - I hate that line :( )

So in my own nature I always try to find another way so after doing more
searching I found a topic about modules in /lib/modules/fglrx
so I check it out, and under /lib/modules/fglrx/build_mod I ran make.sh
which threw out some kernel incompatibility issues, but I knew that my kernel was up to spec anyhow so I opened up vim and set number and hit up some of the check lines for verifying the kernel.

The result:
Lines 200, 203, 210 should have hit=0 not hit=1
Line 215 should have $hit -eq 1 not $hit -eq 0
Lines 230 should have != "-DFIREGL_410"

Also a line in the the /lib/modules/fglrx/make_install.sh
needs to be edited I believe as well its just my notes are bad.

Essentially any time you got a error exception in the build and install
scripts make it think the opposite is true thereby bypassing the
exceptions and forcing the build and install.

Given that you have fglrxconfig already done and setup and fglrx working without direct rendering and with the module not recognizing after doing lsmod initially before this might work to get your problem fixed.

Note I also beforehand did modprobe radeon as well as agpgart.

As for I, glxinfo | grep rendering now echos out Direct Rendering: Yes,
and it is sweet :).

This might be of no help too anyone but I figured it might be helpful to post my findings for my first post, and I love knoppix, it makes debian look so much nicer :).

- digitalpcht

It might be vague and just a suggestion but I hope it helps.

stonent
11-02-2003, 09:05 AM
How much of a difference did it make in running glxgears vs the standard ati drivers?

digitalpcht
11-02-2003, 01:41 PM
What do you mean by standard ati drivers?
Do you mean without direct rendering?
If so it was seemingly like 1/10th (or so) the speed, can't rember exact number but it could be just my system or a fluke.
(strange things happen). (oooooh scary).
Also on a further note (Card = Radeon 9700 TX - Odd Radeon).
So the performance might not be the same as one of the ol fandangled 9700 Pro's. Also on a last note, knoppix (prior to hd-install) always initially read my card as as a R300 base Radeon 9500.

As far as current numbers for glxgears go:
Running for a few secs nets me:
17860 frames in 5.0 Seconds = 3572.00 Fps
As far as current numbers for /usr/X11R6/bin/fgl_glxgears go:
Running for a few secs nets me:
1042 frames in 5.0 Seconds = 208.400 Fps

This might not be what your looking for,
but I hope it helps.

- Digitalpcht :)

PS: If one of you guys want's to hold on to em I can send the modified make.sh and make_install.sh just let me know.

stonent
11-02-2003, 06:34 PM
Sorry, I mean the XFree86-drm drivers that knoppix automatically uses.