LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 04-15-2006, 06:39 AM   #1
the_warper
LQ Newbie
 
Registered: Apr 2006
Distribution: Fedora core 5
Posts: 24

Rep: Reputation: 15
Total ATI incompatibility in FC5 for X300 PCI-E


Hello all,
I have had a hectic week trying to get the ATI drivers working on my ATI X300 PCI express card. I'm running FC5 on a AMD64.

It is wierd that FC4 was working so cool, but not FC5. Here's the problem. Without installing ATI drivers, when I run glxinfo I get this:

X Error of failed request: GLXBadContext
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 19
Current serial number in output stream: 19

This happens despite the fact of the Mesa drivers all being there. So I thought maybe it would work with the official ATI drivers. So I get the latest 8.24.8, and install it, only to see these errors:


[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.15-1.2054_FC5/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.15-1.2054_FC5-x86_64'
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 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 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
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 include/linux/module.h:578)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:583: warning: ‘inter_module_unregister’ is deprecated (declared at include/linux/module.h:575)
/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 include/linux/module.h:574)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:634: warning: ‘inter_module_put’ is deprecated (declared at include/linux/module.h:578)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘firegl_put_user_ptr’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1317: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1317: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1317: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1317: warning: cast from pointer to integer of different size
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_no_iommu’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2356: error: ‘no_iommu’ undeclared (first use in this function)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2356: error: (Each undeclared identifier is reported only once
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2356: error: for each function it appears in.)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_unregister_ioctl32_conversion’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2533: warning: ‘return’ with a value, in function returning void
/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 include/linux/module.h:578)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3683: warning: ‘inter_module_put’ is deprecated (declared at include/linux/module.h:578)
/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 cast
/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
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_no_iommu’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2363: warning: control reaches end of non-void function
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/kernels/2.6.15-1.2054_FC5-x86_64'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.


So the error seems to be that 'no_iommu' is undeclared. I don't know what to do about it. Now I tried installing with the 2.6.15 as well as the 2.6.16 kernels and also tried the 8.22 ati driver, still no luck. Hope somebody can help me.
Thanks in advance.
 
Old 04-16-2006, 03:07 PM   #2
Avi
LQ Newbie
 
Registered: Jun 2003
Posts: 19

Rep: Reputation: 0
I'm not up on what's going on with FC5 because FC4 works(sort of). Did you custom build those kernels or did you get them with FC5? I'd check your .config for the kernel(if you rolled your own). You might need CONFIG_GART_IOMMU=y .

-Avinash
 
Old 04-16-2006, 03:08 PM   #3
Avi
LQ Newbie
 
Registered: Jun 2003
Posts: 19

Rep: Reputation: 0
After further research, I found..

"Important: To enable agpgart support for certain AMD64 chip sets, you have to disable support for the K8 IOMMU."
http://www.gentoo.org/doc/en/ati-faq.xml


Might want to make sure all is well with that.

-Avinash
 
Old 04-17-2006, 03:16 AM   #4
the_warper
LQ Newbie
 
Registered: Apr 2006
Distribution: Fedora core 5
Posts: 24

Original Poster
Rep: Reputation: 15
Its the kernel that comes with FC5, and yes I had no problems when I was in FC4. But another wierd thing is that I packed the official ATI drivers and instead used the ones from livna, it kinda works with glxinfo, and glxgears. But har core games like tremulus and enemy territory always fail, giving errors like:

X Error of failed request: GLXBadContext
Major opcode of failed request: 143
Minor opcode of failed request: 5
Serial number of failed request: 42
ERROR: couldn't create font (glGenLists)

Well I'll have a look at the link u sent.
Thanx
 
Old 04-18-2006, 07:18 AM   #5
the_warper
LQ Newbie
 
Registered: Apr 2006
Distribution: Fedora core 5
Posts: 24

Original Poster
Rep: Reputation: 15
amazing and strange...

It seems that the drivers I installed from livna using yum, enables 3d perfectly...many cool 3d games working out fine with figh fps, however...as I'm running FC5 x86_64,
I get glx errors when I run 32 bit game binaries like Enemy Territory. Compiling games and running them however works just perfect!

I'd be glad to help anyone with the specifics, but I'd be thankful if someone could show me how to get the 32bit binaries working with 3d as well.
Thanx

the_warper
 
Old 06-06-2006, 04:48 PM   #6
lilricky
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by the_warper
It seems that the drivers I installed from livna using yum, enables 3d perfectly...many cool 3d games working out fine with figh fps, however...as I'm running FC5 x86_64,
I get glx errors when I run 32 bit game binaries like Enemy Territory. Compiling games and running them however works just perfect!

I'd be glad to help anyone with the specifics, but I'd be thankful if someone could show me how to get the 32bit binaries working with 3d as well.
Thanx

the_warper
I know that on the official ATI drivers page, its says that you must install the 32-bit drivers along with the 64-bit drivers to get 32-bit programs to work. However, could you provide a link or step by step on the installation of the livna drivers? I run into problems when using the livna instructions. I cant run setsebool -P allow_execmod=1 FC5 complains about not finding the setsebool command. I have SELinux installed, but cant seem to find it.
 
Old 06-07-2006, 12:56 AM   #7
the_warper
LQ Newbie
 
Registered: Apr 2006
Distribution: Fedora core 5
Posts: 24

Original Poster
Rep: Reputation: 15
Allright do this:

Install the livna repo by:
rpm -ivh http://rpm.livna.org/livna-release-5.rpm

Next:

rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY

Now you are ready to download packages:
1.) As root, run "yum install kmod-fglrx"
2.) As root, run "yum install xorg-x11-drv-fglrx-libs-32bit"
3.) Lastly you may need to copy the contents of /usr/X11R6/lib to /usr/lib/

That's all. Try it out and tell me how it works.
I am playing enemy territory without any problem.

the_warper
 
  


Reply

Tags
ati, driver, linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI Mobility X300 drivers - me no finding! iamnotbush123 Linux - Hardware 2 03-02-2006 08:42 PM
ATI Radeon x300 Driver Problems Kavon89 Linux - Hardware 4 01-24-2006 01:09 PM
ATI Mobility X300 on Samsung R50 jess1975 Linux - Laptop and Netbook 2 12-05-2005 12:34 AM
Cannot start X with ATi Radeon X300 on Slackware 10.1 belga Linux - Hardware 2 07-14-2005 01:18 PM
ati x300 - good, bad or ugly? noeffred Linux - Hardware 1 03-05-2005 05:34 PM


All times are GMT -5. The time now is 05:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration