Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RADEON HOWTO (FGLRX)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gen2newB
Apprentice
Apprentice


Joined: 23 Sep 2003
Posts: 150
Location: Fall River, MA.

PostPosted: Fri Nov 07, 2003 9:31 pm    Post subject: Reply with quote

Yeah, i have already deleted it. So far the compile is going rather smoothly. I am hopeful this time. Also, does hotplug work with 2.6? This could also be part of the problem as well. What modules will i need to get agp going? would these do it?

Code:

via-agp
agpgart
fglrx
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Fri Nov 07, 2003 9:33 pm    Post subject: Reply with quote

I don't use hotplug, so I'm not sure if it works or not :(

Those are all the modules you need.
_________________
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
View user's profile Send private message
gen2newB
Apprentice
Apprentice


Joined: 23 Sep 2003
Posts: 150
Location: Fall River, MA.

PostPosted: Fri Nov 07, 2003 11:03 pm    Post subject: Reply with quote

hey, it works now. I can load the modules and such. I guess it was the messed up config files. thanks for the help. i really appreciate it. Lesson taken, never use genkernel again!
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Fri Nov 07, 2003 11:14 pm    Post subject: Reply with quote

gen2newB wrote:
hey, it works now. I can load the modules and such. I guess it was the messed up config files. thanks for the help. i really appreciate it. Lesson taken, never use genkernel again!

I still have no idea what it could have done to cause that problem, but at least it's working now :)
_________________
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
View user's profile Send private message
bert_
n00b
n00b


Joined: 05 Nov 2003
Posts: 12

PostPosted: Sat Nov 08, 2003 2:10 am    Post subject: Reply with quote

i stopped using genkernel as well and things started to work...


maybe genkernel isn't the nicest thing for 2.6 and fglrx ?
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Sat Nov 08, 2003 12:35 pm    Post subject: Reply with quote

Looks that way. I never liked genkernel anyway, but it seems to be causing lots of problems in this situation.
_________________
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
View user's profile Send private message
gen2newB
Apprentice
Apprentice


Joined: 23 Sep 2003
Posts: 150
Location: Fall River, MA.

PostPosted: Sat Nov 08, 2003 4:43 pm    Post subject: Reply with quote

the problem was i think anyway that genkernel was handling the 2.6 source code as if it was 2.4, thus compiling modules incorrectly. I think once genkernel becomes compatible with 2.6, all will be well, exceptfor the bloated kernerl you get :(
Back to top
View user's profile Send private message
fooboid
n00b
n00b


Joined: 09 Nov 2003
Posts: 7
Location: Brisbane, Australia

PostPosted: Sun Nov 09, 2003 11:03 am    Post subject: problem with a radeon 9200SE Reply with quote

Hi,

Thanks to spekulatius for the tidy howto post on radeon configuration, I followed it verbatim and it all worked nicely for me...almost...

I have the following error in my XF86config log relating to the initialisation of agp :
<snip>
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0): Build-Kernel UTS_RELEASE: 2.4.21
(II) fglrx(0): Build-Kernel MODVERSIONS: yes
(II) fglrx(0): Build-Kernel __SMP__: yes
(II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
(II) fglrx(0): [drm] register handle = 0xff9f0000
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xe0907000 at 0x40023000
(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: 0xe8000000 FBMappedSize: 0x08000000
(==) fglrx(0): Write-combining range (0xe8000000,0x8000000)
(II) fglrx(0): FBMM initialized for area (0,0)-(1408,8191)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1408,1050) (front color buffer - assumption)
(==) fglrx(0): Backing store disabled
</snip>

perhaps relevant is the antiquity of the motherboard i am using (tyan tiger with dual pII 450s -- 440bx chipset). my card is an ati radeon 9200SE.

Any help would be greatly appreciated.
Back to top
View user's profile Send private message
Scollk
n00b
n00b


Joined: 13 Sep 2003
Posts: 8
Location: Hertfordshire, England

PostPosted: Sun Nov 09, 2003 11:31 am    Post subject: similar error messages Reply with quote

Hey

I am getting these same error messages in my XFree86.0.log. I'm using a Epox 8RDA+ motherboard with a Radeon 9800 Pro card. Im using 2.6-test9-love2 kernel. Ive tried compiling agpgart/nvidia-agp into the kernel and have also tried them as modules. Both seem to make no difference.
I can modprobe 'agpgart' but get a "file exists" error when trying to modprobe 'nvidia-agp'.

'startx' works fine and my WM is usable but glxinfo shows that direct rendering is not working.

I've been messing with this for a while now but havn't gotten it too work.

Thanks for all the help
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Sun Nov 09, 2003 12:12 pm    Post subject: Reply with quote

Scollk wrote:
I am getting these same error messages in my XFree86.0.log. I'm using a Epox 8RDA+ motherboard with a Radeon 9800 Pro card. Im using 2.6-test9-love2 kernel. Ive tried compiling agpgart/nvidia-agp into the kernel and have also tried them as modules. Both seem to make no difference.
I can modprobe 'agpgart' but get a "file exists" error when trying to modprobe 'nvidia-agp'.

'startx' works fine and my WM is usable but glxinfo shows that direct rendering is not working.

IIRC the test9-love2 kernel includes the patches from test9-mm2, right? Something in the -mm2 patchset breaks the AGP support in the driver somehow. Direct rendering wouldn't work for me on test9-mm2 or test9-love2, and I got the same errors in the log. Go back to test9-mm1 or plain test9 and it should work fine.
_________________
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
View user's profile Send private message
Scollk
n00b
n00b


Joined: 13 Sep 2003
Posts: 8
Location: Hertfordshire, England

PostPosted: Sun Nov 09, 2003 2:05 pm    Post subject: Reply with quote

Right, Ive just gone back to test9 and had a little progress.

My WM is unusable now.
Things are transparent where they arent meant to be, windows dont refresh properly and when I try to run glxgears it crashes completly (hard reboot needed)

glxinfo shows that direct rendering is now on and using "ati" as the driver.

here is my dmesg

and my XFree86.0.log

thanks
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Sun Nov 09, 2003 2:15 pm    Post subject: Reply with quote

I don't see anything wrong in your log, and your dmesg output looks fine too (the "might_sleep" messages are harmless). Have you got AGP support compiled into the kernel? If so, try compiling it as modules (remember to load agpgart & nvidia-agp). You could also try setting "UseInternalAGPGART" to "yes" and try that (it won't work unless you've compiled the kernel AGP support as modules). One other thing I noticed in your dmesg:
Code:
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V3 device at 0000:02:00.0 into 4x mode

Is there an option in the BIOS to enable AGP 8x? It works fine for me (9800 Pro/A7N8X Deluxe):
Code:
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:03:00.0 into 8x mode

_________________
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
View user's profile Send private message
Scollk
n00b
n00b


Joined: 13 Sep 2003
Posts: 8
Location: Hertfordshire, England

PostPosted: Sun Nov 09, 2003 2:59 pm    Post subject: Reply with quote

I've just changed the BIOS settings for the AGP and its loading at AGP x8 now.

I have tried with both compiling it in directly and now as modules but both mess up X.

Setting "UseInternalAGPGART" to "yes" works fine but no direct rendering. (altho if I try this after loading it with UseInternalAGPGART as "no", it crashes)
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Sun Nov 09, 2003 3:05 pm    Post subject: Reply with quote

Can you start X again with the AGP modules loaded and "UseInternalAGPGART" set to "no", then post your current dmesg and log?
_________________
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
View user's profile Send private message
Scollk
n00b
n00b


Joined: 13 Sep 2003
Posts: 8
Location: Hertfordshire, England

PostPosted: Sun Nov 09, 2003 3:25 pm    Post subject: Reply with quote

Here they are:

dmesg

XFree86.0.log
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Sun Nov 09, 2003 3:45 pm    Post subject: Reply with quote

I still don't see anything in there that could be causing your problems :( Does it lockup when you run any OpenGL app? Do you get the visual problems if "no_dri" is set to "yes"?

Scollk wrote:
Setting "UseInternalAGPGART" to "yes" works fine but no direct rendering. (altho if I try this after loading it with UseInternalAGPGART as "no", it crashes)

So you don't get the visual problems when UseInternalAGPGART is "yes"?
_________________
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
View user's profile Send private message
Scollk
n00b
n00b


Joined: 13 Sep 2003
Posts: 8
Location: Hertfordshire, England

PostPosted: Sun Nov 09, 2003 4:09 pm    Post subject: Reply with quote

With "no_dri" set as "yes" there are no visual problems (but of course no direct rendering).

No visual problems with "UseInternalAGPGART" set to "yes" either.

I don't think I have any other OpenGL apps to try, I assume they would just crash like glxgears does tho. I have lowered my res and its pretty much completly unreadable now.

Im really stumped on this :(

Thanks for your help
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Sun Nov 09, 2003 4:12 pm    Post subject: Reply with quote

Does direct rendering work with UseInternalAGPGART set to "yes"? You may have to unload the AGP modules for it to work properly.
_________________
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
View user's profile Send private message
Scollk
n00b
n00b


Joined: 13 Sep 2003
Posts: 8
Location: Hertfordshire, England

PostPosted: Sun Nov 09, 2003 5:01 pm    Post subject: Reply with quote

I can't seem to get direct rendering working while using the Internal AGPGART. X is fine with no visual problems, but no DR.

What order should I be loading AGPGART/NVIDIA-AGP? (fglrx is loaded automatically from the /etc/modules.autoload file)

If I modprobe nvidia-agp at start up, it loads agpgart automatically but direct rendering does not work.

If I modprobe agpgart and then nvidia-agp, direct rendering works but with the visual errors.

I have just gotten a segmentation fault from 'lsmod'. Hmmph. Could this be because I have just enabled module unloading in the kernel?
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Sun Nov 09, 2003 5:39 pm    Post subject: Reply with quote

Scollk wrote:
What order should I be loading AGPGART/NVIDIA-AGP? (fglrx is loaded automatically from the /etc/modules.autoload
file)

If I modprobe nvidia-agp at start up, it loads agpgart automatically but direct rendering does not work.

If I modprobe agpgart and then nvidia-agp, direct rendering works but with the visual errors.

agpgart should be loaded first, then nvidia-agp, but it shouldn't make any difference if agpgart gets autoloaded. Weird. Have you tried any other kernel versions?

Scollk wrote:
I have just gotten a segmentation fault from 'lsmod'. Hmmph. Could this be because I have just enabled module unloading in the kernel?

I wouldn't think so. What were you doing when it segfaulted? Are you using very strong CFLAGS?
_________________
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
View user's profile Send private message
Scollk
n00b
n00b


Joined: 13 Sep 2003
Posts: 8
Location: Hertfordshire, England

PostPosted: Sun Nov 09, 2003 6:02 pm    Post subject: Reply with quote

I had just booted, logged in as root and done 'lsmod'.

from make.globals: CFLAGS="-O2 -mcpu=i686 -pipe

I'll reboot and see if it does it again. If so ill take out the module unloading from the kernel and see.

I've tried getting direct rendering working for a while, so its been tried in a few kernels (all 2.6).
Last time I got to about this stage, was around test5 and I experienced the same visual errors as im getting now.
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Sun Nov 09, 2003 6:06 pm    Post subject: Reply with quote

The make.globals CFLAGS setting will be overridden by the CFLAGS setting in /etc/make.conf. Is it set to the same thing? The flags you posted shouldn't cause any problems.
_________________
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
View user's profile Send private message
Scollk
n00b
n00b


Joined: 13 Sep 2003
Posts: 8
Location: Hertfordshire, England

PostPosted: Sun Nov 09, 2003 6:15 pm    Post subject: Reply with quote

ah yes.

from my make.conf:
#CFLAGS="-mcpu=athlon-xp -O3 -pipe"

I have no idea why this is still commented out by the hash. Seems I might of neglected to remove it.. oops

I'm off to see Matrix Revolutions now :D I'll give this another look later.

Thanks for all the help
Back to top
View user's profile Send private message
bert_
n00b
n00b


Joined: 05 Nov 2003
Posts: 12

PostPosted: Mon Nov 10, 2003 9:08 pm    Post subject: hi, me again Reply with quote

after getting things to work somewhat, my HD failed...

so I started over and this time I ran into the same problem with cfree not compiling. But, I edited the ebuild file to not include mga as a driver to compile in and it finished. ati-drivers compiled fine w/o error as well. But, now I have the same problem I had before where there are no error messages.

I followed the steps (just like all the rest of the times) and yet, no driver loading.

are there any other kernel config flags that I should worry about besides MTRR, agpgart/chipsetagp and no DRI?

I'm going to try it without hotplugging because I think I remember not having it built in when it worked...

I think this is a serious problem a few people must be having, so hopfully a fix will be found.

(FTR: asus nforce board with ati9700pro with a 2800+xp)
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Mon Nov 10, 2003 9:17 pm    Post subject: Reply with quote

You could try my kernel config (for 2.6.0-test9). I have similar hardware - A7N8X Deluxe, 9800 Pro, XP 2700. Are you loading the fglrx module before you start X?
_________________
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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 2 of 7

 
Jump to:  
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