PDA

View Full Version : HOW TO: ATI Divers v0.2


Pages : [1] 2

maqi
April 7th, 2005, 12:47 PM
IMPORTANT UPDATE - PLEASE READ BEFORE YOU DO ANYTHING THIS GUIDE IS DEPRECIATED USE THIS THREAD (http://ubuntuforums.org/showthread.php?t=305665)!!!

This How To was originally written for versions 5.04 and 5.10 of Ubuntu. I do not know if it works for 6.06LTS. I am currently running Ubuntu 6.10 (Edgy Eft). If you are running Edgy I recommend following the instructions in THIS THREAD (http://ubuntuforums.org/showthread.php?t=305665). I also recommend using the latest drivers from ATI/AMD. Personally, I find them easier to get working than the Ubuntu restricted drivers which did not work for me at all.

The linked method has the advantage of easily generating and installing a .deb package which is a cinch to uninstall and update (you will need to reinstall the driver every time the kernel is updated). I recommend rebooting rather than trying to restart X when you do this. As usual, please read the whole of the first post in that thread BEFORE doing anything!!!

Replace the filename at the end of the wget command with the latest driver package name to download the drivers. Alternatively, download the package via your web browser to the folder where you will be performing the installation - eg ~/Desktop/atitemp - and skip the wget command.

At the time of this update (March 20, 2007) the latest driver package for Intel CPU's is: ati-driver-installer-8.34.8-x86.x86_64.run

IMPORTANT!
Do not use the xorg.conf file below to configure X. Follow the instructions in the linked thread. Trust me on this, I tried it and had to boot to the recovery console!

If you are running an older ATI card which is unsupported by the newest ATI drivers you can download older drivers from the ATI/AMD website: START HERE (http://ati.amd.com/support/driver.html). In this case, download the package via your web browser to the folder where you will be performing the installation - eg ~/Desktop/atitemp - and skip the wget command.

I will leave the original HOW TO as is for those who are still running older versions of Ubuntu.

===========================================
HOW TO: ATI Drivers v0.2 (Revised) For Ubuntu 5.04 and 5.10

I know, I know, flog the dead horse :roll: . But I believe this is worth doing because I, and others, have had my xserver freeze at boot time after following some of the instructions found on these forums - in particular the use of fglrxconfig. I guess i'm just trying to bring the best info I've gained from other threads (and now this one!), plus my own (limited) experience, into one place.

I would suggest that you first try and enable 3D acceleration with the method I have outlined. If it works, back up your xorg.conf and give fglrxconfig a go which has the advantage of including a routine to configure TV out.

Please read the whole thing BEFORE you go and break your system :D

NOTE 1: If you use defoma fonts and also use fglrxconfig to generate your xorg.conf file you will need to add the relevant lines from your backed up copy of xorg.conf (or my example below) to the "Files" section of the xorg.conf generated by fglrxconfig as the defoma font directories are ignored by fglrxconfig.

NOTE 2: I know everyone wants the bleeding edge version of the drivers for their gfx card. However, unless you are using a custom kernel I highly recommend sticking with the official ubuntu driver packages. Why? These packages are designed to work perfectly with your ubuntu system. The rpm from ATI is not. Also, installing the non-ubuntu drivers will cause problems when/if xlibmesa-gl is upgraded. If you choose to ignore this advice, that's OK - you will learn more about how your system works. Maybe more than you wanted to know :-P Don't say I didn't warn you.


1. Official Ubuntu Kernel:

If you are using an official ubuntu kernel there is no need to dick around with the rpm file from the ATI website - it will just get unnecessarily messy - SO DON'T, OK? Make sure you have the Ubuntu Restricted repositories enabled (they should be by default) and install the drivers like this:

$ sudo apt-get install linux-restricted-modules-<your-kernel-version> xorg-driver-fglrx

You probably don't need the control panel unless you are using dual monitors. If you want it add fglrx-control to the above command.

Then edit your xorg.conf file - see 3 below.


2. Custom Kernel:

If, and ONLY if, like me and many other Linux tweakheads who can't leave well enough alone, you are running a custom kernel which you have craftily configured and compiled yourself the official Ubuntu fglrx driver package will be useless to you. Follow the instructions here (http://www.ubuntuforums.org/showthread.php?t=5356) making the necessary kernel version adjustments. Also, make sure you have your kernel headers installed in addition to your (properly configured) kernel source. Since you've compiled your own kernel I assume (uh-oh) that you know what you're doing.

Come back here and go to the next section.

2(a). ATI rpm on standard Ubuntu kernel

If, contrary to my advice, you ARE going to install the ATI .rpm package on a standard Ubuntu kernel the instructions at the above link will work for you. But make sure to uninstall the restricted modules first.


3. Edit /etc/X11/xorg.conf

This is the file which tells your xserver WTF is going on. Mess this up and it won't work. At worst the thing will freeze on boot - which ain't so bad if you're comfortable at a command prompt (and the longer you use linux the more comfortable you're likely to get with that ;)) - and at best you just won't get hardware 3D acceleration.

Back up your xorg.conf, eg:
$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf-old

Make another copy somewhere else if it makes you feel more secure. update: please write down the path to your saved xorg.conf now. This way you will be able to find it if you end up stuck logging into a console rather than GNOME ;)

Go here (http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html#install) and look at section 5. Configure X. Hell, read the whole page. Cut and paste the configuration there into the relevant sections of your xorg.conf file - AFTER BACKING IT UP!!!! N.B. The driver packages provided on that page do NOT work in ubuntu - I've tried. However, if someone with some knowledge could work out how to modify the source package scripts ...

And before anyone points out that the linked page is for xfree86 drivers - trust me on this one: the config works for xorg as well. I used this config on debian with instant success and no problems and when I finally ignored fglrxconfig and used it in ubuntu the drivers worked -finally!!! You will also notice that on that site it is expressly stated: DO NOT USE fglrxconfig TO GENERATE YOUR xorg.conf FILE!!!!!!!!!!! - at least the first time.

Once you've edited and saved xorg.conf restart your x server (<Ctrl>+<Alt>+<Backspace>), log in and try these commands:
$fglrxinfo
If you don't get something like this:
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 1.3.4893 (X4.3.0-8.10.19)
Then something is wrong!!!

If it's working do
$ glxgears
And for the real test do
$ fgl_glxgears

Oh, and that stuff about not being able to change screen resolutions on the fly? Rubbish =; Just get rid of everything under "Screen" -> "Modes" except the 24 bit depth section. Also make sure that "omit xfree86-dga" [fixed - thanks to gratefulfrog] is enabled in the modules section. You do not need to specify your preferred resolution first. After a reboot you should be able to choose resolutions on the fly as normal.

I include my xorg.conf for your reading/copying/editing pleasure, with thanks to Flavio Stanchina for his fantastic work (http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html#overview).

If you use this file please make sure that you enter the paramaters for YOUR devices, eg, keyboard, mouse, etc, rather than mine

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "GLcore"
Load "glx"
Load "dri"
# Load "extmod" but omit DGA extension - this must be included as is if you want to change resolution on the fly
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9600 (R300 AP)"
Driver "fglrx"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"

# === 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"

# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"

# You don't actually need this next BusID bit - unless maybe you have dual monitors?
# I've removed it from mine (single monitor only) and all is well.
# I think it's a leftover from fxglrconfig - doh!
BusID "PCI:1:0:0"

EndSection

Section "Monitor"
Identifier "NEC E1100+"
Option "DPMS"
HorizSync 31-96
VertRefresh 55-160
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9600 (R300 AP)"
Monitor "NEC E1100+"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

Another note about the xorg.conf file above - this does not contain any settings in the "Monitor" section relating to LCD displays - hopefully xserver-xorg took care of that when you installed it - also see below.

If you hit serious problems and end up having to log in at a terminal because your xserver freezes all you need to do to reverse things is login with your username and password and:

$ sudo cp /path/to/xorg.conf-old /etc/X11/xorg.conf
$ sudo reboot

The /path/to/xorg.conf-old is the path you wrote down when you backed it up while following the instructions in section 3. You DID write it down didn't you?

If you've installed the Control Panel and are wondering how to start it:
OK! If anyone is interested the command is:

fireglcontrol

TROUBLESHOOTING TIPS:

1. CHECK FOR ERROR MESSAGES:
To look for error messages check the following files in a text editor:
$ gedit /var/log/Xorg.0.log
$ gedit /var/log/dmesg

2. INSTALL/REINSTALL THE DRIVERS WITH THE XSERVER STOPPED:
(I have an unconfirmed suspicion that if you run a -k7 kernel you may have to do it this way from the beginning - will try and find out. Don't be shy about doing it this way from the start if you feel comfortable at the command line - you must know how to use a console text editor, eg, vi, vim, nano, etc. Although you could edit your xorg.conf before stopping the xserver - the new file won't be used until you restart the xserver. By this stage you should have the fglrx driver installed anyway.)
If you've done the above and restarted your xserver, checked that xorg.conf is correct and it's still not working give this a go:

I cannot stress enough the convenience of stopping X before installing the ATI drivers. Here are the steps I use (since my entries above, I've replicated this process on my wife's computer and had no further problems):

1. Write down these instructions, bring them up on a second computer, or print them out We're about to stop your X.org server, so you won't be able to come back and refer to these directions without a hardcopy.
2. Switch to your local console by pressing Ctrl+Alt+F1 and login with your normal username and password.
3. STOP X.ORG: sudo /etc/init.d/gdm stop
4. Ensure that the fglrx driver (if present) isn't loaded, or it will NOT be correctly installed: sudo modprobe -r fglrx
5. Reinstall the restricted modules for your kernel and the accelerated X.org server via apt-get:
sudo apt-get install --reinstall linux-restricted-modules-2.6.10-5-<your architecture here> xorg-driver-fglrx
6. Edit your xorg.conf file using the guidelines above in this thread.
7. Test your X.org configuration:
a. Start X.org: startx
b. Open a Terminal once X.org/GNOME starts.
c. Type 'fglrxinfo'. Your ATI video card should be displayed.

If this has worked, feel free to go to System -> Log Out to go back to the console. You can retart GDM without rebooting by typing this: sudo /etc/init.d/gdm start && logout You should now have full acceleration! If it didn't work, post here and we'll help you as best we can.

Hope this helps!

3. ENABLE LVDS:
If it's not working and you're receiving LVDS related errors (see 1 above) the following might help:
Try adding the following in your Display section of your xorg.conf file under the entry for Driver:
Option "MonitorLayout" "LVDS, TMDS"

That seems to be the key to making the fglrx driver use LVDS on LCD displays. If you have a CRT, try:
Option "MonitorLayout" "LVDS, CRT"

EDIT: Oh, you have a laptop! Try this: Option "MonitorLayout" "LVDS, STV"

Good luck!

maqi ;)

DISCLAIMER: I take no responsibility in the extremely unlikely event that you irreparably break your system. I definitely am not an expert, so you are on your own. The settings in the provided xorg.conf file are not in any way guaranteed to work on your specific system - but give them a go anyway ;) Any opinions expressed herein are mine alone, are not endorsed by the ubuntu project or anyone sane and can properly be ignored. Any errors, omissions and inaccuracies in this HOW TO are entirely a result of my laziness and/or stupidity.

RESOURCES:

Falvio Stanchina's ATI Linux Drivers for Debian (http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html) site. This is also linked to in section 3 above. Even though his packages will not work with Ubuntu, please do have a look. He includes useful links & troubleshooting tips.

Gentoo ATI Radeon FAQ (http://odin.prohosting.com/wedge01/gentoo-radeon-faq.html) (a good source of troubleshooting hints) - thanks again to Flavio Stanchina.

ATI Linux FAQ (http://www.ati.com/products/catalyst/linux.html) at the ATI website.

And if all else fails try the ATI channel at irc.freenode.org #ati

(If anyone is aware of resources which could/should be added to this list - and I'm sure there are plenty - please post them or PM me.)

nickx
April 7th, 2005, 02:54 PM
Very Very Nice, I'm now on my macmini so I don't have possibility to do so. My question is I have two laptops with the Radeon Mobility does these drivers work with that?... thnx

shakin
April 7th, 2005, 03:10 PM
Very Very Nice, I'm now on my macmini so I don't have possibility to do so. My question is I have two laptops with the Radeon Mobility does these drivers work with that?... thnx

They support the X700, 9800, 9600, 9200, and 9000 Mobile chipsets.

maqi
April 7th, 2005, 03:11 PM
From the included documentation:
The ATI Proprietary Linux driver currently supports RADEON 8500 and later, as well as FireGL 8700 and later products. We do not currently plan to include support for any products earlier than this. Drivers for earlier products should already be available from the DRI Project or Utah-GLX project.

And from the website linked to above:
# MOBILITY™ RADEON™ 9000, 9200, 9600, 9800, X700
# MOBILITY™ RADEON™ 9000/9100 IGP Series

8)

streetbmx
April 7th, 2005, 03:25 PM
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 1.3.4893 (X4.3.0-8.10.19)

Did you really get the 8.10.19 drivers from this method? IIRC the Hoary was going to stick with 8.8.25, and thats what is in the repository.

Nice howto btw.

maqi
April 7th, 2005, 06:35 PM
Nice howto btw.

Cheers :)

I used the second method above because I'm running a custom kernel. But if you're running an official kernel you really don't need the potential headaches with xlib-mesa upgrades. Much easier to stick with the offical driver IMHO. Of course, that won't stop a lot of ppl :-P

maqi

A-star
April 8th, 2005, 03:09 AM
Nice guide, I just got it working.
Extremely happy now.

wingnut2292
April 8th, 2005, 03:46 AM
Just Curious, does this driver suport the ATI All-in-Wonder 128 Pro? I'm afraid that I may need to upgrade my vieo card. :? It's served me well in Warty-Warthog and SuSe 9.1 (as well as Windows M.E. \ 2K). I'm just in the delema of if I need to spend $200 to buy a decent video card, I may as well spend $500 for a new computer (either a mini-Mac or a cheap Dell/HP)

bobmitch
April 8th, 2005, 04:48 AM
With all due respect to the other ATI HOW TO authors, the most important thing I will say in this post is this:

DO NOT USE fglrxconfig TO GENERATE YOUR xorg.conf FILE!!!!!!!!!!!

If you do so you are extremely likely to run into problems.

If you are using an official ubuntu kernel there is no need to dick around with the rpm file from the ATI website - it will just get unnecessarily messy - SO DON'T, OK?

You probably don't need the control panel unless you are using dual monitors. If you really want it add fglrx-control to the above command. But I'd be nervous - I think it might call fglrxconfig :-#

Then edit your xorg.conf file - see 3 below. DO NOT USE fglrxconfig TO GENERATE YOUR xorg.conf FILE!!!!!!!!!!!



<snipped rant I made earlier>

Just a note to say that I think that your advice, whilst well intentioned and well written, is a little hysterical and misleading.
I have had issues getting dma working on my dvd burner, but it wouldn`t inspire me to write a crazy rant about the evil that is 'hdparm'.

I think your howto is fine - but your how-not-to comments regarding fglrxconfig are ill-informed at best, and probably scaremongering for all the linux newcomers.

n2024
April 8th, 2005, 06:54 AM
First thanks for your guide!

It's well written but I had already installed the new drivers before!

But I have 2 problems with my radeon MOBILITY 9600 :

First I have a custom kernel with framebuffer activated with vesafb!
my grub line :
kernel /boot/vmlinuz-2.6.10 root=/dev/hda1 ro video=vasafb:ywrap,mtrr,1200x800 quiet splash
If I boot with this configuration, each time I switch un a console (CTRL+ALT+F1,....),
when I come back to X 6my screen is corrupted and I have to kill gdm and restart it!
If I disable framebuffer, it's ok, but for me, framebuffer is indispensable! So if there's no fix I think I'll coma back with radeon driver!

So my question : Is somebody have the same problem as me with an other card or is it only with this card! If somebody has a solution , it would be nice that he posts it. (I've already search the web a whole day but found nothing : it seems to be a known bug but a few people is talking about it)

My second problem is that I tries to install with a 2.6.11 kernel but the modules didn't compile, I had to patch it with official patch. Then it compiled but X was freezing. So does somebody has success installing this drivers with 2.6.11 kernel and which patch did they apply?

Thanks a lot guys!

Ciao

Noel

DCBA25
April 8th, 2005, 03:56 PM
Thanks for this guide, the "other one" crashed my screen...
This one works with the regular kernel in no time! \\:D/

Now i've only got one question. How do i configure my TV settings? I wanted to make it like the windows version of the drivers that opened TV to full screen size whenever theres some video running.

I've downloaded fglrx-control but how can i use it?

Riggs
April 9th, 2005, 12:26 AM
Awesome tutorial. This worked wonders on my desktop :) Now onto my laptop to do the config for nvidia ;)

[Edit] Let me take that back. I still cannot change resolutions on the fly now...gives me an error saying:

The X server does not support the XRandR extention. Runtime resolution changes to the display size are not available.

udha
April 9th, 2005, 02:09 AM
Thanks for the info, agt-get tells me I've allready got the latest fglrx module, and I do, but that's not really my problem.

glxgears works, gets about 3000fps
fgl_glxgears get's about 600 fps

so GL is working at some level, but it's a very low-quality level, I also have dual boot with redhat FC 3 which I didn't like very much, but I did install the rpm successfully for my Radeon 9800 Pro and then installed doom3, and it was good :D
when I boot into ubuntu I notice it's very low texture quality, very blurry, and the brightness slider of doom3 (in game) has no effect, even after a restart of the game. under FC3 the slider has an affect in real-time.

any suggestions? does anybody else out there have doom 3 installed under ubuntu 5.04 who can or can't use the brightness slider?

uggeli
April 9th, 2005, 06:11 AM
Thanks for the how-to.

First time when I tried this, I got my xorg.conf messed up, but well it was easy to copy backupfile ower it.. Well anyway I was thinking that manually editing isn't my way to go yet, so I decided to follow steps in here (http://www.ubuntuforums.org/showthread.php?t=22496). Well I got tv-out working but no 3d, and xorg.conf was messy to read after fglrxconf (atleast in my opinion). Well then I was thinking that what the heck I will try it manualy like you are telling us to do in here.

Well that's for the history, now I have managed to get working xorg.conf file, but when I try to type 'fglrxinfo' to the terminal I got this out:


display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)

so there's no ATI in there..(I got ATI 9600 btw)


And when I try (have done this at begin but now trying again cause there is mesa not ati) that 'sudo apt-get install linux-restricted-modules-2.6.10-5-k7 xorg-driver-fglrx' it tolds me that I have newest version installed.

So could you told me what could go wrong? Should I remove all ati stuff and try install again or what? And sorry for stupid questions.

udha
April 9th, 2005, 06:33 AM
uggeli,

it may still be using ati in the xorg.conf; open that file and search for fglrx and output the full line for every match you get.

nickx
April 9th, 2005, 07:24 AM
wonderfull!!! This works great! : )

tora201
April 9th, 2005, 07:24 AM
Brilliant stuff. This is the only ATI configuration I have ever got going.
I reckon the guide should be put somewhere more prominent....


Cheers mate! My ubuntu is now complete.

Zane Ritchie

remmelt
April 9th, 2005, 07:54 AM
I think I did the ATi config before, the one you warn against. It used to work fine, but fglrxinfo would return the regular MESA drivers, so I'm guessing I didn't have the fglrx drivers configged right...

The only thing I needed to change in my xorg.conf (yes, AFTER making a backup) was this:

Section "Module"
...
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection

Load "GLcore"
...
EndSection

The omit option was there, but commented out, I added the GLcore load myself. That was all. Now fgl_glxgears starts up (wouldn't before) and reports about 300 FPS, glxgears reports about 3-4 times more than on the MESA drivers (around 1100) and fglrxinfo tells me this:
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 1.3.4769 (X4.3.0-8.8.25)

So I'm happy!

Thanks for the help!

uggeli
April 9th, 2005, 08:18 AM
uggeli,

it may still be using ati in the xorg.conf; open that file and search for fglrx and output the full line for every match you get.

I'm not sure did you meant thaat I shoud but here everyline where is fglrx or what. Well here it goesanyways:

Driver "fglrx"

Well that was it.. :D

Will check that xorg.conf again which was for example in start of thread

Skaman
April 9th, 2005, 11:53 AM
worked great thnx u all :-D

PinGzor
April 9th, 2005, 03:17 PM
Thanks alot! Working good

Heliode
April 9th, 2005, 06:50 PM
Thanks for the howto, maqi, but I have to ask you;
were you ever bitten by a fglrxconfig as a kid?

emuman
April 9th, 2005, 08:44 PM
DO NOT USE fglrxconfig TO GENERATE YOUR xorg.conf FILE!!!!!!!!!!!

Okay, but I want to add a comment: Don't be afraid to use fglrxconfig to generate your xorg.conf. It works very well for me
:wink:

maqi
April 10th, 2005, 12:35 AM
[Edit] Let me take that back. I still cannot change resolutions on the fly now...gives me an error saying:

The X server does not support the XRandR extention. Runtime resolution changes to the display size are not available.

Make sure that the "omit dga" option is enabled in the "Modules" section of your xorg.conf. If it is commented out then remove the "#" from the beginning of the line. This should allow you to change resolutions on the fly.

# Load "extmod" but omit DGA extension
SubSection "extmod"
Option "omit xfree86-dga"

maqi

maqi
April 10th, 2005, 02:05 AM
<snipped rant I made earlier>

Just a note to say that I think that your advice, whilst well intentioned and well written, is a little hysterical and misleading.
I have had issues getting dma working on my dvd burner, but it wouldn`t inspire me to write a crazy rant about the evil that is 'hdparm'.

I think your howto is fine - but your how-not-to comments regarding fglrxconfig are ill-informed at best, and probably scaremongering for all the linux newcomers.

Hi Bob,

Fair comment. As a result of which I have, somewhat nervously, just finished using fglrxconfig to generate my xorg.conf file. Happily, all is well after reboot. Nonetheless, I still have a couple of issues with fglrxconfig:

1. It fails to include my defoma font paths, I will have to include these by hand from my backed up xorg.conf;
2. It puts the various sections in a non-standard order, but this doesn't seem to be a problem;
3. It also fails to include the following modules in the "Modules" section: "bitmap", "ddc", "GLcore", "int10", "record" & "vbe" - although all but "record" & "vbe" are loaded anyway.

Although my first experience of fglrxconfig - with stock kernel and drivers - left my xserver in an unusable state (so the answer to Heliode's question is "yes" :)) I will happily admit to being wrong about fglrxconfig - it seems to have worked this time. My preference with anything is to use configuration tools provided by the vendor/programmers who created something, so I am pleased that this is so.

In addition, fglrxconfig allows for configuration of TV out for the many who have it. I will be amending the above HOW TO accordingly.

cheers,
maqi :)

bobmitch
April 10th, 2005, 04:37 AM
Hi Bob,

Fair comment. As a result of which I have, somewhat nervously, just finished using fglrxconfig to generate my xorg.conf file. Happily, all is well after reboot. Nonetheless, I still have a couple of issues with fglrxconfig:

1. It fails to include my defoma font paths, I will have to include these by hand from my backed up xorg.conf;
2. It puts the various sections in a non-standard order, but this doesn't seem to be a problem;
3. It also fails to include the following modules in the "Modules" section: "bitmap", "ddc", "GLcore", "int10", "record" & "vbe" - although all but "record" & "vbe" are loaded anyway.

Although my first experience of fglrxconfig - with stock kernel and drivers - left my xserver in an unusable state (so the answer to Heliode's question is "yes" :)) I will happily admit to being wrong about fglrxconfig - it seems to have worked this time. My preference with anything is to use configuration tools provided by the vendor/programmers who created something, so I am pleased that this is so.

In addition, fglrxconfig allows for configuration of TV out for the many who have it. I will be amending the above HOW TO accordingly.

cheers,
maqi :)

Thanks for taking the minor critiscism on-board. :)

I think that you just over emphasized the risks of using the config tool, and understated the risks of hand-tweaking the config file.

Again, thanks for the well-written howto... the first of many I hope... :D

mrt75
April 10th, 2005, 11:57 AM
Thats a great guide, thanks :grin:
I couldn't get any of the other ATI guides to work but this one worked first time.
I now finally have hardware accleration.

maqi
April 10th, 2005, 01:17 PM
@bobmitch: Your welcome. Thank you for the reality check re fglrxconfig :) I will say this, though ... I believe that ppl should not be afraid to look at and edit their configuration files. Oftentimes things make sense if one troubles to read these files - and maybe man pages,logs and googles as well. What little I know has been learned this way - admittedly often at the expense of great inconvenience due to improper preparation :(

However, provided that ppl are smart enough to back up their configuration files and then write down the path to where they saved them and the path to where the configuration belongs, it can always be fixed by: $ cp /old/configuration /path/to/configuration at the command line. Followed by a reboot of course. And I do believe I've seen you suggest something similar on another ATI thread :-P



@mrt75: Yay!!! Glad it worked for ya :D

Happy 3D,
maqi

joebolte
April 10th, 2005, 02:41 PM
Hi,
I have an iBook G3 800Mhz with an ATi Radeon Mobility 7500. When I boot into ubuntu normally, shortly after the Gnome display manager is loaded, the screen starts to do really bizarre stuff. All I see is 1-5 white and black horizontal lines on the screen, and the background brightens and then dims to black. In the areas where it is bright, the screen resembles a picture of stars and galactic dust (?!) when I view the xorg.conf file from the command line in single-user mode, my graphics card is listed as a Radeon 9000. This is definitely incorrect; I have a Radeon Mobility 7500. Please help me understand what to do. I have not configured networking yet, so if it involves downloading a new package, please provide instructions for configuring ethernet using DHCP from the command line.

Any help would be very much appreciated.

Cheers,
Joe

maqi
April 10th, 2005, 02:56 PM
Hey Joe,

Where you going with that laptop in your hands? (Really sorry couldn't help myself ](*,) )

If you're using the fglrx driver I'm afraid you're out of luck. It does not support your card - see above.

If you are using the default aty driver and it's not working ... I, for one, am stumped.

Which driver are you using?

maqi

joebolte
April 10th, 2005, 03:03 PM
Hi Maqi,

> Hey Joe...
This laptop is about to become as dangerous as the proverbial gun. 8 hours and I haven't made much progress.

I am using the default driver. I first encountered this problem at the end of install stage 2. After I came back to the computer, it was doing this thing. I hard restarted (apple-ctrl-power button) because nothing else gave a response. Everytime I have botted into something other than single-user mode, I get the same thing, with variations in the number and color of the horizontal lines. I also forgot to mention that I had to use the video=ofonly option during install. Otherwise, I could only see the very leftmost part of the install UI, of which there were two copies in in the upper and lower left corners of my screen. Are there some install or config logs I can examine to see what went wrong?

Cheers,
Joe

maqi
April 10th, 2005, 03:24 PM
8 hours ... OMFG! I've got no idea, Joe. I know nothing about mac/PPC stuff :(

Have you had a look in the Mac forums (http://ubuntuforums.org/forumdisplay.php?f=59)? Maybe there's something there?

I don't know about install logs. But most logs are kept in /var/log. One that would be worth looking at is /var/log/Xorg.0.log - your xserver log. I suspect you would find some interesting stuff in there.

Have you tried the live cd? If so, did that work ok?

P.S. Other forums to check - Installation issues & Hardware Help.

cheers,
maqi :?

tanari
April 10th, 2005, 04:17 PM
Thank you!!
All works fine!

Can I ask you to write "HOWTO" how to enable 100Hz? :roll:

I can't setup more than 85 :-|

whatever
April 10th, 2005, 07:03 PM
Thank you!!
Can I ask you to write "HOWTO" how to enable 100Hz? :roll:


use http://www.sh.nu/nvidia/gtf.php to create a modline for the resolution+frequency you'd like to have (make sure your monitor can handle it) and copy it to the "Monitor" Section of your xorg.conf
oh, and
Option "IgnoreEDID" "on"
in the "Device" Section might be necessary...

maqi
April 10th, 2005, 07:30 PM
Weell ... I don't know about the "Ignore EDID" option - it may help but I would do some research first if I were you.

I know that you can uncomment the: Option "NoDDC" line if your monitor won't display resolutions you want.

But refresh rates have to do with the vertical and horizontal sync rates of your monitor - You may need to try and find out the combined vertical and horizontal refresh rates which will give 100Hz at your desired resolution and then enter them into xorg.conf in the "Monitor" section. However, only do this if you know for sure that your monitor can handle it. If it can't ...

I know there was a thread somewhere on these forums which talked about this. A search would probably find it.

Now might be a good time to get hold of your monitor's user manual and check the specs ;)

fng
April 11th, 2005, 06:53 AM
great guide
thnx

pystyj
April 11th, 2005, 11:53 AM
OK. My problem is simple, what is the command to use ati control panel (fglrx-control)?

Thanks!

Deusiah
April 11th, 2005, 01:55 PM
I have always used fglrxconfig for my XFree86 and now Xorg config files. It's not without it's problems but it's not that bad.

Does anyone else have an issue with fglrxconfig trying to use the driver "Keyboard" instead of "keyboard"? Does it everytime I generate a new config file :neutral:

The only problem I'm having with my display is lines running across my LCD screen (connected via DVI), the CRT I used before worked fine and the LCD works in Windows so there's no prob with the screen.

Riggs
April 11th, 2005, 02:11 PM
Make sure that the "omit dga" option is enabled in the "Modules" section of your xorg.conf. If it is commented out then remove the "#" from the beginning of the line. This should allow you to change resolutions on the fly.

# Load "extmod" but omit DGA extension
SubSection "extmod"
Option "omit xfree86-dga"

maqi

Worked like a charm. :) Thanks!

maqi
April 11th, 2005, 09:06 PM
I have always used fglrxconfig for my XFree86 and now Xorg config files. It's not without it's problems but it's not that bad.

Does anyone else have an issue with fglrxconfig trying to use the driver "Keyboard" instead of "keyboard"? Does it everytime I generate a new config file :neutral:

The only problem I'm having with my display is lines running across my LCD screen (connected via DVI), the CRT I used before worked fine and the LCD works in Windows so there's no prob with the screen.

The keyboard driver issue is a known issue which has been fixed in the most recent versions of the driver. You can always change it manually. And if your keyboard is working OK ... why worry?

As to the DVI issue: What sort of card do you have? According to the Flavio Stanchina site there is an issue with the DVI port on Radeon 8500 cards- no one can get it to work, although the bug described there leaves the user with a totally blank screen.

I don't use DVI so unfortunately I don't treally know more :(

@pystyj: I don't use it, but try: $ fglrx-control

maqi

valthonis
April 11th, 2005, 10:21 PM
Once you've edited and saved xorg.conf restart your x server (<Ctrl>+<Alt>+<Backspace>), log in and try these commands:
$fglrxinfo
If you don't get something like this:
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 1.3.4893 (X4.3.0-8.10.19)
Then something is wrong!!!

Well, I've followed your instructions to the letter after freshly installing Hoary on my desktop (word to the wise: do not upgrade from Warty to Hoary via Synaptic or apt-get; backup your docs and install a fresh copy), and I have the following output from fglrxinfo:

display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)

Yes, I am using the fglrx driver in my xorg.conf, and I've added the GLcore module as well. My xorg.conf file is essentially a carbon copy of maqi's posted file save for the device name (I have the Radeon 9800 Pro (R350 NH)). Any clues as to how to get my acceleration back?

maqi
April 11th, 2005, 10:27 PM
Can you load the module?

Try: $ sudo modprobe fglrx
$ lsmod | grep fglrx

Is it there?

Also - which method did you use?

lynng
April 11th, 2005, 11:12 PM
I also have tried your method & get output from fglrxinfo about MESA. I have a Radeon Mobility 9000. You asked if the module could be loaded. When trying sudo modprobe fglrx
I get the following error msg:
FATAL: Error inserting fglrx (/lib/modules/2.6.10-5-386/kernel/drivers/video/fglrx.ko): Operation not permitted
I installed the restriced-modules, but apt-get indicated that it was already installed. Also xorg-driver-fglrx. I edited the xorg.conf by hand.

nitinshantharam
April 11th, 2005, 11:15 PM
no-go

everything *seems* to work and my 9700 pro is detected as a 9500 generic (WTF?)

YET: switching to console & back again crashes the comp (completely) (cnt-alt-f#)

:(

Anyone got any ideas?

maqi
April 11th, 2005, 11:52 PM
I also have tried your method & get output from fglrxinfo about MESA. I have a Radeon Mobility 9000. You asked if the module could be loaded. When trying sudo modprobe fglrx
I get the following error msg:
FATAL: Error inserting fglrx (/lib/modules/2.6.10-5-386/kernel/drivers/video/fglrx.ko): Operation not permitted
I installed the restriced-modules, but apt-get indicated that it was already installed. Also xorg-driver-fglrx. I edited the xorg.conf by hand.

This is very strange - the Operation not permitted would seem to indicate a permissions problem. However if you use sudo you should not be having permissions problems. Try navigating to the folder named above and seeing if fglrx.ko exists. Also make sure that the the following file exists - /lib/modules/<kernel-version>/kernel/drivers/char/drm/fglrx.ko

If these files exist - what are their permissions?

Also - do you have more than one kernel installed?

maqi

maqi
April 11th, 2005, 11:59 PM
no-go

everything *seems* to work and my 9700 pro is detected as a 9500 generic (WTF?)

YET: switching to console & back again crashes the comp (completely) (cnt-alt-f#)

:(

Anyone got any ideas?

Very strange. Haven't heard of this before. No idea :confused:

maqi
April 12th, 2005, 12:07 AM
Yes, I am using the fglrx driver in my xorg.conf, and I've added the GLcore module as well. Where did you add this?
My xorg.conf file is essentially a carbon copy of maqi's posted file save for the device name (I have the Radeon 9800 Pro (R350 NH)).There may be devices you have which I do not. Is your monitor the same as mine? Did you look at the website I linked to in section 3 and read the configuring X section?

Also don't be scared to try fglrxconfig - it may work better for you.

lynng
April 12th, 2005, 12:54 AM
This is very strange - the Operation not permitted would seem to indicate a permissions problem. However if you use sudo you should not be having permissions problems. Try navigating to the folder named above and seeing if fglrx.ko exists. Also make sure that the the following file exists - /lib/modules/<kernel-version>/kernel/drivers/char/drm/fglrx.ko

If these files exist - what are their permissions?

Also - do you have more than one kernel installed?

maqi
/lib/modules/2.6.10-5-386/kernel/drivers/video/fglrx.ko does exist & has perms 644, owned by root

/lib/modules/2.6.10-5-386/kernel/drivers/char/drm/fglrx.ko does NOT exist.

As far as I know there is only one kernel installed. This is a fresh install of hoary, 2 days old. I've not knowingly done anything to install a new kernel.

valthonis
April 12th, 2005, 01:15 AM
Where did you add this?
There may be devices you have which I do not. Is your monitor the same as mine? Did you look at the website I linked to in section 3 and read the configuring X section?

Also don't be scared to try fglrxconfig - it may work better for you.

The GLcore module is added where is was in your xorg.conf: under Section "Modules". I did indeed follow that link in your original post. Having messed around with X11 config files before (I did a Linux From Scratch (http://www.linuxfromscratch.org) build on an old machine a few years ago; you get to be pretty intimate with X11 if you want to get it working from nothing more than a big source tarball), I'm pretty certain that the problem lies not with the layout or syntax of my xorg.conf file. In fact, my new file is pretty much identical to the file from my previous installation of Hoary where I had fglrx acceleration working perfectly.

The fglrx driver loads just fine as well. Like lynng, I found that the restricted modules for my kernel were already installed. I've restarted X (Ctrl+Alt+Bksp) several times and even rebooted to make sure; every time I 'lsmod', fglrx is there at the top of the list. However, Mesa is still in charge of the show.

The last time I got this to work, I had to use the previous method posted on these boards that involved grabbing the ATI driver RPM, converting it using 'alien' and force-installing it manually. This didn't work immediately, but when I used apt-get to simultaneously install the ubuntu-fglrx package and uninstall the original from ATI, a simple reboot made everything work right. I'm starting to wonder if the strategy from the previous ATI driver HOW-TO (force-installing the driver to make apt overwrite the Mesa driver, which it won't do normally) isn't the way to go. I'd very much like to avoid the "bait and switch" routine I used last time and have this Just Work (tm). I'll try force-installing the ubuntu-fglrx package and let you know what happens.

EDIT - Well, I tried the following:
sudo dpkg -i --force-overwrite xorg-driver-fglrx_6.8.0-8.8.25-0ubuntu11_i386.deb && sudo dpkg -i --force-overwrite linux-restricted-modules-2.6.10-5-k7_2.6.10.5-1_i386.deb
to no avail. Mesa is still in charge. Any ideas? :-(

valthonis
April 12th, 2005, 02:17 AM
OK, I FINALLY got it all figured out.

First of all, you cannot install fglrx properly while X is running. You must stop the X server by switching to the console (Ctrl+Alt+F1), logging in with your username and password, and then use:
sudo /etc/init.d/gdm stop

This will stop the GNOME desktop manager, which in turn will shutdown X. Once it's stopped, you can verify that you have all the proper files installed using the following:
sudo apt-get install linux-restricted-modules-<your-kernel-version> xorg-driver-fglrx

These packages (actually, just xorg-driver-fglrx) will NOT install properly while X is running on some machines. Once you install them, make the appropriate changes to your /etc/X11/xorg.conf file as detailed above in this thread, and try things out by typing 'startx' at the console. X will spring into action, and once the GNOME environment is fully loaded you can open a Terminal and try fglrxinfo. Barring any as-yet unknown gremlins, your ATI card should now be in the driver's seat and fully accelerating your 3D graphics.

Huzzah!

maqi
April 12th, 2005, 02:33 AM
Hey valthonis,

I will add your solution to the HOW TO. Before I do though, just out of interest, did you try to restart your xserver as detailed in section 3 of the HOW TO before checking if fglrx was working? Just want to be sure that you didn't miss that step.

cheers,
maqi :)

lynng
April 12th, 2005, 02:40 AM
I have it working now.

Output of fglrxinfo is
[CODE]display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9000 DDR Generic
OpenGL version string: 1.3.4769 (X4.3.0-8.8.25)
[CODE]

Output of glxgears is:
[CODE]5899 frames in 5.0 seconds = 1179.800 FPS
7146 frames in 5.0 seconds = 1429.200 FPS
7144 frames in 5.0 seconds = 1428.800 FPS
7146 frames in 5.0 seconds = 1429.200 FPS
[CODE]

Output of fgl_glxgears:
[CODE]1158 frames in 5.0 seconds = 231.600 FPS
1309 frames in 5.0 seconds = 261.800 FPS
1369 frames in 5.0 seconds = 273.800 FPS
1419 frames in 5.0 seconds = 283.800 FPS
[CODE]

In looking through the forums & going back over the xorg.conf I made, I found three mistakes from my initial attempt to follow the howto.

1) I added the subsection about omitting xfree86-dga under load extmod, but did not remove the original Load "extmod" line.

2) The device name under the Screen section did not match the name under Device (don't ask me how it got changed)

3) Using ctl-alt-backspace had no effect, so I was using ctl-alt-f1. I did not realize, however, that this was not actually restarting the x server (duh!). I couldn't recall the whole command to stop gdm, so I rebooted, and the desktop came up immediately. I then ran the framerate test.

Thanks to maqi for the howto.

maqi
April 12th, 2005, 02:47 AM
/lib/modules/2.6.10-5-386/kernel/drivers/video/fglrx.ko does exist & has perms 644, owned by root This is normal.

/lib/modules/2.6.10-5-386/kernel/drivers/char/drm/fglrx.ko does NOT exist. Don't worry about this one. This is where the ATI rpm installs the module - not the ubuntu package.

As far as I know there is only one kernel installed. This is a fresh install of hoary, 2 days old. I've not knowingly done anything to install a new kernel.

Have you restarted the xserver? <Ctrl>+<Alt>+<Backspace>

If you have: try doing modprobe as root:
$ sudo su
# modprobe fglrx

LOL :D I posted this just after yours lynn - must have been writing it while yours went up. obviously you can ignore it. Glad you sorted it out

maqi

Deusiah
April 12th, 2005, 03:30 AM
The keyboard driver issue is a known issue which has been fixed in the most recent versions of the driver. You can always change it manually. And if your keyboard is working OK ... why worry?

As to the DVI issue: What sort of card do you have? According to the Flavio Stanchina site there is an issue with the DVI port on Radeon 8500 cards- no one can get it to work, although the bug described there leaves the user with a totally blank screen.

I don't use DVI so unfortunately I don't treally know more :(

maqi

Yeah my Keyboard (or should I say "keyboard" lol) works fine after I change it manually so it's not really a problem I just thought I would mention it whilst we were on the subject of fglrxconfig.

As for the DVI issue I have a Radeon 9800XT. I can only find reference to people having the "horizontal lines" issue becuase their hres/vres was wrong. I have tried both 1280x1024 settings as described in my manual, down to the last .000 as well lol.

valthonis
April 12th, 2005, 01:29 PM
did you try to restart your xserver as detailed in section 3 of the HOW TO before checking if fglrx was working? Just want to be sure that you didn't miss that step.

Aye, I did. A quick 'lsmod' showed that fglrx was loaded into memory, but Mesa was still in charge. It wasn't until I stopped X and reinstalled the xorg-driver-fglrx package that I was able to unseat Mesa and get direct acceleration.

uggeli
April 12th, 2005, 01:58 PM
I still have mesa over ati when I type fglrxinfo:

display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)

I have tried to log out from x and then reinistall linux-restricted-modules-2.6.10-5-k7 and have done that modprobe fxlrx but it's still mesa which is in charge here.

lsmod | grep fglrx gives me otput: fglrx 237312 0

I have tried to change that "UseInternalAGPGART" from no to yes, but no effect. I don't know what to try anymore and as a newbie I don't find if there is errors in my xorg.conf and when I was trying that fglrxconfig (or what it was) it still was mesa in charge. I put my xorg.conf to here to see.

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "GLcore"
Load "glx"
Load "dri"
# Load "extmod" but omit DGA extension
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fi"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9600 (R300 AP)"
Driver "fglrx"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"

# === 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"

# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"

# You don't actually need this next BusID bit - unless maybe you have dual monitors?
# I've removed it from mine (single monitor only) and all is well.
# I think it's a leftover from fxglrconfig - doh!
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Nokia 447ZA"
Option "DPMS"
HorizSync 31-72
VertRefresh 50-120
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9600 (R300 AP)"
Monitor "Nokia 447ZA"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

maqi
April 12th, 2005, 03:09 PM
Aye, I did. A quick 'lsmod' showed that fglrx was loaded into memory, but Mesa was still in charge. It wasn't until I stopped X and reinstalled the xorg-driver-fglrx package that I was able to unseat Mesa and get direct acceleration.

Kewl, thanks! I'll add your tip to the HOW TO. It's kind of weird though - the driver module is acually in the restricted-modules package. Another question: Are you on a -k7 kernel?

(Sorry about the non-stop questions :-| )

I have tried to log out from x and then reinistall linux-restricted-modules-2.6.10-5-k7 and have done that modprobe fxlrx but it's still mesa which is in charge here.

lsmod | grep fglrx gives me otput: fglrx 237312 0

Well the module is there and it loads. Try a reboot and see if that does it.

Otherwise - do what valthonis has advised. Make sure you reinstall xorg-driver-fglrx as well as the restricted-modules. And since you'll be working from the console if you have to do this - write the commands down :)

maqi

uggeli
April 12th, 2005, 04:12 PM
@maqi

It seems I wrote my last message little too fast and didn't think enough..

I meant to say that I restarted my computer, and at login I pressed ctrl+alt+f1 and logged in when ubuntu was in textmode. Then I typed 'sudo /etc/init.d/gdm stop' just for sure. After that I reinstalled linux-restricted-modules-2.6.10-5-k7 xorg-driver-fglrx (that driver missed from my last post, but I did install those). First it said I allready have newest version, then I removed that pagage and installed it again (don't remember right command for reinstallation) so I have installed those drivers but not linux-restricted-modules, atleast I didn't reinstall those at that time.

After all that I wrote as was mentioned earlier in this thread
sudo su
modprobe fglrx
(just thinking that isn't 'sudo modprobe fglrx' same thing, but I wrote that as it was mentioned there.)

After that I wrote init 6 and computer rebooted, I logged in to x and I test to write fglrxinfo, and as I said earlier there was mesa, not ati.

maqi
April 12th, 2005, 04:27 PM
I'm stumped. Your xorg.conf looks OK. Maybe you should back it up and try fglrxconfig.

And sudo modprobe should work fine. It's not quite the same thing as sudo su then modprobe but it's safer :)

good luck :)

pystyj
April 12th, 2005, 04:51 PM
OK. My problem is simple, what is the command to use ati control panel (fglrx-control)?

Thanks!

OK! If anyone is interested the command is:

fireglcontrol

simianMiscreant
April 12th, 2005, 04:56 PM
Hi, I just got Ubuntu last night, and while your how-to looks very promising, I followed it to the letter, but when I use fglrx drivers, when X starts my screen sort of powers off. I had this problem with Fedora and fglrx, and it was resolved by changing my monitor mode to "LVDS." Here's some output from /var/log/Xorg.0.log:

(II) fglrx(0): Generic Monitor: Using default hsync range of 28.00-33.00 kHz
(II) fglrx(0): Generic Monitor: Using default vrefresh range of 43.00-72.00 Hz
(II) fglrx(0): Clock range: 20.00 to 350.00 MHz
(II) fglrx(0): Not using default mode "640x350" (hsync out of range)
(II) fglrx(0): Not using default mode "320x175" (bad mode clock/interlace/doublescan)
(II) fglrx(0): Not using default mode "640x400" (hsync out of range)
(II) fglrx(0): Not using default mode "320x200" (bad mode clock/interlace/doublescan)
(II) fglrx(0): Not using default mode "720x400" (hsync out of range)
(II) fglrx(0): Not using default mode "360x200" (bad mode clock/interlace/doublescan)
(II) fglrx(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) fglrx(0): Not using default mode "640x480" (hsync out of range)
(II) fglrx(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) fglrx(0): Not using default mode "640x480" (hsync out of range)
(II) fglrx(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) fglrx(0): Not using default mode "640x480" (hsync out of range)
(II) fglrx(0): Not using default mode "320x240" (bad mode clock/interlace/doublescan)
(II) fglrx(0): Not using default mode "800x600" (hsync out of range)
(II) fglrx(0): Not using default mode "400x300" (bad mode clock/interlace/doublescan)
(II) fglrx(0): Not using default mode "800x600" (hsync out of range)
(II) fglrx(0): Not using default mode "400x300" (hsync out of range)
(II) fglrx(0): Not using default mode "800x600" (hsync out of range)
(II) fglrx(0): Not using default mode "400x300" (hsync out of range)
(II) fglrx(0): Not using default mode "800x600" (hsync out of range)
(II) fglrx(0): Not using default mode "400x300" (hsync out of range)
(II) fglrx(0): Not using default mode "800x600" (hsync out of range)
(II) fglrx(0): Not using default mode "400x300" (hsync out of range)
(II) fglrx(0): Not using default mode "1024x768" (hsync out of range)
(II) fglrx(0): Not using default mode "512x384" (hsync out of range)
(II) fglrx(0): Not using default mode "1024x768" (hsync out of range)
(II) fglrx(0): Not using default mode "512x384" (hsync out of range)
(II) fglrx(0): Not using default mode "1024x768" (hsync out of range)

BLAH BLAH BLAH...

(II) fglrx(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) fglrx(0): Not using default mode "1024x768" (hsync out of range)
(II) fglrx(0): Not using mode "1920x1200" (no mode of this name)
(--) fglrx(0): Virtual size is 640x480 (pitch 640)
(**) fglrx(0): Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(II) fglrx(0): Modeline "640x480" 25.20 640 656 752 800 480 490 492 525 -hsync -vsync
(==) fglrx(0): DPI set to (75, 75)

and also (WW) fglrx(0): Option "LVDS" is not used

when I specified "LVDS" to try and make it work. Any idea what's causing this? My machine is a Dell Inspiron XPS with a Mobility Radeon 9800. My screen normally runs at 1920x1200. Thanks a million, let me know if you need any more info.

simianMiscreant
April 12th, 2005, 04:57 PM
See I think xorg thinks it's running (and in theory IS running, I just can't see it), it just doesn't find a suitable resolution at which to display.

maqi
April 12th, 2005, 05:17 PM
Looks like your horizontal and vertical syncs are wrong. Is your monitor correctly identified in xorg.conf? Doesn't look like it in the x log.

Have you given fglrxconfig a try?

valthonis
April 12th, 2005, 06:07 PM
Kewl, thanks! I'll add your tip to the HOW TO. It's kind of weird though - the driver module is acually in the restricted-modules package. Another question: Are you on a -k7 kernel?

(Sorry about the non-stop questions :-| )

Bingo! I'm running 2.6.10-5-k7 on my Athlon XP 2800+ (on an nForce2-based motherboard). Like I said before, it's all working just fine. I'm @ work right now, but when I get home I'll post the streamlined steps I took to get it all working. There are a few extra options you have to toss into your xorg.conf on a nForce2 chipset to get things running smoothly.

Oh, and don't worry about the questions. It's how we make things explicitly clear here.

simianMiscreant
April 12th, 2005, 06:36 PM
er...please? please help :|

maqi
April 12th, 2005, 08:35 PM
OK! If anyone is interested the command is:

fireglcontrol

Nice :)

simianMiscreant
April 13th, 2005, 12:45 PM
oh someone please help me....life without hardware acceleration is like...

life without...oxygen. ok, so i'm not the best at similes, but seriously, it's like xorg is running (and it IS running), it's just my screen can't find a suitable resolution or refresh rate...it's an LCD 1920x1200 at 60Hz on a Radeon Mobility 9800 with 256mb of vram. when i had fedora core 3, which also has a graphical login screen, i had to tell xorg to set an option "LVDS," which is Low Voltage Differential Signaling. i don't remember how i did it, but it helped this problem with fedora. i really, really like ubuntu so far, and this ati guide seems SO great - it's given me the only hope i've ever had that i'd get hardware acceleration in linux. could someone please bail a poor helpless n00b out?

EDIT: i installed the drivers while in X...should i uninstall from Synaptic, then apt-get them while not in X? (i doubt that's the problem, but...maybe?)

EDIT2: PLEAAAAASE HELP!

valthonis
April 13th, 2005, 08:25 PM
when i had fedora core 3, which also has a graphical login screen, i had to tell xorg to set an option "LVDS," which is Low Voltage Differential Signaling. i don't remember how i did it, but it helped this problem with fedora.

Try adding the following in your Display section of your xorg.conf file under the entry for Driver:
Option "MonitorLayout" "LVDS, TMDS"

That seems to be the key to making the fglrx driver use LVDS on LCD displays. If you have a CRT, try:
Option "MonitorLayout" "LVDS, CRT"

EDIT: Oh, you have a laptop! Try this: Option "MonitorLayout" "LVDS, STV"

Also, I cannot stress enough the convenience of stopping X before installing the ATI drivers. Here are the steps I use (since my entries above, I've replicated this process on my wife's computer and had no further problems):

1. Write down these instructions, bring them up on a second computer, or print them out We're about to stop your X.org server, so you won't be able to come back and refer to these directions without a hardcopy.
2. Switch to your local console by pressing Ctrl+Alt+F1 and login with your normal username and password.
3. STOP X.ORG: sudo /etc/init.d/gdm stop
4. Ensure that the fglrx driver (if present) isn't loaded, or it will NOT be correctly installed: sudo modprobe -r fglrx
5. Reinstall the restricted modules for your kernel and the accelerated X.org server via apt-get:
sudo apt-get install --reinstall linux-restricted-modules-2.6.10-5-<your architecture here> xorg-driver-fglrx
6. Edit your xorg.conf file using the guidelines above in this thread.
7. Test your X.org configuration:
a. Start X.org: startx
b. Open a Terminal once X.org/GNOME starts.
c. Type 'fglrxinfo'. Your ATI video card should be displayed.

If this has worked, feel free to go to System -> Log Out to go back to the console. You can retart GDM without rebooting by typing this: sudo /etc/init.d/gdm start && logout You should now have full acceleration! If it didn't work, post here and we'll help you as best we can.

Hope this helps!

simianMiscreant
April 13th, 2005, 08:53 PM
everything is fully accelerated...WOW. thank you all SO much. 5 distros and i've never been able to get hardware acceleration...thanks a lot, guys. :razz: steam on linux...words do not exist to articulate my joy...

valthonis
April 13th, 2005, 08:57 PM
everything is fully accelerated...WOW. thank you all SO much. 5 distros and i've never been able to get hardware acceleration...thanks a lot, guys. :razz: steam on linux...words do not exist to articulate my joy...

Glad we could help, sM!

maqi
April 14th, 2005, 04:42 AM
Glad we could help, sM!

Another great post valthonis. That one's going to the top of the thread. Reckon I'll replace your previous stopping the xserver post (I thought there was a missing --reinstall in that apt-get command) and just separate your post into two sections.

I'm also wondering if the need to install the drivers outside of x is a k7 specific thing. They seem to install within x OK on x86 systems and restart x. It would be nice to know - we could then make this HOW TO even more refined.

Nice stuff :D

maqi

ubu
April 14th, 2005, 06:17 AM
Hi,
I'm supposed to work on an HP/Compaq Evo 620c.

lspci shows

0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]



If you're using the fglrx driver I'm afraid you're out of luck. It does not support your card - see above.
maqi

so that's the reason that I get No such device with modprobe I suppose!?


# modprobe fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.10-5-386/kernel/drivers/video/fglrx.ko): No such device


What can I do to improve at least the 2D performance?
glxgears shows an average of about 260fps.
But the screen redraw is the real pain.
When revealing the desktop it takes quite long until the icons on it redraw.
Or the contents of a window if I drag it outside the screen and take it back.

Any ideas?

Thanks a lot, Michael.

Edit: On the first glance it doesn't make any difference if I load the 'ati' driver or the 'radeon'. Should there be any diffrence?

foxy123
April 14th, 2005, 06:58 AM
I wonder if there is a guide for updating an existing driver? After following this how-to I've got 8.8.25, while the latest driver is 8.12.10.

Valis
April 14th, 2005, 08:05 AM
@Valthonis

thx for the work, it seems to work but after i restart my computer the acceleration does not work. I have to ctrl+alt+f1, stop the gdm and restart it and hey it works again until the next restart.

fglrxinfo says : Xlib: extension "XFree86-DRI" missing on display ":0.0" Has somebody an idea how to make it permanently working without killing and restarting the gdm ?

thx ( my next video card will be Nvidia :)

Athlox XP 3200
Abit Nforce2 Ultra
Club3d Ati 9600pro

maqi
April 14th, 2005, 09:55 AM
Hi,

I'm supposed to work on an HP/Compaq Evo 620c.

lspci shows

0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]

so that's the reason that I get No such device with modprobe I suppose!?


# modprobe fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.10-5-386/kernel/drivers/video/fglrx.ko): No such device

Ubu, even though your card is, unfortunately, unsupported you should still be able to load the module even if nothing can use it. Browse to the ..../video directory mentioned in the error message. Is there a file (the module itself!) in there named fglrx.ko? I suspect the answer is "no". You could reinstall the restricted modules but unless there's some other module in that package that you need there's probably not much point.

I think you have to stick with the open source drivers.

What can I do to improve at least the 2D performance?
glxgears shows an average of about 260fps.
But the screen redraw is the real pain.
When revealing the desktop it takes quite long until the icons on it redraw.
Or the contents of a window if I drag it outside the screen and take it back.

Any ideas?

Thanks a lot, Michael.

I'm not sure about this. How much memory do you have? There is a thread here (http://www.ubuntuforums.org/showthread.php?t=26148) which might help.

Edit: On the first glance it doesn't make any difference if I load the 'ati' driver or the 'radeon'. Should there be any diffrence?

Again, not sure. I believe the default "ati" driver shows up as aty. I never had such slow 2D performance with it and I''ve never tried the "radeon" driver.

Sorry I can't be more help :(

I wonder if there is a guide for updating an existing driver? After following this how-to I've got 8.8.25, while the latest driver is 8.12.10

Read the first post (http://www.ubuntuforums.org/showthread.php?t=24557&page=1&pp=40) in this thread again. Pay special attention to NOTE 2. If you are using an ubuntu kernel you are better off sticking with the ubuntu driver package which provides the 8.8.25 drivers. The ubuntu developers will be upgrading the drivers to 8.12.10 shortly so you will be able to update them very easily via the Update Manager.

If you still really want to upgrade NOW NOW NOW be aware that your impatience could cause you problems in the future. This is not necessarily bad as you will learn stuff. In fact, if you decide to take that path you can start your learning immediately: the answers are in this thread and other threads in these forums - find them.

BTW - it's not really that hard. Just think about it for a moment - you will need to uninstall some stuff and then install some other stuff. Sorry to answer this way but the purpose of this HOW TO thread is to help less experienced users - not make their life harder by encouraging and teaching them to do things which will give them headaches.

Good luck :)

maqi

uggeli
April 15th, 2005, 07:54 PM
I tried to follow valthonis guide on page 7 but I din't change my monitorlayout in xorg.conf. So I started by stopping x.org, when it's time to 'fglrxinfo' I got error.

fglrxinfo: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

If I try 'sudo modprobe fglrx' I got no error on that but after 'fglrxinfo' I got that same errormessage as above.

ManLord
April 15th, 2005, 09:30 PM
I have installed the drivers as suggested..

have 2200 fps in glxgears
have 200 fps in fgl_glxgears

Is this what I can expect with ati radeon 9600 mobility pro turbo? Not saying it's bad, just don't know what to refer to..

But when I run fgl_glxgears the animation is kinda "choppy", it's lags like every 0.5 sec or so. Even though I have 200 fps as mentioned..

What is wrong?

I also get the same result running a game (Americas Army), it doesn't seem to have any problems with the frame rate.


EDIT: I managed to figure it out, well at least I solved it.. :) Earlier I had used the fglrxconfig so make the xorg.conf, so the part for my video card was waaay long. Took the section from maqi's xorg.conf (in the first post) and now I have about 2400 for the glxgears and 450 for the fgl_glxgears, all running smooth. :-P

It's like they say: Less is more!

rotorwash
April 17th, 2005, 12:15 AM
I've tried most of the suggestions (except downgrading the kernel) and howtos and still cannot get fglrx to accelerate 3D. I am at my wits end. I am running kernel 2.6.10-5-k7 on a nforce2 motherboard. The 'Load GLcore' directive in the configuration is ignored:
(WW) Ignoring request to load module GLcore

I get these other messages in the log:
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_clip.o": No sym
bols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_norm.o": No sym
bols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_xform.o": No sy
mbols found
(II) Module GLcore: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX
(II) Primary Device is: PCI 02:00:0
(WW) fglrx: No matching Device section for instance (BusID PCI:2:0:1) found

And then when the monitor settings (hsync/vsync) are correct I get the following messages for all resolutions I have chosen:
(II) fglrx(0): Not using default mode "<choose res>" (hsync out of range) (the <choose res> is a place marker for all my chosen resolutions). Finally, I get the following whether I choose the kernel agpgart or the external:
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENOMEM"
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xf8c52000 at 0xb7db6000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *

BTW, the fglrx module is loaded. Given this, I must conclude that the kernel, the package 'xorg-driver-fglrx', or the xorg server shipped with hoary is broken. I did not have these problem on Warty. So the big question is has anyone gotten fglrx to accel openGL using the default hoary installation and packages with the K7 kernel??? So far, most of the suggestions and hacks posted here and elsewhere has not help me. From my perusing these forums and others I am not alone in not being able to get the xorg packages working with my ATI card. If it is working for you please reply with step-by-step instructions or send me a PM. Following this howto and the other suggestions in this forum has gotten me nowhere. Thanks ](*,)

p.s. I tried valthonis' suggestion to no avail.

My config:
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"

FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "dri"
# Access to OpenGL ICD is allowed for all users:
Mode 0666
EndSection

Section "Module"
# This loads the DBE extension module.
Load "bitmap"
Load "dbe"
Load "ddc"
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "extmod"
Load "type1"
Load "freetype"
Load "GLcore"
Load "glx" # libglx.a
Load "dri" # libdri.a
Load "int10"
Load "record"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Monitor0"
HorizSync 30-81
VertRefresh 56-85
Option "DPMS"
EndSection

Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
Option "no_accel" "no"
Option "no_dri" "no"
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
Option "DesktopSetup" "0x00000000"
# Option "MonitorLayout" "AUTO, AUTO"
Option "MonitorLayout" "LVDS, TMDS"
Option "IgnoreEDID" "off"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "NoTV" "no"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
# === OpenGL specific profiles/settings ===
Option "Capabilities" "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"
Option "KernelModuleParm" "agplock=0" # AGP locked user pages: disabled
BusID "PCI:2:0:0" # vendor=1002, device=4e48
Screen 0
EndSection

Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
#Option "backingstore"

Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0 # initial origin if mode is smaller than desktop
# Virtual 1280 1024
EndSubsection
EndSection

Section "ServerLayout"
Identifier "Server Layout"
Screen "Screen0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Generic Keyboard" "CoreKeyboard"
EndSection

lynng
April 17th, 2005, 01:16 AM
rotorwash, I noticed in your xorg.config that you are loading the extmod module twice, once in the subsection and again by itself immediately after. This created a few problems for me when I completed the howto, but the errors were not identical to yours. It may or may not affect your situation, but I would suggest removing the second instance.

Added: I also have a Radeon Mobility (9000), and my Device section is a bit smaller than yours:

Section "Device"
Identifier "ATI Technologies, Inc. Radeon Mobility 9000 M9 (R250 Lf)"
Driver "fglrx"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"

# === 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"

# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"

# You don't actually need this next BusID bit - unless maybe you have dual monitors?
# I've removed it from mine (single monitor only) and all is well.
# I think it's a leftover from fxglrconfig - doh!
BusID "PCI:1:0:0"
EndSection

maqi
April 17th, 2005, 08:08 AM
I've tried most of the suggestions (except downgrading the kernel) and howtos and still cannot get fglrx to accelerate 3D. I am at my wits end. I am running kernel 2.6.10-5-k7 on a nforce2 motherboard. The 'Load GLcore' directive in the configuration is ignored:
(WW) Ignoring request to load module GLcore

I get these other messages in the log:
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_clip.o": No sym
bols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_norm.o": No sym
bols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_xform.o": No sy
mbols found
(II) Module GLcore: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX
(II) Primary Device is: PCI 02:00:0
(WW) fglrx: No matching Device section for instance (BusID PCI:2:0:1) found

And then when the monitor settings (hsync/vsync) are correct I get the following messages for all resolutions I have chosen:
(II) fglrx(0): Not using default mode "<choose res>" (hsync out of range) (the <choose res> is a place marker for all my chosen resolutions). Finally, I get the following whether I choose the kernel agpgart or the external:
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENOMEM"
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xf8c52000 at 0xb7db6000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *

BTW, the fglrx module is loaded. Given this, I must conclude that the kernel, the package 'xorg-driver-fglrx', or the xorg server shipped with hoary is broken. I did not have these problem on Warty. So the big question is has anyone gotten fglrx to accel openGL using the default hoary installation and packages with the K7 kernel??? So far, most of the suggestions and hacks posted here and elsewhere has not help me. From my perusing these forums and others I am not alone in not being able to get the xorg packages working with my ATI card. If it is working for you please reply with step-by-step instructions or send me a PM. Following this howto and the other suggestions in this forum has gotten me nowhere. Thanks ](*,)

p.s. I tried valthonis' suggestion to no avail.

My config:
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"

FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "dri"
# Access to OpenGL ICD is allowed for all users:
Mode 0666
EndSection

Section "Module"
# This loads the DBE extension module.
Load "bitmap"
Load "dbe"
Load "ddc"
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

Load "extmod"
Load "type1"
Load "freetype"
Load "GLcore"
Load "glx" # libglx.a
Load "dri" # libdri.a
Load "int10"
Load "record"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Monitor0"
HorizSync 30-81
VertRefresh 56-85
Option "DPMS"
EndSection

Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
Option "no_accel" "no"
Option "no_dri" "no"
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
Option "DesktopSetup" "0x00000000"
# Option "MonitorLayout" "AUTO, AUTO"
Option "MonitorLayout" "LVDS, TMDS"
Option "IgnoreEDID" "off"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "NoTV" "no"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
# === OpenGL specific profiles/settings ===
Option "Capabilities" "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"
Option "KernelModuleParm" "agplock=0" # AGP locked user pages: disabled
BusID "PCI:2:0:0" # vendor=1002, device=4e48
Screen 0
EndSection

Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
#Option "backingstore"

Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0 # initial origin if mode is smaller than desktop
# Virtual 1280 1024
EndSubsection
EndSection

Section "ServerLayout"
Identifier "Server Layout"
Screen "Screen0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Generic Keyboard" "CoreKeyboard"
EndSection


Hey rotorwash,

Chill out dude 8) Neither the fglrx driver nor the xorg server packages are broken. You have made some errors in the way you have followed the HOW TO's. At least this one for sure. And the instructions in the HOW TO are for the default installation.

As lynng pointed out - you are loading the "extmod" module twice. Your xorg.conf needs some work. It is obvious that at some point you have used fglrx config to generate xorg.conf due to the incredible amount of stuff under the "Device" section. This is not necessarily bad but it is confusing. Anyway ...

You need to keep the 2 lines "Subsection - load "extmod" - Option omit "xfree86-dga" and get rid of the next line which reloads "extmod".

Also, from the Flavio Stanchina website - which you would have looked at by now if you'd actually followed the instructions in this HOW TO :---) (or learned how to use google :-P. I entered your AGP error message and the first site returned was Flavio's mailing list) :

The error unable to acquire AGP, error "xf86_ENOMEM" in your XFree86 log usually means that you are using the built-in AGP support with an unsupported chipset. Set "UseInternalAGPGART" to "no" and load the kernel driver .. which will hopefully support your AGP chipset.

If you take a look at the incredibly confusing mess that fglrxconfig has made of your "Device" section you will notice that you are using the ATI internal AGPGART support rather than the kernel support. The recommended option is - "Use Internal AGPGART" "no" This may be why you are getting the AGP error.

Hopefully, if you fix the "extmod" issue which lynng identified and change your AGPGART option to use the kernel driver you should be fine. Give it a go and let us know if there are still problems.

BTW ... are you using single or dual monitors? What type? I ask this because of the PCI bus display error. What card are you using? This sort of information is handy if you want useful help.

Hope this helps :)

maqi

fish78
April 17th, 2005, 10:57 AM
What happens if anyone of you with a NForce2 board tries to enter "lmsod |grep nvidia"
I get:
nvidia_agp 7708 1
agpgart 33704 2 nvidia_agp

Tuxracer and tuxkart work, but the opengl screensavers don't work.
Also I can't change resolution. That only works if I remove the extmod module.

UPDATE
Ok, all seems to work now, except for the screensavers. For tvtime you have to add "Option "VideoOverlay" "on" in the device section of xorg.conf.
KInfoCenter (for KDE users) still crashes if you try to view details on OpenGL, but I guess I can live with that. ;)

rotorwash
April 17th, 2005, 01:45 PM
Thanks for the replies. [-X I visited flavio's site before I posted the first post and tried his suggestions to no avail. I have two xorg.conf files, one generated using dpkg-reconfigure and one generated using fglrxconfig. I get the '[agp] unable to acquire AGP, error "xf86_ENOMEM"' error no matter what the UseInternalAGPGART option is set to(yes/no; in the file or removed). Removing the duplicate extmod entry has no effect. I only have one monitor. The card is an ATI AIW 9800 Pro. I do not care about the TV stuff on the card just OGL accel. Guess I will remove all of the bits and start from scratch. I still want to know if anyone has got this working using the K7 kernel. On Warty I had to use ATI's modules to get GL acceleration because following the howto did not work. I figured it would work on Hoary.

twigsby
April 17th, 2005, 02:42 PM
The ubuntu developers will be upgrading the drivers to 8.12.10 shortly so you will be able to update them very easily via the Update Manager.


Do you know when this will be? (more specifically) :)

kandahari
April 17th, 2005, 04:23 PM
I installed binary driver

Everything works fine -ati driver loaded-, but I cannot save my fglrxconfig output in xorg.conf , if I run fglrxconfig -and I must run it because my tvoutput-
, it will save to the XFree86.conf *

how can I save my fglrxconfig output to the xorg.conf file?

I use Fedora too and there, all this save things work fine

If I rename Xfree86 , doesnt work ;(
Doesnt load than the X server, it write:load not a valid command in xorg.conf
and it have other problems too


Can everybody save xorg.conf?this is only my problem?

Krpano
April 17th, 2005, 07:10 PM
Yahooooooooooooooooooooooooooooooooooooooo.
Its working.
Thanks to this GREAT THREAD.

\\:D/ \\:D/ \\:D/

Bug
April 17th, 2005, 07:43 PM
After spending days trying to get my 9800 to work, I reinstalled Hoary. Did all the updates and installed fglrx via synaptic and it worked the first time. I think all the fiddling around was causing it to fail and a reinstall was the easiest way to fix. Just a note to anyone trying this. Oh, and .11 kernel does NOT work at all.

Adam

maqi
April 17th, 2005, 07:58 PM
I installed binary driver

Everything works fine -ati driver loaded-, but I cannot save my fglrxconfig output in xorg.conf , if I run fglrxconfig -and I must run it because my tvoutput-
, it will save to the XFree86.conf *

how can I save my fglrxconfig output to the xorg.conf file?

I use Fedora too and there, all this save things work fine

If I rename Xfree86 , doesnt work ;(
Doesnt load than the X server, it write:load not a valid command in xorg.conf
and it have other problems too


Can everybody save xorg.conf?this is only my problem?

Do you have root privileges when you try and rename/save xorg.conf?

Try:
$ sudo cp /path/to/Xfree86.conf /etc/X11/xorg.conf

Without knowing what error messages you get I'm just guessing, but this is the most obvious reason why you can't save the file. I can't really think of any other reason.

Hope this helps
maqi

maqi
April 17th, 2005, 08:15 PM
Thanks for the replies. [-X I visited flavio's site before I posted the first post and tried his suggestions to no avail. I have two xorg.conf files, one generated using dpkg-reconfigure and one generated using fglrxconfig. I get the '[agp] unable to acquire AGP, error "xf86_ENOMEM"' error no matter what the UseInternalAGPGART option is set to(yes/no; in the file or removed). Removing the duplicate extmod entry has no effect. I only have one monitor. The card is an ATI AIW 9800 Pro. I do not care about the TV stuff on the card just OGL accel. Guess I will remove all of the bits and start from scratch. I still want to know if anyone has got this working using the K7 kernel. On Warty I had to use ATI's modules to get GL acceleration because following the howto did not work. I figured it would work on Hoary.

Hey rotorwash,

valthonis and lynng (and plenty of others probably) got this working on the k7 kernel. Very strange that you get the AGP error either way. It seems odd that no AGP support works at all. I have no idea how this could be so.

I can highly recommend trying valthonis' idea to reinstall the restricted modules and the driver package with the xserver shut down. But first regenerate your xorg.conf with "sudo dpkg-reconfigure xserver-xorg" - or copy the backup of your original pre-fglrx xorg.conf back. Then either edit your xorg.conf as per the suggestions and shutdown the xserver (without rebooting) or shutdown and then edit xorg.conf in a console text editor like vim, etc.

It seems that the majority of people get these drivers working without too much trouble. I suspect it's just a minority of us who have a lot of trouble.

BTW - are you using the ubuntu packages? I suspect yes, but just checking. If so, have you tried to use the rpm from the ATI site at all? Again, just trying to eliminate stuff. If you've tried both, then you could have problems with residual files causing weirdness like this.

Good luck,
maqi

maqi
April 17th, 2005, 08:30 PM
Do you know when this will be? (more specifically) :)

I have no idea. I found the information HERE (http://www.ubuntuforums.org/showpost.php?p=120987&postcount=2). I guess that I'm assuming (justifiably I think) that ubuntu-geek knows what he's talking about.

maqi

rotorwash
April 18th, 2005, 12:01 AM
maqi, I did exactly that. I removed and reinstalled everything and it now works! Do not know what the original cause of the failures were but I now have 3D accel. Thanks for the suggestions everyone.

maqi
April 18th, 2005, 12:16 AM
maqi, I did exactly that. I removed and reinstalled everything and it now works! Do not know what the original cause of the failures were but I now have 3D accel. Thanks for the suggestions everyone.

Yay, rotorwash :D

This is very interesting though. Another k7 user who found it particularly difficult to get these drivers working. Hmmm ...
:-k

Jun-Dai
April 18th, 2005, 03:25 AM
Caution: The ATI RADEON™ X800 XL is not supported in this driver release.

Given that the x800xl isn't supported in Ati's latest driver release (8.12.10), am I best off waiting for them to support it, or should I try to get my system up and running without the correct drivers? How long does it usually take for Ati to get their newer cards into the driver release?

laissezfaire
April 18th, 2005, 06:51 PM
Hi Guys
I am a newbie and I was able to install the ATI drivers and get 3d acceleration for the first time with Ubuntu and without having any difficulty. This distribution rocks!!!
However now I have some other problems:
1- When I press ctr1+alt+f1 the screen goes black and the computer crashes.
2- Sometimes when I select "restart computer" from KDE (I am a Kubuntu user) the screen suddenly becomes white and starts to go black from the edges towards the center so that everything is black after 30 seconds or so. The first time I had this it scared the hell out of me. I thought I burnt the monitor or something. :) Still very annoying though.
3-Also openGL screensavers donot work.
I am using a laptop with 1280x800 resolution and I have a mobility radeon 9600 card. Any help is very much apreciated.

globalspace
April 18th, 2005, 07:07 PM
wow i have a Radeon 9800pro ... and with this guide my favourite games tuxracer,supertux,neverball works GREAT with a fantastic 3d acceleration! supertux works with opengl ... fantastic

THANKS a lot
now.....i'm going to play \\:D/ :grin:

Turin Turambar
April 18th, 2005, 09:47 PM
Thank you thank you thank you!
I tried the same on SuSE 9.2 and I always ended up with monitor out of sync. Then I gave up...

I tried on Ubuntu and - it works! Great! :)

Also games/screensavers don't crash anymore! Superb! :)

ohman
April 18th, 2005, 09:52 PM
Given that the x800xl isn't supported in Ati's latest driver release (8.12.10), am I best off waiting for them to support it, or should I try to get my system up and running without the correct drivers? How long does it usually take for Ati to get their newer cards into the driver release?
Go ahead and set it up using the open source ati driver that comes with ubuntu. As you can see from the OP its not a very long and involved process. Your system will run fine until then, you just won't have hardware acceleration.

I'm running the open source ati driver on my laptop because fglrx doesn't like to hibernate or suspend.

Sabator
April 19th, 2005, 05:43 PM
Go ahead and set it up using the open source ati driver that comes with ubuntu. As you can see from the OP its not a very long and involved process. Your system will run fine until then, you just won't have hardware acceleration.

I'm running the open source ati driver on my laptop because fglrx doesn't like to hibernate or suspend.
I noticed on the ATi website it says you can convert the .rpm packages to .deb files. How safe is this method? Because you've made a big FAQ on an alternate method, I assume converting the official drivers doesn't work, or give slow performance? Also, I tried getting your method to work, but with no success. Here's my config file-


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
...
Load "GLcore"
Load "glx"
Load "dri"
...
# Load "extmod" but omit DGA extension
# (the DGA extension is broken in the fglrx driver)
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
...
EndSection

Section "Device"
Identifier "ATI"
Driver "fglrx" # this is the important bit

# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"

# === 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"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"
EndSection

Section "Screen"
Identifier "your screen"
Device "ATI Radeon 9200SE"
Monitor "generic monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" # this is only an example,
# use your preferred resolution here
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection


Can you spot anything wrong with that?

rotorwash
April 19th, 2005, 06:47 PM
I used the ATI drivers on Warty because I could not get the howto suggestions to work for me. Installing the rpm using the alien switch worked fine and the ATI drivers worked fine, too. I think that using the ubuntu packages makes upgrading a lot simpler so I try to use those as much as possible. I usually go outside the package structure only when I need the latest or pre-released version of things for whatever reason or something is not available.

maqi
April 19th, 2005, 08:59 PM
I noticed on the ATi website it says you can convert the .rpm packages to .deb files. How safe is this method? Because you've made a big FAQ on an alternate method, I assume converting the official drivers doesn't work, or give slow performance? Also, I tried getting your method to work, but with no success. Here's my config file-


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
...
Load "GLcore"
Load "glx"
Load "dri"
...
# Load "extmod" but omit DGA extension
# (the DGA extension is broken in the fglrx driver)
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
...
EndSection

Section "Device"
Identifier "ATI"
Driver "fglrx" # this is the important bit

# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"

# === 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"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"
EndSection

Section "Screen"
Identifier "your screen"
Device "ATI Radeon 9200SE"
Monitor "generic monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" # this is only an example,
# use your preferred resolution here
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection


Can you spot anything wrong with that?
Can't you :confused:

First - there is lots wrong with your xorg.conf. Take a look at the example given in the HOW TO. All you have done is pasted Flavio's changes without keeping stuff you need :shock: You left out most of your xorg.conf. I'm surprised your computer even boots into X or that your keyboard works.

Second - rotorwash is correct. Stick with the ubuntu packages as much as you can.

I do provide a link to instructions to convert the rpm - but I don't recommend this option for newcomers. It will cause you problems in future - see NOTE 2 of the HOW TO. And frankly, looking at what you've done with your xorg.conf I don't think you really want to go there just yet - not if you can't see what's wrong with it yourself.

The thing is that if you are having trouble getting the drivers to work, it is not the driver package itself which is at fault. There is nothing wrong with the ubuntu packages - they are designed to work with ubuntu specifically - so if you can't get them working you won't get the rpm package working either - until you figure out what the problem is. And I have to say again, that if you can't see what's wrong you're not ready to handle the problems you'll get ini future if you use the converted rpm.

Take another look at the HOW TO - especially the example xorg.conf. Compare it to yours. Fix your xorg.conf and you should be fine.

Sorry to be so blunt, but really ... :roll:

maqi

ignavia
April 20th, 2005, 12:32 AM
Okay maqi, I used your xorg.conf exactly, only changing card types (mine's a 9200SE). I also have a 19" NEC monitor, so that worked out nicely. Thanks for the 75Hz, btw. :)

Two problems:

$ fgl_glxgears
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 129 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 32
Current serial number in output stream: 32

Also, whenever something is happening, i.e. the screen image is changing, I get horizontal white lines on the right side of the screen that flicker in and out. It also happens, for instance, when FF is loading a page. It didn't happen before fglrx, and it still happened at 60Hz. Any thoughts on that?

Thanks.

Sabator
April 20th, 2005, 01:43 AM
Okay maqi, I used your xorg.conf exactly, only changing card types (mine's a 9200SE). I also have a 19" NEC monitor, so that worked out nicely. Thanks for the 75Hz, btw. :)

Two problems:

$ fgl_glxgears
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 129 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 32
Current serial number in output stream: 32

Also, whenever something is happening, i.e. the screen image is changing, I get horizontal white lines on the right side of the screen that flicker in and out. It also happens, for instance, when FF is loading a page. It didn't happen before fglrx, and it still happened at 60Hz. Any thoughts on that?

Thanks.
I'm not sure what the horizontal and vertical sync refresh of my monitor is. It's an old thing, I think maybe 14", and it doesn't go higher than 1024X768. How would I find out? If I can't find out, what are the most conservative values to enter into those fields and still have xorg working?

ritorix
April 20th, 2005, 02:14 AM
I just want to point out that Rotor isnt going crazy, and it does indeed appear to be a programming issue that he (and I) are getting.

To repeat, the error is:
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *


Resulting in no 3d acceleration...so the Mesa drivers are still doing the work.

This is confirmed on the Gentoo ATI FAQ here, search for 'DRI initialization failed!':
http://odin.prohosting.com/wedge01/gentoo-radeon-faq.html

Question 4.33: I'm using a hardened version of GCC and can't get direct rendering to work
If you have both hardended and non-hardened gcc versions installed, it it important to have compiled your kernel, XFree/Xorg, and ati-drivers with the same version of gcc (it shouldn't matter if it's hardened or not - the important thing is to use the same version). This problem can result in no direct rendering and the following messages in your X log:

(II) fglrx(0): [drm] loaded kernel module for "fglrx" driver
(II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx(0): [drm] drmSetBusid failed (4, PCI:1:0:0), Inappropriate ioctl for device
(EE) fglrx(0): DRIScreenInit failed!
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
I have no clue what the gentoo folks mean by gcc hardened, and at this point I have no idea what to do. I imagine it involves mucking with the kernel or recompiling something, neither of which I have the skill to do. Oh well.

yraen69
April 20th, 2005, 05:06 AM
Just thought I'd post my two cents worth.

I have struggled thru Mandrake 10, 10.1, Fedora Core 1, 2 ,3, Gentoo, SuSE and finally onto ubuntu. Seeking a replacement to WINDOWS. The basic functions are there in every distro, I however needed 3D acceleration and with an Ati 9500pro I was a step behind the game until I read this thread. In no other distro have I been able to get the fglrx drivers working acceptably.

System specs

Athlon 3200+
Abit NF7S Nforce2 Ultra chipset
1.5GB DDR400 RAM
ATI 9500 PRO
2 x 120GB hard drive
1 x 80GB
1 x 40GB
1 x 36GB SATA Raptor.
DVDRW etc etc

Out of the box I was impressed, everythiing worked except 3D accelaration. I read the information available on the home page about changes the apt mirrors etc etc.

A few apt-get install xmms* and xine* along with all the other packages such as libdvd, libcss etc saw me playing DVD's/Divx/XviD/Mp3's in a matter of minutes. Thanks again very impressive with the direct commands. I also re-enabled the su command by giving root a password as per the faq.

I followed this guide to the T,

Here is my /etc/X11/xorg.conf

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "GLcore"
Load "glx"
Load "dri"
# Load "extmod" but omit DGA extension - this must be included as is if you want to change resolution on the fly
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9500 Pro (R300 NE)"
Driver "fglrx"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
Option "NoDDC"

# === 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"
Option "UseFastTLS" "2"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"

# You don't actually need this next BusID bit - unless maybe you have dual monitors?
# I've removed it from mine (single monitor only) and all is well.
# I think it's a leftover from fxglrconfig - doh!
BusID "PCI:2:0:0"

EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-49
VertRefresh 43-72
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9500 Pro (R300 NE)"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection



I added a couple of lines which where needed to get the startx command working without leaving me at a blank screen.

Even with that I didnt have 3D acceleration, then some words got me ... you must load the ati modules before X starts. At the suggestion's of somewhere in this thread or a link from it I added the following to my .. (right at the top) ..

/etc/modules
modprobe agpgart
modprobe nvidia-agp

at one stage I also had in there but I dont think this is needed if the line fglrx is already there (which it should be)

modprobe fglrx

Before Following this Guide ( I had MESA in glxinfo instead of ATI)

1500 frames in 5.0 seconds = 300.000 FPS
1663 frames in 5.0 seconds = 332.600 FPS
1425 frames in 5.0 seconds = 285.000 FPS

After following this Guide :

28585 frames in 5.0 seconds = 5717.000 FPS
28328 frames in 5.0 seconds = 5665.600 FPS
27981 frames in 5.0 seconds = 5596.200 FPS
28063 frames in 5.0 seconds = 5612.600 FPS
28367 frames in 5.0 seconds = 5673.400 FPS
27144 frames in 5.0 seconds = 5428.800 FPS
27675 frames in 5.0 seconds = 5535.000 FPS
28200 frames in 5.0 seconds = 5640.000 FPS
28003 frames in 5.0 seconds = 5600.600 FPS
28528 frames in 5.0 seconds = 5705.600 FPS
27247 frames in 5.0 seconds = 5449.400 FPS
27760 frames in 5.0 seconds = 5552.000 FPS
27709 frames in 5.0 seconds = 5541.800 FPS
26918 frames in 5.0 seconds = 5383.600 FPS
26960 frames in 5.0 seconds = 5392.000 FPS
27392 frames in 5.0 seconds = 5478.400 FPS
28035 frames in 5.0 seconds = 5607.000 FPS
28495 frames in 5.0 seconds = 5699.000 FPS
27943 frames in 5.0 seconds = 5588.600 FPS
27991 frames in 5.0 seconds = 5598.200 FPS
28592 frames in 5.0 seconds = 5718.400 FPS
27469 frames in 5.0 seconds = 5493.800 FPS
28333 frames in 5.0 seconds = 5666.600 FPS
28165 frames in 5.0 seconds = 5633.000 FPS
28168 frames in 5.0 seconds = 5633.600 FPS
27763 frames in 5.0 seconds = 5552.600 FPS
27996 frames in 5.0 seconds = 5599.200 FPS
28405 frames in 5.0 seconds = 5681.000 FPS
28353 frames in 5.0 seconds = 5670.600 FPS
27857 frames in 5.0 seconds = 5571.400 FPS
27886 frames in 5.0 seconds = 5577.200 FPS

Needless to say I am extremely happy. Thanks to all who contibuted I have finally found a DECENT version of linux. You have my continued support.

Turin Turambar
April 20th, 2005, 08:49 PM
I would like to enable fast write & 4x mode for my Radeon 9000. Is that possible?

simianMiscreant
April 20th, 2005, 10:57 PM
I have a 9800 Mobility wiht 256MB of vram, and i'm only getting 11423 frames in 5.0 seconds = 2284.600 FPS
11745 frames in 5.0 seconds = 2349.000 FPS
11094 frames in 5.0 seconds = 2218.800 FPS
10268 frames in 5.0 seconds = 2053.600 FPS
9632 frames in 5.0 seconds = 1926.400 FPS

with glxgears...

that guy has a 9500 and he's owning me. any suggestions?

foxy123
April 21st, 2005, 08:25 AM
I would like to enable fast write & 4x mode for my Radeon 9000. Is that possible?

You can find help here: http://rage3d.com/board/showpost.php?p=1333636730&postcount=22

Miguel
April 21st, 2005, 09:20 AM
I have a 9800 Mobility wiht 256MB of vram, and i'm only getting 11423 frames in 5.0 seconds = 2284.600 FPS
11745 frames in 5.0 seconds = 2349.000 FPS
11094 frames in 5.0 seconds = 2218.800 FPS
10268 frames in 5.0 seconds = 2053.600 FPS
9632 frames in 5.0 seconds = 1926.400 FPS

with glxgears...

that guy has a 9500 and he's owning me. any suggestions?

I have a Mobility 9600 Pro Turbo and I get about 1500 fps. So I see yours as normal. Could the FPS be hard disk dependant? Because in linux laptop a guy gets over 3000 fps... with the same laptop (don't know HD rpms).:confused:

Or it could also be that ati drivers suck even more in mobility cards. And that's even after discarding the suspend and resume bugs

PS: Even my girlfriend has heard my rants about ATi (I was really desperate ](*,) )

tlepes
April 21st, 2005, 09:39 AM
Awesome job on the HOWTO. I already have ATI fglrx drivers working. But thanks to your notes I now have the RandR functionality to change screen resolutions. I also cleaned up my xorg.conf now and figured out how to put in my monitor properties for refresh and sync (I have an NEC FE750).

:)

zwaardmeester
April 21st, 2005, 02:33 PM
I have a 9800 Mobility wiht 256MB of vram, and i'm only getting 11423 frames in 5.0 seconds = 2284.600 FPS
11745 frames in 5.0 seconds = 2349.000 FPS
11094 frames in 5.0 seconds = 2218.800 FPS
10268 frames in 5.0 seconds = 2053.600 FPS
9632 frames in 5.0 seconds = 1926.400 FPS

with glxgears...

that guy has a 9500 and he's owning me. any suggestions?

He has been testing with another program. I have a 9800pro with 128MB and an AMD XP2800+ and am getting this:

15606 frames in 5.0 seconds = 3121.200 FPS
16734 frames in 5.0 seconds = 3346.800 FPS
16700 frames in 5.0 seconds = 3340.000 FPS

So your stats are completely OK (or mine are screwed up too ;) ).

I can play Diablo2 extremely well and perhaps even better graphics than it has in windows.

[PS]
Another thing though: it seems to me my eyes are getting more tired with this drivers than with the "ati" drivers. I'm even getting headaches of it... ](*,) Anyone of you having problems with that? (or am I imagining things)

[PPS]
Thanks for the howto!

ignavia
April 21st, 2005, 07:07 PM
Does no one have any suggestions about my crazy white lines?

BAshworth
April 22nd, 2005, 01:09 AM
Well, like many others have already said, great How-To.

Ubunto has been the best distro I've come across in regards to documentation. Ubuntuguide.org, had me from putting the disk in the drive, to a generally fully workable system in under an hour.

I was having the same exact issue as was discussed and resolved in this post (http://www.ubuntuforums.org/showpost.php?p=127849&postcount=52) and none of the follow up solutions were working. After doing a reboot though, everything is up and going great.

Just thought you might want to add a system (kernel) reboot to your "if you have a problem" portion of this How-To.

Again, thanks. I'm looking forward to doing more and more with Ubuntu, as the memory of FC3 fades quickly into memory.

zwaardmeester
April 22nd, 2005, 05:55 AM
Does no one have any suggestions about my crazy white lines?

Do you have the same problems with the original Ati driver? If not, it's probably a configuration mistake. Please open your old ati-configuration and make changes there. It should be working then. Be sure to replace the standard "extmod" by the Subsection Extmod, and specify Horizontal Sync and Vertical Refresh. I'll give you my config to compare:


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "freetype"
Load "glx"
Load "int10"
Load "GLcore"
Load "record"
Load "type1"
Load "vbe"

# Load "extmod" but omit DGA extension
# (the DGA extension is broken in the fglrx driver)

SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection

EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)"
Driver "fglrx"
BusID "PCI:1:0:0"

# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
Option "NoDDC"

# === 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"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"

# You don't actually need this next BusID bit - unless maybe you have dual monitors?
# I've removed it from mine (single monitor only) and all is well.
# I think it's a leftover from fxglrconfig - doh!
#BusID"PCI:1:0:0"

EndSection


Section "Monitor"
Identifier "900B"
Option "DPMS"
HorizSync 30-96
VertRefresh 50-160
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)"
Monitor "900B"
DefaultDepth 24

SubSection "Display"
Depth 24
Modes "1280x960" "1600x1200" "1152x864" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection




PS. If it's still not working, please post your xorg.conf here.

tnilsson
April 22nd, 2005, 06:56 AM
Do you have the same problems with the original Ati driver? If not, it's probably a configuration mistake. Please open your old ati-configuration and make changes there. It should be working then. Be sure to replace the standard "extmod" by the Subsection Extmod, and specify Horizontal Sync and Vertical Refresh. I'll give you my config to compare:


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "freetype"
Load "glx"
Load "int10"
Load "GLcore"
Load "record"
Load "type1"
Load "vbe"

# Load "extmod" but omit DGA extension
# (the DGA extension is broken in the fglrx driver)

SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection

EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)"
Driver "fglrx"
BusID "PCI:1:0:0"

# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
Option "NoDDC"

# === 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"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"

# You don't actually need this next BusID bit - unless maybe you have dual monitors?
# I've removed it from mine (single monitor only) and all is well.
# I think it's a leftover from fxglrconfig - doh!
#BusID"PCI:1:0:0"

EndSection


Section "Monitor"
Identifier "900B"
Option "DPMS"
HorizSync 30-96
VertRefresh 50-160
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)"
Monitor "900B"
DefaultDepth 24

SubSection "Display"
Depth 24
Modes "1280x960" "1600x1200" "1152x864" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection




PS. If it's still not working, please post your xorg.conf here.
I am trying to configure the ATI fglrx driver for my IBM Thinkpad laptop.
First I wanted to try if it was possible to load the kernel module... it failed

FATAL: Error inserting fglrx (/lib/modules/2.6.10-5-686/kernel/drivers/video/fglrx.ko): No such device

outpout from dmeg;
[fglrx] Maximum main memory to use for locked dma buffers: 929 MBytes.
[fglrx:firegl_init] *ERROR* Device not found!

I am using Ubuntu Hoary with the packages:
fglrx-control
xorg-driver-fglrx

Video cards: "ATI Technologies, Inc. Radeon Mobility 9000 (M7 LW)"

ignavia
April 22nd, 2005, 08:35 AM
Do you have the same problems with the original Ati driver? If not, it's probably a configuration mistake. Please open your old ati-configuration and make changes there. It should be working then. Be sure to replace the standard "extmod" by the Subsection Extmod, and specify Horizontal Sync and Vertical Refresh. I'll give you my config to compare:


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "freetype"
Load "glx"
Load "int10"
Load "GLcore"
Load "record"
Load "type1"
Load "vbe"

# Load "extmod" but omit DGA extension
# (the DGA extension is broken in the fglrx driver)

SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection

EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)"
Driver "fglrx"
BusID "PCI:1:0:0"

# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
Option "NoDDC"

# === 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"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"

# You don't actually need this next BusID bit - unless maybe you have dual monitors?
# I've removed it from mine (single monitor only) and all is well.
# I think it's a leftover from fxglrconfig - doh!
#BusID"PCI:1:0:0"

EndSection


Section "Monitor"
Identifier "900B"
Option "DPMS"
HorizSync 30-96
VertRefresh 50-160
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)"
Monitor "900B"
DefaultDepth 24

SubSection "Display"
Depth 24
Modes "1280x960" "1600x1200" "1152x864" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection




PS. If it's still not working, please post your xorg.conf here.
No, the lines only showed up when I implemented this howto. My xorg.conf is <i>identical</i> to the OP's, except I changed the name of the vid card, and ImPS/2 to ExplorerPS/2 to enable my thumb buttons. One thing I haven't tried is changing resolution. Now that I can do it on the fly, I'll give it a shot when I get home.

Deusiah
April 22nd, 2005, 08:41 AM
Ignavia it sounds like you are having the same problem as me. Please see this topic I made and tell me if it sounds similar to your problem http://ubuntuforums.org/showthread.php?t=28786

MacGyver
April 22nd, 2005, 09:20 AM
I just tried this with my Dell Laptop with a 9600 Pro Turbo Mobility (M10) and it worked perfectly.

Thanks for the excellent guide, I really appreciate it!

lynng
April 22nd, 2005, 12:13 PM
I am trying to configure the ATI fglrx driver for my IBM Thinkpad laptop.
First I wanted to try if it was possible to load the kernel module... it failed

FATAL: Error inserting fglrx (/lib/modules/2.6.10-5-686/kernel/drivers/video/fglrx.ko): No such device

outpout from dmeg;
[fglrx] Maximum main memory to use for locked dma buffers: 929 MBytes.
[fglrx:firegl_init] *ERROR* Device not found!

I am using Ubuntu Hoary with the packages:
fglrx-control
xorg-driver-fglrx

Video cards: "ATI Technologies, Inc. Radeon Mobility 9000 (M7 LW)"

I have the very same card as you, and the same error when following the howto. First, make sure that linux-restricted-modules is installed for your kernel version, in addition to the fglrx-control and xorg-driver-fglrx packages.

Next, if your Thinkpad does not allow the ctrl-alt-backspace key combination to work (as mine doesn't) then instead use crtl-alt-f1. When you get to the prompt, login & then type sudo /etc/init.d/gdm stop
startx
fglrxinfo

If this has no effect on the error message, you may need to start the howto over, making sure to follow step 2 under "Troubleshooting" in the original post (though this seems to only apply for k7 kernels).

sihr
April 24th, 2005, 01:09 PM
Hi there, i just installed Ubuntu today after going through Fedora, and tried to follow this guide to try to play some games, but i got an error on boot, after modifying the xorg.conf file:

FATAL SERVER ERROR:
no screens found


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "GLcore"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "pt"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 7200 (R100 QD)"
Driver "ati"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "SyncMaster"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 7200 (R100 QD)"
Monitor "SyncMaster"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection


Can anyone please help?
thanks in advance ^^

foxy123
April 24th, 2005, 02:23 PM
Hi there, i just installed Ubuntu today after going through Fedora, and tried to follow this guide to try to play some games, but i got an error on boot, after modifying the xorg.conf file:

FATAL SERVER ERROR:
no screens found


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "GLcore"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "pt"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 7200 (R100 QD)"
Driver "ati"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "SyncMaster"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 7200 (R100 QD)"
Monitor "SyncMaster"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection


Can anyone please help?
thanks in advance ^^
i guess you should change "ati" to "fglrx"

sihr
April 24th, 2005, 02:48 PM
oh, sorry, i forgot to mention, the error shows up when I change "ati" to "fglrx"

ed_agamemnon
April 24th, 2005, 03:22 PM
Hooray! It works :)

Only...


ed@ubuntu2:~$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9200SE DDR Generic
OpenGL version string: 1.3.4769 (X4.3.0-8.8.25)

ed@ubuntu2:~$ glxgears
3465 frames in 5.0 seconds = 693.000 FPS
3463 frames in 5.0 seconds = 692.600 FPS
3760 frames in 5.0 seconds = 752.000 FPS
ed@ubuntu2:~$ fgl_glxgears
551 frames in 5.0 seconds = 110.200 FPS
492 frames in 5.0 seconds = 98.400 FPS
497 frames in 5.0 seconds = 99.400 FPS
505 frames in 5.0 seconds = 101.000 FPS


... those are lame framerates!

(P4 3.2Ghz, ATI Radeon 9200SE, 512MB DDR RAM)

Maybe that's the best I'll get?

Here's my /etc/X11/xorg.conf for any other stuck Radeon 9200 users:


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
# edits
Load "GLcore"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9200 SE (RV280)"
Driver "fglrx"
BusID "PCI:1:0:0"

# edits
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "UseInternalAGPGART" "no"

EndSection

Section "Monitor"
Identifier "PHILIPS 107E"
Option "DPMS"
# edits
HorizSync 30-71
VertRefresh 50-160
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9200 SE (RV280)"
Monitor "PHILIPS 107E"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x350"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x350"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x350"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x350"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x350"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480" "640x350"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection


-ed.

StacyWebb
April 24th, 2005, 04:19 PM
before installing the new ATI drivers those were the same frame rates I got, but if you use the new drivers here are the frame rates (and yes this is with 3d acceleration)
:smile:

glxgears
9914 frames in 5.0 seconds = 1982.800 FPS
12328 frames in 5.0 seconds = 2465.600 FPS
16288 frames in 5.0 seconds = 3257.600 FPS
19862 frames in 5.0 seconds = 3972.400 FPS
22520 frames in 5.0 seconds = 4504.000 FPS
22559 frames in 5.0 seconds = 4511.800 FPS
19031 frames in 5.0 seconds = 3806.200 FPS

The new drivers are on the ATI Site they are listed as 8.12 solved alot of my issues. (high cpu usage etc)

Needed to add this:
fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 1.3.5010 (X4.3.0-8.12.10)

LeNain
April 25th, 2005, 05:54 AM
I tried this how-to with semi-success.
I mean, it installed perfectly the drivers, everything shows the correct drivers info, BUT each time i launch a OpenGL app (fgl_glxgears or glxgears), my Laptop crashes with no other option than to reboot the hard way.

I had the exact same problem when i was using Fedora Core 3.

Btw, i have an Acer laptop with an ATI Radeon 9100 Mobility...

Please Help :neutral:

foxy123
April 25th, 2005, 06:02 AM
before installing the new ATI drivers those were the same frame rates I got, but if you use the new drivers here are the frame rates (and yes this is with 3d acceleration)
The new drivers are on the ATI Site they are listed as 8.12 solved alot of my issues. (high cpu usage etc)


BTW, how did you install new 8.12.10? Convert rpm to deb? Ihave 8.12 on SuSE and it gives me better fps, but on Ubuntu I still got 8.25 as it was only one in the repository.

StacyWebb
April 25th, 2005, 09:03 AM
BTW, how did you install new 8.12.10? Convert rpm to deb? Ihave 8.12 on SuSE and it gives me better fps, but on Ubuntu I still got 8.25 as it was only one in the repository.

Downloaded the rpm from ati (make sure you use the check.sh utilty they provide)
then used alien -d <ati package name> converted to deb
then used dpkg -i <package name> to install
My 3d worked prior to this, but this update solved all of my cpu usaged issues and frame rate issuses.

foxy123
April 25th, 2005, 03:42 PM
Downloaded the rpm from ati (make sure you use the check.sh utilty they provide)
then used alien -d <ati package name> converted to deb
then used dpkg -i <package name> to install
My 3d worked prior to this, but this update solved all of my cpu usaged issues and frame rate issuses.
got the following:

(Reading database ... 129706 files and directories currently installed.)
Unpacking fglrx-6-8-0 (from fglrx-6-8-0_8.12.10-2_i386.deb) ...
dpkg: error processing fglrx-6-8-0_8.12.10-2_i386.deb (--install):
trying to overwrite `/usr/X11R6/bin/fglrxinfo', which is also in package xorg-driver-fglrx
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
fglrx-6-8-0_8.12.10-2_i386.deb

StacyWebb
April 25th, 2005, 04:04 PM
run it as
dpkg --force <packagename>
should override any errors
you may need to
dpkg -r <xorg-driver-fglrx>
but try the first command before trying this

bobmitch
April 25th, 2005, 04:31 PM
run it as
dpkg --force <packagename>
should override any errors
you may need to
dpkg -r <xorg-driver-fglrx>
but try the first command before trying this

dpkg --force-overwrite <packagename>

...may be necessary.

foxy123
April 25th, 2005, 04:51 PM
dpkg --force-overwrite <packagename>

...may be necessary.
well, it killed my 3D... fglrxinfo does not work anymore either... I guess I have to recompile kernel modules, which I am not very willing to do or roll back the driver...

well, I followed your guide from another thread and got 60% increase in fps in glxgears. thanks a lot!

pelikan
April 25th, 2005, 10:39 PM
well, it killed my 3D... fglrxinfo does not work anymore either... I guess I have to recompile kernel modules, which I am not very willing to do or roll back the driver...

well, I followed your guide from another thread and got 60% increase in fps in glxgears. thanks a lot!
Thanks a lot for this guide. It is very clearly written- which is saying a lot in my case because I'm in my first hours of linux.

I screwed up the xorg file the first time but your command line info saved me. The second time it worked.

maqi
April 26th, 2005, 10:26 AM
Thanks a lot for this guide. It is very clearly written- which is saying a lot in my case because I'm in my first hours of linux.

I screwed up the xorg file the first time but your command line info saved me. The second time it worked.

YAY! See, it's not so hard after all ;-)

For those who are too impatient to wait for the 8.12.10 drivers to hit the ubuntu repositories please check out the link in the Custom Kernel section of the HOW TO ... it will save you some grief. Also, it's a good idea to uninstall the ubuntu restricted modules and any ubuntu fglrx packages - otherwise you could end up with some strange behaviour from your box :)

maqi

chrisubuntu
April 26th, 2005, 08:53 PM
I'd just like to say a big THANKYOU for the outstanding help in this thread.
I got my inspiron's x300 working beautifully (well, the gears tests are probably not as nice as some, but enemy territory and warcraft 3 run really smoothly, and that's what I play :) )

chris@ubuntu:~$ fgl_glxgears
<snip>
1317 frames in 5.0 seconds = 263.400 FPS

chris@ubuntu:~$ glxgears
<snip>
6480 frames in 5.0 seconds = 1296.000 FPS


I had to add the
Option "MonitorLayout" "LVDS,STV"
as suggested, in my Screen, Display section of my xorg.conf



Thanks again,

Chris.

joe897897
April 29th, 2005, 09:59 AM
Just a messge to tks all people here.
Also to say that the only way for me to setup 3D on my machine (A7N8X-E+9800PRO) was to install the 386 kernel, not the k7 one, i have tried a lot, read for a week all stuff about this and the only way was this one :

Abandon K7 kernel and put the 386 one, after installing xorg-driver-fglrx and editing xorg.conf, i finally had the 9800 message at invoking # fglrxconfig not the f ... g mesa one

Hope that'll help

adrislayer
April 30th, 2005, 10:13 AM
thanks a lot

works with ATI 9700 mobility on acer aspire 1680 :d

kanem
April 30th, 2005, 11:15 PM
I tried this how-to with semi-success.
I mean, it installed perfectly the drivers, everything shows the correct drivers info, BUT each time i launch a OpenGL app (fgl_glxgears or glxgears), my Laptop crashes with no other option than to reboot the hard way.

I had the exact same problem when i was using Fedora Core 3.

Btw, i have an Acer laptop with an ATI Radeon 9100 Mobility...

Please Help :neutral:
I also have this problem. fglrxinfo shows the appropriate things, but anything OpenGL causes instant freeze. It seems to be a rare problem; a google search turned up only one thread on the issue and unfortunately no one followed up with a solution.
http://www.stanchina.net/~flavio/debian/fglrx-archive/msg00174.html

They also have a Radeon 9100. Besides the similarity of that, it's also integrated into the motherboard, as mine is. Maybe that's part of the problem?

And thanks to everyone who's provided info on this thread so far. I wouldn't have gotten even this far without the help.

Edit: another thread with the same problem. no solution. also with a 9100.
http://rage3d.com/board/showthread.php?p=1333639171#post1333639171

blackcat
May 1st, 2005, 12:11 PM
I had also big problems trying to get my Radeon 9800SE working. When I finally got the 3D acceleration enabled (thanks a lot, maqi!!) the games ran exceptionally slow, just a bit faster than not accelerated. I've read many people have this problem. I noticed the graphics made always a short stop when the system monitor applet refreshed. I disabled it and now the graphics run flawlessly.

Hope this was helpful.

kanem
May 1st, 2005, 04:28 PM
According to this thread:
http://www.rage3d.com/board/showthread.php?t=33803712&highlight=9100+opengl
the fglrx driver just doesn't support 3D acceleration for the 9100. I had seen that mentioned before, I just didn't translate that to 'no opengl'. I'm still new at this. So I guess this is what causes the instant and total freeze with anything opengl.

There are other hiccups with the 9100 like tv out. But it seems they, at least, can be overcome. see these for details.
http://www.rage3d.com/board/showthread.php?t=33766378&highlight=9100+opengl
http://www.bluelightning.org/linux/st62k/

In general this is a great site for ati and linux
http://www.rage3d.com/board/forumdisplay.php?f=61

One more question: The only reason I needed/wanted the fglrx driver in the first place (as opposed to using the default xorg.conf file that a fresh Ubuntu install gives me) was because I would get occasional crashes when watching video. Mostly avi files, but also on a dvd at least once. After installing the fglrx driver the crashes were gone. Anyone know what could have been causing it? I'd like to remove the fglrx driver so I can at least use opengl stuff. I'll go try to reproduce
it and see if there are any errors in the logs. I doubt it though as it's always an instant hard freeze and probably nothing else gets written to the hard drive after the crash

eudemon
May 2nd, 2005, 10:24 PM
Hello, I've been trying on and off for several days now to get OpenGL acceleration working on my laptop. I've read both HOWTOs, and Flavio's site, and tried everything I could think of. I've reinstalled fglrx from the CLI after stopping gdm, so it shouldn't be that.

Here's my xorg.conf:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
Load "GLcore"
EndSection

Section "Extensions"
Option "Composite" "Disable"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon Mobility 9600/9700 M10/M11 (RV350 NP)"
Driver "fglrx"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"
# === 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"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"
BusID "PCI:1:0:0"
Option "mtrr" "off"
Option "backingstore" "true"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon Mobility 9600/9700 M10/M11 (RV350 NP)"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1400x1050"
Option "MonitorLayout" "LVDS, STV"
EndSubSection
SubSection "Display"
Depth 4
Modes "1400x1050"
Option "MonitorLayout" "LVDS, STV"
EndSubSection
SubSection "Display"
Depth 8
Modes "1400x1050"
Option "MonitorLayout" "LVDS, STV"
EndSubSection
SubSection "Display"
Depth 15
Modes "1400x1050"
Option "MonitorLayout" "LVDS, STV"
EndSubSection
SubSection "Display"
Depth 16
Modes "1400x1050"
Option "MonitorLayout" "LVDS, STV"
EndSubSection
SubSection "Display"
Depth 24
Modes "1400x1050"
Option "MonitorLayout" "LVDS, STV"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
Mode 0666
EndSection


Continued in the next post

eudemon
May 2nd, 2005, 10:29 PM
part of my Xorg.0.log:


(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENOSPC"
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xf8d68000 at 0xb7db6000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
(II) fglrx(0): FBADPhys: 0xe0000000 FBMappedSize: 0x08000000
(II) fglrx(0): FBMM initialized for area (0,0)-(1408,8191)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1408,1050) (front color buffer - assumption)
(**) fglrx(0): Option "BackingStore" "true"
(**) fglrx(0): Backing store enabled
(==) fglrx(0): Silken mouse enabled
(II) fglrx(0): Using hardware cursor (scanline 1050)
(II) fglrx(0): Largest offscreen area available: 1408 x 7138
(**) Option "dpms"
(**) fglrx(0): DPMS enabled
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
Solid Horizontal and Vertical Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
16 512x512 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): Direct rendering disabled


Looking at the log, there seems to be a problem with my agp modules. Using lsmod, I found the amd64_agp and agpgart modules loaded. I've tried setting useinteralAGPGART to yes, but that doesn't seem to change anything. It says to disable the kernel agpgart module when you use that setting, but I don't know how to do this.

Checking the output from lsmod, the fglrx module gets loaded, but doesn't seem to do much.

Any ideas?

gratefulfrog
May 4th, 2005, 12:42 PM
I believe it is omit xfree86-dga and not "dma" that must be put in the section "module"


Also make sure that "omit xfree86-dma" is enabled in the modules section.

# Load "extmod" but omit DGA extension - this must be included as is if you want to change resolution on the fly
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection


Thanks for the great HOWTO!

madtownmike1
May 4th, 2005, 07:35 PM
\\:D/ This How-To worked very well for me; this is the first time I've been able to get the ati drivers installed. Thanks!

orangek3nny
May 6th, 2005, 11:57 AM
does tat method support ATi's X800SE??
ive tried your method but doesnt work :(

Tschaeck
May 6th, 2005, 03:56 PM
i have tried several howtos now but haven't managed to get my mobile ati x600 working.

the xorg log tells me this:

(WW) fglrx(0): Cannot read colourmap from VGA. Will restore with default
(II) fglrx(0): UMM area: 0xd07ad000 (size=0x03843000)
(II) fglrx(0): Composite extension enabled, disabling direct rendering
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *

but i don't know what this is trying to tell me. any ideas what causes the dri initialization to fail?

Tschaeck
May 6th, 2005, 04:16 PM
(II) fglrx(0): Composite extension enabled, disabling direct rendering

ahh, i have found the solution myself. when i disable the composite extension, 3d works great.

but i wanted the driver to work mainly to see if transparency in kde work smooth that doesn't work without composite extension ...

can't i have both features, composite extension AND direct rendering?!?!

eudemon
May 6th, 2005, 05:20 PM
ahh, i have found the solution myself. when i disable the composite extension, 3d works great.

but i wanted the driver to work mainly to see if transparency in kde work smooth that doesn't work without composite extension ...

can't i have both features, composite extension AND direct rendering?!?!
Unfortunately not. As I understand it the current fglrx driver supports only direct rendering OR compositing, not both.

m3jsh
May 10th, 2005, 11:12 PM
Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)


Blah, how do I get rid of this? I have an ATI Radeon 9800. I"m currently getting the following FPS:


root@anjin:/home/m3jsh # glxgears
Xlib: extension "XFree86-DRI" missing on display ":0.0".
1164 frames in 5.0 seconds = 232.800 FPS
1243 frames in 5.0 seconds = 248.600 FPS
1356 frames in 5.0 seconds = 271.200 FPS
1243 frames in 5.0 seconds = 248.600 FPS
1243 frames in 5.0 seconds = 248.600 FPS

Ali_Baba
May 13th, 2005, 10:22 AM
This howto is great.I got my radeon9200se tv-out working with this.Thanks magi :)

hiptrop
May 14th, 2005, 08:36 AM
thanks alot worked for me at once ;)

only fgl_glxgears does not work ... ( i mean i cannot start it cause he does not find it ! )

funny thing is that i got older drivers installed ( from the offical cd

fglxinfo gives me :

OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 1.3.4769 (X4.3.0-8.8.25)

does not matter at all :) since it works :)

now if anybody can tell me how i can use the tv- out :) i am more then happy !

and many thanks for this guide !!!

manadskort
May 14th, 2005, 12:54 PM
anyone know where to find a fglrx package for the kernel package i found on the package servers; 2.6.11-1-k7? OR someone knows how to make one?

LinxNew
May 16th, 2005, 06:27 AM
I've install xorg-driver-fglrx from Synaptic Package Manager.
My Xorg.conf is ok.
But when I try fglrxinfo I still have mesa.

What's wrong ?

I've installed the last driver from ati web: fglrx_6_8_0-8.12.10-1.i386.
is this the probably error ?

LinxNew
May 19th, 2005, 04:09 AM
Now it's all ok

user@ubuntu:/etc/X11$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9600
OpenGL version string: 1.3.5010 (X4.3.0-8.12.10)

soma
May 21st, 2005, 11:01 AM
Hi!

I have the drivers up and running, but I was wondering if any of you guys have the same problem as me. When i watch movies with xv acceleration on my tv-out i get this green line over the main screen (my laptop screen). I know this is a driver issue, but are there any fixes? The main screen becomes unusable like this :(

xerosis
May 22nd, 2005, 10:45 AM
just a note, this won't work with linux-k7 installed...at all.

jtwadsworth
May 23rd, 2005, 01:36 PM
Hi all. I am STILL having a terrible time setting up the ATI drivers despite this great HOWTO. Note I am new to Linux but comfortable with the CL. I am running a P4 2.0GHz machine and the 9800 Radeon Pro 256MB graphics card, and Dell 2001 FP monitor at 1600x1200 resolution.

After I install exactly as per this HOWTO, when X loads it gives a black screen and I can no longer do anything. Note it is not a monitor powerdown, just black screen. I have to then boot into recovery mode and change "fglrx" to "ati" to get X to load again. I am sorry for the long post, but I am desperately in need of help resolving this problem.

Xorg.conf:

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
Load "GLcore"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)"
Driver "fglrx"
BusID "PCI:1:0:0"
Option "UseInternalAGPGART" "no"
Option "MonitorLayout" "TMDS, AUTO"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
# Option "NoDDC"

EndSection

Section "Monitor"
Identifier "DELL 2001FP"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)"
Monitor "DELL 2001FP"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

mikeh123
May 24th, 2005, 05:51 PM
If you are receiving the rather generic "(EE) No Devices detected" and "no screens found" in Xorg.0.log when trying to use fglrx - just to post my experience and maybe save people some time from a newby - in summary if your card is not on this list, exactly as lspci reports it, then it's not supported by the fglrx driver. Full list here:

http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-supported.txt

I found out the hard way after mucking about with this for days as my Mobility Radeon 9000 (M6 LY) is not supported, if you put your actual chip id in the "Device" section of xorg.conf (ChipID 0x4c59 for example) then the Xorg.0.log will tell you so. Full list of ChipID's is here:

http://pciids.sourceforge.net/iii/?i=1002

cheers,
Mike.

muhcashin
May 24th, 2005, 11:56 PM
I've install xorg-driver-fglrx from Synaptic Package Manager.
My Xorg.conf is ok.
But when I try fglrxinfo I still have mesa.

What's wrong ?

I've installed the last driver from ati web: fglrx_6_8_0-8.12.10-1.i386.
is this the probably error ?

I have the same problem as LinxNew. How did you get it going after?

zer
May 26th, 2005, 06:33 AM
Same here. fglrxinfo gives

ubuntu:~$ fglrxinfo
Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)

I have an ATI Radeon 9800 Pro

jtwadsworth
May 26th, 2005, 10:54 AM
Same card and same result for me. :(

jtw

TheSavage
May 26th, 2005, 05:24 PM
The problem I've got over here with a ATI 9000 IGP (Compaq R3055CA Laptop) is that everytime I'm running any GL program my screen lock up.

Everything else seems real fine, since my glxinfo give me the appropriate report, DRI is loaded so I got Direct Rendering, but I've got this error in my X log file regarding GLcore that couldn't be load. Can that be the problem?

Ant help would be more then welcome.

kwaanens
May 26th, 2005, 06:20 PM
I know, I know, flog the dead horse :roll: . But I believe this is worth doing because I, and others, have had my xserver freeze at boot time after following some of the instructions found on these forums - in particular the use of fglrxconfig. I guess i'm just trying to bring the best info I've gained from other threads (and now this one!), plus my own (limited) experience, into one place.

I would suggest that you first try and enable 3D acceleration with the method I have outlined. If it works, back up your xorg.conf and give fglrxconfig a go which has the advantage of including a routine to configure TV out.

Please read the whole thing BEFORE you go and break your system :D

NOTE 1: If you use defoma fonts and also use fglrxconfig to generate your xorg.conf file you will need to add the relevant lines from your backed up copy of xorg.conf (or my example below) to the "Files" section of the xorg.conf generated by fglrxconfig as the defoma font directories are ignored by fglrxconfig.

NOTE 2: I know everyone wants the bleeding edge version of the drivers for their gfx card. However, unless you are using a custom kernel I highly recommend sticking with the official ubuntu driver packages. Why? These packages are designed to work perfectly with your ubuntu system. The rpm from ATI is not. Also, installing the non-ubuntu drivers will cause problems when/if xlibmesa-gl is upgraded. If you choose to ignore this advice, that's OK - you will learn more about how your system works. Maybe more than you wanted to know :-P Don't say I didn't warn you.


1. Official Ubuntu Kernel:

If you are using an official ubuntu kernel there is no need to dick around with the rpm file from the ATI website - it will just get unnecessarily messy - SO DON'T, OK? Make sure you have the Ubuntu Restricted repositories enabled (they should be by default) and install the drivers like this:

$ sudo apt-get install linux-restricted-modules-<your-kernel-version> xorg-driver-fglrx

You probably don't need the control panel unless you are using dual monitors. If you want it add fglrx-control to the above command.

Then edit your xorg.conf file - see 3 below.


2. Custom Kernel:

If, and ONLY if, like me and many other Linux tweakheads who can't leave well enough alone, you are running a custom kernel which you have craftily configured and compiled yourself the official Ubuntu fglrx driver package will be useless to you. Follow the instructions here (http://www.ubuntuforums.org/showthread.php?t=5356) making the necessary kernel version adjustments. Also, make sure you have your kernel headers installed in addition to your (properly configured) kernel source. Since you've compiled your own kernel I assume (uh-oh) that you know what you're doing.

Come back here and go to the next section.


3. Edit /etc/X11/xorg.conf

This is the file which tells your xserver WTF is going on. Mess this up and it won't work. At worst the thing will freeze on boot - which ain't so bad if you're comfortable at a command prompt (and the longer you use linux the more comfortable you're likely to get with that ;)) - and at best you just won't get hardware 3D acceleration.

Back up your xorg.conf, eg:
$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf-old

Make another copy somewhere else if it makes you feel more secure. update: please write down the path to your saved xorg.conf now. This way you will be able to find it if you end up stuck logging into a console rather than GNOME ;)

Go here (http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html#install) and look at section 5. Configure X. Hell, read the whole page. Cut and paste the configuration there into the relevant sections of your xorg.conf file - AFTER BACKING IT UP!!!! N.B. The driver packages provided on that page do NOT work in ubuntu - I've tried. However, if someone with some knowledge could work out how to modify the source package scripts ...

And before anyone points out that the linked page is for xfree86 drivers - trust me on this one: the config works for xorg as well. I used this config on debian with instant success and no problems and when I finally ignored fglrxconfig and used it in ubuntu the drivers worked -finally!!! You will also notice that on that site it is expressly stated: DO NOT USE fglrxconfig TO GENERATE YOUR xorg.conf FILE!!!!!!!!!!! - at least the first time.

Once you've edited and saved xorg.conf restart your x server (<Ctrl>+<Alt>+<Backspace>), log in and try these commands:
$fglrxinfo
If you don't get something like this:
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 1.3.4893 (X4.3.0-8.10.19)
Then something is wrong!!!

If it's working do
$ glxgears
And for the real test do
$ fgl_glxgears

Oh, and that stuff about not being able to change screen resolutions on the fly? Rubbish =; Just get rid of everything under "Screen" -> "Modes" except the 24 bit depth section. Also make sure that "omit xfree86-dma" is enabled in the modules section. You do not need to specify your preferred resolution first. After a reboot you should be able to choose resolutions on the fly as normal.

I include my xorg.conf for your reading/copying/editing pleasure, with thanks to Flavio Stanchina for his fantastic work (http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html#overview).

If you use this file please make sure that you enter the paramaters for YOUR devices, eg, keyboard, mouse, etc, rather than mine

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "GLcore"
Load "glx"
Load "dri"
# Load "extmod" but omit DGA extension - this must be included as is if you want to change resolution on the fly
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9600 (R300 AP)"
Driver "fglrx"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"

# === 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"

# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"

# You don't actually need this next BusID bit - unless maybe you have dual monitors?
# I've removed it from mine (single monitor only) and all is well.
# I think it's a leftover from fxglrconfig - doh!
BusID "PCI:1:0:0"

EndSection

Section "Monitor"
Identifier "NEC E1100+"
Option "DPMS"
HorizSync 31-96
VertRefresh 55-160
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9600 (R300 AP)"
Monitor "NEC E1100+"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

Another note about the xorg.conf file above - this does not contain any settings in the "Monitor" section relating to LCD displays - hopefully xserver-xorg took care of that when you installed it - also see below.

If you hit serious problems and end up having to log in at a terminal because your xserver freezes all you need to do to reverse things is login with your username and password and:

$ sudo cp /path/to/xorg.conf-old /etc/X11/xorg.conf
$ sudo reboot

The /path/to/xorg.conf-old is the path you wrote down when you backed it up while following the instructions in section 3. You DID write it down didn't you?

If you've installed the Control Panel and are wondering how to start it:


TROUBLESHOOTING TIPS:

1. CHECK FOR ERROR MESSAGES:
To look for error messages check the following files in a text editor:
$ gedit /var/log/Xorg.0.log
$ gedit /var/log/dmesg

2. INSTALL/REINSTALL THE DRIVERS WITH THE XSERVER STOPPED:
(I have an unconfirmed suspicion that if you run a -k7 kernel you may have to do it this way from the beginning - will try and find out. Don't be shy about doing it this way from the start if you feel comfortable at the command line - you must know how to use a console text editor, eg, vi, vim, nano, etc. Although you could edit your xorg.conf before stopping the xserver - the new file won't be used until you restart the xserver. By this stage you should have the fglrx driver installed anyway.)
If you've done the above and restarted your xserver, checked that xorg.conf is correct and it's still not working give this a go:


3. ENABLE LVDS:
If it's not working and you're receiving LVDS related errors (see 1 above) the following might help:


Good luck!

maqi ;)

DISCLAIMER: I take no responsibility in the extremely unlikely event that you irreparably break your system. I definitely am not an expert, so you are on your own. The settings in the provided xorg.conf file are not in any way guaranteed to work on your specific system - but give them a go anyway ;) Any opinions expressed herein are mine alone, are not endorsed by the ubuntu project or anyone sane and can properly be ignored. Any errors, omissions and inaccuracies in this HOW TO are entirely a result of my laziness and/or stupidity.

RESOURCES:

Falvio Stanchina's ATI Linux Drivers for Debian (http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html) site. This is also linked to in section 3 above. Even though his packages will not work with Ubuntu, please do have a look. He includes useful links & troubleshooting tips.

Gentoo ATI Radeon FAQ (http://odin.prohosting.com/wedge01/gentoo-radeon-faq.html) (a good source of troubleshooting hints) - thanks again to Flavio Stanchina.

ATI Linux FAQ (http://www.ati.com/products/catalyst/linux.html) at the ATI website.

And if all else fails try the ATI channel at irc.freenode.org #ati

(If anyone is aware of resources which could/should be added to this list - and I'm sure there are plenty - please post them or PM me.)
Hi there, really new on Ubuntu, migrated from FC3 yesterday.

I tried following this howto on my Dell Inspiron 9300. I was met by a black screen. (I heard the login sound.) I got back to my original xorg.conf.

Here is my try. Can anyone review it and tell me what I'm doing wrong?
I thought I followed the instructions very carefully.

Here goes:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "GLcore"
Load "glx"
Load "dri"
# Load "extmod" but omit DGA extension - this must be included as is if you want to change resolution on the fly
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "no"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon Mobility M300 (M22)"
Driver "fglrx"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"

# === 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"

# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"

# You don't actually need this next BusID bit - unless maybe you have dual monitors?
# I've removed it from mine (single monitor only) and all is well.
# I think it's a leftover from fxglrconfig - doh!
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon Mobility M300 (M22)"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1920x1200"
EndSubSection
SubSection "Display"
Depth 4
Modes "1920x1200"
EndSubSection
SubSection "Display"
Depth 8
Modes "1920x1200"
EndSubSection
SubSection "Display"
Depth 15
Modes "1920x1200"
EndSubSection
SubSection "Display"
Depth 16
Modes "1920x1200"
EndSubSection
SubSection "Display"
Depth 24
Modes "1920x1200"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
Mode 0666
EndSection





-----------------------------------


For what it's worth, here's what Ubuntu made on installing (the one I'm using now):

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "no"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon Mobility M300 (M22)"
Driver "ati"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon Mobility M300 (M22)"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1920x1200"
EndSubSection
SubSection "Display"
Depth 4
Modes "1920x1200"
EndSubSection
SubSection "Display"
Depth 8
Modes "1920x1200"
EndSubSection
SubSection "Display"
Depth 15
Modes "1920x1200"
EndSubSection
SubSection "Display"
Depth 16
Modes "1920x1200"
EndSubSection
SubSection "Display"
Depth 24
Modes "1920x1200"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
Mode 0666
EndSection


-----------------------------

Thanks!

- Ketil

zoulman
May 30th, 2005, 05:59 AM
Thank you so much! ,,,,, I love you man... :razz:

scrillamaan
June 6th, 2005, 05:43 PM
Great HOWTO! Worked the first time through. I have a Dell 8600 with the Mobility 9600, and before following this I had suspend and hibernate working following the info here (http://www.ubuntulinux.org/wiki/HoaryPM). I would get some garbage on the screen and then everything would be fine with both sleep and hibernate. Now when I try to bring back up my machine I get the same garbage on my screen, but it never goes away. The wiki says If you've enabled 3D drivers from ATI or nVidia and it fails, try also without them.

Anyone know of a solution to this that involves 3D acceleration with hibernate and sleep?

...at least my games work :)

flamarro
June 8th, 2005, 05:06 AM
Hi guys,
first point, i'm from Portugal, so sorry for my english :)
I'm a newbie in linux, have tried some distros but i have always liked ubuntu and i use it for a week now, so i don't use windows for a week and i am beginning to do everything i used to do. :razz:
Now that i show you my know how in Linux.... :roll:
Well, i manage to install the new drivers in my machine, fglrxinfo results in ati 9600 with the new version of drivers 8.12.
When i do glxgears i see the gears spinning but with same scratchs, lines ramdomly jumping. Fgl_glxgears some thing. It works but with some lines jumping. Even the screesavers as errors and one of them crashed the computer. Did That happens to anyone??

One other thing, since i upgraded, i can't no longer change resolution, something about the X server dosen't support XRandR, and yes i have the "omit xfree86-dga" enabled, but even so i can't change.

I have a amd athlon 1300, a soltek motherboard with only 4xAGP and a Radeon 9600SE, 768Mbs of ram.
Yes, i know, poor computer. :|

matthew
June 8th, 2005, 01:56 PM
I have been fighting this for weeks but this thread finally gave me the insights I needed to make my Radeon Mobility 9700 work. Thank you!!

My problems:
1) I was installing the drivers with the xserver running
2) I needed to enable LVDS
3) You can't use composite and direct rendering at the same time (see below my new xorg.conf). Trying to run the composite extensions caused the driver to revert to mesa instead of ati.

My new data:

******$ fglrxinfo display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 1.3.4769 (X4.3.0-8.8.25)

******$ glxgears
5609 frames in 5.0 seconds = 1121.800 FPS
7041 frames in 5.0 seconds = 1408.200 FPS
7034 frames in 5.0 seconds = 1406.800 FPS
7040 frames in 5.0 seconds = 1408.000 FPS
7041 frames in 5.0 seconds = 1408.200 FPS

******$ fgl_glxgears
1069 frames in 5.0 seconds = 213.800 FPS
1420 frames in 5.0 seconds = 284.000 FPS
1415 frames in 5.0 seconds = 283.000 FPS
1414 frames in 5.0 seconds = 282.800 FPS

I am happy. Thank you!!!

etitor
June 10th, 2005, 03:50 PM
Ok maqi and friends you are true gurus. I finally got fglrx to work. Now I see the results and I am planning to go back to plain ati. Not being a gamer this doesn't sound so terrible, but I would like your advice. Please consider the following:

1. fglrxinfo gives this:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9200 Series DDR Generic
OpenGL version string: 1.3.4769 (X4.3.0-8.8.25)

2. glxgears gives this:
6348 frames in 5.0 seconds = 1269.600 FPS
6508 frames in 5.0 seconds = 1301.600 FPS
6509 frames in 5.0 seconds = 1301.800 FPS

3. fgl_glxgears gives this:
1115 frames in 5.0 seconds = 223.000 FPS
1380 frames in 5.0 seconds = 276.000 FPS
1371 frames in 5.0 seconds = 274.200 FPS
1371 frames in 5.0 seconds = 274.200 FPS

4. a burst of rapidly disappearing random horizontal lines crosses my whole screen whenever acceleration is happening. It doesn't prevent me from seeing the action, but it is awful.

So given the cost of (4) and the apparently small benefit of (2) and (3) I am planning to go back to ati in xorg.conf.

My system: Default 2.6.10-5-amd64-k8 with an ATI Radeon 9250 on a K8N Neo2 motherboard. BenQ FP731 LCD monitor.

What do you think?

lagartija
June 11th, 2005, 07:25 AM
First of all, may thanks for this great how-to
Hi just installed Hoary and follow your instruction to install fglrx for a radeon 9600 aiw

seems to work fine as i have this results

lagartija@cagliostro:~$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 1.3.4769 (X4.3.0-8.8.25)

lagartija@cagliostro:~$ glxgears
9420 frames in 5.0 seconds = 1884.000 FPS
lagartija@cagliostro:~$ fgl_glxgears
2017 frames in 5.0 seconds = 403.400 FPS
lagartija@cagliostro:~$

my only problem is with monitor resolution as with fglrx loaded i'm no longer able to do 1600x1200
i've this error
(II) fglrx(0): Not using mode "1600x1200" (no mode of this name)

someone have an idea to fix this problem ?

thanks in advance


edit: problem solved !!!
it was an error in my xorg.conf in the monitor section....

allforcarrie
June 17th, 2005, 12:25 PM
I am running a 9700 should I update my divers?

Seer
June 18th, 2005, 04:51 PM
HOLY CRAP!!!!!!!!

root@ubuntu:/home/sean # fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON X800 XT Generic
OpenGL version string: 1.3.4769 (X4.3.0-8.8.25

Man what a great guide!!

Im a 2-day old linux n00b.... tried suse 9.2 for a day and half and calculated almost 18 hours work in getting nic/internet working along with some other bits and pieces before destroying the install trying to get the ATI drivers installed......

SO I thought time to try Ubuntu as it seems so popular and I have a particular interest in gaming before dumping XP ....

It took 2 attemps but it now works :)))))

MY X800XT has gone From

root@ubuntu:/home/sean # glxgears
28965 frames in 5.0 seconds = 422.000 FPS
34679 frames in 5.0 seconds = 461.800 FPS
34474 frames in 5.0 seconds = 448.800 FPS

To

root@ubuntu:/home/sean # glxgears
28965 frames in 5.0 seconds = 5793.000 FPS
34679 frames in 5.0 seconds = 6935.800 FPS
34474 frames in 5.0 seconds = 6894.800 FPS


W000000t :)

Now that I'm feeling cocky time to try and get these damn pre-n wlan nics working :)

Thx again for the time and effort put into this!

(Note: I just used the package manager within gnome desktop to update... didnt need to close X server)

Spikey
June 19th, 2005, 07:37 PM
Thanks man... it worked like a charm ;)


Spikey

Chrno
June 20th, 2005, 08:31 AM
okey guys ready for a uber newbe question?????................................ok her goes


how do i find out what kernel version i have???
i don't get it ](*,)

anyone HELP!!!

Tsukasa
June 20th, 2005, 12:41 PM
Awesome guide! Out of the 3 ones I found around this forum this one actually works flawlessly :) .

rb123
June 20th, 2005, 05:26 PM
Chrno said: okey guys ready for a uber newbe question?????................................ok her goes


how do i find out what kernel version i have???
i don't get it

try this:

uname -r

man uname for more options.


Ok heres my uber newbie question: my fgrlrx appears to install without any errors, and only a few warnings, based on my Xorg.0.log. but, when X tries to start, all i get is a black screen and the machine is hung. Ctrl-Alt-F1 does nothing. I have to reset, boot into recovery mode, and then i can see the log files that dont show any errors that i can find.

But, this might be the source of my problem: both monitors I have tried are pretty ancient (IBM G74, Sony CPD 100ES) and are not detected by fglrxconfig.

I looked at some of the other Xorg.0.log files posted here, and see that at one point there is a line something like "5 valid modes found" with reference to monitor modes (h x w, frequency, etc.). My Xorg.0.log shows lots of modes that are not acceptable for various reasons, then a few that are apparently ok, but does not include a line saying anything about valid modes.

Anyone else have an old monitor that works with fglrx? Did you have to do anything in addition to the steps listed in this and other threads? Anyone get their ATI card to work with fglrx without the line "... valid modes found" in their Xorg.0.log?

thanks

rod

Chrno
June 21st, 2005, 03:26 AM
thanks alot rb123

but i don't know the answer to your question sorry

okaaay
June 21st, 2005, 02:45 PM
Has anyone found the solution for "Xlib: extention "XFree86-DRI" missing on display ":0.0".display: :0.0 screen:0" ?

jsimmons
June 21st, 2005, 04:11 PM
Chrno said: okey guys ready for a uber newbe question?????................................ok her goes


how do i find out what kernel version i have???
i don't get it

try this:

uname -r

man uname for more options.


Ok heres my uber newbie question: my fgrlrx appears to install without any errors, and only a few warnings, based on my Xorg.0.log. but, when X tries to start, all i get is a black screen and the machine is hung. Ctrl-Alt-F1 does nothing. I have to reset, boot into recovery mode, and then i can see the log files that dont show any errors that i can find.

But, this might be the source of my problem: both monitors I have tried are pretty ancient (IBM G74, Sony CPD 100ES) and are not detected by fglrxconfig.

I looked at some of the other Xorg.0.log files posted here, and see that at one point there is a line something like "5 valid modes found" with reference to monitor modes (h x w, frequency, etc.). My Xorg.0.log shows lots of modes that are not acceptable for various reasons, then a few that are apparently ok, but does not include a line saying anything about valid modes.

Anyone else have an old monitor that works with fglrx? Did you have to do anything in addition to the steps listed in this and other threads? Anyone get their ATI card to work with fglrx without the line "... valid modes found" in their Xorg.0.log?

thanks

rod


Sounds like your refresh freqs are out of whack. (I don't know how to tell you to fix it, but that's what happened to me when mine were buggered up using another distro).

I found the kernel version while it was rebooting.

okaaay
June 21st, 2005, 07:44 PM
What I just saw was that even when I ran fglrxconfig and set my monitor to use 1280x1024 res, it reverts to 1600x1200, wich I set manualy earlier (removed in present xorg.conf). It seems as though it doesnt even load the xorg.conf file.

heltreko
June 25th, 2005, 06:12 AM
okey guys ready for a uber newbe question?????................................ok her goes


how do i find out what kernel version i have???
i don't get it ](*,)

anyone HELP!!!

In other dists I've used theres a command /sbin/kernelversion that tells you what kernel you are running.

In Ubuntu I've not found this command and I instead took a peak in /boot (eg. "ls -al /boot/") and this is the printout.

linus@sonata:~$ ls -al /boot/
total 6940
drwxr-xr-x 3 root root 4096 2005-06-24 01:33 .
drwxr-xr-x 23 root root 4096 2005-06-24 12:21 ..
-rw-r--r-- 1 root root 308326 2005-06-24 01:33 coffee.bmp
-rw-r--r-- 1 root root 51947 2005-03-10 03:51 config-2.6.10-4-amd64-generic
lrwxrwxrwx 1 root root 15 2005-06-24 01:33 debian.bmp -> /boot/sarge.bmp
-rw-r--r-- 1 root root 153720 2005-06-24 01:33 debianlilo.bmp
drwxr-xr-x 2 root root 4096 2005-06-24 22:00 grub
lrwxrwxrwx 1 root root 33 2005-06-24 01:30 initrd.img -> initrd.img-2.6.10-4-amd64-generic
-rw-r--r-- 1 root root 4124672 2005-06-24 01:30 initrd.img-2.6.10-4-amd64-generic
-rw-r--r-- 1 root root 23662 2005-06-24 01:33 sarge.bmp
-rw-r--r-- 1 root root 24116 2005-06-24 01:33 sid.bmp
-rw-r--r-- 1 root root 1095868 2005-03-10 04:20 System.map-2.6.10-4-amd64-generic
lrwxrwxrwx 1 root root 30 2005-06-24 01:30 vmlinuz -> vmlinuz-2.6.10-4-amd64-generic
-rw-r--r-- 1 root root 1274216 2005-03-10 04:19 vmlinuz-2.6.10-4-amd64-generic

Hence I'm using the 2.6.10-4-amd64-generic kernel.

Hope this helps. :-)

mizunoX
June 25th, 2005, 12:40 PM
I followed the instructions, and even shutdown my x and reinstalled the driver, but I can't get x to load with the fglrx driver. If I change the drive back to 'ati' it works, but otherwise I get this:

Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_clip.o":
No symbols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_norm.o":
No symbols found
Skipping
"/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_xform.o": No
symbols found
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1)
found
(EE) No devices detected.

Fatal server error:
no screens found

Is this a simple problem? what am I missing?

Thanks in advance for any help..

satanuke
June 25th, 2005, 09:32 PM
Yeah...nice tutorial. Works good, that "fglrxconfig" just could not do the job. This tutorial actually works. Tks.
TuxRacer seems to be working, now I have to fix a sound problem. :roll:

Miguel
June 27th, 2005, 06:03 AM
@ heltreko:

"uname -a" gives you all kernel info. IIRC, just kernel version is displayed with the -r modifier.

@ mizunoX

Are both Xorg.conf identical (except the screen section)? Could you post your Xorg.conf?

DjCad
June 27th, 2005, 04:16 PM
I've tried every tip that is in this thread and I still have Mesa in fglrxinfo.

If I do modprobe fglrx it says FATAL: Error inserting fglrx (/lib/modules/2.6.10-5-386/kernel/drivers/video/fglrx.ko): Operation not permitted

usermode on it is :
-rw-r--r-- 1 root root 293158 2005-04-05 00:44 fglrx.ko

xorg.conf:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "GLcore"
Load "dri"
# Load "extmod" but omit DGA extension
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "se"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9200 SE (RV280)"
Driver "fglrx"
BusID "PCI:2:0:0"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"

# === 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"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9200 SE (RV280)"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection



Please help me get this going

lucascr
June 28th, 2005, 04:33 AM
After I got my ATI card configured and 3D working, the hybernate does not work anymore. Actually it hybernates but then it doesn't wake up, resulting with an empty lime-green display, keyboard and mouse blocked so the only thing to do is to force a reboot. Note that with the default configuration and MESA the notebook was able to hybernate. Have someone else experienced this?
Luca

DjCad
June 28th, 2005, 10:06 AM
Got it going now.
Only I did was to start my computer today.
After several restarts yesterday it didnt work but now it does! Wiee :)

144fps under fgl_glxgears

pintong
June 28th, 2005, 01:44 PM
Got it going now.
Only I did was to start my computer today.
After several restarts yesterday it didnt work but now it does! Wiee :)

144fps under fgl_glxgears
DjCad - I have the same video card as you, but I get the feeling that I'm doing something wrong. I'm only getting 104fps under fgl_glxgears, and glxgears went from getting 502fps to 548fps (oh yay.) Oddly enough, fglrxinfo gives me the following:
$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 8500 Prototype DDR Pentium 4 (SSE2) (FireGL) (GNU_ICD)
OpenGL version string: 1.3.4769 (X4.3.0-8.8.25)
Yes, I have a Pentium 4, but my card is a Radeon 9200 SE (RV280). Here's my xorg.conf file:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "GLcore"
Load "dri"
# Load "extmod" but omit DGA extension
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9200 SE (RV280)"
Driver "fglrx" # this is the important bit
BusID "PCI:1:0:0"

# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"

# === 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"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"


EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-65
VertRefresh 50-75
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9200 SE (RV280)"
Monitor "Generic Monitor"
DefaultDepth 24

SubSection "Display"
Depth 24
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

Any suggestions? I'm very new to this, so I'll take any suggestions I can get.

DjCad
June 28th, 2005, 02:58 PM
pintong:

Strange, the videocard isnt integrated in the motherboard?
I get this under fglrxinfo

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9200SE DDR Generic
OpenGL version string: 1.3.4769 (X4.3.0-8.8.25)

pintong
June 28th, 2005, 04:18 PM
pintong:

Strange, the videocard isnt integrated in the motherboard?
I get this under fglrxinfo

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9200SE DDR Generic
OpenGL version string: 1.3.4769 (X4.3.0-8.8.25)
Nope, it's an AGP card I installed personally. Our configurations look very similar . . . I wonder what's different?

DjCad
June 29th, 2005, 09:59 AM
Nope, it's an AGP card I installed personally. Our configurations look very similar . . . I wonder what's different?

Perhaps your card isnt really a 9200 ?

pintong
June 29th, 2005, 10:56 PM
Perhaps your card isnt really a 9200 ?
Oh, but I'm sure it is. Like I said, I installed it myself . . .

DjCad
June 30th, 2005, 01:50 PM
Oh, but I'm sure it is. Like I said, I installed it myself . . .

hmm, strange. What did M$ Windows say about it?
Perhaps it's a lite version of 9200?

How much memory? I've got 128MB

flamarro
July 1st, 2005, 04:58 AM
Hi guys,
When i do glxgears i see the gears spinning but with same scratchs, lines ramdomly jumping. Fgl_glxgears same thing. It works but with some lines jumping.

One other thing, since i upgraded, i can't no longer change resolution, something about the X server dosen't support XRandR, and yes i have the "omit xfree86-dga" enabled, but even so i can't change.

I have a amd athlon 1300, a soltek motherboard with only 4xAGP and a Radeon 9600SE, 768Mbs of ram.
Yes, i know, poor computer. :|

Hi there,
I've installed the last drivers from ATI and the problem of couldn't change resolution is resolved. the strain lines jumping persists

When i had the mesa drivers glxgears looks ok, it's only when i have the drivers from ATI that the lines start jumping.
I didn't have any game then, but now have Torcs installed and the car is always flashing and looks it deformating all the times couse of the lines and have some quick stops in the image too....

shizow
July 3rd, 2005, 06:13 AM
how do i stop the x server if i use kde only?

duncanm
July 3rd, 2005, 07:42 AM
OK read the whole thread and my problem seems to be unique.

P4 3GHz ( ASUS P4PE )
Radeon x800Pro

Tried your how to and unfortunately whatever my graphics card is freeking out the LCD monitor ( DELL 2000FP )

Basically it acts as if it isn't getting a signal or the one that it does get it can't display.

Looking at /var/log/Xorg.0.log I can't see any issues:

(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul 3 17:21:16 2005
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "Generic Monitor"
(**) | |-->Device "ATI Technologies, Inc. Radeon X800 Pro (R420 JI)"
(**) |-->Input Device "Generic Keyboard"
(**) Option "XkbRules" "xorg"
(**) XKB: rules: "xorg"
(**) Option "XkbModel" "pc104"
(**) XKB: model: "pc104"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Configured Mouse"
(WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/lib/X11/fonts/CID" does not exist.
Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID".
Entry deleted from font path.
(Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID").
(**) FontPath set to "unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.2
X.Org Video Driver: 0.7
X.Org XInput driver : 0.4
X.Org Server Extension : 0.2
X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
(++) using VT number 7
<snip>
(II) PCI: End of PCI scan
<snip>
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:31:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(1:0:0) ATI Technologies Inc unknown chipset (0x4a49) rev 0, Mem @ 0xf0000000/27, 0xde800000/16, I/O @ 0xd800/8, BIOS @ 0xeffe0000/17
(--) PCI: (1:0:1) ATI Technologies Inc unknown chipset (0x4a69) rev 0, Mem @ 0xe0000000/27, 0xde000000/16
(--) PCI: (2:12:0) Brooktree Corporation Bt878 Video Capture rev 17, Mem @ 0xdf800000/12
(II) Addressable bus resource ranges are
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
[1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
<snip>
(II) PCI Memory resource overlap reduced 0xf8000000 from 0xfbffffff to 0xf7ffffff
<snip>
(WW) Ignoring request to load module GLcore
(II) LoadModule: "bitmap"
(II) Reloading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Loading font Bitmap
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_clip.o": No symbols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_norm.o": No symbols found
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_xform.o": No symbols found
(II) Module GLcore: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
compiled for 6.8.2, module version = 2.1.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "record"
(II) Loading /usr/X11R6/lib/modules/extensions/librecord.a
(II) Module record: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension RECORD
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.2
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.1.0
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "fglrx"
(II) Loading /usr/X11R6/lib/modules/drivers/fglrx_drv.o
(II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
compiled for 4.3.99.902, module version = 8.8.25
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "keyboard"
(II) Loading /usr/X11R6/lib/modules/input/keyboard_drv.o
(II) Module keyboard: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
(II) ATI Radeon/FireGL: The following chipsets are supported:
<snip>
(II) Primary Device is: PCI 01:00:0
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(--) Chipset RADEON X800 PRO (R420 4A49) found
<snip>
(II) Setting vga for screen 0.
(II) fglrx(0): === [R200PreInit] === begin, [s]
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 0.1.0
ABI class: X.Org Video Driver, version 0.7
(II) fglrx(0): PCI bus 1 card 0 func 0
(**) fglrx(0): Depth 24, (--) framebuffer bpp 32
(II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) fglrx(0): Default visual is TrueColor
(**) fglrx(0): Option "OpenGLOverlay" "off"
(**) fglrx(0): Option "VideoOverlay" "on"
(**) fglrx(0): Option "UseInternalAGPGART" "no"
(==) fglrx(0): Qbs disabled
(==) fglrx(0): RGB weight 888
(II) fglrx(0): Using 8 bits per RGB (8 bit DAC)
(==) fglrx(0): Gamma Correction for I is 0x06419064
(==) fglrx(0): Gamma Correction for II is 0x06419064
(==) fglrx(0): Buffer Tiling is ON
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/linux/libint10.a
(II) fglrx(0): initializing int10
(II) fglrx(0): Primary V_BIOS segment is: 0xc000
(--) fglrx(0): Chipset: "RADEON X800 PRO (R420 4A49)" (Chipset = 0x4a49)
(--) fglrx(0): (PciSubVendor = 0x1002, PciSubDevice = 0x0002)
(--) fglrx(0): board vendor info: original ATI grafics adapter
(--) fglrx(0): Linear framebuffer (phys) at 0xf0000000
(--) fglrx(0): MMIO registers at 0xde800000
(--) fglrx(0): ROM-BIOS at 0xeffe0000
(--) fglrx(0): ChipExtRevID = 0x00
(--) fglrx(0): ChipIntRevID = 0x00
(--) fglrx(0): VideoRAM: 131072 kByte (64-bit SDR SDRAM)
(II) fglrx(0): board/chipset is supported by this driver (original ATI board)
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Reloading /usr/X11R6/lib/modules/libddc.a
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.2.0
ABI class: X.Org Video Driver, version 0.7
(II) fglrx(0): I2C bus "DDC" initialized.
(II) fglrx(0): ATI Video BIOS revision 9 or later detected
(II) fglrx(0): Connector Layout from BIOS --------
(II) fglrx(0): Connector0: DDCType-2, DACType-0, TMDSType--1, ConnectorType-2
(II) fglrx(0): Connector1: DDCType-1, DACType-1, TMDSType-0, ConnectorType-3
(II) fglrx(0): All-In-Wonder card detected
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): DDC detected on DDCType 1 with Monitor Type 3
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): DDC detected on DDCType 2 with Monitor Type 0
(II) fglrx(0): Primary head:
Monitor -- TMDS
Connector -- DVI-I
DAC Type -- TVDAC/ExtDAC
TMDS Type -- Internal
DDC Type -- MONID
(II) fglrx(0): Secondary head:
Monitor -- NONE
Connector -- VGA
DAC Type -- Primary
TMDS Type -- NONE
DDC Type -- DVI_DDC
(II) fglrx(0): EDID data from the display on Primary head ----------------
(II) fglrx(0): Manufacturer: DEL Model: a003 Serial#: 808997452
(II) fglrx(0): Year: 2003 Week: 8
(II) fglrx(0): EDID Version: 1.3
(II) fglrx(0): Digital Display Input
(II) fglrx(0): Max H-Image Size [cm]: horiz.: 41 vert.: 31
(II) fglrx(0): Gamma: 2.50
(II) fglrx(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) fglrx(0): First detailed timing is preferred mode
(II) fglrx(0): redX: 0.630 redY: 0.340 greenX: 0.300 greenY: 0.590
(II) fglrx(0): blueX: 0.149 blueY: 0.109 whiteX: 0.312 whiteY: 0.328
(II) fglrx(0): Supported VESA Video Modes:
(II) fglrx(0): 720x400@70Hz
(II) fglrx(0): 640x480@60Hz
(II) fglrx(0): 640x480@75Hz
(II) fglrx(0): 800x600@60Hz
(II) fglrx(0): 800x600@75Hz
(II) fglrx(0): 1024x768@60Hz
(II) fglrx(0): 1024x768@75Hz
(II) fglrx(0): 1280x1024@75Hz
(II) fglrx(0): Manufacturer's mask: 0
(II) fglrx(0): Supported Future Video Modes:
(II) fglrx(0): #0: hsize: 1280 vsize 1024 refresh: 60 vid: 32897
(II) fglrx(0): #1: hsize: 1600 vsize 1200 refresh: 60 vid: 16553
(II) fglrx(0): #2: hsize: 1152 vsize 864 refresh: 75 vid: 20337
(II) fglrx(0): Supported additional Video Mode:
(II) fglrx(0): clock: 162.0 MHz Image Size: 367 x 275 mm
(II) fglrx(0): h_active: 1600 h_sync: 1664 h_sync_end 1856 h_blank_end 2160 h_border: 0
(II) fglrx(0): v_active: 1200 v_sync: 1201 v_sync_end 1204 v_blanking: 1250 v_border: 0
(II) fglrx(0): Serial No: 6E51632L08RL0
(II) fglrx(0): Monitor name: DELL 2000FP
(II) fglrx(0): Ranges: V min: 56 V max: 76 Hz, H min: 31 H max: 80 kHz, PixClock max 160 MHz
(II) fglrx(0):
(II) fglrx(0): DesktopSetup 0x0000
(==) fglrx(0): PseudoColor visuals disabled
(==) fglrx(0): Overlay disabled
(**) fglrx(0): Overlay disabled
(II) fglrx(0): PLL parameters: rf=2700 rd=27 min=20000 max=50000
(==) fglrx(0): Using gamma correction (1.0, 1.0, 1.0)
(==) fglrx(0): Center Mode is disabled
(==) fglrx(0): TMDS coherent mode is enabled
(II) fglrx(0): Panel size found from DDC: 1600x1200
(II) fglrx(0): Total 6 valid mode(s) found.
(--) fglrx(0): Virtual size is 1600x1200 (pitch 1600)
(**) fglrx(0): *Default mode "1600x1200": 162.0 MHz (scaled from 0.0 MHz), 75.0 kHz, 60.0 Hz
(II) fglrx(0): Modeline "1600x1200" 162.00 1600 1664 1856 2160 1200 1201 1204 1250
(**) fglrx(0): Default mode "1280x1024": 135.0 MHz (scaled from 0.0 MHz), 80.0 kHz, 75.0 Hz
(II) fglrx(0): Modeline "1280x1024" 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
(**) fglrx(0): *Default mode "1152x864": 108.0 MHz (scaled from 0.0 MHz), 67.5 kHz, 75.0 Hz
(II) fglrx(0): Modeline "1152x864" 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
(**) fglrx(0): *Default mode "1024x768": 78.8 MHz (scaled from 0.0 MHz), 60.1 kHz, 75.1 Hz
(II) fglrx(0): Modeline "1024x768" 78.80 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
(**) fglrx(0): *Default mode "800x600": 49.5 MHz (scaled from 0.0 MHz), 46.9 kHz, 75.0 Hz
(II) fglrx(0): Modeline "800x600" 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync
(**) fglrx(0): *Default mode "640x480": 31.5 MHz (scaled from 0.0 MHz), 37.5 kHz, 75.0 Hz
(II) fglrx(0): Modeline "640x480" 31.50 640 656 720 840 480 481 484 500 -hsync -vsync
(--) fglrx(0): Display dimensions: (410, 310) mm
(--) fglrx(0): DPI set to (99, 98)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
Skipping "/usr/X11R6/lib/modules/libfb.a:fbmmx.o": No symbols found
(II) Module fb: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.2
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 0.1.0
ABI class: X.Org Video Driver, version 0.7
(==) fglrx(0): NoAccel = NO
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.2.0
ABI class: X.Org Video Driver, version 0.7
(==) fglrx(0): HPV inactive
(==) fglrx(0): FSAA enabled: NO
(==) fglrx(0): FSAA Gamma enabled
(==) fglrx(0): FSAA Multisample Position is fix
(==) fglrx(0): NoDRI = NO
(II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"
(II) Loading /usr/X11R6/lib/modules/linux/libfglrxdrm.a
(II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
compiled for 4.3.99.902, module version = 8.8.25
ABI class: X.Org Server Extension, version 0.2
(II) fglrx(0): Depth moves disabled by default
(==) fglrx(0): Capabilities: 0x00000000
(==) fglrx(0): cpuFlags: 0x8000001d
(==) fglrx(0): cpuSpeedMHz: 0x00000c02
(==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
(**) fglrx(0): using built in AGPGART module: no
(==) fglrx(0): UseFastTLS=0
(==) fglrx(0): BlockSignalsOnLock=1
(==) fglrx(0): EnablePrivateBackZ = NO
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
<snip>
(II) fglrx(0): UMM area: 0xf0954000 (size=0x076ac000)
(II) fglrx(0): driver needs XFree86 version: 4.3.x
(WW) fglrx(0): could not detect XFree86 version (query_status=-3)
(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID PCI:1:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card2
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card3
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card4
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card5
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card6
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card7
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card8
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card9
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card10
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card11
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card12
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card13
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card14
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmGetBusid returned ''
(II) fglrx(0): [drm] loaded kernel module for "fglrx" driver
(II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xf8c39000
(II) fglrx(0): [drm] mapped SAREA 0xf8c39000 to 0xb7db3000
(II) fglrx(0): [drm] framebuffer handle = 0xf0000000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 8.8.25
(II) fglrx(0): Date: Jan 14 2005
(II) fglrx(0): Desc: ATI FireGL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0): Build-Kernel UTS_RELEASE: 2.6.10-5-386
(II) fglrx(0): Build-Kernel MODVERSIONS: no
(II) fglrx(0): Build-Kernel __SMP__: no
(II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
(II) fglrx(0): [drm] register handle = 0xde800000
(II) fglrx(0): [agp] Mode=0x1f000217 bridge: 0x8086/0x2560
(II) fglrx(0): [agp] AGP v1/2 disable mask 0x00000000
(II) fglrx(0): [agp] AGP v3 disable mask 0x00000000
(II) fglrx(0): [agp] enabling AGP with mode=0x1f000314
(II) fglrx(0): [agp] AGP protocoll is enabled for grafics board. (cmd=0x1f000314)
(II) fglrx(0): [agp] grafics chipset has AGP v2.0
(II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
(II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 65536
(II) fglrx(0): [drm] texture shared area handle = 0xf8e01000
(II) fglrx(0): shared FSAAScale=1
(II) fglrx(0): DRI initialization successfull!
(II) fglrx(0): FBADPhys: 0xf0000000 FBMappedSize: 0x00954000
(II) fglrx(0): ----------------------------------
(II) fglrx(0): | panel native mode is 1600x1200 |
(II) fglrx(0): ----------------------------------
(II) fglrx(0): Splitting WC range: base: 0xf0000000, size: 0x954000
(II) fglrx(0): Splitting WC range: base: 0xf0800000, size: 0x154000
(II) fglrx(0): Splitting WC range: base: 0xf0900000, size: 0x54000
(II) fglrx(0): Splitting WC range: base: 0xf0940000, size: 0x14000
(==) fglrx(0): Write-combining range (0xf0950000,0x4000)
(==) fglrx(0): Write-combining range (0xf0940000,0x14000)
(==) fglrx(0): Write-combining range (0xf0900000,0x54000)
(==) fglrx(0): Write-combining range (0xf0800000,0x154000)
(==) fglrx(0): Write-combining range (0xf0000000,0x954000)
(II) fglrx(0): FBMM initialized for area (0,0)-(1600,1528)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1600,1200) (front color buffer - assumption)
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled
(II) fglrx(0): Using hardware cursor (scanline 1200)
(II) fglrx(0): Largest offscreen area available: 1600 x 320
(**) Option "dpms"
(**) fglrx(0): DPMS enabled
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Solid Lines
Dashed Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
24 128x128 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x00000001
(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled
(II) Loading extension FGLRXEXTENSION
(II) Loading extension ATITVOUT
(==) RandR enabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(**) Generic Keyboard: Core Keyboard
(**) Option "Protocol" "standard"
(**) Generic Keyboard: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Generic Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "pc104"
(**) Generic Keyboard: XkbModel: "pc104"
(**) Option "XkbLayout" "us"
(**) Generic Keyboard: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Generic Keyboard: CustomKeycodes disabled
(**) Option "Protocol" "ImPS/2"
(**) Configured Mouse: Device: "/dev/input/mice"
(**) Configured Mouse: Protocol: "ImPS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/input/mice"
(**) Option "Emulate3Buttons" "true"
(**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(**) Configured Mouse: Buttons: 5
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
(II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
(II) Configured Mouse: ps2EnableDataReporting: succeeded
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0
Could not init font path element unix/:7100, removing from list!

Here's my xorg.conf ... the non-altered version works fine in 1600x1200 for the OSS drivers.
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "GLcore"
Load "glx"
Load "dri"
# Load "extmod" but omit DGA extension - this must be included as is if you want to change resolution on the fly
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon X800 Pro (R420 JI)"
Driver "fglrx"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"

# === 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"

# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"

# You don't actually need this next BusID bit - unless maybe you have dual monitors?
# I've removed it from mine (single monitor only) and all is well.
# I think it's a leftover from fxglrconfig - doh!
BusID "PCI:1:0:0"

EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 31-80
VertRefresh 56-76
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon X800 Pro (R420 JI)"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection


Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

duncanm
July 3rd, 2005, 09:02 PM
how do i stop the x server if i use kde only?
depends which window manager your using.

if your a kubuntu user then it should be sudo /etc/init.d/kdm stop

if you installed kde in addition to ubuntu then your probably still getting the same login screen, if so then:
sudo /etc/init.d/gdm stop will still work

shizow
July 5th, 2005, 01:02 PM
great guys!

it worked!

i have a new IBM thinkpad T43 with x300

i had to add

Option "MonitorLayout" "LVDS, STV"

as suggested.

But how do i get the tvout working
i have the cable plugged when i start the laptop
but i never get a picture

when i plug the tv cable in my desktop which has ubuntu and ati radeon ve, i can see something starting at the bios

what can i do with the fireglcontrol thing?

shizow
July 8th, 2005, 10:13 AM
great guys!

it worked!

i have a new IBM thinkpad T43 with x300

i had to add

Option "MonitorLayout" "LVDS, STV"

as suggested.

But how do i get the tvout working
i have the cable plugged when i start the laptop
but i never get a picture

when i plug the tv cable in my desktop which has ubuntu and ati radeon ve, i can see something starting at the bios

what can i do with the fireglcontrol thing?

can anyone help please?

i30i3i3y
July 12th, 2005, 12:23 PM
Hi,

Been reading through this post trying to figure out how to get my 9800 pro to work.

Before I came across this forum I downloaded the installation thingy for linux from the ati website.

I ran that, got the ati control panel and everything, Was quite pleased. But it hasn't done anything!

When I run fglrxinfo,

display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)

When I run fgl_glxgears,

X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 32
Current serial number in output stream: 32

I see lots of people reporting these error messages. But I'm not sure how to resolve them.

If someone could guide me through using the ati installation package to get the card working I would really appreciate it.

Is there any additional information I should post?

edgarallan
July 13th, 2005, 06:03 PM
hi i've barton 2500 on nforce2 mobo and radeon 2600 pro (agpgart and nvidia_agp loaded into kernel)

i've done all the possible... followed all the stiky messages. (2 days of frustration maybe i will return winzozz)

fglrxinfo say i'm in MESA
Xorg.0.log say loaded kernel module for "fglrx" driver
Kernel Module version matches driver.
(II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:2:0:0"
DRI initialization successfull!
glrxinfo say direct rendering: No
client glx vendor string: ATI
OpenGL vendor string: Mesa

don't know what i can do
please helpme
tanks and bye,
francesco. this is my xorg.conf:

ection "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "dri"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "glx"
# Load "extmod" but omit DGA extension - this must be included as is if you want to change resolution on the fly
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
Load "GLcore"
EndSection

Section "Extensions"
Option "Composite" "Disable"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9600 (R300 AP)"
Driver "fglrx"
Option "UseInternalAGPGART" "no"
BusID "PCI:2:0:0"
Option "backingstore" "true"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "yes"

# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.

EndSection

Section "Monitor"
Identifier "CM715"
Option "DPMS"
EndSection



Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9600 (R300 AP)"
Monitor "CM715"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

Dreadknott
July 15th, 2005, 12:11 AM
Ok, this was a pretty useful guide, between the first post and the post that said to exit GDM, I managed to get the drivers installed. fglrxinfo shows ATI, but glxgears and fglxgears opens the window and locks up the pc. I have a HP zv5000 laptop with ATI Mobility 9300. Ive never seen glxgears just hang a pc before... Anyone have any suggestions? My xorg.conf is the same as the one in the original post, and I have tried adjusting the settings.

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "GLcore"
Load "glx"
Load "dri"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Mobility 9300 (R200 AP)"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "UseInternalAGPGART" "no"
BusID "PCI:1:0:0"
EndSection

poofyhairguy
July 15th, 2005, 12:45 AM
Ok, this was a pretty useful guide, between the first post and the post that said to exit GDM, I managed to get the drivers installed. fglrxinfo shows ATI, but glxgears and fglxgears opens the window and locks up the pc. I have a HP zv5000 laptop with ATI Mobility 9300. Ive never seen glxgears just hang a pc before... Anyone have any suggestions? My xorg.conf is the same as the one in the original post, and I have tried adjusting the settings.

Do other 3d apps work? those gears aren't everything.

Dreadknott
July 15th, 2005, 02:02 AM
Nope, all 3d is out. Ive been looking at the old forums and will try double checking the kernel version tomorrow. The LVDS,STV option under monitor totally killed X. I'll look at xorg.o.log and try losking out pixel shaders before trying the installer from ATI. This other guy had the same issue, but never resolved it... http://ubuntuforums.org/member.php?u=3106
thanks for the reply, see ya tomorrow!

foxy123
July 15th, 2005, 03:09 AM
Ok, this was a pretty useful guide, between the first post and the post that said to exit GDM, I managed to get the drivers installed. fglrxinfo shows ATI, but glxgears and fglxgears opens the window and locks up the pc. I have a HP zv5000 laptop with ATI Mobility 9300. Ive never seen glxgears just hang a pc before... Anyone have any suggestions? My xorg.conf is the same as the one in the original post, and I have tried adjusting the settings.

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "GLcore"
Load "glx"
Load "dri"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Mobility 9300 (R200 AP)"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "UseInternalAGPGART" "no"
BusID "PCI:1:0:0"
EndSection
Try to disble FastWrite and downgrade APG from 8x to 4x.

immoral giant
July 18th, 2005, 10:01 AM
I'm having problems. I installed the Mesa drivers initially. Since then i followed this guide and got the ATI drivers. With the ATI Drivers i got high fps in glxgears (cant remember what it was) but since then i followed this:

http://ubuntuforums.org/showthread.php?t=32495

Now fglrxinfo gives:

root@ubuntu:/home/user # fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)


Is there any way i can just uninstall the drivers and redo this guide. I tried redoing it but it doesn't change.

Hamman
July 18th, 2005, 03:26 PM
Thanks for a great guide! :) I'm currently getting 4650 FPS in glxgears, so I'm thinking about trying ET tonight :).

pailhead
July 19th, 2005, 08:58 PM
I know, I know, flog the dead horse :roll: . But I believe this is worth doing because I, and others, have had my xserver freeze at boot time after following some of the instructions found on these forums - in particular the use of fglrxconfig. I guess i'm just trying to bring the best info I've gained from other threads (and now this one!), plus my own (limited) experience, into one place.


I've tried setting up my 9800 pro with the sudo apt-get install... etc that you specify above and I get a black screen. I don't get a gnome GDM at all. Has anyone run into this issue and if so what did you do? I'm running the stock kernel on an AMD 64 processor.

Anyone?

pailhead
July 20th, 2005, 02:27 PM
Hi all. I am STILL having a terrible time setting up the ATI drivers despite this great HOWTO. Note I am new to Linux but comfortable with the CL. I am running a P4 2.0GHz machine and the 9800 Radeon Pro 256MB graphics card, and Dell 2001 FP monitor at 1600x1200 resolution.

After I install exactly as per this HOWTO, when X loads it gives a black screen and I can no longer do anything. Note it is not a monitor powerdown, just black screen. I have to then boot into recovery mode and change "fglrx" to "ati" to get X to load again. I am sorry for the long post, but I am desperately in need of help resolving this problem.


This is exactly the same issue I"m having and haven't found a way out yet. I've got the same card but with 128MB.

Anyone?

jomk
July 20th, 2005, 07:22 PM
I am close, but when I restart X (or reboot too), I get a blank screen. If I go ahead and enter my password, I can hear the X session fire up, including the "music", but the screen is still blank.

I am attaching my dmesg.doc and Xorg.0.log.doc.bz2 as files due to message length constraints; xorg.conf is below. I would appreciate help getting over the hump.

I also did the re-install with Xserver stopped. I am using 2.6.10-5-686. Also copied the fglrx.ko file to the various suggested folders. My ssystem uses a Celeron 2.60GHz cpu; 512 MB RAM; Shuttle ST61G4 with integrated 9100IGP ATI graphics.

Of note in the log:

(WW) Ignoring request to load module GLcore

(II) fglrx(0): driver needs XFree86 version: 4.3.x
(WW) fglrx(0): could not detect XFree86 version (query_status=-3)

I would really appreciate your assistance - many have succeeded, and I would like to join your ranks.

THX
+++++++++++++++++++++++++++++++++++++++++
Xorg.conf:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "GLcore"
Load "glx"
Load "dri"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9100 A5 (R200 IGP)"
Driver "fglrx"

#If X refuses to use the screen resolution you asked for
#uncomment this; see "Bugs and Workarounds" for details.
# Option "NoDDC"

#=== Video Overlay for the Xv extension
Option "VideoOverlay" "on"

#=== OpenGL Overlay
#Note: When OpenGL Overlay is enabled, Viseo Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"

#=== Use internal AGP GART support?
#If OpenGL acceleration does NOT work, try using "yes" here
#and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"

# The following BusID bit is not needed with one monitor
BusID "PCI:1:5:0"
EndSection

Section "Monitor"
Identifier "GATEWAY EV90"
Option "DPMS"
# HorizSync 30-86
# VertRefresh 50-120
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9100 A5 (R200 IGP)"
Monitor "GATEWAY EV90"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

+++++++++++++++++++++++++++++++++++++++++

frostyfrost
July 23rd, 2005, 12:55 PM
hello
I'm having this error when I try to install the xorg-driver-fglrx_6.8.0-8.8.25-0ubuntu11_i386.deb

"E: /var/cache/apt/archives/xorg-driver-fglrx_6.8.0-8.8.25-0ubuntu11_i386.deb: subprocess pre-installation script returned error exit status 2"

Any suggestions

midfingr
July 23rd, 2005, 08:12 PM
Thank you :)
Your guide got my ATI 9800 PRO working!

Much appreciated \\:D/

... now I have install some (cough) id titles.

pailhead
July 23rd, 2005, 10:13 PM
Thank you :)
Your guide got my ATI 9800 PRO working!

Much appreciated \\:D/

... now I have install some (cough) id titles.
Wish I could say the same thing... :(

lynng
July 25th, 2005, 01:43 AM
shizow,

I'm also trying to get this working on a t43, but get a blank screen when restarting X. Without theOption "MonitorLayout" "LVDS, STV" the screen does not appear to come on. With the option it comes on but stays black. Could you post your xorg.conf so I can compare?

cwf
July 25th, 2005, 10:41 PM
Thanks for the great tutorial. THe flgrx driver is installed and is working great.

However, I cannot change the resolution on the fly. I get the error:

The X Server does not support the XRandR extension. Runtime resolution changes to the display size are not available.

I have setup the xorg.conf file as suggested:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)"
Driver "fglrx"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"

# === 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"

# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Avitron"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)"
Monitor "Avitron"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

Any help would be greatly appreciated.

Siva

johannes
July 26th, 2005, 06:30 PM
Thanks everyone for the great advices. I have now powered up my laptop from 400 fps to 1400 fps according to glxgears. :) I have a Radeon Mobility 9700 with 64 mb ram.

joshuapurcell
July 26th, 2005, 07:10 PM
I am close, but when I restart X (or reboot too), I get a blank screen. If I go ahead and enter my password, I can hear the X session fire up, including the "music", but the screen is still blank.

I am attaching my dmesg.doc and Xorg.0.log.doc.bz2 as files due to message length constraints; xorg.conf is below. I would appreciate help getting over the hump.

I also did the re-install with Xserver stopped. I am using 2.6.10-5-686. Also copied the fglrx.ko file to the various suggested folders. My ssystem uses a Celeron 2.60GHz cpu; 512 MB RAM; Shuttle ST61G4 with integrated 9100IGP ATI graphics.

Of note in the log:

(WW) Ignoring request to load module GLcore

(II) fglrx(0): driver needs XFree86 version: 4.3.x
(WW) fglrx(0): could not detect XFree86 version (query_status=-3)

I would really appreciate your assistance - many have succeeded, and I would like to join your ranks.

THX
+++++++++++++++++++++++++++++++++++++++++
Xorg.conf:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "GLcore"
Load "glx"
Load "dri"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9100 A5 (R200 IGP)"
Driver "fglrx"

#If X refuses to use the screen resolution you asked for
#uncomment this; see "Bugs and Workarounds" for details.
# Option "NoDDC"

#=== Video Overlay for the Xv extension
Option "VideoOverlay" "on"

#=== OpenGL Overlay
#Note: When OpenGL Overlay is enabled, Viseo Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"

#=== Use internal AGP GART support?
#If OpenGL acceleration does NOT work, try using "yes" here
#and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"

# The following BusID bit is not needed with one monitor
BusID "PCI:1:5:0"
EndSection

Section "Monitor"
Identifier "GATEWAY EV90"
Option "DPMS"
# HorizSync 30-86
# VertRefresh 50-120
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9100 A5 (R200 IGP)"
Monitor "GATEWAY EV90"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

+++++++++++++++++++++++++++++++++++++++++
I get those same warnings in my log, but I have no problems displaying the desktop (although I continue to incorrectly use the Mesa driver). The problem may be somewhere other than with those messages, but i'm not sure where.

joshuapurcell
July 26th, 2005, 07:16 PM
I'm having problems. I installed the Mesa drivers initially. Since then i followed this guide and got the ATI drivers. With the ATI Drivers i got high fps in glxgears (cant remember what it was) but since then i followed this:

http://ubuntuforums.org/showthread.php?t=32495

Now fglrxinfo gives:

root@ubuntu:/home/user # fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)


Is there any way i can just uninstall the drivers and redo this guide. I tried redoing it but it doesn't change.
As for this situation, I've been in the same place for almost a week now. I've read that multiple versions of the libGL.so.1 file (and its associated symlinks) are causing the wrong driver to be used. Here is some info:joshua@jlpubuntu:~$ locate libGL.so.1
/usr/lib/libGL.so.1
/usr/lib/libGL.so.1.2
/usr/X11R6/lib/fglrx/libGL.so.1.2.xlibmesa
/usr/X11R6/lib/libGL.so.1.2
/usr/X11R6/lib/libGL.so.1
/usr/X11R6/lib32/fglrx/libGL.so.1.2.xlibmesa
/usr/X11R6/lib32/fglrx/libGL.so.1.2.xlibmesa.dpkg-tmp
/usr/X11R6/lib32/libGL.so.1.2
/usr/X11R6/lib32/libGL.so.1
/usr/lib32/libGL.so.1
/usr/lib32/libGL.so.1.2

joshua@jlpubuntu:~$ ls -al /usr/lib/ | grep libGL
lrwxrwxrwx 1 root root 12 2005-07-24 16:06 libGL.so.1 -> libGL.so.1.2
lrwxrwxrwx 1 root root 25 2005-07-24 16:06 libGL.so.1.2 -> ../X11R6/lib/libGL.so.1.2
lrwxrwxrwx 1 root root 13 2005-04-09 21:21 libGLU.so.1 -> libGLU.so.1.3
lrwxrwxrwx 1 root root 26 2005-04-09 21:21 libGLU.so.1.3 -> ../X11R6/lib/libGLU.so.1.3

joshua@jlpubuntu:~$ ls -al /usr/X11R6/lib | grep libGL
lrwxrwxrwx 1 root root 12 2005-07-24 16:06 libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 844992 2005-04-04 17:41 libGL.so.1.2
lrwxrwxrwx 1 root root 13 2005-04-09 21:21 libGLU.so.1 -> libGLU.so.1.3
-rw-r--r-- 1 root root 531552 2005-04-05 11:16 libGLU.so.1.3

joshua@jlpubuntu:~$ ls -al /usr/X11R6/lib32/ | grep libGL
lrwxrwxrwx 1 root root 12 2005-07-24 16:06 libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 695752 2005-04-04 17:41 libGL.so.1.2
lrwxrwxrwx 1 root root 13 2005-07-24 23:52 libGLU.so.1 -> libGLU.so.1.3
-rw-r--r-- 1 root root 500480 2004-08-25 10:54 libGLU.so.1.3

joshua@jlpubuntu:~$ ls -al /usr/lib32/ | grep libGL
lrwxrwxrwx 1 root root 12 2005-07-24 16:06 libGL.so.1 -> libGL.so.1.2
lrwxrwxrwx 1 root root 27 2005-07-24 16:06 libGL.so.1.2 -> ../X11R6/lib32/libGL.so.1.2
lrwxrwxrwx 1 root root 13 2005-04-09 21:21 libGLU.so.1 -> libGLU.so.1.3
lrwxrwxrwx 1 root root 28 2005-04-09 21:21 libGLU.so.1.3 -> ../X11R6/lib32/libGLU.so.1.3

joshua@jlpubuntu:~$ ldd `which glxinfo`
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x0000002a9566c000)
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x0000002a957ee000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x0000002a959c2000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0000002a95ad3000)
libpthread.so.0 => /lib/libpthread.so.0 (0x0000002a95cb1000)
libm.so.6 => /lib/libm.so.6 (0x0000002a95dc6000)
libc.so.6 => /lib/libc.so.6 (0x0000002a95f4c000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x0000002a9618b000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0000002a96369000)
libdl.so.2 => /lib/libdl.so.2 (0x0000002a96476000)
/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000002a95556000)I see there are multiple symlinks and versions pointing to different files (two separate real files in /usr/X11R6/lib and /usr/X11R6/lib32), but I don't know what to do about it. Which one would I get rid of, and should I just delete the right file and change it's associated symlinks to the other version? If not that, then what else should I try? Let me know if more information will help in finding out what the problem is.

EDIT: Here's some other basic info... I'm using Hoary 5.04 64-bit with and ATI Radeon 9800 Pro. I'm trying to use the ATI proprietary drivers.

maqi
July 26th, 2005, 11:10 PM
Thanks for the great tutorial. THe flgrx driver is installed and is working great.

However, I cannot change the resolution on the fly. I get the error:



I have setup the xorg.conf file as suggested:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)"
Driver "fglrx"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"

# === 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"

# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Avitron"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9700 Pro (R300 ND)"
Monitor "Avitron"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

Any help would be greatly appreciated.

Siva


Been so long since I checked this thread :(

Siva, if you look at the "Module" section of your xorg.conf you'll see that you have extmod loading sixth. You then have the extmod subsection at the end of the "Module" section. This is not correct.

Try replacing 'Load "extmod"' with the "extmod" Subsection you have bolded in your post. Basically just cut and paste the subsection into the same position which 'Load "extmod"' is now in. Hopefully that should fix it.

Hope this helps :)

maqi
July 26th, 2005, 11:20 PM
As for this situation, I've been in the same place for almost a week now. I've read that multiple versions of the libGL.so.1 file (and its associated symlinks) are causing the wrong driver to be used. Here is some info:joshua@jlpubuntu:~$ locate libGL.so.1
/usr/lib/libGL.so.1
/usr/lib/libGL.so.1.2
/usr/X11R6/lib/fglrx/libGL.so.1.2.xlibmesa
/usr/X11R6/lib/libGL.so.1.2
/usr/X11R6/lib/libGL.so.1
/usr/X11R6/lib32/fglrx/libGL.so.1.2.xlibmesa
/usr/X11R6/lib32/fglrx/libGL.so.1.2.xlibmesa.dpkg-tmp
/usr/X11R6/lib32/libGL.so.1.2
/usr/X11R6/lib32/libGL.so.1
/usr/lib32/libGL.so.1
/usr/lib32/libGL.so.1.2

joshua@jlpubuntu:~$ ls -al /usr/lib/ | grep libGL
lrwxrwxrwx 1 root root 12 2005-07-24 16:06 libGL.so.1 -> libGL.so.1.2
lrwxrwxrwx 1 root root 25 2005-07-24 16:06 libGL.so.1.2 -> ../X11R6/lib/libGL.so.1.2
lrwxrwxrwx 1 root root 13 2005-04-09 21:21 libGLU.so.1 -> libGLU.so.1.3
lrwxrwxrwx 1 root root 26 2005-04-09 21:21 libGLU.so.1.3 -> ../X11R6/lib/libGLU.so.1.3

joshua@jlpubuntu:~$ ls -al /usr/X11R6/lib | grep libGL
lrwxrwxrwx 1 root root 12 2005-07-24 16:06 libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 844992 2005-04-04 17:41 libGL.so.1.2
lrwxrwxrwx 1 root root 13 2005-04-09 21:21 libGLU.so.1 -> libGLU.so.1.3
-rw-r--r-- 1 root root 531552 2005-04-05 11:16 libGLU.so.1.3

joshua@jlpubuntu:~$ ls -al /usr/X11R6/lib32/ | grep libGL
lrwxrwxrwx 1 root root 12 2005-07-24 16:06 libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 695752 2005-04-04 17:41 libGL.so.1.2
lrwxrwxrwx 1 root root 13 2005-07-24 23:52 libGLU.so.1 -> libGLU.so.1.3
-rw-r--r-- 1 root root 500480 2004-08-25 10:54 libGLU.so.1.3

joshua@jlpubuntu:~$ ls -al /usr/lib32/ | grep libGL
lrwxrwxrwx 1 root root 12 2005-07-24 16:06 libGL.so.1 -> libGL.so.1.2
lrwxrwxrwx 1 root root 27 2005-07-24 16:06 libGL.so.1.2 -> ../X11R6/lib32/libGL.so.1.2
lrwxrwxrwx 1 root root 13 2005-04-09 21:21 libGLU.so.1 -> libGLU.so.1.3
lrwxrwxrwx 1 root root 28 2005-04-09 21:21 libGLU.so.1.3 -> ../X11R6/lib32/libGLU.so.1.3

joshua@jlpubuntu:~$ ldd `which glxinfo`
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x0000002a9566c000)
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x0000002a957ee000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x0000002a959c2000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0000002a95ad3000)
libpthread.so.0 => /lib/libpthread.so.0 (0x0000002a95cb1000)
libm.so.6 => /lib/libm.so.6 (0x0000002a95dc6000)
libc.so.6 => /lib/libc.so.6 (0x0000002a95f4c000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x0000002a9618b000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0000002a96369000)
libdl.so.2 => /lib/libdl.so.2 (0x0000002a96476000)
/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000002a95556000)I see there are multiple symlinks and versions pointing to different files (two separate real files in /usr/X11R6/lib and /usr/X11R6/lib32), but I don't know what to do about it. Which one would I get rid of, and should I just delete the right file and change it's associated symlinks to the other version? If not that, then what else should I try? Let me know if more information will help in finding out what the problem is.

EDIT: Here's some other basic info... I'm using Hoary 5.04 64-bit with and ATI Radeon 9800 Pro. I'm trying to use the ATI proprietary drivers.


Hey Joshua and immortal giant :)

If you look at my original post, there is a link under "Custom Kernel" which will show you the right way to install the ATI drivers rather than the ubuntu packages. I assume that is what you're trying to do. You will need your kernel headers and a properly configured kernel source tree installed. You will also need to replace the kernel version in that post with your own kernel version and the fglrx driver version with the appropriate fglrx version.

This should sort out any problems with libGL.so.1.2.

Good luck :)

aaso
July 27th, 2005, 03:54 AM
Try to disble FastWrite and downgrade APG from 8x to 4x.

can this be done in the driver configuration, if so...HOW?

thanks

Zaare
July 27th, 2005, 10:59 PM
First of all: thanks for the howto.
After som trial and error I was able to get rid of mesa, thanks to valthonis' post about how to get around that problem.

But the fact remains that after using this howto the fps has been cut down to half according to glxgears.
Before:

$ glxgears
5237 frames in 5.0 seconds = 1047.400 FPS
5783 frames in 5.0 seconds = 1156.600 FPS
5785 frames in 5.0 seconds = 1157.000 FPS

After:

$ glxgears
3228 frames in 5.0 seconds = 645.600 FPS
3330 frames in 5.0 seconds = 666.000 FPS
3324 frames in 5.0 seconds = 664.800 FPS


fglrxinfo gives:

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9000 DDR Generic
OpenGL version string: 1.3.4769 (X4.3.0-8.8.25)

My xorg.conf:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "GLcore"
Load "glx"
Load "dri"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "se"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon Mobility 9000 M9 (R250 Lf)"
Driver "fglrx"
BusID "PCI:1:0:0"
Option "backingstore" "true"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"

# === 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"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-49
VertRefresh 43-72
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon Mobility 9000 M9 (R250 Lf)"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

Computer info:
Laptop
mobile AMD AthlonXP 3000+
Radeon Mobility 9000 M9 64MB
512 MB RAM

Any ideas on what's not right here?

cwf
July 28th, 2005, 12:06 AM
Been so long since I checked this thread :(

Siva, if you look at the "Module" section of your xorg.conf you'll see that you have extmod loading sixth. You then have the extmod subsection at the end of the "Module" section. This is not correct.

Try replacing 'Load "extmod"' with the "extmod" Subsection you have bolded in your post. Basically just cut and paste the subsection into the same position which 'Load "extmod"' is now in. Hopefully that should fix it.

Hope this helps :)

Great advice...it worked! Thanks Maqi...may you be blessed with happiness for your kind help.

DGibFen
July 28th, 2005, 07:14 PM
Whew! After much trial and error with this guide, I finally got the drivers to work on my system. Thanks!

catolh
July 28th, 2005, 08:41 PM
While trying to build the fglrx module i get this:



ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.10-5-386/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.10-5-386'
Building modules, stage 2.
MODPOST
Warning: could not find /lib/modules/fglrx/build_mod/2.6.x/.libfglrx_ip.a.GCC3.cmd for /lib/modules/fglrx/build_mod/2.6.x/libfglrx_ip.a.GCC3
make[1]: Leaving directory `/usr/src/linux-headers-2.6.10-5-386'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh i


And after i've finished all the steps, including my xorg.conf. I reboot and i still get the mesa crap:


display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)


And in my xorg log i get:


(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 8.8.25
(II) fglrx(0): Date: Jan 14 2005
(II) fglrx(0): Desc: ATI FireGL DRM kernel module
(WW) fglrx(0): Kernel Module version does *not* match driver.
(EE) fglrx(0): incompatible kernel module detected - HW accelerated OpenGL will not work
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xf8c96000 at 0xb7db0000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *



Im so confused right now.. im going crazy infact.. im so desperate with getting the newest ati drivers, i've tried every single guide out there.. even the New universal installer to no avail.. im about to start crying.. :p

Ill also post my xorg.conf:


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "GLcore"
Load "glx"
Load "dri"
Load "extmod"
Load "freetype"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
# Load "extmod" but omit DGA extension
# (the DGA extension is broken in the fglrx driver)
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection

EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9600 XT (RV350 AR)"
Driver "fglrx" # this is the important bit
BusID "PCI:1:0:0"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"

# === 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"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"
EndSection

Section "Monitor"
Identifier "Q773"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9600 XT (RV350 AR)"
Monitor "Q773"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection


I really hope someone can help me with this.. I think i need to install something else too.. im so newb in linux i need step-by-step guides from the early start as of just installed ubuntu hoary 5.04.. :\

catolh
July 30th, 2005, 04:22 AM
Wee! After going over the steps one more time i actually managed to make it work.. :D

Oh, and by the way.

After i installed these fglrx drivers, i am having problems with my "xv" video out on mplayer. It doesnt play any video or sound. Just gives me an error. Does anyone know how to fix this? Or have the same problem?

ClearBlueSky
July 30th, 2005, 09:36 AM
shizow,

I'm also trying to get this working on a t43, but get a blank screen when restarting X. Without theOption "MonitorLayout" "LVDS, STV" the screen does not appear to come on. With the option it comes on but stays black. Could you post your xorg.conf so I can compare?

Don't know what your Thinkpad configuration is but I was able to get my T43 with a Mobility X300 working. Very inexperienced vi user myself so I was happy that I was able to manage. This is my xorg.conf...


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "extmod"
Load "freetype"
Load "GLcore"
Load "glx"
Load "dri"
# Load "extmod" but omit DGA extension
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon Mobility M300 (M22)"
Driver "fglrx"
# For Laptops, hope it works
Option "MonitorLayout" "LVDS,STV"
# If X refuses screen resolution uncomment this;
# Option "NoDDC"

# Video Overlay for XV extension
Option "VideoOverlay" "on"
# OpenGL Overlay
Option "OpenGLOverlay" "off"
# Use internal AGP GART support?
# If OpenGL accel. doesn't work, try yes and disable
# kernel agpgart driver
Option "UseInternalAGPGART" "no"

BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon Mobility M300 (M22)"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1400x1050"
EndSubSection
SubSection "Display"
Depth 4
Modes "1400x1050"
EndSubSection
SubSection "Display"
Depth 8
Modes "1400x1050"
EndSubSection
SubSection "Display"
Depth 15
Modes "1400x1050"
EndSubSection
SubSection "Display"
Depth 16
Modes "1400x1050"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x960"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
Mode 0666
EndSection

movery
August 1st, 2005, 02:47 PM
I have a radeon 9700 in my laptop (which for some reason is only listed as an 9600)...

0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]

...and I have never been able to get the fglrx driver to work properly. It always just seems to end up using:

$ fglrxinfo
Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)

Couple of questions:

- does the packaged ubuntu fglrx driver support my card?
- why oh why do always get "unresolved symbol errors" when using using the fglrx module with DRI enabled? As soon as I turn this off X starts but I only get the mesa driver :(

Thanks in advance!

myha
August 3rd, 2005, 03:34 AM
Hi!

Im complete newbie in Linux and i am having a bit of problems and I was wondering if smbdy could help since you're experts in video drivers...

I have HP omnibook 6100 laptop with ATI radeon mobility M6 video card... When I installed Linux on my machine the video acceleration was very slow so I decided to try to upgrade drivers... Some collegue of mine told me I need XFree86 drivers, so I surfed a bit and found this (http://www.xfree86.org/) site, followed instructions and.... Nothing works anymore....

Then I found out that ubuntu uses xorg drivers.... :???: So can anyone tell me how to remove these xfree86 drivers and reinstall the xorg???
Is it enough if I just manually rewrite xorg.conf?
Can it be saved or I have to reinstall??

Thanks in advance!

Lux Perpetua
August 5th, 2005, 05:44 AM
Hello!

I managed to get this to work. I'm using a ThinkPad T43p with ATI Mobility FireGL V3200 (M24). Thanks especially to maqi, Jesus Franco, and teumima for their HOWTOs, and to everyone who posted their solutions. Details follow:

1. I went through Jesus Franco's HOWTO (http://ubuntuforums.org/showthread.php?t=32495), and...

2. It didn't quite work. Turned out
(a) I didn't have the right kernel headers (2.6.10-5-386). When I fixed it, it turned out
(b) I didn't have gcc, exactly :o Easily fixed.

3. It still didn't work. X started fine, but glxgears had much worse performance than before, and fglxconfig reported Mesa, not Mobility FireGL (as countless other users have reported). Here I was stumped for a while, and then I read ClearBlueSky's post which inspired me to try one more time. I carefully went over my xorg.conf, and I noticed this:

Section "Extensions"
Option "Composite" "Enable"
EndSection

teumima's HOWTO (http://ubuntuforums.org/showthread.php?t=22496) states that it isn't possible to enable composite effects and 3D acceleration at the same time. I wasn't actually using this extension (very poor performance), but it was still enabled in my file. After disabling it, everything worked fine. My FPS on glxgears went from ~610 to ~2189.

Summary: make sure you don't have compositing enabled when you try this HOWTO!

Copter
August 14th, 2005, 12:38 PM
hi!

nice howto maqi. ive managed to install the drivers and change xorg.conf as you said. system loads without any errors. i get this

copter@xidge:~$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9000/9100 IGP Series DDR Generic
OpenGL version string: 1.3.4769 (X4.3.0-8.8.25)so its ok. before driver change wile running glxgears i got like 150-180 fps. now when i run anything that uses gl my system crashes. screen freezes. i can move mouse cursor but keyboard doesnt work. cant ctrl-alt-f*. have to reset the hard way.

any ideas?

copter :]

Unam
August 16th, 2005, 12:44 AM
Okay, I read through all 23 pages and a few other posts besides that, I did get the ATi driver to install but nothing I do seems to shake the Mesa driver. If I run glxinfo I get the following:

name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
GLX_ATI_render_texture
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None
0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x27 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None
0x28 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None
0x29 24 dc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x2a 24 dc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None

The x-org configuration file looks like this:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
# Load "extmod" but omit DGA extension
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "GLcore"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "UseInternalAGPGART" "no"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "GS790-2"
Option "DPMS"
HorizSync 30-97
VertRefresh 50-180
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)"
Monitor "GS790-2"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

Glxgears returns the following and locks up x:

X connection to :0.0 broken (explicit kill or server shutdown).

At this point, any help would be appreciated.

Thanks.

Unam
August 16th, 2005, 02:50 PM
Dohhh...

I re-read this from front to back (again) as well as "HowTo: Ati FGLRX 8.14.13", damn I didn't have build essential installed!

Installed build essential, ran the ATi install and everything works fine!

Output of glxgears:

22845 frames in 5.0 seconds = 4569.000 FPS

Output of fgl_glxgears:

4356 frames in 5.0 seconds = 871.200 FPS

Grrrr... feeling really stooooopid!

But at least I got the damn thing running. :grin:

Unam
August 18th, 2005, 05:06 PM
FYI,

I successfully installed the latest ATi driver (8.16.20) using the same method, worked just fine.

Follow the "How to" but insert these lines at the beginning;

# wget http://www2.ati.com/drivers/linux/ati-driver-installer-8.16.20-i386.run
# sudo sh ./ati-driver-installer-8.16.20-i386.run

Output of glxgears = 22914 frames in 5.0 seconds = 4582.800 FPS
Output of fgl_glxgears = 4549 frames in 5.0 seconds = 909.800 FPS

Have fun... :wink:

Panthios
August 28th, 2005, 08:15 AM
I know, I know, flog the dead horse :roll: ........
Does this also work with Laptop ATI Mobility IGP320?
Anybody?

DiEPRiESKiP
August 28th, 2005, 02:27 PM
My Radeon 9700 pro gets reconised as a Radeon 9500 Pro. it seems to work correct do...

h17m4n
September 4th, 2005, 12:03 AM
Hey, I got the drivers set up and everything, but I got a res problem. I'm running ubuntu on my laptop, and the native res is 1280X800(15.4" WS). I added it to the xorg.conf file, but when I go to Screen Resolution, it only shows 4:3 resolutions and under 1024x768. I think that before I set this up, the default ubuntu driver ran the native res fine.

This res makes things blurry.

Here's the xorg.conf:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "GLcore"
Load "glx"
Load "dri"
# Load "extmod" but omit DGA extension - this must be included as is if you want to change resolution on the fly
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon Mobility 9600/9700 M10/M11 (RV350 NP)"
Driver "fglrx"
# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
Option "NoDDC"

# === 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"

# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"

# You don't actually need this next BusID bit - unless maybe you have dual monitors?
# I've removed it from mine (single monitor only) and all is well.
# I think it's a leftover from fxglrconfig - doh!
BusID "PCI:1:0:0"

EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-49
VertRefresh 43-72
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon Mobility 9600/9700 M10/M11 (RV350 NP)"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280X800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

Miguel
September 4th, 2005, 12:05 PM
Alright h17m4n,

Try this. First MAKE A BACKUP COPY of your xorg.conf:


$ cd /etc/X11
$ sudo cp xorg.conf xorg.conf-orig


Now let's edit the allowed resolutions. Comment out with # all the screen section and paste this:


Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon Mobility 9600/9700 M10/M11 (RV350 NP)"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection


As a note I should say that I also have subsections for 1, 4, 8, 15 and 16 bit depth. These are just a copy of the subsection above with the corresponding number instead of 24. Anyway, 24 should be enough (the fglrx driver doesn't support 16 bit colour depth, IIRC)

Now restart your x server by doing

$ sudo /etc/init.d/gdm restart


If this still doesn't work, edit again your xorg.conf. Under the "Monitor" section, comment the HorizSync and VertRefresh lines and add the following line:


Modeline "1280x800@60" 83.91 1280 1312 1624 1656 800 816 824 841


Now cross your fingers and restart your X server.

With those two steps, your monitor and screen sections would look iddentical to mine. I have a Dell Inspiron 8600 with a 15'4 inch WXGA screen (1280*800) and an ATi Radeon 9600 mobility pro turbo (the same chip as yours).

Hopefully, this will work. Else, you will have to go back to your previous xorg.conf file or to the free ati modules.

PS: I am currently using the free drivers, because the 2d support of the ati ones suck and my laptop can hibernate with the free drivers.

edit: put a few slashes right and add the correct monitor identifier

h17m4n
September 4th, 2005, 11:47 PM
I removed the last 3 resolutions ("1024x768" "800x600" "640x480"), saved and ran "$ sudo /etc/init.d/gdm restart". Then it closed everything and went to command, and didn't return to the GUI login screen. It asked for user name and password in prompt. So I did, and typed "startx" and it worked! Now fonts look much better.

Thx a lot.

I'm a noob, and I still don't understand the "comment with #" stuff. From what I picked up, to comment is to add the #, and uncomment is to remove. I just didn't understand what lines you were referring to, and what they are for.

But thanks man. If I ever go to spain remind me to get you a ticket to a Real Madrid game!

Goochi
September 5th, 2005, 12:09 PM
Hello,

I followed the guide completely. But when entering 'fglrxinfo' it says 'command not found'. Although 'glxgears' works, but pretty slow. Also I can't see any FPS anywhere, and glxgears gives as error (on exit)
Xlib: extension "XFree86-DRI" missing on display ":0.0"


fgl_glxgears results in 'command not found' too.


Any suggestions ? Thanks,
gOofy

Lux Perpetua
September 5th, 2005, 05:05 PM
Hello,

I followed the guide completely. But when entering 'fglrxinfo' it says 'command not found'. Although 'glxgears' works, but pretty slow. Also I can't see any FPS anywhere, and glxgears gives as error (on exit)
Xlib: extension "XFree86-DRI" missing on display ":0.0"


fgl_glxgears results in 'command not found' too.


Any suggestions ? Thanks,
gOofy
Look at /usr/share/fglrx/fglrx-install.log for errors. My guess is that it failed the installation. If there are no errors, then look at /var/log/Xorg.0.log.

h17m4n
September 5th, 2005, 05:16 PM
I installed the UT2004 Demo today. It ran ok at the native res and with quality settings on normal. But sometimes it got choppy during battles. Are there any tweaks for this driver? Would using the hardware gart give me a higher performance?

Panthios
September 6th, 2005, 10:22 AM
Please, someone. Nobody with info on IGP320 ATI chip on Linux?
I use "radeon" in my xorg.conf with the precompiled kernel 2.6.10-5-k7.

It works ok, but not with games, only scores around 180fps in glxgears.

lspci gives this:

0000:00:00.0 Host bridge: ATI Technologies Inc AGP Bridge [IGP 320M] (rev 13)
0000:00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 320M] (rev 01)
0000:00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
0000:00:08.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
0000:00:09.0 Modem: ALi Corporation M5457 AC'97 Modem Controller
0000:00:0a.0 CardBus bridge: Texas Instruments PCI4410 PC card Cardbus Controller (rev 02)
0000:00:0a.1 FireWire (IEEE 1394): Texas Instruments PCI4410 FireWire Controller (rev 02)
0000:00:0d.0 USB Controller: NEC Corporation USB (rev 43)
0000:00:0d.1 USB Controller: NEC Corporation USB (rev 43)
0000:00:0d.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
0000:00:0e.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
0000:00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
0000:00:11.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
0000:01:05.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility U1
0000:02:00.0 Ethernet controller: Abocom Systems Inc RTL8139 [FE2000VX] CardBus Fast Ethernet Attached Port Adapter (rev 10)

Ahriman
September 8th, 2005, 05:56 AM
I have been trying to set up my Ati 9550 Radeon with some other guides on these forums, this one worked for me no worries :)

The only problem I have, is that when I try to run a System Info script, I get the following error:

Xlib: extension "RANDR" missing on display ":0.0".

fgl_glxgears runs fine, i'm getting ~220 fps, so I just wondered if there was anything else I needed to do to get this card set up properly

darrensnospam
September 15th, 2005, 01:18 PM
Message moved to hardware forum.

kimmoi
October 13th, 2005, 06:11 AM
I used to have Debian "etch" but moved to ubuntu because of better support(IMHO). I just installed breezy 5.1 and got everything else working fine but opengl freezes X. this also happens with the default kernel driver and fglrx

so I have to use
Option "no_dri" "yes"

this is the only way X doesn't freeze and I can use my computer.
everything used to work under debian "etch" or "sarge"

with Option "no_dri" "no" fglrxinfo shows everythink ok but opengl freezes the whole computer.

any suggestions what to do? I think I have tried every option imaginable.

some info:
AMD Athlon XP2400+
512Mb Ram
Radeon 8500LE (R200)

I can post all logs if needed. just pm or mail me

edit: oops. just broke forum rules. sorry

neoflight
November 13th, 2005, 01:39 PM
iam getting this....
:~$ sudo apt-get install xorg-driver-fglrx
Password:
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
nvidia-glx
The following NEW packages will be installed:
xorg-driver-fglrx
0 upgraded, 1 newly installed, 1 to remove and 3 not upgraded.
1 not fully installed or removed.
Need to get 8325kB of archives.
After unpacking 13.8MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ca.archive.ubuntu.com breezy/restricted xorg-driver-fglrx 6.8.0-8.1 6.20-0ubuntu16 [8325kB]
Fetched 8325kB in 24s (341kB/s)

Preconfiguring packages ...
(Reading database ... 124849 files and directories currently installed.)
Removing nvidia-glx ...
Selecting previously deselected package xorg-driver-fglrx.
(Reading database ... 124814 files and directories currently installed.)
Unpacking xorg-driver-fglrx (from .../xorg-driver-fglrx_6.8.0-8.16.20-0ubuntu16_ i386.deb) ...
Setting up network-manager (0.5.1-0ubuntu1) ...
* Stopping Network connection manager daemon: [ ok ]
* Starting Network connection manager daemon: chown: `bind:bind': invalid user
dpkg: error processing network-manager (--configure):
subprocess post-installation script returned error exit status 1
Setting up xorg-driver-fglrx (6.8.0-8.16.20-0ubuntu16) ...
Errors were encountered while processing:
network-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)

:~$ fglrxinfo
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual!

:~$ sudo apt-get install xorg-driver-fglrx
Reading package lists... Done
Building dependency tree... Done
xorg-driver-fglrx is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
:~$ fglrxinfo
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual!

something is very wrong..i was expecting ati 9600..i have tp 42.

any comments... i removed network-manager...

help!

neoflight:confused: :confused:

pokeyflan
November 18th, 2005, 12:23 PM
Somewhat at the end of my rope...

I've followed the instructions in this how-to, twice -- at least ONCE correctly i think.
My initial upgrade was a little slow & it seemed incomplete, but as i kept tweaking it, trying to IMPROVE things... they of course got worse.
Eventually, i realized that it seemed to be a problem with the ATI driver (as i was researching by reading others' posts).

So, i followed the HOW-TO steps of
1. backing up the the xorg.conf
2. apt-get install appropriate packages
3. editing xorg.conf

My results........at one point, dramatically better following an edit of xorg.conf -- the HD noise almost disappeared, the system monitor showed normal levels of activity & i could get in & out of programs. But then... it got wose again.

As far as i can tell, the fglrx driver NEVER installed (or re-installed) although they are listed as installed in synaptic.

Typing in fglrxinfo gives me:

Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)

And dmesg | grep fglrx gives:

[4294697.736000] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[4294697.741000] [fglrx] Maximum main memory to use for locked dma buffers: 198 MBytes.
[4294697.741000] [fglrx:firegl_init] *ERROR* Device not found!
[4294697.767000] [fglrx] Maximum main memory to use for locked dma buffers: 198 MBytes.
[4294697.767000] [fglrx:firegl_init] *ERROR* Device not found!

I don't understand how i still can't have the right driver loaded?!?

At this point, i'm considering just re-installing since i've had such rotten luck with the upgrade, but....

Can someone tell me if there's some one thing else i can do to upgrade?
Or, alternatively, what should i do during a reload to mitigate all this bother?

thanks in advance for any ideas.................chris

xelink
November 25th, 2005, 01:45 PM
this will likely sound like the dumbest question ever, but what should you enter on the first step?

$ sudo apt-get install linux-restricted-modules-<your-kernel-version> xorg-driver-fglrx

what I was entering into console included:

sudo apt-get install linux-restricted-modules-i386 xorg-driver-fglrx
sudo apt-get install linux-restricted-modules-i686 xorg-driver-fglrx


sudo apt-get install linux-restricted-modules-5.10 xorg-driver-fglrx
sudo apt-get install linux-restricted-modules-breezy xorg-driver-fglrx

I am really clueless.

EDIT: if I use this:
sudo apt-get install xorg-driver-fglrx

then it says I have the latest driver installed. Should I be fine then?

I tried fglxinfo and got this
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)

insteed of "something like this" this...
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 1.3.4893 (X4.3.0-8.10.19)

am I still ok?

also, when i run glxgears it comes out relly choppy and I can't even run the other test..



EDIT: I am a retard, I have breezy...
EDIT2: I should have them working, I even tried those tests and got compareable reults.

dezier
November 28th, 2005, 07:21 PM
Deleted reply (sorry, should have thought before i pressed the button)

icbu
January 1st, 2006, 05:26 AM
Hi,

Thanks for the guide.

I have Ubuntu 5.10 and ATI 9200 SE

My problem however is with mythtv (it using xv when watching tv) the colors are weird, it basically looks like the picture is going through a blue filter.

Does anyone know how I can fix this please?

Thanks.

EDIT: This also happens when playing videos in mplayer but not totem

defiant_penguin
January 1st, 2006, 10:24 PM
Hi. I followed this guide (perfectly I think) and I'm getting this in my xorg log file... any ideas??


(II) fglrx(0): Desc: ATI FireGL DRM kernel module
(WW) fglrx(0): Kernel Module version does *not* match driver.
(EE) fglrx(0): incompatible kernel module detected - HW accelerated OpenGL will not work
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xe0c4c000 at 0xb7bcb000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *


`uname -r` shows 2.6.10-5-386 and that's what I put into apt when getting the drivers.

fglrxinfo still shows me using mesa drivers. Any help would be appreciated...

Jason

Crashsector
January 4th, 2006, 10:14 PM
I am getting the same error as the user above. Apparently the binary files downloaded via apt-get no longer work for ubuntu.

So... what do we do? Anyone have any success getting the file direct from ATI working and care to elaborate how?

icbu
January 5th, 2006, 04:05 AM
If anyone else has the same problem as me I unselected xv color filter in the mythtv frontend settings (playback).