• Hey, guest user. Hope you're enjoying NeoGAF! Have you considered registering for an account? Come join us and add your take to the daily discourse.

Help me brick my Linux distro... err help me optimize my 9600 and xorg.conf :).

Status
Not open for further replies.

Panajev2001a

GAF's Pleasant Genius
It always happens that you were glanced over by some smooth CELL SDK that convinced you that the required proof of love was to install a simulator and of course that meant installing Linux on a free partition ;).

Fedora Core 4 was installed, the simulator (after some work...) was installed and running, Firefox was set-up and running with the latest JRE, the latest 1.0.7 release and all the plugins and (after a bit of searching around ot to screw things up) the ATI Linux driver 8.18.08 was installed, recognized and able to let me run with 3D/2D Acceleration.

Naturally that is exactly the point where a sane person would stop and use what he has while the insane one would say... what about upgrading the system ?

Downloaded all the offered upgrads including the kernel-2.6.13-1.1532_FC4 (SMP version too, which is the one I use here since the CPU is a Pentium IV with HyperThreading).

Of course that broke the ATI acceleration support, but it was enough to install the driver again to get it back and running... since many packages including GCC had been updated I cleaned back the CELL simulator's directory and installed it all from scratch (else it would give me an error as it would only partially re-compiling it).

That was not enough.. when they released the 2.6.14-x kernel I had to upgrade to that... it broke again the ATI driver support so I reverted to 2.6.13-x and uninstalled the newest one just installed (useful thread: https://www.redhat.com/archives/fedora-list/2005-March/msg04636.html ) as ATI does not support the latest one, re-installing the driver did nothing.

The system is:

CPU: Pentium IV 2.8 GHz with HyperThreading.

GPU: 400 MHz RADEON 9600 (RV350) with 256 MB of DDR SDRAM.

Main RAM: 512 MB of DDR SDRAM.

HDD partition: 10 GB (the rest is all for Windows XP... good puppy, good puppy)



The problem is that I feel, and from what I have read I am quite positive I am feeling the right thing, that the GPU is not running ultra-fast:

# fgl_glxgears
Using GLX_SGIX_pbuffer
1644 frames in 5.0 seconds = 328.800 FPS
1981 frames in 5.0 seconds = 396.200 FPS
1945 frames in 5.0 seconds = 389.000 FPS
2032 frames in 5.0 seconds = 406.400 FPS
1931 frames in 5.0 seconds = 386.200 FPS
1966 frames in 5.0 seconds = 393.200 FPS
1976 frames in 5.0 seconds = 395.200 FPS
1972 frames in 5.0 seconds = 394.400 FPS
1971 frames in 5.0 seconds = 394.200 FPS
1978 frames in 5.0 seconds = 395.600 FPS
1980 frames in 5.0 seconds = 396.000 FPS

# glxgears
8160 frames in 5.0 seconds = 1632.000 FPS
10005 frames in 5.0 seconds = 2001.000 FPS
9962 frames in 5.0 seconds = 1992.400 FPS
10029 frames in 5.0 seconds = 2005.800 FPS
9964 frames in 5.0 seconds = 1992.800 FPS
10013 frames in 5.0 seconds = 2002.600 FPS
9980 frames in 5.0 seconds = 1996.000 FPS
10013 frames in 5.0 seconds = 2002.600 FPS

Here is the output for fglrxinfo:

# fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 1.3.5395 (X4.3.0-8.18.8)

# glxinfo | grep direct
direct rendering: Yes

and

This "Generic" bit worries me as if the OpenGL driver did nto recognize and enabled SSE/SSE2 extensions for the CPU.

Another thing, AGP seems built in the kernel as the fglrx driver tells me it has to switch to Linux kernel AGP support instead of using its internal AGP gart. BTW, yes fglrx is one of the running modules and it is used by the applications (as /sbin/lsmod reports).

Here is the output of the dmesg tool related to agpgart and the fglrx driver for the ATI RADEON 9600:

# dmesg|grep "agpgart\|fglrx"
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 865 Chipset.
agpgart: AGP aperture is 32M @ 0xfc000000
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 429 MBytes.
[fglrx] module loaded - fglrx 8.18.8 [Oct 25 2005] on minor 0
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.
[fglrx] Kernel AGP support doesn't provide agplock functionality.
[fglrx] AGP detected, AgpState = 0x1f004a1b (hardware caps of chipset)
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[fglrx] AGP enabled, AgpCommand = 0x1f004312 (selected caps)
[fglrx] free AGP = 21245952
[fglrx] max AGP = 21245952
[fglrx] free LFB = 116387840
[fglrx] max LFB = 116387840
[fglrx] free Inv = 134217728
[fglrx] max Inv = 134217728
[fglrx] total Inv = 134217728
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total AGP = 8192

Is the AGP aperture too low at 32 MB, do you see other problems there ?

Here is the GPU related lines of my customized /etc/X11/xorg.conf file (I added this Sony monitor in replacing the default one the ATI tool fglrxconfig configured when creating the xorg.conf file):

# === ATI device section ===

Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel" "no"
Option "no_dri" "no"
# === misc DRI settings ===
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
Option "DesktopSetup" "(null)"
Option "ScreenOverlap" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x00000000"
Option "CapabilitiesEx" "0x00000000"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
Option "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAEnable" "no"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
# === Misc Options ===
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
BusID "PCI:1:0:0" # vendor=1002, device=4150
Screen 0
BoardName "ATI Radeon 9600"

EndSection


This ( Option "UseInternalAGPGART" "yes" ) line is the one that is casuing the "warning" before, the one in which it tells me that he cannot use its own agpgart module, but it has to use the kernel's AGP support.

The BusID one worries me more as it makes me suspect that it is forcing the GPU to run as a PCI card instead of as an AGP card, but I admit that I have not done the proper amount of research on this particular item of the xorg.conf file.

The AGP Fast Writes option is not present in the xorg.conf file that ATI's tool creates, so I do not know if it is enabled by default or if it is a sign that the ATI tool thought it was safer to place my card as a PCI card and let me change things after if I wanted to.

Do you see anything majorly wrong or that could be improoved

Thanks again to any poster who at least glances at this thread, I hope I provided enough informations to describe my set-up and my problem, but if you need more details please do ask in this thread.
 

BlueTsunami

there is joy in sucking dick
# fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 1.3.5395 (X4.3.0-8.18.8)

That does seem wrong for some reason, I can't put my finger on it but i'm looking around and the OpenGL renderer string that yours is listing does seem to be pulling from the generic pool of ATI drivers.

EDIT: I just scaned some linux forums and this is a link someone provided to what seemed to be the same issue as you.

http://wiki.linuxquestions.org/wiki/Installing_ATI_drivers

Gives an in depth description on how to work wiht the drivers and some troubleshooting.
 

Hitokage

Setec Astronomer
Welcome to ATI Linux Driver Hell. What you're seeing is normal. Either you use the open source driverset which doesn't do 3D acceleration for newer cards, or you use ATI's proprietary set and watch your card get nerfed 3-4 generations. :p

Solution: Get an nvidia card.
 

BlueTsunami

there is joy in sucking dick
Hitokage said:
Welcome to ATI Linux Driver Hell. What you're seeing is normal. Either you use the open source driverset which doesn't do 3D acceleration for newer cards, or you use ATI's proprietary set and watch your card get nerfed 3-4 generations. :p

Solution: Get an nvidia card.

:lol :lol

/me kisses his 6600GT

Don't ever leave me...well..until I get that 7800GTX 512MB..for now were cool,,
 

Panajev2001a

GAF's Pleasant Genius
Thanks guys... well I cannot change the GPU as it is not my PC technically :).

There was a partition in the main drive which was left unformatted specifically for future Linux use... so I installed GRUB in there (not in the MBR) and I boot it by floppy, using a floppy version of grub and chainloading the rest manually. Windows XP does not know a thing :D.

I will know to steer clear from ATI GPU's in the future if I want to have a computer that fully dual boots (and is efficiently utilizing the hardware) in both Windows XP/Vista and Linux.
 

Panajev2001a

GAF's Pleasant Genius
Diablos said:
ATI? Linux?

hahahaha :lol

This would have been more effective buddy:

nelson.gif



;).
 
Status
Not open for further replies.
Top Bottom