You are not logged in.
I am trying to build the kernel using the config from the working kernel. How ever argpart is selected as Y. If i try to change it to M it doesn't change.. I have a feeling that an entry which is depends on is set to Y but i don't know which one. Thanx for the help
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline
I have installed the ati driver, rebooted and this is the message i get during the bootup process:
FATAL: Error inserting fglrx (/lib/modules/2.6.11.7-ARCH/video/fglrx.ko): Operation not permitted
I have restarted several times. I typed
lsmod | grep radeon
and there was nothing. However the horizontal and vertical freqs has increased from before.
What can i do now?
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline
I had the same problem as napoleon ^^^
at that point, i had something screwed up beyond repair because i could no longer get into gnome. I ended up reinstalling arch from cd and haven't tried the ati drivers again yet.... but i will... as soon as i get some time to tinker.
so the cliff notes as i see them for installing these drivers are as such (please someone edit this as i'm sure i do not understand everything)
1) download kernel source
2) compile kernel with agpgart as module
3) get ati-drivers-module-kernel26 PKGBUILD from page 5 (?) of this thread
4) make the package and install it
5) get the ati-drivers PKGBUILD from same page as above
6) make the package and install it
7) run fglrxconfig to configure everything
8 ) add fglrx to the modules list in /etc/rc.conf
9) reboot and run fglrxinfo and look for direct rendering yes (or something like that)
10) hope it says yes
11) swear a lot at the screen and get frustrated because it will say 'no'
12) post on arch forums about your problems
13) reinstall arch because you screwed something up beyond repair
....
loading.... please wait....
Offline
I have compiled the kernel with AGP as module and installed and it works. However i tried to build the ati-driver-modules i got a complain about not finding kernel version. Basaically i think i screwed up the package naming. So how do i configure the PKGBUILDs to build a kernel with a package name "kernel26.11.3-CUSTOM" that will give me vmlinuz26-CUSTOM.
Then what changes do i make in the PKGBUILDs for the ati-driver-modules and ati-drivers builds to me successful. I have tried building the kernel 4 times already with different names but the ati-driver-modules build fails because it canot find /lib/modules/*****.
I hope i make some sense.
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline
I am getting the same error that several others have posted. I hope someone knows how to fix this.
modprobe fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.11.7-custom/video/fglrx.ko): Operation not permitted
the same error line occurs after a reboot during start up when fglrx should be loaded. I am using the intel-agp which seems as though it is automatically build into kernel. no option to make it a module.
Offline
Yeah i know what you are talking about. What you do is compile the kernel and set the intel-agp to compile as a module under Device Drivers->Character Devices->AGP. The main agp cannot be compiled as a module because PCI is selected in a previous section. but you can compile the specific AGP's as modules and delect the ones that do not apply.
The problem i am having is the ati-drivers-module build process does not recognize the /lib/modules/mykernelversion so i am stuck and am using windows now until i find a solution. I don't know why the PKGBUILD for the ati-drivers-module doesn't find it. I'm stll searching though.
Hope it helps.
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline
Dear napoleon... as you can read in the PKGBUILD for ati-radeon-modules-kernel26 i've submitted:
kernelpkgver=2.6.11.7-1 ### <- replace with your kernel version
You HAVE to replace 2.6.11.7-1 with your kernel version, so, just cut & paste the output of "uname -r" there...
The other problem probably is because you have to compile also the main agp as a module.
GRTZ
qwerty
asdfgh
zxcvb
Offline
can someone help me understand why agp needs to be compiled as a module? all i know from reading is that the ati-drivers require it, but why?
also, why wouldn't the stock arch kernel be compiled that way?
i'm sure there's a reason, but the kernel is still one thing i haven't mastered in linux, and i haven't yet fully grasped all of the intricacies of it. one of these days i'll know what's what.
thanks
loading.... please wait....
Offline
Qwerty, i wll need you to send me your config file if you don't mind because like i said i i just cannot get the main AGP to compile as a module. If i unselect the PCI then i can compile the AGP as module but i need the PCI for my pc and i am not allowd to compile the PCI as module either.
So please i need a working config file to compare with the stock one from 2.6.11.7-1.
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline
Eeeh, agppart? how do i remove this from the kernel?
I got everything installed (exept agp...) but modprobe fglrx is not working (probably agp )
I cant find how to remove agp from the kernel, help, please? :?
---edit---
Ok, Im supposed to do make menuconfig and remove the agp right? problem is, I didnt find the agp in the device drivers (the place mentioned earlyer)
Im using /usr/src/linux-2.6.11.7-ARCH , I think i messed up my config, is there any bacup or does anyone have a working one?
Offline
First of all i'll like to than all those who have been answering questions on this forum. No software can go places without a solid community behind it. I will however like to say that sometimes a halfhearted answer is worse than no answer. Also if your question is answered can you please post back to at least say it worked with any modifications mentioned please. I think this can only help.
Okay now to answer one of the questions. The stock kernel config has got the AGP module built in that is [Y]. To use the ati drivers it needs to be compiled as a module. To do that however you need to disable FRAMEBUFFER support in the the config.(This is what i was not told for 2 weeks and i had to reinstall Arch 3x) It is under Device Drivers->Graphics Support->Support for Frame Buffer devices.
Once you have disabled this then you can get AGP which is under Device Drivers->Charcter devices-> to compile as a module. Compile the kernel following the wiki (i used the ABS method). Then the rest of the PKGBUILDS in this thread will work.
I hope this helps.
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline
Hallo, i'm sorry for not answering before but i've been in a hospital for 3 days... anyway, i've read that finally the most of you has solved everything...
To see if you have got hardware acceleration just (under X) open an xterm (or other terminal) session and run fgrlxinfo it shold return something like this:
[qwerty@CiciulO ~]$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9100 DDR Generic
OpenGL version string: 1.3.5010 (X4.3.0-8.12.10)
GRTZ
Offline
I've just updated the WIKI:
http://wiki2.archlinux.org/index.php/At … rnel%202.6
let me know if it's correct/comprensible... C YAAAA!!
Offline
install -m 755 -D $startdir/src/usr/X11R6/bin/
$startdir/pkg/opt/ati/bin/ || return 1What is causing it?
install -m 755 -D $startdir/src/usr/X11R6/bin/*
$startdir/pkg/opt/ati/bin/ || return 1
notice the asterisk after the forward slash
Offline
That's what it was. Beauty! I must have checked ten times and didn't catch it. Thanks aweightor.[/quote]
great ..glad to help
Offline
Just posting to indicate my success with the steps outlined in the Wiki as well, with a small adjustment.
Based on the 2.6.9+ ABS compilation Wiki, the kernel package that gets built is called (for me anyway) kernel26117-ATI (I had ATI as my LOCALVERSION), so that it would install parallel to the current kernel26. This was the way I wanted it, but I had to change the module PKGBUILD to have a dependancy on kernel26117-ATI instead of kernel26.
Just mentioning it in case any other newcomers also have this problem.
Offline
So the howto on the wiki is clear enough...
I'm glad of it.
YO!
Offline
Updated the Wiki with my experiences building the kernel.
Also, qwerty, I noticed it's better to use the VERBATIM tag when surrounding code/PKGBUILDs than the PRE tag, 'cause the stars in the second PKGBUILD were being interpreted as 'bold' inside a PRE, and not showing up.
Offline
The new wiki is perfect! Got it working by doing as it said.
now i just got other problems like the tft screen going black for a sec or two some times and that i cant get the xorg.conf right for xinerama.
Offline
well i believe that your <include/linux/i2c.h> (/usr/include/linux/i2c.h) is rather old.
i am not sure but
ln -s /var/abs/kernels/kernel26/src/linux-2.6.11.7/include /usr/include/linux
might solve your problem.
you must rename the existing /usr/include/linux first.
Offline
I'm having the same problem as Mike. I've followed Qwerty's and Napoleon's advice on the PKGBUILD and disabling "framebuffer" and I'm at the same point. If I find out what I'm doing wrong (1st time compiling kernel) I'll let you know.
Also, I have the latest GCC 4.0. Possibly an incompatibility?
Skeeter
Rule #1: There are NO RULES!
Offline
I have a Radeon 8500 and via AGP chipset, and got an error when starting X about xf86_ENOMEM. This was solved by not using ATI's internal agpgart module but the one that comes with the kernel instead. I've added a section about this to the Wiki, cause this wasn't really trivial:
http://wiki2.archlinux.org/index.php/At … rnel%202.6
I've also took the liberty of noting to disable the framebuffer support as I came across the same problem of the agpgart module simply not building.
Now OpenGL seems to work nicely with 345 fps using fgl_glxgears and 2300 fps using glxgears. What puzzles me though is a quite noticable degration in 2D X performance for example when rendering webpages, playing software SDL games (less than half the framerate) or dragging along a gnome-terminal using the transparent background effect (it is way faster when DRI is disabled). Did anybody else notice the same result? Is there anybody with a hint as to how to get better 2D performance while still having DRI enabled?
http://themanaworld.org/
A Free Real-time Massively Multiplayer Online RPG in development.
Offline
To skeeter & mike 4711. I had the same error when I tried to build a new kernel using GCC 4.0, it wouldn't compile because of the i2c error. I downgraded to the previous GCC version and all my compiling problems went away so I would say it is definately a compatibility issue with GCC 4.
Offline
Your error is probably because you didn't run the modprobe command as root.
However, you may want to build the packages yourself instead and follow the Wiki article about this:
http://wiki2.archlinux.org/index.php/At … rnel%202.6
Reason for this is that you'll first compile a custom kernel to allow agpgart to be built as a module, and then compile the drivers. The PKGBUILD files are included and it shouldn't be that much of a pain, only compiling the kernel takes quite a while.
I'm not sure if it's common but with my Radeon 8500 and VIA AGP chipset I ended up using the kernel agpgast module anyway so I'm not sure if building it as a module was actually necessary for me. But I may want to try their internal agpgart module with newer versions anyway.
http://themanaworld.org/
A Free Real-time Massively Multiplayer Online RPG in development.
Offline
I think my FPS is really low. ATM fgl_glxgears gives me 164 FPS and glxgears gives 1664. Why these low values compared to ohers. I have ATI Radeon 9200 with a pentium 4 2.8GHz HT processor.
A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"
Offline