View previous topic :: View next topic |
Author |
Message |
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Thu Aug 07, 2003 11:47 pm Post subject: |
|
|
yardbird wrote: | Happens only with fgl_glxgears for me |
fgl_glxgears is the only app I've tried that causes hundreds of the errors, I played UT and UT2003 for about half an hour and only got two _________________ 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 |
|
|
NuclearFusi0n Apprentice
Joined: 20 Jun 2003 Posts: 297
|
Posted: Fri Aug 08, 2003 10:38 am Post subject: |
|
|
Do any of the ATI drivers support multiple X sessions yet? I'm on 2.9.13 with kernel 2.6 and it still doesn't work. _________________ I will keel yoo grub |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Fri Aug 08, 2003 10:46 am Post subject: |
|
|
I tried it with the 3.2.0 drivers and it didn't work. _________________ 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 |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Fri Aug 08, 2003 1:27 pm Post subject: |
|
|
For anyone using 2.9.13-r1 on a 2.6 kernel:
Can you download http://wedge.xwlegacy.net/ati-drivers.tar.bz2, extract it into /usr/local/portage/media-video/ati-drivers as usual (see the new Howto for details if you're unsure), and try version 2.9.13-r2? Most of the warnings during the emerge should be gone, and the module name should be fglrx instead of "1". _________________ 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 |
|
|
Achilles Apprentice
Joined: 03 Jun 2002 Posts: 259 Location: Chicago
|
Posted: Fri Aug 08, 2003 2:35 pm Post subject: |
|
|
Ah, thank you wedge for all of your help! I used your kernel config and it clued me into the problem... it wasnt the mouse driver, but the location (i.e. /dev/mouse). I took out my ps/2 mouse actually and plugged in a usb one and changed the location to /dev/usbmouse and now everything works great!
Getting 6500 fps in glxgears |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Fri Aug 08, 2003 3:04 pm Post subject: |
|
|
Quote: | now everything works great! |
Good to hear it. Have fun _________________ 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 |
|
|
gralves Guru
Joined: 20 May 2003 Posts: 389 Location: Sao Paulo, Brazil
|
Posted: Fri Aug 08, 2003 4:24 pm Post subject: |
|
|
Hi!
Anyone got any progress using the TV-out? If yes could you post your story so we can include it in the new HOW-TO?
Achilles: Can you sumarize your story with the mouse so we can put it on the troubleshooting section of the FAQ... Video x Mouse conflicts are... creepy
Thanks!
(I'll be working these weekend on the dual-monitor section. I have a dual monitor setting working. If someone has some questions about the issue please post here so we can enrich the HOWTO)
gralves |
|
Back to top |
|
|
G-LiTe` Tux's lil' helper
Joined: 06 May 2003 Posts: 147
|
Posted: Fri Aug 08, 2003 4:25 pm Post subject: |
|
|
Everything works in windows. I'm not overclocking. I wouldn't know if it's overheating, doubt it is because I've played in windows for hours straight.
(Sensorchips are not very reliable on this motherboard :B)
I'll try 2.9.13-r2 again, see if it works now. |
|
Back to top |
|
|
G-LiTe` Tux's lil' helper
Joined: 06 May 2003 Posts: 147
|
Posted: Fri Aug 08, 2003 8:37 pm Post subject: |
|
|
Well... suprisingly, it loaded up X with 2.9.13-r2. Think it was the dga option which I had enabled before.
On top of that it's 2000 fps faster. I get 6000 fps in glxgears. Could that be FSAA? o_O
I still get the crashes in tuxracer though. Guess it's just the damned chipset. They _seem_ to be working on support though, they said on the kernel mailinglists there was support for SiS 648 AGP... now the question is if they meant the chipset (which in my case is 648) or the agp bridge (if there is a SiS 648 agp bridge at all, mine is a 5591/5592 though)
I hope they work their asses off. |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Fri Aug 08, 2003 9:02 pm Post subject: |
|
|
I get crashes in TuxRacer as well with 2.9.13, so it may just be the drivers in that case. The 2.9.x drivers are significantly faster than the 3.2.x drivers at the moment, for almost everyone AFAIK, so that's why you got a big jump in fps. Now you just have to wait and see what happens with the AGP support I guess. _________________ 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 |
|
|
Mon n00b
Joined: 17 Jul 2003 Posts: 34 Location: The Netherlands
|
Posted: Sat Aug 09, 2003 1:58 am Post subject: |
|
|
fca wrote: | Wedge_ wrote: | For anyone that's using the 3.2.x drivers: I was looking at my log file and saw this Code: | (**) fglrx(0): EnablePrivateBackZ = NO |
This option isn't in the file fglrxconfig generates, and I have no idea what it does, but adding Code: | Option "EnablePrivateBackZ" "yes" |
to the Device section in XF86Config gave me an extra 200-300 fps on glxgears and 5fps more in q3a. Not a big difference, but every little helps |
Setting
Code: | Option "UseFastTLS" "1" |
also gives me 100 extra fps in glxgears, above the extra I gained with EnablePrivateBackZ.
Found using the same method as you. |
Does anyone know what these settings actually are? Also could they mean more instability?
Yesterday i went 500 glxgears up by adding "enable pageflip "true" " in my XF86Config. the downside of that was that after about 6 glxgears outputs, my sys totally crashed! i really dont like resetting linux os'es... (i think these functions should be well documented in the faq) |
|
Back to top |
|
|
bda n00b
Joined: 14 Jan 2003 Posts: 6
|
Posted: Sat Aug 09, 2003 2:55 am Post subject: thanks! |
|
|
got ati-drivers-3.2.4-r2 from the ebuild posted here working under linux-2.6.0-test2-mm4. I have a radeon 9700 pro and via kt266a motherboard.
Sadly, the first 3d app I tried to load (armegatron) froze my system
At any rate, thanks to Wedge_ and everyone else - couldn't have done it without the ebuilds and this thread.
If anyone gets a message like this:
Code: |
mtrr: 0xd8000000,0x8000000 overlaps existing 0xd8000000,0x1000000
|
when trying to load fglrx, disable mtrr for your framebuffer and/or make sure radeonfb is not compiled into the kernel. I had vesafb AND radeonfb compiled in (which is a bad idea - there should only be one fb driver), and was using vesafb with mtrr. |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Sat Aug 09, 2003 9:44 am Post subject: |
|
|
Quote: | when trying to load fglrx, disable mtrr for your framebuffer and/or make sure radeonfb is not compiled into the kernel. I had vesafb AND radeonfb compiled in (which is a bad idea - there should only be one fb driver), and was using vesafb with mtrr. |
You might want to post a description of your problem and solution into the Radeon howto here in case anyone else runs into it. _________________ 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 |
|
|
bda n00b
Joined: 14 Jan 2003 Posts: 6
|
Posted: Sat Aug 09, 2003 6:45 pm Post subject: mtrr overlap |
|
|
I've done some more testing regarding the mtrr overlap issue (with only vesafb compiled into my kernel). I get the mtrr overlap error whenever I use the framebuffer, even without the mtrr option passed to vesafb (maybe it uses mtrr anyway?). However, fglrx still works, with 3d acceleration. I'm curious if other people have this problem also.
From /var/log/kern.log (or dmesg if you catch it before it's overwritten):
Code: |
Aug 9 09:40:31 silverpenguin mtrr: 0xd8000000,0x8000000 overlaps existing 0xd80
00000,0x1000000
Aug 9 09:40:31 silverpenguin [fglrx:firegl_addmap] *ERROR* mtrr allocation fail
ed (-22)
Aug 9 09:46:26 silverpenguin mtrr: no MTRR for d8000000,800000 found
Aug 9 09:46:26 silverpenguin mtrr: no MTRR for d8800000,100000 found
Aug 9 09:46:26 silverpenguin mtrr: no MTRR for d8900000,40000 found
Aug 9 09:46:26 silverpenguin mtrr: no MTRR for d8940000,10000 found
Aug 9 09:46:26 silverpenguin mtrr: no MTRR for d8950000,2000 found
Aug 9 09:46:26 silverpenguin mtrr: no MTRR for d8952000,1000 found
|
When I set vga=normal (no framebuffer), I don't get the mtrr error. I'm going to do some tests to see if the mtrr improves performance. |
|
Back to top |
|
|
yardbird l33t
Joined: 20 Apr 2002 Posts: 689 Location: nl.leiden
|
Posted: Sat Aug 09, 2003 8:23 pm Post subject: Re: mtrr overlap |
|
|
bda wrote: | I'm going to do some tests to see if the mtrr improves performance. |
From kernel docs:
/usr/src/linux/Documentation/mtrr.txt wrote: |
On Intel P6 family processors (Pentium Pro, Pentium II and later)
the Memory Type Range Registers (MTRRs) may be used to control
processor access to memory ranges. This is most useful when you have
a video (VGA) card on a PCI or AGP bus. Enabling write-combining
allows bus write transfers to be combined into a larger transfer
before bursting over the PCI/AGP bus. This can increase performance
of image write operations 2.5 times or more.
|
Also in MPlayer docs they recommend to turn on mtrr for optimum performance.
A quick suggestion: to avoid overlapping you could specify in XF86Config a total memory for your card slightly smaller than the memory actually available. Thus a portion of your Video RAM would be safely free to be used by Console FB. |
|
Back to top |
|
|
bda n00b
Joined: 14 Jan 2003 Posts: 6
|
Posted: Sun Aug 10, 2003 2:58 am Post subject: Re: mtrr overlap |
|
|
yardbird wrote: |
Also in MPlayer docs they recommend to turn on mtrr for optimum performance.
A quick suggestion: to avoid overlapping you could specify in XF86Config a total memory for your card slightly smaller than the memory actually available. Thus a portion of your Video RAM would be safely free to be used by Console FB. |
I tried this - set it to 96MB instead of 128MB (in KB of course). I got this message instead of the overlap error, and fglrx still failed to 'allocate' the mtrr:
Code: | Aug 9 21:33:11 silverpenguin mtrr: base(0xd8000000) is not aligned on a size(0x
6000000) boundary
Aug 9 21:33:11 silverpenguin [fglrx:firegl_addmap] *ERROR* mtrr allocation fail
ed (-22) |
At any rate, I did some testing with fgl_glxgears, glxgears, and armegatron. The performance is the same regardless of wether the mtrr allocation succeeded.
Quote: | Enabling write-combining
allows bus write transfers to be combined into a larger transfer
before bursting over the PCI/AGP bus. This can increase performance
of image write operations 2.5 times or more. |
I'm pretty sure that write-combing is enabled for the video memory range in both cases (from 'cat /proc/mtrr'). Perhaps what is failing is simply an mtrr setup phase that was already done by the new mtrr kernel code in 2.5/2.6?
Should I bother posting this to the HOWTO, if it doesn't actually affect performance? |
|
Back to top |
|
|
Achilles Apprentice
Joined: 03 Jun 2002 Posts: 259 Location: Chicago
|
Posted: Sun Aug 10, 2003 5:55 pm Post subject: |
|
|
gralves wrote: | Hi!
Anyone got any progress using the TV-out? If yes could you post your story so we can include it in the new HOW-TO?
Achilles: Can you sumarize your story with the mouse so we can put it on the troubleshooting section of the FAQ... Video x Mouse conflicts are... creepy
Thanks!
(I'll be working these weekend on the dual-monitor section. I have a dual monitor setting working. If someone has some questions about the issue please post here so we can enrich the HOWTO)
gralves |
Yeah, I'll right up a summary, but right now I'm on vacation for another couple of days.... I'll post it when I get back home |
|
Back to top |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Sun Aug 10, 2003 9:08 pm Post subject: |
|
|
maybe I'm overlooking something here, but after emerging ati-drivers it says I can use "fglrxconfig", but when I try to execute is it says command not found????
what's going on? _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
ivan300 n00b
Joined: 03 May 2003 Posts: 42 Location: New Westminster BC
|
Posted: Sun Aug 10, 2003 9:28 pm Post subject: |
|
|
freshy98 wrote: | maybe I'm overlooking something here, but after emerging ati-drivers it says I can use "fglrxconfig", but when I try to execute is it says command not found????
what's going on? |
i got the same thing then i restarted and it worked |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Sun Aug 10, 2003 9:35 pm Post subject: |
|
|
It's probably because the executables such as fglrxconfig, fgl_glxgears etc are installed in /opt/ati/bin, which then has to be added to your path. The file called 09ati in /etc/env.d contains the paths, and these won't get included in your own paths until you logout and login. If you don't want to do that, I think doing "source /etc/profile" should fix it. _________________ 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 |
|
|
freshy98 Apprentice
Joined: 11 Jul 2002 Posts: 274 Location: The Netherlands
|
Posted: Sun Aug 10, 2003 9:35 pm Post subject: |
|
|
hmm, ok..that was one thing I had not thougth of yet
I was thinking to much linux instead of windows
and thanks for the path idea. will try it tomorrow.
my machine won't boot now 'cause I have done something wrong. dunno what yet. it hangs at Loading linux. must have screwed something up when I recompiled the kernel. hmm..will look into it later _________________ Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha. |
|
Back to top |
|
|
NicholasDWolfwood Apprentice
Joined: 19 Jan 2003 Posts: 235
|
Posted: Mon Aug 11, 2003 5:40 am Post subject: |
|
|
My two words.
SCREW RADEONS!
My Radeon 9000 Pro worked fine in Linux, but in Windows I had a ton of errors and conflicts. I switched it to a Geforce FX 5200 128MB card and now Linux and Windows both work fine. |
|
Back to top |
|
|
fca Guru
Joined: 22 Feb 2003 Posts: 346 Location: Netherlands
|
Posted: Mon Aug 11, 2003 3:45 pm Post subject: |
|
|
Have any of you got any ati-drivers to work on 2.6.0-test3? I was able to build them (couldn't use emerge though, some strange Permission Denied errors kept popping up, had to compile them myself), loading went fine, but XFree wouldn't start, complained about agpgart, which was also loaded just fine.
Relevant part of XFree86.0.log:
Code: |
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:2:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xe0b3e000
(II) fglrx(0): [drm] mapped SAREA 0xe0b3e000 to 0x401f4000
(II) fglrx(0): [drm] framebuffer handle = 0xc0000000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 3.2.4
(II) fglrx(0): Date: Jul 24 2003
(II) fglrx(0): Desc: ATI Fire GL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0): Build-Kernel UTS_RELEASE: 2.6.0-test3
(II) fglrx(0): Build-Kernel MODVERSIONS: no
(II) fglrx(0): Build-Kernel __SMP__: no
(II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
(II) fglrx(0): [drm] register handle = 0xd2000000
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENOMEM"
(EE) fglrx(0): cannot init AGP
*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.
Fatal server error:
Caught signal 11. Server aborting
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org. |
Changing UseInternalAGP didn't make any difference.
Everything (except 3D acceleration ) works fine with the xfree-drm drivers. |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Mon Aug 11, 2003 4:26 pm Post subject: |
|
|
They work fine for me. Can you check that you don't have any DRM support in your kernel? If it's there, it'll almost always stop the fglrx driver from working. Also try unmerging xfree-drm if you haven't already. _________________ 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 |
|
|
fca Guru
Joined: 22 Feb 2003 Posts: 346 Location: Netherlands
|
Posted: Mon Aug 11, 2003 9:08 pm Post subject: |
|
|
Wedge_ wrote: | They work fine for me. Can you check that you don't have any DRM support in your kernel? If it's there, it'll almost always stop the fglrx driver from working. Also try unmerging xfree-drm if you haven't already. |
Done that, no succes. No DRM in the kernel, and it keepps complaining about the AGP initialisation.
Back to kernel 2.4.21 it is. |
|
Back to top |
|
|
|