View previous topic :: View next topic |
Author |
Message |
cloudsurfer n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Mar 2004 Posts: 34
|
Posted: Mon May 17, 2004 1:56 pm Post subject: |
|
|
Ummm, lemme ask this one. If I don't have any isa slots, I dont need isa support in the kernel, right? I ask because I see this in my dmesg:
Code: | atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly.
atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly.
|
I guess I will try that when I get home tonight but I guess I am just reaching for straws here. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Wedge_ Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/4097379943fc120852d16f.jpg)
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Mon May 17, 2004 3:39 pm Post subject: |
|
|
AFAIK it's fine just to ignore those atkbd messages.
I managed to reproduce your module loading error just by enabling the "Use register arguments" option in the "Processor type and features" section of the kernel config. I think this is meant to increase performance by passing function arguments in registers rather than on the stack, and it breaks binary drivers, which obviously includes the ones from ATI and nVidia. Disable this option, recompile, and the module should hopefully start behaving itself ![Smile :)](images/smiles/icon_smile.gif) _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Admiral LSD Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/66711351242e968bd6c6c5.jpg)
Joined: 27 Jun 2003 Posts: 522 Location: Northam, W.A., Australia
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cloudsurfer n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Mar 2004 Posts: 34
|
Posted: Tue May 18, 2004 3:10 pm Post subject: |
|
|
In the continueing epic of me being a pain in the ass it still does not work. Getting the same error messages after using Wedge_'s ati-drivers from my portage overlay and though I did not apply the patch from the admiral, I just went into my .config file and change the REGPARM to "n". I will be posting my .config file up here later today, I have as yet to get a chance to upload it to my server. I did try a couple other kernel sources, mainly the gentoo-dev-sources, and the aa-sources, but no luck, the flgrx module always causes an error when loading. I can try another kernel but it needs to be 2.6 because of the hardware (ASUS P4C800-e motherboard with a Promise SATA controller), and because the system was compiled using NPTL support. If there are further suggestions I am game, but I hope everyone is starting to understand why I am so frustrated by this and made my original post.
If it helps (or does not help as is the case) my video card is not from ATI, its a Sapphire 9600 pro. It uses the Rv350 chipset, which is different from the R350 on the 9800.
Please lemme know what output you need from my machine. I can repost my config files, mebbe lspci -vv, whatever you need. I just wanna get this working so I can move on the the other hardware on my system, like my scanner and digital camera, and getting my adobe products working with wine. There is still so much let to be done, but the video card is holding up the rest of the system. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
evol262 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 May 2004 Posts: 25
|
Posted: Tue May 18, 2004 5:00 pm Post subject: |
|
|
FYI, your card should be supported. Sapphire and now Visiontek make cards for ATI in much the same way as, say, PNY, Chaintek, MSI, or Asus make cards for nVidia. Anyway, if you're worried about support, go through your fglrx generated .conf file. Somewhere in there, I think near "Devices," though I don't remember for sure, it'll say "Unknown 3rd party card, chipset is supported."
I've got a 9500 sort of working on a SMP dev-sources kernel, so it is possible, but I'm running on an AMD system, 2.6.5 dev-sources, Promise SATA RAID 5, just via-agp instead of intel-agp. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cloudsurfer n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Mar 2004 Posts: 34
|
Posted: Wed May 19, 2004 1:54 am Post subject: |
|
|
Getting this when I emerge ati-drivers from my portage overlay:
Code: | * Building the DRM module...
make: Entering directory `/usr/src/linux-2.6.6-mm2'
CC [M] /var/tmp/portage/ati-drivers-3.7.6-r2/work/lib/modules/fglrx/build_mod/agp3.o
CC [M] /var/tmp/portage/ati-drivers-3.7.6-r2/work/lib/modules/fglrx/build_mod/nvidia-agp.o
CC [M] /var/tmp/portage/ati-drivers-3.7.6-r2/work/lib/modules/fglrx/build_mod/agpgart_be.o
CC [M] /var/tmp/portage/ati-drivers-3.7.6-r2/work/lib/modules/fglrx/build_mod/i7505-agp.o
CC [M] /var/tmp/portage/ati-drivers-3.7.6-r2/work/lib/modules/fglrx/build_mod/firegl_public.o
/var/tmp/portage/ati-drivers-3.7.6-r2/work/lib/modules/fglrx/build_mod/firegl_public.c:2248: warning: initialization from incompatible pointer type
/var/tmp/portage/ati-drivers-3.7.6-r2/work/lib/modules/fglrx/build_mod/firegl_public.c:2266: warning: initialization from incompatible pointer type
/var/tmp/portage/ati-drivers-3.7.6-r2/work/lib/modules/fglrx/build_mod/firegl_public.c:2273: warning: initialization from incompatible pointer type
/var/tmp/portage/ati-drivers-3.7.6-r2/work/lib/modules/fglrx/build_mod/firegl_public.c:2280: warning: initialization from incompatible pointer type
/var/tmp/portage/ati-drivers-3.7.6-r2/work/lib/modules/fglrx/build_mod/firegl_public.c:2289: warning: initialization from incompatible pointer type
LD [M] /var/tmp/portage/ati-drivers-3.7.6-r2/work/lib/modules/fglrx/build_mod/fglrx.o
Building modules, stage 2.
MODPOST
CC /var/tmp/portage/ati-drivers-3.7.6-r2/work/lib/modules/fglrx/build_mod/fglrx.mod.o
LD [M] /var/tmp/portage/ati-drivers-3.7.6-r2/work/lib/modules/fglrx/build_mod/fglrx.ko
make: Leaving directory `/usr/src/linux-2.6.6-mm2'
nostrip
|
That's right around the area of the patch:
Code: | --- firegl_public.c.orig 2004-05-14 21:38:53.296635464 +0000
+++ firegl_public.c 2004-05-14 21:40:28.492163544 +0000
@@ -2052,7 +2052,7 @@ static vm_nopage_ret_t vm_shm_nopage(str
pMmPage = virt_to_page(kaddr);
#endif /* LINUX_VERSION_CODE < 0x020400 */
- atomic_inc(&(pMmPage->count)); /* inc usage count of page */
+ get_page(pMmPage); /* inc usage count of page */
#if LINUX_VERSION_CODE >= 0x020400
// __KE_DEBUG3("vm-address 0x%08lx => kernel-page-address 0x%p\n", |
I believe it built, but it did have those warnings. I might take a look at that code later on, gonna reboot now that I reversed the patch for the config REGPARM. If that does not work I will emerge aa-sources again, kill my portage overlay, and try again.
My .config file is here
Talk to you all in a bit. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cloudsurfer n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Mar 2004 Posts: 34
|
Posted: Wed May 19, 2004 2:16 am Post subject: |
|
|
Ummm, its working now. Thank's all of you for your help and patience. I will continue riding the bleeding edge and see what else breaks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Admiral LSD Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/66711351242e968bd6c6c5.jpg)
Joined: 27 Jun 2003 Posts: 522 Location: Northam, W.A., Australia
|
Posted: Wed May 19, 2004 3:31 am Post subject: |
|
|
Those warnings are normal, I used to get those even before the page->count breakage. As long as portage doesn't tell you the DRM module wasn't built then it's usually safe to assume it has. Looking at the output you pasted though it looks like it has, I can see fglrx.ko right at the bottom. _________________ Wasurenaide...
...watashi ga iru koto o.
Itsudatte soba ni iru yo.
Registered Linux user #319839 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cloudsurfer n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Mar 2004 Posts: 34
|
Posted: Wed May 19, 2004 6:10 pm Post subject: |
|
|
Just one more question, if anyone is looking. Since mm-sources will be moving the agp changes out to the main tree after a while, should we worry about making a patch for everyone to use, or just hope thta ATI will release a new driver version specifically for the 2.6 kernel by that time? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Wedge_ Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/4097379943fc120852d16f.jpg)
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Wed May 19, 2004 6:57 pm Post subject: |
|
|
Given ATIs record of fixing this type of problem ( ), the usual procedure is for someone to submit a bug to bugs.gentoo.org with the patch attached to it, so it can be included in the official ebuilds. I'm not sure it's worth doing right now, because it doesn't affect most kernels, but once the changes get moved into the main tree it shouldn't be a problem to get that done. _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Admiral LSD Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/66711351242e968bd6c6c5.jpg)
Joined: 27 Jun 2003 Posts: 522 Location: Northam, W.A., Australia
|
Posted: Thu May 20, 2004 5:41 am Post subject: |
|
|
At least ATi owners can take some comfort in the fact that they're having a much better time with this than nVidia owners. ATi's drivers don't seem to mind 4K stacks one bit and only need a simple patch to work with CONFIG_REGPARM whereas you need to do all kinds of voodoo to make nVidias drivers work under 2.6.6. _________________ Wasurenaide...
...watashi ga iru koto o.
Itsudatte soba ni iru yo.
Registered Linux user #319839 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sheridan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/BaldursGate/baldursgate_eldoth.gif)
Joined: 28 Jan 2004 Posts: 3 Location: Norway
|
Posted: Wed May 26, 2004 11:09 am Post subject: |
|
|
I have been lurking around this forums some time now.
Alot of very knowledgable and helpful people in here!
I just wanted to report that my current setup are working now thanks to the posts by Wedge_ and Admiral LSD.
Patching both the kernel for the REGPARM and altering the ati-drivers ebuild resulted in fully working 3d!!!
Thank you guys!!!!
-Sheridan
Asus A7N8X deluxe v1.04
AMD AthlonXP 2500+
Sapphire Radeon 9700
mm-sources 2.6.6-r5 (Yes!! it works on mm5 too!!! )
Ati-drivers 3.7.6-r1
On a side note:
With the current ati-drivers (3.7.6) I have poor graphics quality in Neverwinter Nights. THe map view shows some very strange and "blocky" graphics at the edges. Hard to explain! But it does not look good!!!
Can anyone confirm that this is a driver issue and not something I have borked by patching stuff I do not really know anything about
What can be done about this?? downgrade to 3.2.8? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|