LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   ATI driver installation, the x-th (10.1) (https://www.linuxquestions.org/questions/suse-opensuse-60/ati-driver-installation-the-x-th-10-1-a-448580/)

Thora 05-25-2006 06:45 PM

ATI driver installation, the x-th (10.1)
 
Hi there,
got some problems again.
I have a Radeon 9250 (R280, don't tell how much this one sucks, but it was cheap and still better than my old 7000).
Today I wanted to update the ATI drivers to 8.25.18. But whatever I tried, it just didn't work. Installing it directly or generating a package, all I got was, whenever I wanted to start something wich uses OpenGL (even a simple glxinfo), something like that:

Quote:

[fglrx] API ERROR: could not register entrypoint for SelectTextureSGIS
[fglrx] API ERROR: could not register entrypoint for SelectTextureTransformSGIS
[fglrx] API ERROR: could not register entrypoint for ClientActiveVertexStreamATI
[fglrx] API ERROR: could not register entrypoint for VertexBlendEnviATI
[fglrx] API ERROR: could not register entrypoint for VertexBlendEnvfATI
[fglrx] API ERROR: could not register entrypoint for VertexStream2sATI
[fglrx] API ERROR: could not register entrypoint for VertexStream2svATI
[fglrx] API ERROR: could not register entrypoint for VertexStream2iATI
[fglrx] API ERROR: could not register entrypoint for VertexStream2ivATI
[fglrx] API ERROR: could not register entrypoint for VertexStream2fATI
[fglrx] API ERROR: could not register entrypoint for VertexStream2fvATI
[fglrx] API ERROR: could not register entrypoint for VertexStream2dATI
[fglrx] API ERROR: could not register entrypoint for VertexStream2dvATI
[fglrx] API ERROR: could not register entrypoint for VertexStream3sATI
[fglrx] API ERROR: could not register entrypoint for VertexStream3svATI
[fglrx] API ERROR: could not register entrypoint for VertexStream3iATI
[fglrx] API ERROR: could not register entrypoint for VertexStream3ivATI
[fglrx] API ERROR: could not register entrypoint for VertexStream3fATI
[fglrx] API ERROR: could not register entrypoint for VertexStream3fvATI
[fglrx] API ERROR: could not register entrypoint for VertexStream3dATI
.. etc, the list is quite long. So I googled a bit, but from the few things I found out, nothing seemed to match the problem I had.
So, after a few attempts to install it again in the hope that it would at some point work (and even after going exactly after a few HOWTOs), I thought, well, then go screw yourself, I'll take the 8.24.8 again (which installed without problems before).
This time, I chose to install a generated package. But when I started X again, I only got the Mesa indirect rendering for OpenGL. So I deinstalled the package and tried to install it directly. Got the following error:
Quote:

[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...
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.16.13-4-default/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.16.13-4-obj/i386/default'
make -C ../../../linux-2.6.16.13-4 O=../linux-2.6.16.13-4-obj/i386/default modules
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:8175: warning: ‘pm_register’ is deprecated (declared at /usr/src/linux-2.6.16.13-4/include/linux/pm_legacy.h:16)
/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:8185: warning: ‘pm_unregister_all’ is deprecated (declared at /usr/src/linux-2.6.16.13-4/include/linux/pm_legacy.h:26)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:6079: warning: ‘ati_gart_base’ defined but not used
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:162:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.h:274:5: warning: "FIREGL_VMA_INFO" is not defined
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:228: error: expected ‘)’ before string constant
In file included from /lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:41,
from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:333:
/lib/modules/fglrx/build_mod/2.6.x/drmP.h:561:5: warning: "__HAVE_VBL_IRQ" is not defined
/lib/modules/fglrx/build_mod/2.6.x/drmP.h:664:5: warning: "__HAVE_VBL_IRQ" is not defined
/lib/modules/fglrx/build_mod/2.6.x/drmP.h:936:5: warning: "__HAVE_SG" is not defined
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:407:5: warning: "FIREGL_VMA_INFO" is not defined
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:426:5: warning: "FIREGL_VMA_INFO" is not defined
/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:581: warning: ‘inter_module_put’ is deprecated (declared at /usr/src/linux-2.6.16.13-4/include/linux/module.h:564)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:583: warning: ‘inter_module_unregister’ is deprecated (declared at /usr/src/linux-2.6.16.13-4/include/linux/module.h:561)
/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:603: warning: ‘inter_module_register’ is deprecated (declared at /usr/src/linux-2.6.16.13-4/include/linux/module.h:560)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:634: warning: ‘inter_module_put’ is deprecated (declared at /usr/src/linux-2.6.16.13-4/include/linux/module.h:564)
/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:3592: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3593: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3594: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3595: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3596: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3597: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3598: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3599: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3601: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3611: warning: function declaration isn’t a prototype
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘test_inter_module_interface’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3677: warning: ‘inter_module_put’ is deprecated (declared at /usr/src/linux-2.6.16.13-4/include/linux/module.h:564)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3683: warning: ‘inter_module_put’ is deprecated (declared at /usr/src/linux-2.6.16.13-4/include/linux/module.h:564)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_agp_allocate_memory_phys_list’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3941: warning: passing argument 3 of ‘im_fglrx_agp_stub->allocate_memory_phys_list’ makes integer from pointer without a ca$
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_agp_bind_memory’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3980: warning: passing argument 1 of ‘im_fglrx_agp_stub->bind_memory’ from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_agp_unbind_memory’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3993: warning: passing argument 1 of ‘im_fglrx_agp_stub->unbind_memory’ from incompatible pointer type
make[4]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Fehler 1
make[3]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Fehler 2
make[2]: *** [modules] Fehler 2
make[1]: *** [modules] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.13-4-obj/i386/default'
make: *** [kmod_build] Fehler 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
And now I'm really pissed off. Tried to install it again and again, downloaded the driver again, removed the kernel source and installed it again etc.
I mean, I can't even play Quake3 now to calm down, with the radeon driver I get like 70fps at glxgears, so no Quake ;)

Any ideas?

riba43 05-26-2006 12:16 PM

Hi,
I have no troubles with installing ATI drivers on my system SuSE 10.1. Today I downloaded ATI driver installer and driver. I followed "New installer instructions" and installed driver automatically. But vbefore you do that, you should remove the old driver- YAST is OK.

My graphic card is ATI RADEON 9700

Thora 05-27-2006 03:49 PM

Well, it's not like there were never problems installing these drivers before, but more or less everytime I got them to work. But now, I have no idea what's up.
It won't even work on a fresh SUSE install (though I did that for other reasons). And it's just the same. The 8.25.18 does compile, but I get the errors posted above (could not register entrypoint for blabla). And the 8.24.8 doesn't even compile anymore, log as above, although it DID work before.

So, now I'm really pissed and at a loss. Anybody any idea what could be wrong?

schneemann 05-27-2006 07:46 PM

Quote:

Originally Posted by riba43
Hi,
I have no troubles with installing ATI drivers on my system SuSE 10.1. Today I downloaded ATI driver installer and driver. I followed "New installer instructions" and installed driver automatically. But vbefore you do that, you should remove the old driver- YAST is OK.

My graphic card is ATI RADEON 9700


I told my friend of it,I followed "New installer instructions" and installed driver automatically. But vbefore you do that, you should remove the old driver- YAST is OK.
There is work around it without to remove the old driver and I will find out soon.It will work without to remove it.

Thora 05-28-2006 12:58 PM

Alright, I solved the problem, but I'm even more puzzled now. The last thing I did was install the 8.25.18 driver, which installed, but didn't work (see above). Decided to give the 8.24.8 one last try, I ran the uninstall script provided by ATI and then ran the installer. Wasn't supposed to be. See for yourself:
Code:

# sh $(ls | grep ati-driver)
Creating directory fglrx-install
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.24.8.........................................................
..........................................................................................................
..........................................................................................................
...................................Extraction failed.
.Signal caught, cleaning up

This happened with two different installer-files as well as with the 8.25.18. But I wasn't ready to give up yet. Fortunately, I had generated a package for the 8.24.8 some time ago, so I decided to try it. I did exactly (well, more or less, see below) as described here, apart from generating the package of course.
Before I ran aticonfig, I removed the modules radeon and drm, and then modprobe fglrx. After that I ran aticonfig, but I was told that this doesn't exist. I decided to not let that bother me, and ran sax2 -r -m 0=fglrx. After that I rebooted.
And to my surprise, it worked!

I don't even want to know how this all came to be, but I thought it might be useful for people encountering similar problems.

gkiagia 05-29-2006 05:30 AM

Hey I have exectly the same problem. I am going to give it a try now. Sounds like the xorg.conf has to be generated with sax2 instead of aticonfig.

Thora 05-29-2006 01:17 PM

Quote:

Originally Posted by gkiagia
Hey I have exectly the same problem. I am going to give it a try now. Sounds like the xorg.conf has to be generated with sax2 instead of aticonfig.

I am not so sure about that. When I first installed 8.24.8 a while ago, it all went smoothly using aticonfig. But in this case now, I had no other choice, as aticonfig somehow wasn't included in that generated package.
And that problem with 8.25.18 seems to be a general bug concerning all cards with an R2** chip, so if you have one of these, don't update.

Oh and just btw, that error about uncompressing above was due to a 100% full /home *cough*
And I was wonderung why my firefox kept crashing when I wanted to download something ...

gkiagia 05-30-2006 04:02 AM

Quote:

Originally Posted by Thora
And that problem with 8.25.18 seems to be a general bug concerning all cards with an R2** chip, so if you have one of these, don't update.

Yes, that seems to be the problem. I have a radeon 9200 chip. Somebody should tell ATI about that.
Btw, I am now using the opensource drivers. They are far better ;)

Quote:

Originally Posted by gkiagia
Hey I have exectly the same problem

To make things clear, I didn't have problems to reinstall 8.24.8. I can reinstall them at any time. The problem is with 8.25.18 and now that I have read your posts again, Thora, I suppose you were not able to install 8.25.8, were you?

Thora 05-30-2006 07:36 AM

Quote:

Originally Posted by gkiagia
Yes, that seems to be the problem. I have a radeon 9200 chip. Somebody should tell ATI about that.
Btw, I am now using the opensource drivers. They are far better ;)

I'd rather use the opensource driver, too, but they still do not match the performance of the ATI driver.


Quote:

To make things clear, I didn't have problems to reinstall 8.24.8. I can reinstall them at any time. The problem is with 8.25.18 and now that I have read your posts again, Thora, I suppose you were not able to install 8.25.8, were you?
No, they installed just fine. However, OpenGL is absolutely not working with these drivers and my card. And ATI does not seem inclined to fix it, so we'll probably have to wait until next month. So that's what improving Linux support means these days :rolleyes:


All times are GMT -5. The time now is 10:45 PM.