You are not logged in.

#76 2004-08-05 14:43:07

ActionNews
Member
From: Augsburg (Germany)
Registered: 2004-02-24
Posts: 150
Website

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

link wrote:

You have to force install because the ati-drivers package provides /usr/lib/X11R6/libGL.so.1.2, which is also provided by the xorg package. Check the following md5sum against your file /usr/lib/X11R6/libGL.so.1.2.

2bbedfcc3582c8166ad461d384731bad  /usr/X11R6/lib/libGL.so.1.2

This is was md5sum says:

md5sum libGL.so.1.2
2bbedfcc3582c8166ad461d384731bad  libGL.so.1.2

Seems to be the same. Anyhow i find it in /usr/X11R6/lib not in /usr/lib/X11R6/ .

Check to see if /usr/X11R6/lib/libGL.so.0 is a symlink to /usr/X11R6/lib/libGL.so.1.2. My ati-drivers package doesn't include those symlinks, since the xorg package already does. The only file I overwrite is the actual libGL.so.1.2 file itself.

Checked. It's a symlink to libGL.so.1.2.

What's your dmesg output look like when you try to load the module. Since this package doesn't do compile on install (kinda defeats the purpose of binary packages doesn't it?), there may be kernel mismatches. I have gotten a request for a kernel24 version of this package, so I may reversion the package to include the kernel versions, like: ati-drivers-3.9.0-2.6.7 or ati-drivers-3.9.0-2.6.7mm or whatever.

dmesg doesn't change. still the same before running "modprobe fglrx".
Last messages:

(...)
Adding 248968k swap on /dev/discs/disc0/part6.  Priority:-1 extents:1
Real Time Clock Driver v1.12
Linux Tulip driver version 1.1.13 (May 11, 2002)
tulip0:  MII transceiver #1 config 1000 status 786d advertising 05e1.
eth0: ADMtek Comet rev 17 at 0x1000, 00:30:05:6A:D6:BC, IRQ 193.
Disabled Privacy Extensions on device c05b80c0(lo)
eth0: Setting full-duplex based on MII#1 link partner capability of 45e1.
eth0: no IPv6 routers present
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (7168 buckets, 57344 max) - 300 bytes per conntrack
CAPI Subsystem Rev 1.1.2.8
capifs: Rev 1.1.2.3
capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)
fcdsl: module license 'Proprietary' taints kernel.
fcdsl: AVM FRITZ!Card DSL driver, revision 0.4.1
fcdsl: fcdsl built on Aug  3 2004 at 17:45:58)
fcdsl: Loading...
fcdsl: Driver 'fcdsl' attached to stack. (164)
kcapi: Controller 1: fcdsl-b0200000-209 attached
kcapi: Controller 2: fcdsl-b0200000-209 attached
fcdsl: Loaded.
fcdsl: Using VCC/VPI/VCI = 0x1/0x1/0x20
fcdsl: Stack version 3.11-02
fcdsl: Stack version 3.11-02
kcapi: card 1 "fcdsl-b0200000-209" ready.
kcapi: card 2 "fcdsl-b0200000-209" ready.
capilib_new_ncci: kcapi: appl 1 ncci 0x10102 up
kcapi: appl 1 ncci 0x10102 down
capilib_new_ncci: kcapi: appl 1 ncci 0x10102 up
drivers/usb/input/hid-input.c: event field not found
drivers/usb/input/hid-input.c: event field not found

Make sure you're sourcing /etc/profile somewhere. This package does include a /etc/profile.d/ati-drivers.sh file, which adds /opt/ati/bin to the PATH.

I ran the script and fglrxconfig can now started everywhere you want.

Yea that seems pretty slow, but since you're still using the Mesa OpenGL libraries, that makes sense.

Good luck and thanks for the feedback! smile

Thanks smile. So i hope i can solve it somehow.

CU ActionNews


[URL=http://www.nethands.de/athlon/show.php3?user=actionnews]My System[/URL] - one click ahead!

Offline

#77 2004-08-06 01:49:52

link
Member
Registered: 2004-04-30
Posts: 69

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

I'd still assume its a kernel mismatch. If you have a stock 2.6.7 image, try that. Or, try using the PKGBUILD, and compile your own.

Offline

#78 2004-08-06 02:59:53

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

i followed klepto's instructions, and all was fine up until the sh make_install.sh, where i get this message:

[32] root:/lib/modules/fglrx # sh make_install.sh
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
FATAL: Error inserting fglrx (/lib/modules/2.6.7/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
failed.

anyone know what's wrong? thx.

Offline

#79 2004-08-06 03:47:21

link
Member
Registered: 2004-04-30
Posts: 69

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

slackhack wrote:

i followed klepto's instructions, and all was fine up until the sh make_install.sh, where i get this message:

[32] root:/lib/modules/fglrx # sh make_install.sh
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
FATAL: Error inserting fglrx (/lib/modules/2.6.7/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
failed.

anyone know what's wrong? thx.

Is module loading enabled? Are you using a stock or custom kernel?
CONFIG_MODULES=y

One other thing, in my setup, I do not have a file /lib/modules/2.6.7/kernel/drivers/char/drm/fglrx.ko
I have /lib/modules/2.6.7/video/fglrx.ko

Offline

#80 2004-08-06 04:15:52

ActionNews
Member
From: Augsburg (Germany)
Registered: 2004-02-24
Posts: 150
Website

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

I have a custom kernel so i'll try PKGBuild smile.

CU ActionNews


[URL=http://www.nethands.de/athlon/show.php3?user=actionnews]My System[/URL] - one click ahead!

Offline

#81 2004-08-06 04:19:35

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

custom kernel, and config modules is enabled.

[3] sero:/usr/src/linux-2.6.7 $ cat .config |grep CONFIG_MODULES=
CONFIG_MODULES=y

i was getting another error about fglrx.ko when i was trying to build the drivers manually, but i'm not sure what it's complaining about.

[8] sero:/lib/modules/2.6.7/kernel/drivers/char/drm $ ll
total 392
-rw-rw-rw-  1 root root 265513 Aug  5 22:52 fglrx.ko
-rw-rw-rw-  1 root root 134849 Aug  5 20:45 radeon.ko

:?:

Offline

#82 2004-08-06 04:56:30

ActionNews
Member
From: Augsburg (Germany)
Registered: 2004-02-24
Posts: 150
Website

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

Is it possible, that i used the wrong agpgart module?
I'm using a Athlon64 with VIA K8T800 chipset so this should be correct or not?

<M> Enhanced Real Time Clock Support 
 <M> /dev/agpgart (AGP Support)                                       
      < >   ALI chipset support                                              
      < >   ATI chipset support                                              
      < >   AMD Irongate, 761, and 762 chipset support            
      <M>   AMD Opteron/Athlon64 on-CPU GART support        
      < >   Intel 440LX/BX/GX, I8xx and E7x05 chipset support 
      < >   NVIDIA nForce/nForce2 chipset support                   
      < >   SiS chipset support                   
      < >   Serverworks LE/HE chipset support            
      < >   VIA chipset support                   
 [*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) 
      < >   3dfx Banshee/Voodoo3+ 
      < >   3dlabs GMX 2000 
      < >   ATI Rage 128 
      < >   ATI Radeon 
      < >   Intel I810 
      < >   Intel 830M, 845G, 852GM, 855GM, 865G 
      < >   Matrox g200/g400 
      < >   SiS video cards   

CU ActionNews


[URL=http://www.nethands.de/athlon/show.php3?user=actionnews]My System[/URL] - one click ahead!

Offline

#83 2004-08-06 05:04:22

link
Member
Registered: 2004-04-30
Posts: 69

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

Oh that I don't know. Maybe try building the VIA chipset one as a module too. And try loading it. smile The beauty of modules.

Offline

#84 2004-08-06 05:06:34

ActionNews
Member
From: Augsburg (Germany)
Registered: 2004-02-24
Posts: 150
Website

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

Well this ist interesting too ... compiled a new kernel and got this message when i do "make modules_install":

WARNING: /lib/modules/2.6.7/video/fglrx.ko needs unknown symbol page_address

CU ActionNews


[URL=http://www.nethands.de/athlon/show.php3?user=actionnews]My System[/URL] - one click ahead!

Offline

#85 2004-08-06 05:23:28

link
Member
Registered: 2004-04-30
Posts: 69

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

Have you recompiled the ati-drivers since you installed a new kernel? I still think the drivers need to be installed for the exact kernel you run (not just the corresponding version).

Offline

#86 2004-08-06 06:30:55

ActionNews
Member
From: Augsburg (Germany)
Registered: 2004-02-24
Posts: 150
Website

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

I'm at work at the moment ... didn't have time yet to compile the ATi-drivers with abs.

CU ActionNews


[URL=http://www.nethands.de/athlon/show.php3?user=actionnews]My System[/URL] - one click ahead!

Offline

#87 2004-08-06 17:23:32

ActionNews
Member
From: Augsburg (Germany)
Registered: 2004-02-24
Posts: 150
Website

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

Ok i compiled the driverswith "makepkg -c" and every thoing seemed to compile perfect. But when i try to install the .pkg.tar.gz i get following errormessage:

pacman -A ati-drivers-3.9.0-1.pkg.tar.gz
loading package data... done.
checking for file conflicts... done.
installing ati-drivers... done.
var/lib/pacman/local/ati-drivers-3.9.0-1/install: line 32: syntax error: unexpected end of file

Here's the file "install" from /var/lib/pacman/local/ati-drivers-3-9-0-1/ :

 post_install() {
   cat << EOF
 
 NOTE
 ----
 To create an fglrx module for your system, do:
 
 cd /lib/modules/fglrx/build_mod
 ./make.sh
 cd ..
 ./make_install.sh
 
 Make sure you have your full kernel tree at /usr/src/linux
 Then initialize "fglrxconfig" to create an XF86Config
 for your graphics card.
 
 EOF
 }
 
 post_upgrade() {
   /bin/true
 }
 
 pre_remove() {
   /bin/true
 }
 
 op=$1
 shift
 
 $op $*

CU ActionNews


[URL=http://www.nethands.de/athlon/show.php3?user=actionnews]My System[/URL] - one click ahead!

Offline

#88 2004-08-06 20:52:09

jskier
Member
From: Minnesota, USA
Registered: 2003-07-30
Posts: 357
Website

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

Anyone get a crack at the 3.11.1 drivers yet? I don't have much time for experimenting with an upgrade package yet... Usually because they can be a breeze to upgrade or utter hell, something I don't have time to gamble with.

~Jay


--
JSkier

Offline

#89 2004-08-07 01:03:22

link
Member
Registered: 2004-04-30
Posts: 69

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

ActionNews wrote:

Ok i compiled the driverswith "makepkg -c" and every thoing seemed to compile perfect. But when i try to install the .pkg.tar.gz i get following errormessage:

pacman -A ati-drivers-3.9.0-1.pkg.tar.gz
loading package data... done.
checking for file conflicts... done.
installing ati-drivers... done.
var/lib/pacman/local/ati-drivers-3.9.0-1/install: line 32: syntax error: unexpected end of file

Here's the file "install" from /var/lib/pacman/local/ati-drivers-3-9-0-1/ :

 post_install() {
   cat << EOF
 
 NOTE
 ----
 To create an fglrx module for your system, do:
 
 cd /lib/modules/fglrx/build_mod
 ./make.sh
 cd ..
 ./make_install.sh
 
 Make sure you have your full kernel tree at /usr/src/linux
 Then initialize "fglrxconfig" to create an XF86Config
 for your graphics card.
 
 EOF
 }
 
 post_upgrade() {
   /bin/true
 }
 
 pre_remove() {
   /bin/true
 }
 
 op=$1
 shift
 
 $op $*

CU ActionNews

If you're using my ati-drivers package, then something is weird. My ati-drivers.install doesn't contain any of that stuff. It compiles the driver at build time, rather than at install time.

jskier wrote:

Anyone get a crack at the 3.11.1 drivers yet? I don't have much time for experimenting with an upgrade package yet... Usually because they can be a breeze to upgrade or utter hell, something I don't have time to gamble with.

~Jay

I didn't know there were new drivers out. I'll give them a try this weekend.

Offline

#90 2004-08-07 03:10:26

kleptophobiac
Member
From: Sunnyvale, CA
Registered: 2004-04-25
Posts: 481

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

Ignore the error, it works anyways.

I'll check out these new drivers sometime as well... smile

Offline

#91 2004-08-07 04:28:55

ActionNews
Member
From: Augsburg (Germany)
Registered: 2004-02-24
Posts: 150
Website

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

link wrote:

If you're using my ati-drivers package, then something is weird. My ati-drivers.install doesn't contain any of that stuff. It compiles the driver at build time, rather than at install time.

I used Kleptos PKGBUILD and ati-drivers.install smile.

CU ActionNews


[URL=http://www.nethands.de/athlon/show.php3?user=actionnews]My System[/URL] - one click ahead!

Offline

#92 2004-08-07 04:36:01

link
Member
Registered: 2004-04-30
Posts: 69

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

Okay, here are some 3.11.1 drivers, as well as some newly built 3.9.0.
I read over the 3.11.1 release notes; they fixed some things, but I didn't notice much change except for a 1000FPS drop in glxgears. :shock: So take your pick on the drivers I suppose.

Binaries: http://arch.subpop.net/arch/link/

Sources: http://arch.subpop.net/sources/ati-drivers/

Currently I only have 2.6 packages, but I plan on making some 2.4 packages (at the request of boris on IRC). I've changed the versioning scheme, so you may need to remove the old package first. Its now: ati-drivers-$driverver_$kernelver, since the drivers are kernel specific. Example, ati-drivers-3.11.1_2.6.7. This allows you to have the package installed for all sorts of different kernels, but you'll get conflicts up the arse. Enjoy!

EDIT: Forgot to mention, I removed the dependency on rpm2targz, and used rpmunpack instead.

Offline

#93 2004-08-08 11:19:34

darksides
Member
Registered: 2004-01-30
Posts: 18

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

Have you installed rpmumpack?



ActionNews wrote:

Ok i compiled the driverswith "makepkg -c" and every thoing seemed to compile perfect. But when i try to install the .pkg.tar.gz i get following errormessage:

pacman -A ati-drivers-3.9.0-1.pkg.tar.gz
loading package data... done.
checking for file conflicts... done.
installing ati-drivers... done.
var/lib/pacman/local/ati-drivers-3.9.0-1/install: line 32: syntax error: unexpected end of file

Here's the file "install" from /var/lib/pacman/local/ati-drivers-3-9-0-1/ :

 post_install() {
   cat << EOF
 
 NOTE
 ----
 To create an fglrx module for your system, do:
 
 cd /lib/modules/fglrx/build_mod
 ./make.sh
 cd ..
 ./make_install.sh
 
 Make sure you have your full kernel tree at /usr/src/linux
 Then initialize "fglrxconfig" to create an XF86Config
 for your graphics card.
 
 EOF
 }
 
 post_upgrade() {
   /bin/true
 }
 
 pre_remove() {
   /bin/true
 }
 
 op=$1
 shift
 
 $op $*

CU ActionNews

Offline

#94 2004-08-09 07:53:45

ActionNews
Member
From: Augsburg (Germany)
Registered: 2004-02-24
Posts: 150
Website

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

darksides wrote:

Have you installed rpmumpack?

Yes. installed it with pacman.

CU ActionNews

PS: EDIT: Perhaps i'll try links new 3.11-package.


[URL=http://www.nethands.de/athlon/show.php3?user=actionnews]My System[/URL] - one click ahead!

Offline

#95 2004-08-10 04:24:44

ActionNews
Member
From: Augsburg (Germany)
Registered: 2004-02-24
Posts: 150
Website

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

I think i found the problem: The agpgart module was wrong sad. Tried it with the via module but this doesn't work with my Athlon 64, nevertheless i have a mainboard with VIA K8T800 chipset. useing the amd64-agp.ko module brings OpenGL up running smile. glxgears looks then like this:

glxgears
9548 frames in 5.0 seconds = 1909.600 FPS
11921 frames in 5.0 seconds = 2384.200 FPS
11927 frames in 5.0 seconds = 2385.400 FPS
11923 frames in 5.0 seconds = 2384.600 FPS
11921 frames in 5.0 seconds = 2384.200 FPS
11923 frames in 5.0 seconds = 2384.600 FPS

(Radeon 9600XT with 4xFSAA and drivers 3.9.0)

At the beginning i used amd64-agp aleady but there fglrx didn't load big_smile. So i tried something else big_smile.

CU ActionNews


[URL=http://www.nethands.de/athlon/show.php3?user=actionnews]My System[/URL] - one click ahead!

Offline

#96 2004-08-22 10:01:16

ActionNews
Member
From: Augsburg (Germany)
Registered: 2004-02-24
Posts: 150
Website

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

link wrote:

Okay, here are some 3.11.1 drivers, as well as some newly built 3.9.0.
I read over the 3.11.1 release notes; they fixed some things, but I didn't notice much change except for a 1000FPS drop in glxgears. :shock: So take your pick on the drivers I suppose.

Binaries: http://arch.subpop.net/arch/link/

Sources: http://arch.subpop.net/sources/ati-drivers/

Currently I only have 2.6 packages, but I plan on making some 2.4 packages (at the request of boris on IRC). I've changed the versioning scheme, so you may need to remove the old package first. Its now: ati-drivers-$driverver_$kernelver, since the drivers are kernel specific. Example, ati-drivers-3.11.1_2.6.7. This allows you to have the package installed for all sorts of different kernels, but you'll get conflicts up the arse. Enjoy!

EDIT: Forgot to mention, I removed the dependency on rpm2targz, and used rpmunpack instead.


Hmm .... ??? Your 3.11 ati drivers pakage and PKGBUILD doesn't exist anymore? Can't find it on your mentioned server.
I'd Like to test the new ones as the 3.9.0 drivers seem to have problems with xvideo sad.

CU ActionNews


[URL=http://www.nethands.de/athlon/show.php3?user=actionnews]My System[/URL] - one click ahead!

Offline

#97 2004-08-22 15:39:21

link
Member
Registered: 2004-04-30
Posts: 69

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

I've become a TU, so I've moved the package into my TUR. http://tur.archlinux.org/

There are now two packages relating to the ati-drivers, one called ati-drivers-module-$kernelver and the other ati-drivers. This allows you to have multiple ati-drivers-module-$kernelver packages installed without file conflicts with the rest of the package.

ati-drivers-module-$kernelver provides a package called ati-drivers-module, which ati-drivers depends on. Does that make sense?

There's also a package for the kernel26mm kernel now too.

Offline

#98 2004-08-24 18:16:11

ActionNews
Member
From: Augsburg (Germany)
Registered: 2004-02-24
Posts: 150
Website

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

Well i'm still using a selfcompiled Kernel 2.6.7 . So if i change the "kernelpkg=2.6.8.1" tag in your PKGBUILD to "kernelpkg=2.6.7" can i use it for my Kernel too?

CU ActionNews


[URL=http://www.nethands.de/athlon/show.php3?user=actionnews]My System[/URL] - one click ahead!

Offline

#99 2004-08-25 04:48:11

link
Member
Registered: 2004-04-30
Posts: 69

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

ActionNews wrote:

Well i'm still using a selfcompiled Kernel 2.6.7 . So if i change the "kernelpkg=2.6.8.1" tag in your PKGBUILD to "kernelpkg=2.6.7" can i use it for my Kernel too?

CU ActionNews

Yes, that should work just fine.You should only have to compile the ati-drivers-module package yourself. The ati-drivers package you could use the binary one I built. (There is nothing kernel related in the ati-drivers package).

Offline

#100 2004-08-25 06:29:10

ActionNews
Member
From: Augsburg (Germany)
Registered: 2004-02-24
Posts: 150
Website

Re: [HOW-TO] Ati Radeon & Kernel 2.6 - Updated

Thanks smile. I'll try it.

CU ActionNews


[URL=http://www.nethands.de/athlon/show.php3?user=actionnews]My System[/URL] - one click ahead!

Offline

Board footer

Powered by FluxBB