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 Thanks. |
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 |
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 ? |
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. |
You're not alone :p
http://www.linuxquestions.org/questi...hreadid=335524 |
Heh.. sounds too confusing..
|
Quote:
Later, MMYoung |
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. =/
|
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 Code:
root@xushitop:/lib/modules/fglrx# modprobe fglrx dmesg Code:
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel. EDIT ========= ======== Reading around, i'm told by another thread, to fix that error, i must Quote:
After editing them, and sh make.sh again, more errors.. ugh Code:
root@xushitop:/lib/modules/fglrx/build_mod# sh make.sh Code:
firegl_drm_stub_info_t *drm_stub = NULL; 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 |
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. |
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) |
Probably won't see "much" of an increase in anything, other than programs that take advantage of 3D rendering.
Later, MMYoung |
Quote:
|
Quote:
Next time I'll buy an Nvidia card and a TV Capture card and not worry with the ATI All-In-WonderIfTheyWillEverWorkInLinux ;) . Later, MMYoung |
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 Code:
root@xushitop:/lib/modules/fglrx/build_mod# patch -p1 < fglrx-2.6.12-inter_module_get.patch Code:
root@xushitop:/lib/modules/fglrx/build_mod# patch -p1 < fglrx-2.6.12-new-agpgart.patch sh make.sh Code:
root@xushitop:/lib/modules/fglrx/build_mod# sh make.sh cd ../ sh make_install.sh Code:
root@xushitop:/lib/modules/fglrx/build_mod# cd .. 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. |
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 Sorry for the frequent edits :) some interesting crap in my dmesg Code:
Fire GL built-in AGP-support |
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? |
-----------
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 |
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! |
Quote:
(lol) :D |
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 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. |
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... |
Whats the output of dmesg right after you got that error?
|
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. Some info from Xorg.0.log Code:
(--) fglrx(0): Chipset: "MOBILITY RADEON 9600/9700 (M10/M11 4E50)" (Chipset = 0x4e50) Code:
(II) fglrx(0): [drm] register handle = 0xd0100000 |
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. |
And here is my dmesg as requested:
Code:
_init : shpc_cap_offset == 0 |
Also, here is my xorg.conf just in case:
Code:
# ********************************************************************** |
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 |
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. |