LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   fglrx 8.14.13 + 2.6.12.2 (https://www.linuxquestions.org/questions/slackware-14/fglrx-8-14-13-2-6-12-2-a-340747/)

xushi 07-06-2005 06:52 PM

fglrx 8.14.13 + 2.6.12.2
 
I think its easier to start a new post regarding this matter...

sh make.sh fails. And the patches given to us in the previous posts don't work. The first one is successful, but the second one has 6 out of 8 errors in its patching..

Anyway, without the patches, these are the errors i'd get
Code:

root@xushitop:/lib/modules/fglrx/build_mod# sh make.sh
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.12.2/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.12.2'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agp3.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `agp_find_supported_device':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7136: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7156: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7161: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7187: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7207: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7227: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7232: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_init':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_cleanup':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12.2'
make: *** [kmod_build] Error 2
build failed with return value 2
root@xushitop:/lib/modules/fglrx/build_mod#

Any comments appreciated =)
Thanks.

MMYoung 07-08-2005 04:09 AM

Have you tried the new ATI installer, ati-driver-installer-8.14.13.run? It even has a "gui" if you run it from a root terminal in X. I always had the same problem you describe, but the new installer works like the nvidia installer. I tried it and it worked like a charm.

Later,
MMYoung

xushi 07-08-2005 04:22 AM

Hmm, i tried it, it said it installed successfully, and i rebooted. But afterwards, its as if nothing had happened or was installed. I tried to modprobe fglrx manually but it said fglrx was not found. I tried to search for it, couldn't find it.

Hmm, when you tried it, was it on 2.6.12.2 ?

xushi 07-08-2005 04:33 AM

Alright, i just ran the installer again, and again, it said everything was successful, but i checked its log this time, and i get the same error

From /usr/share/fglrx/fglrx-install.log

Code:

[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
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.12.2/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.12.2'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agp3.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `agp_find_supported_device':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7136: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7156: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7161: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7187: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7207: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7227: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7232: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_init':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_cleanup':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12.2'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.


keefaz 07-08-2005 06:29 AM

You're not alone :p
http://www.linuxquestions.org/questi...hreadid=335524

xushi 07-08-2005 07:52 AM

Heh.. sounds too confusing..

MMYoung 07-08-2005 10:00 AM

Quote:

Originally posted by xushi
Hmm, when you tried it, was it on 2.6.12.2 ?
Nope, 2.6.11.5. I was just fixin' to compile the 2.6.12.2 kernel, might just wait a while now.

Later,
MMYoung

xushi 07-12-2005 03:55 AM

Still no luck. I'm thinking if its worth downgrading to 2.6.11.x or not. Although i've seen/read about alot of improvements in 2.6.12 that i wouldn't mind keeping. =/

xushi 07-12-2005 04:05 AM

Hmm, i got this patch from the net (forgot the direct link). It allows me to compile with warnings, but will not allow me to insert the module.

edit: here's the patch
http://xushi.co.uk/xushi/sv/ati/

sh make.sh (second time. To get rid of all the other non important warnings).
Code:

root@xushitop:/lib/modules/fglrx/build_mod# sh make.sh
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.12.2/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.12.2'
  Building modules, stage 2.
  MODPOST
*** Warning: "inter_module_get" [/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko] undefined!
make[1]: Leaving directory `/usr/src/linux-2.6.12.2'
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 in order to install the built module.
==============================
root@xushitop:/lib/modules/fglrx/build_mod#

modprobing

Code:

root@xushitop:/lib/modules/fglrx# modprobe fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.12.2/kernel/drivers/char/drm/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)

Same error with sh make_install.sh

dmesg
Code:

fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
fglrx: Unknown symbol inter_module_get
fglrx: Unknown symbol inter_module_get


EDIT
=========
========

Reading around, i'm told by another thread, to fix that error, i must
Quote:

The other problem is caused by firegl_public.c. It uses the function inter_module_get, you'll have to replace it with the function inter_module_get_request. But inter_module_get_request accepts 2 parameters, inter_module_get appears 3 times in the file. The first time it has to be changed to inter_module_get_request(x,y), the second inter_module_get_request("drm","drm") and the last to inter_module_get_request("drm_agp","drm_agp"). And that's is it
http://www.linuxquestions.org/questi...74#post1710874


After editing them, and sh make.sh again, more errors.. ugh
Code:

root@xushitop:/lib/modules/fglrx/build_mod# sh make.sh
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.12.2/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.12.2'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
In file included from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:125:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.h:56:48: warning: backslash and newline separated by space
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.h:57:6: warning: backslash and newline separated by space
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.h:58:41: warning: backslash and newline separated by space
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:350:90: missing terminating " character
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_putminor':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:508: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:568)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:510: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:565)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_register':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:530: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:564)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:549: error: syntax error before ';' token
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:557: error: `drm_stub' undeclared (first use in this function)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:557: error: (Each undeclared identifier is reported only once
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:557: error: for each function it appears in.)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:561: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:568)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:570: error: syntax error before "else"
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_verify_area':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1438: warning: `verify_area' is deprecated (declared at include/asm/uaccess.h:105)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2647: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2865: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2868: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2869: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2870: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2872: warning: initialization from incompatible pointer type
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12.2'
make: *** [kmod_build] Error 2
build failed with return value 2
root@xushitop:/lib/modules/fglrx/build_mod#

The line in the code is in bold
Code:

firegl_drm_stub_info_t *drm_stub = NULL;
           
        // the registering of the module's device has failed
        // because there was already some other drm module loaded.
        __KE_DEBUG("register_chrdev() failed with -EBUSY\n");
       
        // we now do try to attach to the existing module stub
        // for getting some more detailed info about the servicing code behind.
                drm_stub = DRM_MODULE_GET;
        if (!drm_stub)
        {
            __KE_ERROR("Unable to the open some already present DRM kernel module!\n");
            return -1;
        }

And if anyone tells me to disable DRM, please make up your mind. Every month i get people telling to enable it with supporting arguments, and then to disable it with supporting arguments :p


EDIT 2:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:350:90: missing terminating " character

oops.. that's my fault :D
it compiles and installs now.. will keep you all updated as for the performance :D

xushi 07-12-2005 04:37 AM

Alright, they compile and all, but when i startx, i get the error,

(EE) Failed to load module "fglrx" (module requirement mismatch, 0)

And sorry for the many posts.. just trying to be as detailed as i can be.

Edit:

FS! how could i do something as silly as this,
# ls /download/ati
fglrx_4_1_0-8.14.13-1.i386.tgz

I'll sort it out once and for all, and make a better thread with all instructions needed.

maginotjr 07-12-2005 12:58 PM

whats the advantage of this fglrx if I dont play games???

Will anything be faster (that I could realy notice? not just a feel ms)

MMYoung 07-12-2005 01:04 PM

Probably won't see "much" of an increase in anything, other than programs that take advantage of 3D rendering.

Later,
MMYoung

xushi 07-12-2005 01:14 PM

Quote:

Originally posted by maginotjr
whats the advantage of this fglrx if I dont play games???

Will anything be faster (that I could realy notice? not just a feel ms)

Nothing but trouble, especially keeping it working with every kernel upgrade. If you're not going to play games, then just stick to the 'radeon' drivers instead.

MMYoung 07-12-2005 01:37 PM

Quote:

Originally posted by xushi
Nothing but trouble, especially keeping it working with every kernel upgrade. If you're not going to play games, then just stick to the 'radeon' drivers instead.
Yeah, it'll be nice if and when ATI ever gets to the same level of Linux support that you see with Nvidia. I've already got them working with the 2.6.11.5 kernel I'm running so I'll leave them as is, but when I do make the move to 2.6.12.x, I'll just use the XOrg ati drivers, to heck with all this crap.

Next time I'll buy an Nvidia card and a TV Capture card and not worry with the ATI All-In-WonderIfTheyWillEverWorkInLinux ;) .

Later,
MMYoung

xushi 07-12-2005 01:45 PM

Firstly, download the latest fglrx driver from ati.com. Make sure you download the fglrx driver, and not the large installer. And make sure you choose the correct one depending on which X you are using :) (xorg most probably).

Then, delete your old one, if unsure how,
rm -fr /lib/modules/fglrx

convert the new ones to tgz and install them
rpm2tgz fglrx_6_8_0-8.14.13-1.i386.rpm
rm fglrx_6_8_0-8.14.13-1.i386.rpm

installpkg fglrx_6_8_0-8.14.13-1.i386.tgz


Next, download the following patches
http://www.tux3d.org/fglrx/Patches/K...2/good-tested/
If you're on x64 (Slamd64), then you will need the last patch. Otherwise, all you slackware users download the first three only.

Then, change directory into /lib/module/fglrx/build_mod and install the patches
cd /lib/modules/fglrx/build_mod
cp /download/ati/*.patch /lib/modules/fglrx/build_mod

patch -p1 < fglrx-2.6-agpgart.patch
patch -p1 < fglrx-2.6.12-new-agpgart.patch
patch -p1 < fglrx-2.6.12-inter_module_get.patch


Here's an output
Code:

root@xushitop:/lib/modules/fglrx/build_mod# patch -p1 < fglrx-2.6-agpgart.patch
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- agpgart_be.c      2005-03-28 17:20:42.000000000 +0300
|+++ agpgart_be.c.new  2005-03-28 17:21:54.000000000 +0300
--------------------------
File to patch: agpgart_be.c
patching file agpgart_be.c
Hunk #1 succeeded at 7067 (offset -14 lines).
Hunk #3 succeeded at 7153 (offset -14 lines).
Hunk #5 succeeded at 7204 (offset -14 lines).
root@xushitop:/lib/modules/fglrx/build_mod#

Code:

root@xushitop:/lib/modules/fglrx/build_mod# patch -p1 < fglrx-2.6.12-inter_module_get.patch
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- firegl_public.c    2005-03-28 18:51:58.000000000 +0300
|+++ firegl_public.c.new        2005-03-28 19:05:11.000000000 +0300
--------------------------
File to patch: firegl_public.c
patching file firegl_public.c
Hunk #1 succeeded at 340 (offset -1 lines).
root@xushitop:/lib/modules/fglrx/build_mod#

Code:

root@xushitop:/lib/modules/fglrx/build_mod# patch -p1 < fglrx-2.6.12-new-agpgart.patch
patching file firegl_public.c
Hunk #1 succeeded at 997 (offset -5 lines).
Hunk #3 succeeded at 2940 (offset -5 lines).
root@xushitop:/lib/modules/fglrx/build_mod#

Now all patching is complete. We can start the installation.

sh make.sh
Code:

root@xushitop:/lib/modules/fglrx/build_mod# sh make.sh
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.12.2/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.12.2'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agp3.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_init':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_cleanup':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/i7505-agp.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
In file included from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:125:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.h:56:48: warning: backslash and newline separated by space
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.h:57:6: warning: backslash and newline separated by space
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.h:58:41: warning: backslash and newline separated by space
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_putminor':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:508: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:568)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:510: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:565)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_register':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:530: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:564)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:561: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:568)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_verify_area':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1446: warning: `verify_area' is deprecated (declared at include/asm/uaccess.h:105)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2655: warning: initialization from incompatible pointer type
  LD [M]  /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
  Building modules, stage 2.
  MODPOST
  CC      /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
  LD [M]  /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.12.2'
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 in order to install the built module.
==============================
root@xushitop:/lib/modules/fglrx/build_mod#

Apparently its normal to get such warnings... Anyway, moving on,

cd ../
sh make_install.sh

Code:

root@xushitop:/lib/modules/fglrx/build_mod# cd ..   
root@xushitop:/lib/modules/fglrx# sh make_install.sh
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
done.
root@xushitop:/lib/modules/fglrx#

Finally, i was recommended by another thread to edit /etc/X11/xorg.conf and modify:
Option "KernelModuleParm" "agplock=0" # AGP locked user pages: disabled

But i'm not sure about it. I'll do some further testing and keep you updated.

Thats it. Reboot, and run fglrxconfig for a new xorg.conf, or load up your fglrx settings in xorg.conf manually... And enjoy.

xushi 07-12-2005 01:48 PM

MMYoung, lol, unfortunately i'm stuck with a laptop.. so i'm forced to keep whining, nagging, and finding another excuse so as not to blame myself for always upgrading the kernel the same day it always comes out :p

edit: p.s., i can confirm that the instructions 2 posts behind work, except for the fact that i can't enable DRI ... i'll try and re-setup with fglrxconfig.

Does anyone know if i should keep DRI in the kernel or not? and if yes, as module or built in?


edit: My X11 log
Code:

(II) fglrx(0): [drm] register handle = 0xd0100000
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"
(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 0xe086e000 at 0xb7d27000
(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): ********************************************* *

edit 2:
Sorry for the frequent edits :) some interesting crap in my dmesg
Code:

Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 438M
agpgart: Unsupported Via chipset (device id: 3188), you might want to try agp_try_unsupported=1.
agpgart: no supported devices found.
[fglrx:firegl_unlock] *ERROR* Process 2519 using kernel context 0


Tsarok 07-12-2005 05:15 PM

Everything worked just as you had listed except:

root@Xahaar:/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.12.2/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
failed.
root@Xahaar:/lib/modules/fglrx#

Any suggestions?

egag 07-12-2005 05:28 PM

-----------
FATAL: Error inserting fglrx (/lib/modules/2.6.12.2/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
failed.
root@Xahaar:/lib/modules/fglrx#
------------

were you still in X, or was the radeon module still loaded ?
if the readeon module is loaded, " modprobe fglrx " gives that error.

egag

Tsarok 07-12-2005 05:34 PM

Actually, probably both. Then again, I killed my system with all this experimentation.
Between butchering my startup scripts and updating ALL the slackware-current
packages with a "don't give a dang anymore" attitude, it's gonna be less work to
just reload and recompile a 2.6.12.2 kernel.

Will let you know how it turns out. :/

Ignorance may be blissful but being a newb is hard work!

xushi 07-12-2005 05:50 PM

Quote:

Originally posted by Tsarok
Ignorance may be blissful but being a newb is hard work!
On the contrary, you get so much more help when you're a newb :p

(lol) :D

Tsarok 07-13-2005 08:30 PM

I've reinstalled Slackware 10.1 from CD with the sata.i kernel (2.4.29)
agpgart doesn't load (no device found) but I ignored that for now.
I edited xorg.xonf to change my LCD Horz and VertSync settings and default resolution (1280x1024@76Hz, 24bit)
I downloaded fglrx_6_8_0-8.14.13-1.i386.rpm and the 3 patches listed earlier in this thread.
Downloaded the 2.6.12.2 kernel and compiled with PCIE support but NOT with any video chipset support other than the default VESA
(not even console framebuffer support, just in case)
Without X started, I ran all the step listed exactly as posted and am still getting the same error at the same point:

Code:

root@Xahaar:/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.12.2/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
 failed.
 root@Xahaar:/lib/modules/fglrx#

lsmod confirms that neither the agpgart nor radeon modules are loaded.
I checked the /lib/modules/2.6.12.2/kernel/drivers/char/drm/ directory and fglrx.ko is there but neither modprobe nor insmod will start the module.
Rebooted, retried, no dice. Could agpgart not loading be the issue since it's not an AGP card (it's PCIExpress)?

Info Center in KDE does show the ATI Technologies, Inc. device on 01:00.0 and 01.00.1
Do I have to set those parameters/arguments in a modprobe line? If so, what is the syntax?

EDIT: Another test I performed was editing xorg.conf after the above steps and changing the device driver from "vesa" to "fglrx"
glxgears reports 150ish fps as opposed to 560ish with the vesa drivers.

Tsarok 07-13-2005 10:19 PM

Just for kicks, I booted to the default 2.4.29 kernel and tried the above steps.
Everything worked fine - ran fglrxconfig and, though it still didn't detect my card, it did produce a complete xorg.conf
I don't know Linux all that well yet but I am a troubleshooter. This tells me that I'm not compiling the 2.6.12.2 kernel with the
right options for my system...

xushi 07-14-2005 01:52 AM

Whats the output of dmesg right after you got that error?

xushi 07-15-2005 08:38 AM

I'm still stuck with this issue... What i can only understand from google based on the error message i got above is that my VIA isn't supported.. And half of my brain is trying not to believe that =/

I have tried agp_try_unsupported=1 with no luck,

dmesg output

Code:

fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 430 MBytes.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
[fglrx] module loaded - fglrx 8.14.13 [Jun  8 2005] on minor 0
[fglrx] Maximum main memory to use for locked dma buffers: 430 MBytes.
Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 438M
agpgart: Unsupported Via chipset (device id: 3188), you might want to try agp_try_unsupported=1.
agpgart: no supported devices found.
[fglrx:firegl_unlock] *ERROR* Process 2151 using kernel context 0


Some info from Xorg.0.log
Code:

(--) fglrx(0): Chipset: "MOBILITY RADEON 9600/9700 (M10/M11 4E50)" (Chipset = 0x4e50)
(--) fglrx(0): (PciSubVendor = 0x161f, PciSubDevice = 0x2032)
(--) fglrx(0): board vendor info: third party graphics adapter - NOT original ATI
(--) fglrx(0): Linear framebuffer (phys) at 0xd8000000
(--) fglrx(0): MMIO registers at 0xd0100000
(--) fglrx(0): ChipExtRevID = 0x00
(--) fglrx(0): ChipIntRevID = 0x0C
(--) fglrx(0): VideoRAM: 65536 kByte (64-bit SDR SDRAM)
(WW) fglrx(0): board is an unknown third party board, chipset is supported

and
Code:

(II) fglrx(0): [drm] register handle = 0xd0100000
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"
(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 0xe087b000 at 0xb7d29000
(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: 0xd8000000 FBMappedSize: 0x04000000
(II) fglrx(0): FBMM initialized for area (0,0)-(1280,8191)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1280,800) (front color buffer - assumption)


Tsarok 07-15-2005 10:58 AM

Well, this is what I've gotten so far...

The instructions and patches linked at the bottom of the first page of this thread are the only that work for me.
The sh make_install.sh call only seems to work for me with the default 2.4.29 (sata.i) in Slack
modprobe fglrx executes successfully but with warnings in 2.4.29 and not at all in 2.6.12.2

fglrxconfig does create a functional xorg.conf, even in 2.6
----- When the script asks if I'd like to write the xorg.conf file and I hit yes, I get an error saying that none of the above listed
----- cards were detected (Radeon X850 XT is not on the list despite the faq's claim that it is supported) and prompts again to
----- press q-enter, ctrl-c, or press enter to continue just as at the beginning of the script. I was assuming that it was just
----- rerunning the script because the detection failed and quitiing. THIS RESULTS IN AN INCOMPLETE XORG.CONF. Pressing enter
----- to continue finishes writing to the file (the bus ID is commented out) and drops you at the console prompt

The difference is that I'm getting 150-300 fps in 2.6 because the module won't load. I'm convinced I'm not compiling the agpgart or
the PCIExpress options/modules correctly and/or am misunderstanding the options I'm selecting or omitting. Nor does ALSA or OSS work for me with this kernel.

I am getting 10,000-11,000fps in 2.4 but cedega is still not properly using the card's accelleration dut to some pthreads issue
that is easily resloved with a package upgrade that causes the fglrx module to stop loading. Weeee! Circles are fun!

I'll post the dmesg info when I'm back at the slack box. Took a break from the problem for a day as it was going to cost me my marriage. ;)

Thanks for your patience folks... and please, if you think of something, don't disregard completely stupid mistakes. I really have no idea what I'm doing.

Tsarok 07-15-2005 03:50 PM

And here is my dmesg as requested:
Code:

_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: Can't get irq 0 for the hotplug controller
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
[fglrx] Maximum main memory to use for locked dma buffers: 803 MBytes.
[fglrx] module loaded - fglrx 8.14.13 [Jun  8 2005] on minor 0
[fglrx] free  PCIe = 51118080
[fglrx] max  PCIe = 51118080
[fglrx] free  LFB = 116322304
[fglrx] max  LFB = 116322304
[fglrx] free  Inv = 134217728
[fglrx] max  Inv = 134217728
[fglrx] total Inv = 134217728
[fglrx] total TIM = 0
[fglrx] total FB  = 0
[fglrx] total PCIe = 16384
keyboard: Timeout - AT keyboard not present?(f3)
keyboard: Timeout - AT keyboard not present?(f4)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: no supported devices found.

Thanks in advance.

Tsarok 07-15-2005 04:07 PM

Also, here is my xorg.conf just in case:

Code:

# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
# Access to OpenGL ICD is allowed for all users:
    Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
#    Group 100    # users
#    Mode 0660
EndSection

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"  # Double buffer extension

# 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

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "freetype"

# This loads the GLX module
    Load        "glx"  # libglx.a
    Load        "dri"  # libdri.a

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

    FontPath  "/usr/X11R6/lib/X11/fonts/local/"
    FontPath  "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath  "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath  "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath  "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath  "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath  "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath  "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier "Keyboard1"
    Driver "kbd"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option "Protocol"  "Xqueue"

    Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option "Xleds"      "1 2 3"

#    Option "LeftAlt"    "Meta"
#    Option "RightAlt"  "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option "XkbModel"  "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"  "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"  "de"
# or:
#    Option "XkbLayout"  "de"
#    Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions" "ctrl:swapcaps"

# These are the default XKB settings for XFree86
#    Option "XkbRules"  "xfree86"
#    Option "XkbModel"  "pc101"
#    Option "XkbLayout"  "us"
#    Option "XkbVariant" ""
#    Option "XkbOptions" ""

#    Option "XkbDisable"

    Option "XkbRules" "xfree86"
    Option "XkbModel" "pc101"
    Option "XkbLayout" "us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

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

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"  "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"  "9600"
#    Option "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier  "Monitor0"
    HorizSync  30.0 - 81.0
    VertRefresh 56 - 76
    Option "DPMS"
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************
# === ATI device section ===

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
    Option "no_accel"                  "no"
    Option "no_dri"                    "no"
# === misc DRI settings ===
    Option "mtrr"                      "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
    Option "DesktopSetup"              "0x00000000"
    Option "MonitorLayout"              "AUTO, AUTO"
    Option "IgnoreEDID"                "off"
    Option "HSync2"                    "unspecified"
    Option "VRefresh2"                  "unspecified"
    Option "ScreenOverlap"              "0"
# === TV-out Management ===
    Option "NoTV"                      "yes"   
    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"
#    BusID "PCI:1:0:0"    # no device found at config time
    Screen 0
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor    "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

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

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Server Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.

    Screen "Screen0"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

### EOF ###


Shade 07-16-2005 12:03 AM

xushi, for what it's worth, I haven't been able to get DRI working from fglrx or the kernel 'radeon' module with 2.6.12.2 at all.

Something's screwy here :S

--Shade

xushi 07-16-2005 02:59 AM

bah... damn it to hell...

i might as well upgrade to 2.6.12.3 since i have nothing to lose.. and as soon as i get it to work on whatever kernel i have, i'm sticking to that kernel...


All times are GMT -5. The time now is 06:25 PM.