LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 12-23-2003, 05:01 PM   #31
fitz9948
Member
 
Registered: Aug 2003
Posts: 44

Rep: Reputation: 15

I got the fglrx driver to compile and install. I loaded it up with modprobe fglrx and its loaded, but for some reason the driver isnt being used when I do startx. My XF86Config-4 is the exact same one that I used when I ran the 2.4.23 kernel. I dont understand it.
 
Old 12-23-2003, 05:05 PM   #32
fitz9948
Member
 
Registered: Aug 2003
Posts: 44

Rep: Reputation: 15
I just looked in my XF86Config-4 log and here is what I found

(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): ********************************************* *

any clue why this might be happening?
 
Old 12-23-2003, 07:13 PM   #33
Independence
Member
 
Registered: Oct 2002
Location: Ohio, USA
Distribution: Gentoo Linux
Posts: 40

Rep: Reputation: 15
Quote:
Originally posted by Invisible
Can you tell me what files you patched, and what did you changed exactly ?
I would be very glad. I can't start fglrx drivers on my laptop with radeon m9(mobility 9000).
I used this thread as a guide. There are links to two patches. Just read through the thread. The answers are there.
 
Old 12-24-2003, 05:40 AM   #34
Invisible
LQ Newbie
 
Registered: Jun 2003
Location: Lithuania, Kaunas
Distribution: Gentoo
Posts: 17

Rep: Reputation: 0
I found one patch...patched everythings OK with that now.
But I have Intel, not amd processor..So another patch doesn't work for me.
And i get trouble when trying to do ./make_install.sh it shows:
"FATAL: Error inserting fglrx (/lib/modules/2.6.0/kernel/drivers/char/drm/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)
failed."
and dmesg | grep fglrx shows:
"fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
fglrx: Unknown symbol VMALLOC_VMADDR"

What to do???
 
Old 12-24-2003, 08:41 AM   #35
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Apply THIS patch to /lib/modules/fglrx/build_mod and apply it. Then try to ./make.sh and ./make_install.sh again.
 
Old 12-24-2003, 05:45 PM   #36
Invisible
LQ Newbie
 
Registered: Jun 2003
Location: Lithuania, Kaunas
Distribution: Gentoo
Posts: 17

Rep: Reputation: 0
I have apllied this patch. I can make ./make.sh but ./make_install.sh won't work as i said before
 
Old 12-24-2003, 05:53 PM   #37
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Modified the following two files
----------------------------------------------
/usr/src/linux/include/asm-i386/mpspec.h line 6
changed to #include <asm/mach-default/mach_mpspec.h> from #include
<mach_mpspec.h>

/usr/src/linux/include/asm-i386/smp.h line 73
changed to #include <asm/mach-default/mach_apicdef.h> from #include
<mach_apicdef.h>

Then, apply THIS patch.

Copy it to /lib/modules/fglrx/build_mod...

Then do "patch -p1 -i /lib/modules/fglrx/build_mod/fglrx-2.6-vmalloc-vmaddr.patch

Then ./make.sh, and cd to /lib/modules/fglrx and do ./make_install.sh.


This is all I did...now, I did delete the /lib/modules/fglrx directory, then untar the fglrx<>.tgz directory (which will rebuild the fglrx directory) so that I had the original files for patching etc...
 
Old 12-26-2003, 12:06 AM   #38
sarahan
LQ Newbie
 
Registered: Aug 2003
Location: Livermore, CA
Distribution: Ubuntu Dapper, Gentoo, Win2k, WinXP
Posts: 28

Rep: Reputation: 15
anyone got a clue on fitz's problem? I ran into the exact same thing. everything seems to load just fine, minus the 3d support. Thanks for all you guys invaluable help so far!
 
Old 12-26-2003, 12:33 AM   #39
sarahan
LQ Newbie
 
Registered: Aug 2003
Location: Livermore, CA
Distribution: Ubuntu Dapper, Gentoo, Win2k, WinXP
Posts: 28

Rep: Reputation: 15
here's more info about the preceding text:

(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
[drm] failed to load kernel module "fglrx"
(II) fglrx(0): [drm] drmOpen failed
(EE) fglrx(0): DRIScreenInit failed!
(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: 0xd0000000 FBMappedSize: 0x08000000
(==) fglrx(0): Write-combining range (0xd0000000,0x8000000)
(II) fglrx(0): FBMM initialized for area (0,0)-(1024,8191)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1024,768) (front color buffer - assumption)
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled
(II) fglrx(0): Using hardware cursor (scanline 768)
(II) fglrx(0): Largest offscreen area available: 1024 x 7419
 
Old 12-26-2003, 02:44 AM   #40
fitz9948
Member
 
Registered: Aug 2003
Posts: 44

Rep: Reputation: 15
Yea sarahan, thats exactly what I got, fglrx is loaded and seems as if its actually being used, because after I startx and I try to modprobe -r fglrx I get an error saying the driver is in use. So far I have not be able to find a reason as to why the dri part of the driver just won't go. If you find anything or have anyluck getting it to work please do post.
 
Old 12-26-2003, 03:34 AM   #41
sarahan
LQ Newbie
 
Registered: Aug 2003
Location: Livermore, CA
Distribution: Ubuntu Dapper, Gentoo, Win2k, WinXP
Posts: 28

Rep: Reputation: 15
I looked around and noticed people were making agpgart a module and disabling DRM support in the kernel, so I tried that, to no avail. you might try it and see if it works for you. I think I'm going to try repatching it and reinstalling it to see if that works. Also, if you've got an Athlon system, have you gotten the Athlon patch from Gentoo?

Good luck.
 
Old 12-26-2003, 05:05 AM   #42
Invisible
LQ Newbie
 
Registered: Jun 2003
Location: Lithuania, Kaunas
Distribution: Gentoo
Posts: 17

Rep: Reputation: 0
Quote:
Originally posted by DaOne
Modified the following two files
----------------------------------------------
/usr/src/linux/include/asm-i386/mpspec.h line 6
changed to #include <asm/mach-default/mach_mpspec.h> from #include
<mach_mpspec.h>

/usr/src/linux/include/asm-i386/smp.h line 73
changed to #include <asm/mach-default/mach_apicdef.h> from #include
<mach_apicdef.h>

Then, apply THIS patch.

Copy it to /lib/modules/fglrx/build_mod...

Then do "patch -p1 -i /lib/modules/fglrx/build_mod/fglrx-2.6-vmalloc-vmaddr.patch

Then ./make.sh, and cd to /lib/modules/fglrx and do ./make_install.sh.


This is all I did...now, I did delete the /lib/modules/fglrx directory, then untar the fglrx<>.tgz directory (which will rebuild the fglrx directory) so that I had the original files for patching etc...
Thank you very much. Everything now works just great ! Before i hadn't edited mpspec.h and smp.h files. And you dont need to delete directory it works well on the old one. I just tried . Thanks again
 
Old 12-28-2003, 11:45 AM   #43
Hooper
Member
 
Registered: Dec 2003
Location: FL
Distribution: Slack91-FBSD49
Posts: 80

Rep: Reputation: 15
To the above question. It doesn't appear you have your kernel settings correct. Configure your kernel settings correctly and it should work. You are only half there. That is why only half works. If you have a module or setting being loaded by the kernel, your driver won't work and reports that it is already loaded.
 
Old 12-28-2003, 11:50 AM   #44
Hooper
Member
 
Registered: Dec 2003
Location: FL
Distribution: Slack91-FBSD49
Posts: 80

Rep: Reputation: 15
Slackware 9.1 graphics kernel 2.6.0 configure
=============================================

--/drivers/graphics support/
[*] Support for frame buffer devices ? ?
? ? < > Cirrus Logic support ? ?
? ? < > Permedia2 support ? ?
? ? < > CyberPro 2000/2010/5000 support ? ?
? ? [ ] IMS Twin Turbo display support ? ?
? ? < > VGA 16-color graphics support ? ?
? ?[*] VESA VGA graphics support ? ?
? ? < > Hercules mono graphics support ? ?
? ? < > nVidia Riva support ? ?
? ? < > Intel 810/815 support (EXPERIMENTAL) ? ?
? ? < > Matrox acceleration ? ?
? ? <M> ATI Radeon display support ? ?
? ? < > ATI Rage128 display support ? ?
? ? < > ATI Mach64 display support ? ?
? ? < > SIS acceleration ? ?
? ? < > NeoMagic display support ? ?
? ? < > 3Dfx Banshee/Voodoo3 display support ? ?
? ? < > 3Dfx Voodoo Graphics (sst1) support ? ?
? ? < > Trident support ? ?
? ? < > Permedia3 support ? ?
? ? < > Virtual Frame Buffer support (ONLY FOR TESTING!) ? ?
? ? Console display driver support ---> ? ?
? ? Logo configuration --->



=======

/drivers/character devices


? ? <*> /dev/agpgart (AGP Support) ? ?
? ? < > ALI chipset support ? ?
? ? <M> ATI chipset support ? ?
? ? < > AMD Irongate, 761, and 762 chipset support ? ?
? ? < > AMD Opteron/Athlon64 on-CPU GART support ? ?
? ? <*> Intel 440LX/BX/GX, I8xx and E7x05 chipset support ? ?
? ? < > NVIDIA nForce/nForce2 chipset support ? ?
? ? < > SiS chipset support ? ?
? ? < > Serverworks LE/HE chipset support ? ?
? ? < > VIA chipset support ? ?
? ? [ ] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) ? ?
? ? < > ACP Modem (Mwave) support ? ?
? ? < > RAW driver (/dev/raw/rawN) ? ?
? ? < > Hangcheck timer

=============
Loading Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) within the kernel will bufu your modules.

Welcome... Hooper

Last edited by Hooper; 12-28-2003 at 11:56 AM.
 
Old 12-28-2003, 02:33 PM   #45
fitz9948
Member
 
Registered: Aug 2003
Posts: 44

Rep: Reputation: 15
Well I finally got the driver working, it was a stupid error on my part. I forgot to build into my kernel via agp support. Once I did that, I re-built the driver and now everything is running great. glxgears - 3145.200 FPS
 
  


Reply


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 Radeon 9000 Pro and Radeon(flgrx) driver included on Mandrake 10.1 Official St3althcAt Linux - Hardware 1 05-07-2005 09:30 PM
new radeon driver in 2.6.11 short101 Debian 3 04-06-2005 03:22 AM
can't install newest radeon driver on kernel 2.6.11; what's up with this? schatoor General 9 03-14-2005 04:26 AM
HELP!! Install ATI Mobility RADEON 9000 driver on Debian Kernel 2.4.18-bf2.4?? herbu Linux - Laptop and Netbook 3 11-21-2004 04:37 AM
Radeon 9700 probs/driver downloaded/kernel generator missing NBN Mandriva 18 01-15-2004 03:52 PM


All times are GMT -5. The time now is 03:43 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration