LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-18-2009, 12:55 PM   #1
dasoberdick
Member
 
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99

Rep: Reputation: 15
fglrx driver in slackware 12.2


I have a Radeon X1950 graphics card. Has anyone gotten one of these to work with the ati driver provided at their website? I ran the install script and checked the xorg.config file. I can see that it was modified to use the fglrx driver but when I restarted the X server all I got was a bunch of random 8bit looking color blocks. Anyone know whats going on? Can someone paste me a working xorg.config file as well? I cant even get into the X server with the one I have now.
 
Old 04-18-2009, 01:11 PM   #2
dasoberdick
Member
 
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99

Original Poster
Rep: Reputation: 15
perhaps this will shed some light on the problem.

modprobe fglrx shows this error:

FATAL: Error inserting fglrx (/lib/modules/2.6.27.7-smp/kernel/drivers/char/drm/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)

dmesg shows this:

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

What am I missing?
 
Old 04-18-2009, 02:07 PM   #3
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121
Do you enabled msi support on your kernel?
 
Old 04-18-2009, 03:08 PM   #4
Pixxt
Member
 
Registered: May 2008
Distribution: Slackware, Debian,
Posts: 283

Rep: Reputation: 185Reputation: 185
Quote:
Originally Posted by dasoberdick View Post
perhaps this will shed some light on the problem.

modprobe fglrx shows this error:

FATAL: Error inserting fglrx (/lib/modules/2.6.27.7-smp/kernel/drivers/char/drm/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)

dmesg shows this:

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

What am I missing?
To enable MSI support you first have to enable a few of the APCI And ACPI options in the general kernel setup then move down to bus options and/or PCI options and there should be a option for MSI message passing
 
Old 04-18-2009, 03:17 PM   #5
dasoberdick
Member
 
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99

Original Poster
Rep: Reputation: 15
I decided that if I were going to recompile a kernel I might as well compile the latest kernel. I have MSI in there but nothing works now. The fglrx module can no longer be found. I went into /lib/modules/fglrx and ran the make_install.sh script and I got:

*** WARNING ***
Tailored kernel module for fglrx not present in your system.
You must go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh' to build a fully customed kernel module.
Afterwards go to /lib/modules/fglrx and run './make_install.sh'
in order to install the module into your kernel's module repository.
(see readme.txt for more details.)

As of now you can still run your XServer in 2D, but hardware accelerated
OpenGL will not work and 2D graphics will lack performance.

failed.

So I followed those directions and when I ran make.sh I got:

AMD kernel module generator version 2.1
./make.sh: line 368: [: =: unary operator expected
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.GCC* .??* *.symvers
make -C /lib/modules/2.6.29.1/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.29.1'
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:169:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.h:164:1: warning: "PM_EVENT_SUSPEND" redefined
In file included from /usr/src/linux-2.6.29.1/arch/x86/include/asm/apic.h:4,
from /usr/src/linux-2.6.29.1/arch/x86/include/asm/smp.h:13,
from include/linux/smp.h:36,
from include/linux/topology.h:33,
from include/linux/mmzone.h:767,
from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:91:
include/linux/pm.h:241:1: warning: this is the location of the previous definition
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_GetEffectiveUid':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1405: error: 'struct task_struct' has no member named 'euid'
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_PosixSecurityCapSetIPCLock':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1779: error: 'struct task_struct' has no member named 'cap_effective'
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1783: error: 'struct task_struct' has no member named 'cap_effective'
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_MEM_VM_GetRegionPhysAddrStr':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3223: warning: return makes pointer from integer without a cast
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3224: warning: return makes pointer from integer without a cast
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3225: warning: return makes pointer from integer without a cast
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3227: warning: return makes pointer from integer without a cast
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.29.1'
make: *** [kmod_build] Error 2
build failed with return value 2

Not sure where I am going wrong here. I reran the ati install script after updating the kernel and everything seems to have run smoothly considering the messages it gave me but i dont have an fglrx module any more.
 
Old 04-18-2009, 03:33 PM   #6
dasoberdick
Member
 
Registered: Aug 2004
Location: Michigan
Distribution: redhat 9.0
Posts: 99

Original Poster
Rep: Reputation: 15
but apparently it works anyways because my resolution just shot up to 1680x1200. Thats all I ever cared about but now I am confused as to what fglrx even is. I thought it was the module I needed to build and insert but it doesnt show up when i run lsmod and my resolution is beautiful
 
  


Reply



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 driver, fglrx - FATAL: Error inserting fglrx hubabuba Slackware 4 04-18-2009 01:27 PM
How to get rid of the new fglrx driver? J_Szucs Linux - Hardware 8 07-13-2008 03:20 AM
Fglrx-driver; useless? crasslogic Debian 5 11-15-2006 03:05 AM
fglrx-driver vs ATI kernel driver for ATI Radeon 9200 in Debian Debian_Poland Debian 3 02-01-2006 01:10 PM
fglrx driver help kwisi Red Hat 1 10-28-2004 12:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:49 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration