You are not logged in.

#26 2005-01-21 16:47:23

eric
Member
From: under heaven
Registered: 2004-02-11
Posts: 117

Re: ati radeon driver install

I've recompiled the ati-drivers-module-kernel26 package with qwerties PKGBUILD (a few postings above this one).

First I still have the problem that glxinfo returns "direct rendering: no", even if everything else (patching, compiling, modprobe and starting X) works.
Then I recompiled this package again, but this time I didn't use the compiler options I've set in /etc/makepkg.conf: I've put 'export CFLAGS=""' in the PKGBUILD for the modules. And now it works!  smile

Thanks everyone! This driver works on my system (kernel: 2.6.10-nitro4; xorg: 6.8.2rc2).

Offline

#27 2005-02-13 18:25:23

bunnyhugh
Member
Registered: 2005-02-09
Posts: 21

Re: ati radeon driver install

qwerty wrote:

the "Unknown symbol pci_find_class" it's because something went wrong with the patch (the patch just change any occourrence of "pci_find_class" with "pci_get_class" in agpgart_be.c and add an "#include <linux/pagemap.h>" in firegl_public.c) probably when you cut & paste code from here, just download:

ftp://ftp.archlinux.org/incoming/ati-dr … LDS.tar.gz

Then uncompress it where u prefer (usually in /var/abs/local) and perform the folowing steps:

- cd ati-drivers-module-kernel26
- makepkg
- pacman -A (or -U if you have installed an old version of ati drivers) ati-drivers-module-kernel26-8.8.25-1.pkg.tar.gz
- cd ../ati-drivers
- makepkg
- pacman -A (or -U as above) ati-drivers-8.8.25-1.pkg.tar.gz


That's all smile

Thanks for this qwerty I followed it and it worked fine for me. I had one small hiccup but I am sure this was my fault. Anyway in case it will help someone else here is how I got things to work.

1. The standared kernel had agp build into it, so I rebuild it with agp as a module

2. followed qwerty's link and instruction. The ati driver modules compiled and installed fine, but the ati-drivers failed to install. it said that there was already a "/usr/X11R6/lib/libGL.so.1.2" on my machine, I renamed this library and re-issued the pacman -A, and this time it installed fine.

3. Rebooted my machine, had no problems. did "modprobe fglrx" it loaded with no errors so then I modified the rc.conf so that it would load on boot.

4. I then ran fglrxconfig which created the file XF86Config-4 so moved xorg.conf to xorg.conf.original and then simlinked xorg.conf to XF86Config-4. I modified XF86Config-4 so that it contained the changes that I had made to the original xorg.conf also

5. Rebooted with no issues, and started kde. I found that I still had no direct rendering, I track the problem down to the library that I had renamed. I discovered that "/usr/X11R6/lib/libGL.so.1" was simlinked to it, and everytime I renamed it the link automatically updated to point to the new name, so the new ati library wasn''t being used.

I solved this by rebooting to a prompt, removing the "/usr/X11R6/lib/libGL.so.1" simlink, moving the old library totally out of the path and creating a new simlink to the new ati installed library.

I now have direct rendering and nicely accelerated graphics (glxgears = 1610, fgl_glxgears = 310) this is not as good as some have got but my graphics card (ABIT Guru Radeon 9550) is pluged into a 4X AGP slot so is being throttled.

Wine and all my programs have worked fine, except for openoffice, which refuses to start, no core dumps, seg faults or any other type of error messages, just nothing.

Anyway hope that helps someone

Tks
Bun

Offline

#28 2005-02-23 16:11:34

janwil
Member
From: Tartu, Estonia
Registered: 2003-08-15
Posts: 88

Re: ati radeon driver install

Hi all,

I tried to install the ATI drivers from Link's TUR, then bullt the same stuff myself, but every time I try to modprobe fglrx, I get the same error:

FATAL: Error inserting fglrx (/lib/modules/2.6.10-ARCH/video/fglrx.ko): No such device

I fond no hints concerning such an error message. Can anyone help me?

Thnx,
Jan

Offline

#29 2005-02-23 16:55:04

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

Re: ati radeon driver install

there are new ati-drivers available! link, plz update your package wink


sorry for my bad english smile

Offline

#30 2005-02-23 18:43:47

janwil
Member
From: Tartu, Estonia
Registered: 2003-08-15
Posts: 88

Re: ati radeon driver install

OK, I modified manually Link's PKGBUILDs and created new packages with new drivers. However, I still have the "No such device" error. Does this read that my card is unsupported? I have an IBM Thinkpad R32 with Radeon Mobility M6 LY, if this gives some additional information.

What puzzles me the most is my previous Arch installation on the same machine where everything like DRI worked fine. I haven't been following the forums too much, but do I understand correctly that it is a recent issue with XOrg 6.8 and kernel 2.6.10?

Still grateful for all the hints,
Jan

Offline

#31 2005-02-25 20:25:59

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: ati radeon driver install

I get the following error while trying to install the ati drivers. Anyone know what the problem might be?

EDIT: Well, I see what the problem is... a conflict, right smile, but what is the solution?

orjanp...

[root@ArchThinkpad]# pacman -S ati-drivers

Targets: ati-drivers-module-kernel26-8.8.25-1 ati-drivers-8.8.25-1

Total Package Size:   3.3 MB

Proceed with upgrade? [Y/n] y

:: Retrieving packages from link...
 ati-drivers-module-kerne [########################################################################] 100%     105K    36.7K/s  00:00:02
 ati-drivers-8.8.25-1     [########################################################################] 100%    3295K    86.1K/s  00:00:38

checking package integrity... done.
loading package data... done.
checking for file conflicts... 
error: the following file conflicts were found:
  ati-drivers: /usr/X11R6/lib/libGL.so.1.2: exists in filesystem


errors occurred, no packages were upgraded.

Ørjan Pettersen

Offline

#32 2005-02-26 11:00:34

pixel
Member
From: Living in the Server Room
Registered: 2005-02-21
Posts: 119

Re: ati radeon driver install

Just install with pacman -Sf


Favorite systems: ArchLinux, OpenBSD
"Yes, I love UNIX"

Offline

#33 2005-02-26 11:26:38

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: ati radeon driver install

Thanks. smile


Ørjan Pettersen

Offline

#34 2005-02-27 12:10:04

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: ati radeon driver install

Is it so that it don't support Radeon Mobillity 7500?


Ørjan Pettersen

Offline

#35 2005-03-03 15:34:19

janwil
Member
From: Tartu, Estonia
Registered: 2003-08-15
Posts: 88

Re: ati radeon driver install

I am afraid, so. I have Mobility Radeon M6 and it seems not to work (e.g. I do not have xv extension). If you get your Mobility Radeon working, please let me know. Anybody else having any success on it?

Jan

Offline

#36 2005-03-11 01:17:15

skeeter
Member
From: Morristown TN
Registered: 2003-02-01
Posts: 77

Re: ati radeon driver install

Possible problem with ATI 9800 AIW.  I used pacman to dl ati-drivers and ati-drivers-module-kernel26 from TUR Link and adjusted xorg accordingly. I run glxgears @ 677 fps and glxgears @ 3406 fps but I get this when trying to pacman -Syu now.

error: unresolvable dependencies:
  ati-drivers-module-kernel26: requires kernel26=2.6.10-3

[root@skeeter skeeter]# pacman -Qi kernel26
Name           : kernel26
Version        : 2.6.10-3
Groups         : None
Packager       : Arch Linux (http://www.archlinux.org)
URL            : http://www.kernel.org
License        :
Architecture   : i686
Size           : 47377432
Build Date     : Tue Jan 18 17:02:08 2005 UTC
Install Date   : Mon Feb 14 22:31:22 2005 UTC
Install Script : Yes
Reason:        : installed as a dependency for another package
Provides       : None
Depends On     : module-init-tools
Required By    : ati-drivers-module-kernel26
Conflicts With : None
Description    : The Linux Kernel and modules (IDE support)

2nd problem is that I installed UT and start it but it is very slow and set to 32 bit video w/o any other options.  I tried to make the default screen to 16 bit but it states the fglrx doesn't run in that mode and won't load the screen.  Am I missing something or is this just the ATI conundrum?  Any ideas or information on where to check out further info would be very appreciated.  TIA


Skeeter

Rule #1:  There are NO RULES!

Offline

#37 2005-03-11 14:25:31

sully748
Member
Registered: 2005-01-02
Posts: 10

Re: ati radeon driver install

what has happened is that there has been a new kernel released and the ati drivers will not work with that kernel
so be glad that its not upgrading b/c if you did upgrade ur kernel your ati drivers would no loger work

as for the ut prob i have the same video card and the same problem

Offline

#38 2005-03-12 12:42:03

skeeter
Member
From: Morristown TN
Registered: 2003-02-01
Posts: 77

Re: ati radeon driver install

Sully748  Thanks for the feedback.  Thought it might be that with all the posts about ATI. Guess I'll have to start thinking about a Nvidia card to replace it.  roll


Skeeter

Rule #1:  There are NO RULES!

Offline

#39 2005-03-12 21:52:24

aCoder
Member
From: Medina, OH
Registered: 2004-03-07
Posts: 359
Website

Re: ati radeon driver install

what has happened is that there has been a new kernel released and the ati drivers will not work with that kernel

Actually, the recent drivers are working fine for me, but link's repo is out of date.


If you develop an ear for sounds that are musical it is like developing an ego. You begin to refuse sounds that are not musical and that way cut yourself off from a good deal of experience.
  - John Cage

Offline

#40 2005-03-13 14:50:37

skeeter
Member
From: Morristown TN
Registered: 2003-02-01
Posts: 77

Re: ati radeon driver install

I believe Qwerty had a PKGBUILD listed earlier in this thread and you should be able to use that with the latest kernel to make your new package.


Skeeter

Rule #1:  There are NO RULES!

Offline

#41 2005-03-17 11:46:11

Rotonen
Member
From: Espoo, Finland
Registered: 2005-03-08
Posts: 31
Website

Re: ati radeon driver install

The Qwerty PKGBUILD listed before is out of date (the latest ATI drivers are 8.10.19). If the Nvidia people can enjoy the latest drivers rather quickly from the main repositories, why cannot we, the ATI people? I think this situation is rather unfair and the only thing we'd need would be an UP TO DATE TUR, but it seems even that is too much to ask.  (Yeah, you do have a good point if you're going to say "Well do it yourself then!" Just that there are a lot of people around that are new to Linux and would like to enjoy the simpleness of a flawlessly working package management system, this is causing trouble for them. I can only hope that the AUR system will help the situation.)

I hope that the status of ATI people on Arch Linux gets better eventually! smile

Offline

#42 2005-03-18 14:14:22

sully748
Member
Registered: 2005-01-02
Posts: 10

Re: ati radeon driver install

^^ rgr that
i have two machines running arch one w/ ati 9800 aiw and one w/ geforce 6800
fixing the ati drivers manually was only fun about the first 8 times
makes me want to use my nvidia box

just wondering what is hendering the progress of these packages ?

Offline

#43 2005-03-18 14:24:43

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: ati radeon driver install

Rotonen wrote:

The Qwerty PKGBUILD listed before is out of date (the latest ATI drivers are 8.10.19). If the Nvidia people can enjoy the latest drivers rather quickly from the main repositories, why cannot we, the ATI people? I think this situation is rather unfair and the only thing we'd need would be an UP TO DATE TUR, but it seems even that is too much to ask.  (Yeah, you do have a good point if you're going to say "Well do it yourself then!" Just that there are a lot of people around that are new to Linux and would like to enjoy the simpleness of a flawlessly working package management system, this is causing trouble for them. I can only hope that the AUR system will help the situation.)

I hope that the status of ATI people on Arch Linux gets better eventually! smile

Requesting that updated packages get released is fair game, except you're going about it in the wrong way. I won't go down the "do it yourself" route, but all I ask is that you make your requests a bit more civil.

At the end of the day, ATI linux support is still poor. Nvidia is updated more frequently because presumably there are more package maintainers who also have nvidia cards. It's not that AL is saying "tough luck" to ATI owners, it's simply that packagers haven't had time. They do their best though, considering AL is voluntary. So I expect a bit of patience is required.

Offline

#44 2005-03-18 21:52:44

qwerty
Member
Registered: 2004-12-17
Posts: 183

Re: ati radeon driver install

ati-drivers:

pkgname=ati-drivers
pkgver=8.10.19
pkgrel=1
pkgdesc="ATI accelerated drivers"
url="http://www.ati.com"
license="ATI"
groups=("x11")
depends=('xorg' 'ati-drivers-module')
makedepends=('rpmunpack')
install=ati-drivers.install
source=("http://www2.ati.com/drivers/linux/fglrx_6_8_0-8.10.19-1.i386.rpm" 'ati-drivers.sh')
md5sums=('a3ddb544071b1878ed19984c60623346' 'd9e62017d509a2d22d60381722a085a0')

build() {
    cd $startdir/src
    rpmunpack < $startdir/src/fglrx_6_8_0-8.10.19-1.i386.rpm | gzip -d | cpio -idmuv
    rm -rf $startdir/src/usr/X11R6/bin/*.bz2

    # Install the OpenGL libraries
    install -m 755 -D $startdir/src/usr/X11R6/lib/libGL.so.1.2 
        $startdir/pkg/usr/X11R6/lib/libGL.so.1.2 || return 1
    # We don't symlink because x-server provides the correct symlinks already

    # Install the X and DRI drivers
    install -m 644 -D $startdir/src/usr/X11R6/lib/modules/drivers/fglrx_drv.o 
        $startdir/pkg/usr/X11R6/lib/modules/drivers/fglrx_drv.o || return 1
    install -m 755 -D $startdir/src/usr/X11R6/lib/modules/dri/fglrx_dri.so 
        $startdir/pkg/usr/X11R6/lib/modules/dri/fglrx_dri.so || return 1

    # Install some apps
    install -m 755 -D $startdir/src/ati-drivers.sh 
        $startdir/pkg/etc/profile.d/ati-drivers.sh || return 1
    install -d $startdir/pkg/opt/ati/bin
    install -m 755 -D $startdir/src/usr/X11R6/bin/* 
        $startdir/pkg/opt/ati/bin/ || return 1

    # Remove stuff that we've put elsewhere
    rm -f $startdir/src/usr/X11R6/lib/modules/drivers/fglrx_drv.o 
          $startdir/src/usr/X11R6/lib/modules/dri/fglrx_dri.so 
          $startdir/src/usr/X11R6/lib/libGL.so.1.2 
          $startdir/src/usr/X11R6/bin/*
    rm -rf $startdir/src/usr/{src,share} $startdir/src/usr/X11R6/bin
    cp -R $startdir/src/usr $startdir/pkg
}


ati-drivers-module-kernel26:

kernel=`uname -r`
kernelpkgver=2.6.11.3-1
pkgname=ati-drivers-module-kernel26
pkgver=8.10.19
pkgrel=1
pkgdesc="ATI drivers kernel module"
url="http://www.ati.com"
license="ATI"
provides=('ati-drivers-module')
depends=("kernel26=$kernelpkgver" 'xorg')
makedepends=('rpmunpack')
install=ati-drivers-module.install
source=("http://www2.ati.com/drivers/linux/fglrx_6_8_0-8.10.19-1.i386.rpm")
md5sums=('a3ddb544071b1878ed19984c60623346')

build() {
    cd $startdir/src
    rpmunpack < $startdir/src/fglrx_6_8_0-8.10.19-1.i386.rpm | gzip -d | cpio -idmuv

    # Compile the DRI kernel module
    cd $startdir/src/lib/modules/fglrx/build_mod
    cp 2.6.x/Makefile .
    export _POSIX2_VERSION="199209"
    make -C /usr/src/linux-$kernel SUBDIRS="`pwd`" modules || return 1

    # Install the kernel module
    install -m 644 -D $startdir/src/lib/modules/fglrx/build_mod/fglrx.ko 
        $startdir/pkg/lib/modules/$kernel/video/fglrx.ko || return 1
}

All the other files needed could be downloaded from:

http://xentac.net/tur/tags/link/

Offline

#45 2005-03-20 17:57:15

klapmuetz
Member
From: Germany
Registered: 2005-03-19
Posts: 75

Re: ati radeon driver install

I can't get the newest drivers to work.

The modules fail to compile. With the ARCH-stock kernel and with homebrew.

Could somebody please provide the pkg?

BR,
klapmuetz


Hello girls, I like rock climbing, mountain biking and rafting! Write me!

Offline

#46 2005-03-22 20:50:23

qwerty
Member
Registered: 2004-12-17
Posts: 183

Re: ati radeon driver install

I've just read something about new ati drivers with kernel 2.6.11 here:

http://www.rage3d.com/board/showthread. … 427&page=5


It seems that you have to download & apply these two patch to make them work:

http://ati.cchtml.com/show_bug.cgi?id=110

I'll try 'em as soon as possible, actually i don't have time to do anything, i hope i could do it after the easter's holyday.

C ya

Offline

#47 2005-03-22 22:36:10

qwerty
Member
Registered: 2004-12-17
Posts: 183

Re: ati radeon driver install

oooops i'm sorry for flooding the forum, anyway, i've just made ati drivers packages for kernel 2.6.11.3, i've applied both the patches but when i've tried to load the module i've got this error message:

[fglrx:firegl_stub_register] *ERROR* Unable to the open some already present DRM kernel module!


So i've looked for this error and i've found the solution here:

http://www.rage3d.com/board/showthread.php?t=33806492

Well, I've pulled the patches, installed the 8.10.19 fglrx, applied the patches, and get this charming little bit of Engrish on a module load:

[fglrx:firegl_stub_register] *ERROR* Unable to the open some already present DRM kernel module!

and there IS no DRM module loaded.

Additional data: I had the basic AGP code built in, but had the nVIDIA motherboard specific parts built as a module. Evidently that is not enough - both the base agpcart code and the nvidia_agp code must be built as a module, then the driver loads.

However, whoever wrote the debug message in the firegl_public.c module desperately needs to be introduced to the English language.


It seems that it's needed to recompile the kernel with both the base agpgart code and your specific chipset agp code built as a module... it shouldn't be a problem for the most of you but i think smile

here u have the new ati-drivers-module-kernel26 PKGBUILD

kernel=`uname -r`
kernelpkgver=2.6.11.3-1
pkgname=ati-drivers-module-kernel26
pkgver=8.10.19
pkgrel=1
pkgdesc="ATI drivers kernel module"
url="http://www.ati.com"
license="ATI"
provides=('ati-drivers-module')
depends=("kernel26=$kernelpkgver" 'xorg')
makedepends=('rpmunpack')
install=ati-drivers-module.install
source=("http://www2.ati.com/drivers/linux/fglrx_6_8_0-8.10.19-1.i386.rpm" 'p1.patch' 'p2.patch')
md5sums=('a3ddb544071b1878ed19984c60623346' '1e882dac4462553bc8829eae7698d042'
         'f688e2b4f5886a4dd23b15912145d49f')

build() {
    cd $startdir/src
    rpmunpack < $startdir/src/fglrx_6_8_0-8.10.19-1.i386.rpm | gzip -d | cpio -idmuv

    # Compile the DRI kernel module
    cd $startdir/src/lib/modules/fglrx/build_mod
    patch -p0 < $startdir/src/p1.patch
    patch -p0 < $startdir/src/p2.patch
    cp 2.6.x/Makefile .
    export _POSIX2_VERSION="199209"
    make -C /usr/src/linux-$kernel SUBDIRS="`pwd`" modules || return 1

    # Install the kernel module
    install -m 644 -D $startdir/src/lib/modules/fglrx/build_mod/fglrx.ko 
        $startdir/pkg/lib/modules/$kernel/video/fglrx.ko || return 1
}

Offline

#48 2005-03-24 22:29:45

starthis
Member
Registered: 2004-12-25
Posts: 46

Re: ati radeon driver install

Thanks a lot qwerty. Your post saved me a lot of searching smile
I built my own kernel 2.6.11.5 with agpgart as module, and fglrx compiled perfectly with your PKGBUILD.

Offline

#49 2005-04-05 05:54:15

Rubinas
Member
Registered: 2005-02-21
Posts: 36

Re: ati radeon driver install

It seems that it's needed to recompile the kernel with both the base agpgart code and your specific chipset agp code built as a module... it shouldn't be a problem for the most of you but i think smile

how to do what? where i have to config before compiling kernel?

Offline

#50 2005-04-06 09:27:26

starthis
Member
Registered: 2004-12-25
Posts: 46

Re: ati radeon driver install

Check the kernel compiling howto's on the archlinux wiki pages.
Copy the .config file from the installed kernel source to the new source dir you downloaded and unpacked from kernel.org.

When you do 'make menuconfig' / 'make xconfig' / 'make gconfig', you will be able to change the agpgart to module before you start compiling the kernel and modules.

Offline

Board footer

Powered by FluxBB