You are not logged in.

#1 2006-02-13 14:14:02

lumiwa
Member
Registered: 2005-12-26
Posts: 712

ATI drivers config - help

Hi!

I am Arch user still smile and I please for one ''fish'' more.
Today I reinstall ARCH (testing repo is now commented). I want to install ATI drivers. I know that they have aticonfig now. I did on Xorg 7.0 but I had a problem with fglrx - didn't work.
My card is Radeon 9000 (r250). For Xorg 6.8 and Mesa drivers works fine.

Could someone who has the same card help me, please with his/her xorg.conf.

Thanks in advance,

Mitja

Offline

#2 2006-02-13 16:23:57

napoleon
Member
Registered: 2005-04-03
Posts: 176

Re: ATI drivers config - help

Hey Could you  give some details on the errors you are having pls.


A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"

Offline

#3 2006-02-13 17:32:10

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: ATI drivers config - help

lumiwa, check out the community packages ati-drivers (for kernel26archck) and ati-drivers-arch (for stock kernel).

I can paste the "Device" section from my xorg.conf if you want.

Offline

#4 2006-02-13 17:59:11

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: ATI drivers config - help

Cerebral wrote:

lumiwa, check out the community packages ati-drivers (for kernel26archck) and ati-drivers-arch (for stock kernel).

I can paste the "Device" section from my xorg.conf if you want.

Please... Thanks smile

I cannot write what kind of error because I am not on my computer. Sorry.

Offline

#5 2006-02-13 19:31:37

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: ATI drivers config - help

Here's my fglrx device section for ya:

Section "Device"
    Identifier                          "ATI Graphics Adapter connector 0"
    Driver                              "fglrx"
    #Option                              "NoDDC"
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
    Option "DesktopSetup"               "(null)" 
    Option "ScreenOverlap"              "0" 
    Option "TVFormat"                   "NTSC-M"     
    Option "TVStandard"                 "VIDEO"     
    Option "TVHSizeAdj"                 "0"     
    Option "TVVSizeAdj"                 "0"     
    Option "TVHPosAdj"                  "0"     
    Option "TVVPosAdj"                  "0"     
    Option "TVHStartAdj"                "0"     
    Option "TVColorAdj"                 "0"     
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
    Option "Capabilities"               "0x00000000"
    Option "CapabilitiesEx"             "0x00000000"
    Option "VideoOverlay"               "on"
    Option "OpenGLOverlay"              "off"
    Option "CenterMode"                 "off"
    Option "PseudoColorVisuals"         "off"
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
    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"
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "no"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=4152
    Screen 0
EndSection

Offline

#6 2006-02-13 21:31:02

Chman
Member
Registered: 2006-01-31
Posts: 169
Website

Re: ATI drivers config - help

There's a new tool with ati-drivers, it's called aticonfig and it works great here (I have two monitors in big desktop mode and the two screens are correctly separated ! It didn't work with the old flglrxconfig for me).

So, aticonfig can generate you a correct xorg file, just type :

aticonfig --initial --input=/etc/X11/xorg.conf

And if you want more options,

aticonfig --help

wink

Offline

#7 2006-02-13 22:08:47

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: ATI drivers config - help

Chman wrote:

There's a new tool with ati-drivers, it's called aticonfig and it works great here (I have two monitors in big desktop mode and the two screens are correctly separated ! It didn't work with the old flglrxconfig for me).

So, aticonfig can generate you a correct xorg file, just type :

aticonfig --initial --input=/etc/X11/xorg.conf

And if you want more options,

aticonfig --help

wink

I did above on Xorg 7.0 and didn't work. I will try later on Xorg 6.8.
Thanks you and thanks to Cerebral too smile

Offline

#8 2006-02-14 12:50:03

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: ATI drivers config - help

Cerebral wrote:

lumiwa, check out the community packages ati-drivers (for kernel26archck) and ati-drivers-arch (for stock kernel).

I can paste the "Device" section from my xorg.conf if you want.

One question more...the last ATI drivers .22. does Radeon 9000 works with them? I didn't try yet.

Offline

#9 2006-02-14 13:03:40

Chman
Member
Registered: 2006-01-31
Posts: 169
Website

Re: ATI drivers config - help

Yep, should work according to ATI :

The ATI Proprietary Linux driver currently supports Radeon 8500 and later AGP or PCI Express graphics products, as well as FireGL 8700 and later products.

Offline

#10 2006-02-15 02:28:51

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: ATI drivers config - help

I Installed Xorg 7.0 (works) and I installed ATI drivers and doesn't work.
In xorg.conf I have :

Section "Module"
    Load  "ddc" 
    Load  "GLcore"
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
    Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
EndSection


Section "Device"
    Identifier  "Card0"
    Driver      "fglrx"
     #Option                              "NoDDC" 
     Option "no_accel"                   "no" 
     Option "no_dri"                     "no" 
     Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr 
     Option "DesktopSetup"               "(null)" 
     Option "ScreenOverlap"              "0" 
     Option "TVFormat"                   "NTSC-M"      
     Option "TVStandard"                 "VIDEO"      
     Option "TVHSizeAdj"                 "0"      
     Option "TVVSizeAdj"                 "0"      
     Option "TVHPosAdj"                  "0"      
     Option "TVVPosAdj"                  "0"      
     Option "TVHStartAdj"                "0"      
     Option "TVColorAdj"                 "0"      
     Option "GammaCorrectionI"           "0x00000000" 
     Option "GammaCorrectionII"          "0x00000000" 
     Option "Capabilities"               "0x00000000" 
     Option "CapabilitiesEx"             "0x00000000" 
     Option "VideoOverlay"               "on" 
     Option "OpenGLOverlay"              "off" 
     Option "CenterMode"                 "off" 
     Option "PseudoColorVisuals"         "off" 
     Option "Stereo"                     "off" 
     Option "StereoSyncEnable"           "1" 
     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" 
     Option "UseFastTLS"                 "0" 
     Option "BlockSignalsOnLock"         "on" 
     Option "UseInternalAGPGART"         "no" 
     Option "ForceGenericCPU"            "no" 
     BusID "PCI:1:0:0"    # vendor=1002, device=4152 
     Screen 0 
EndSection

In the Xorg.log I have also:

(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0):     Name: radeon
(II) fglrx(0):     Version: 1.19.0
(II) fglrx(0):     Date: 20050911
(II) fglrx(0):     Desc: ATI Radeon
(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 0xe0f5d000 at 0xb7666000
(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                *

...and fglrx info show:

glrxinfo
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.4.1

I don't know what I am doing wrong...

Mitja

Offline

#11 2006-02-15 03:41:59

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: ATI drivers config - help

(WW) fglrx(0): Kernel Module version does *not* match driver.
(EE) fglrx(0): incompatible kernel module detected - HW accelerated OpenGL will not work 

Apparently your kernel module (fglrx.ko) is not the same version as your X.org fglrx driver.  Something went wrong in your Xorg 7 install.

What did you use to install it?

Offline

#12 2006-02-15 13:43:07

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: ATI drivers config - help

Cerebral wrote:
(WW) fglrx(0): Kernel Module version does *not* match driver.
(EE) fglrx(0): incompatible kernel module detected - HW accelerated OpenGL will not work 

Apparently your kernel module (fglrx.ko) is not the same version as your X.org fglrx driver.  Something went wrong in your Xorg 7 install.

What did you use to install it?

First I installed Arch base. Than I run pacman -S xorg kde. It was Xorg 6.8. And it works. Than I uncommented testing rep and run pacman -Syu and it asked if I want to upgrade X from testing and I said ''Yes''. I changed path for Xorg 7 and it works too. Than I downloded I think your package of ati-drivers for Xorg7. Than makepkg ati-driver-install and after that pacman -A package. I also removed (pacman -Rd) gl-dri or something, I forgot) and than from /opt/ati run fglrx install. Here I had also an error about permission that cannot write fglrx driver but final it said that is driver installed succesful. I did as root.
Than aticonfig --..... and there was not a lot of changes and I use your device section. That is it.
I have official Arch kernel.
Today when I came home I will try to reinstall Arch to base and than uncommented testing and Install just Xorg7? Is it okay?
Thanks.

Offline

#13 2006-02-15 13:46:04

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: ATI drivers config - help

http://www.student.cs.uwaterloo.ca/~tjwillar/arch/

I installed ati drivers from above site.

Mitja

Offline

#14 2006-02-15 17:53:45

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: ATI drivers config - help

...I also found something about my problem on site:

http://www.thinkwiki.org/wiki/Problems_ … celeration

Mitja

Offline

#15 2006-02-16 03:32:22

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: ATI drivers config - help

Here I had also an error about permission that cannot write fglrx driver but final it said that is driver installed succesful. I did as root.

Try quitting X, dropping back down to console, and doing:

$ su
$ rmmod fglrx
$ mv /lib/modules/`uname -r`/video/fglrx.ko ~/fglrx.ko.bak
$ cd /opt/ati
$ ./fglrx_module_setup.sh install

and tell me if you got the permission error again.

Also, there should be a log in /var/log/fglrx_install.log - if the install still gives you the permission error, maybe you could pastebin that for me to look at?

Offline

#16 2006-02-16 14:08:17

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: ATI drivers config - help

Cerebral wrote:

Here I had also an error about permission that cannot write fglrx driver but final it said that is driver installed succesful. I did as root.

Try quitting X, dropping back down to console, and doing:

$ su
$ rmmod fglrx
$ mv /lib/modules/`uname -r`/video/fglrx.ko ~/fglrx.ko.bak
$ cd /opt/ati
$ ./fglrx_module_setup.sh install

and tell me if you got the permission error again.

Also, there should be a log in /var/log/fglrx_install.log - if the install still gives you the permission error, maybe you could pastebin that for me to look at?

Thanks I will try...

Offline

#17 2006-02-17 02:30:35

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: ATI drivers config - help

[code]
and tell me if you got the permission error again.

Also, there should be a log in /var/log/fglrx_install.log - if the install still gives you the permission error, maybe you could pastebin that for me to look at?[/quote]

I didn't have problem with permission now. But something is wrong or I am doing something wrong because drivers dont works on my system. I did fgrlxinfo and again show me Mesa, glxgears were verrrrrrrrrry slllow.
I use mesa drivers again and work slowly as before:
glxgears just to show how slow:
[code]
13901 frames in 5.0 seconds = 2780.157 FPS
13995 frames in 5.0 seconds = 2798.873 FPS
13986 frames in 5.0 seconds = 2797.038 FPS
13978 frames in 5.0 seconds = 2795.541 FPS
[/code]


.

Offline

#18 2006-02-17 02:53:46

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: ATI drivers config - help

So, you're using Mesa again... did you properly symlink:

$ cp /usr/X11R6/lib/modules/* /usr/lib/xorg/modules -r
$ rm -r /usr/X11R6/lib/modules
$ ln -s /usr/lib/xorg/modules /usr/X11R6/lib/modules

And what's the output of:

$ ls -l /usr/lib/libGL*

Offline

#19 2006-02-17 12:24:23

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: ATI drivers config - help

Cerebral wrote:

So, you're using Mesa again... did you properly symlink:

$ cp /usr/X11R6/lib/modules/* /usr/lib/xorg/modules -r
$ rm -r /usr/X11R6/lib/modules
$ ln -s /usr/lib/xorg/modules /usr/X11R6/lib/modules

And what's the output of:

$ ls -l /usr/lib/libGL*

I dont have a dir X11R6. I install Arch again and Xorg7. In xorg.conf I had drver: fglrx but than flgrxinfo show me Mesa.
When I did run aticonfig --initial.... it changed just a monitor name and put new Device with fglrx driver and nothing more. Is it ''normal"?

Offline

#20 2006-02-17 12:49:03

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: ATI drivers config - help

Cerebral wrote:

So, you're using Mesa again... did you properly symlink:

$ cp /usr/X11R6/lib/modules/* /usr/lib/xorg/modules -r
$ rm -r /usr/X11R6/lib/modules
$ ln -s /usr/lib/xorg/modules /usr/X11R6/lib/modules

And what's the output of:

$ ls -l /usr/lib/libGL*

I forgot to ask...I removed libgl-dri. Do I need to removed mesa too??
Thanks.

Offline

#21 2006-02-17 17:38:36

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: ATI drivers config - help

lumiwa wrote:

I forgot to ask...I removed libgl-dri. Do I need to removed mesa too??

No.  Keep Mesa with Xorg 7.
To repeat myself, since you have no /usr/X11R6 folder, you need to make the following symlink in your system for the ATI drivers to work:

$ mkdir -p /usr/X11R6/lib
$ ln -s /usr/lib/xorg/modules /usr/X11R6/lib/modules

Offline

#22 2006-02-17 19:00:43

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: ATI drivers config - help

Cerebral wrote:
lumiwa wrote:

I forgot to ask...I removed libgl-dri. Do I need to removed mesa too??

No.  Keep Mesa with Xorg 7.
To repeat myself, since you have no /usr/X11R6 folder, you need to make the following symlink in your system for the ATI drivers to work:

$ mkdir -p /usr/X11R6/lib
$ ln -s /usr/lib/xorg/modules /usr/X11R6/lib/modules

Thanks a lot...I thought that if you have a ''clean'' install of Xorg and ati drivers for Xorg 7 that I don't need X11R6 folder.

Offline

#23 2006-02-17 19:12:49

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: ATI drivers config - help

lumiwa wrote:

Thanks a lot...

So, it's working for you now?

lumiwa wrote:

I thought that if you have a ''clean'' install of Xorg and ati drivers for Xorg 7 that I don't need X11R6 folder.

Ideally, that's true.  However, the ATI drivers we're using aren't official Xorg-7 ati-drivers.  They're adapted Xorg 6.9 drivers, and Xorg 6.9 still stores everything in /usr/X11R6. 
I suspect that ATI's got that pathname coded somewhere in their driver and that's what's causing our problem.

Offline

#24 2006-02-17 19:18:56

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: ATI drivers config - help

Cerebral wrote:
lumiwa wrote:

Thanks a lot...

So, it's working for you now?

I don't know yey because I am at work now smile. Thank you.

Offline

#25 2006-02-18 01:02:14

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: ATI drivers config - help

Thank you very much for help, Cerebral smile.
It works now.

I have just one question more. Do I need to have in section Module:

    Load  "ddc" 
    Load  "GLcore"
   
In old one I had but now I put:

Section "Module"
  Load         "freetype"
  Load         "type1"
  Load         "bitmap"
  Load         "dbe"
  Load         "glx"
  Load         "extmod"
  Load         "dri"
EndSection

Thanks again,

Mitja

Offline

Board footer

Powered by FluxBB