Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOW-TO] Get ATI support in X with 2.6.x kernel
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 Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Thu Jan 15, 2004 10:10 am    Post subject: Reply with quote

foosh wrote:
wedge: do you know if there's any advantage (practical or theoretical) from using the kernel-provided agp support versus the fglrx-provided support? i'm generally one to "fix it till it's broke," so i may try it the other way around and see if i notice any framerate gain in nwn or ut2k3...

It may depend on your motherboard, but there shouldn't usually be much difference in the performance. I have an nForce2, and get exactly the same score in glxgears with and without kernel agpgart. The kernel AGP is usually a bit more reliable on some types of board though.
_________________
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
cha0s
n00b
n00b


Joined: 15 Jan 2004
Posts: 2

PostPosted: Thu Jan 15, 2004 11:00 am    Post subject: got my 9800Pro @ 3500+ FPS !!! Reply with quote

I'm a n00b 2 linux and esp. gentoo, this thread really helped me to get my radeon working.

Got my Radeon 9800 Pro running at 3500 - 4000 FPS in glxgears :) The trick for me was to use the external agpgart module instead of ATI's internal one.

cha0s
-------
ASUS A7N8X Deluxe (nForce2)
AMD Athlon XP 2400+
Radeon 9800 Pro
gentoo-dev-sources 2.6.1
Back to top
View user's profile Send private message
rk_cr
n00b
n00b


Joined: 14 Jan 2004
Posts: 12

PostPosted: Thu Jan 15, 2004 2:01 pm    Post subject: Reply with quote

I triple checked. The only thing checked for my kernel is the AGP as a module and nothing else. I think my mobo and 3d card might be a little too exotic, I'm not sure what, but I think I'll start up again when newer drivers come out.
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Thu Jan 15, 2004 3:05 pm    Post subject: Reply with quote

You need /dev/agpgart support AND AGP support for your motherboard, which is where the list of options comes in. Which type of board do you have? If it's an nForce, pick nVidia support, if VIA, VIA support etc etc. You also need to load a second module once you've done this (2.6 is different from 2.4, where you just need to load agpgart). If you select nVidia support, you need to load agpgart + nvidia-agp before fglrx. If you select VIA support, it's agpgart + via-agp. And so on.
_________________
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
codedmart
l33t
l33t


Joined: 18 Nov 2003
Posts: 647
Location: Not Quite Sure

PostPosted: Fri Jan 16, 2004 4:47 pm    Post subject: Reply with quote

Can anyone tell me if this would work for a ATI U1 graphics card? I have HP ze4145 Laptop running the 2.6.1 kernel.
Back to top
View user's profile Send private message
thomasmue
n00b
n00b


Joined: 02 Oct 2003
Posts: 73
Location: MTK,OF,WAK

PostPosted: Sun Jan 18, 2004 12:19 pm    Post subject: Reply with quote

Hi,

I got an old Dell Lattitude CPiX 450 Notebook with a Rage Mobility. It's reported as MACH64.
How to enable DRI with 2.6 kernels ???

Thanks in advance

Thomas
Back to top
View user's profile Send private message
Quick-Nic
n00b
n00b


Joined: 19 Jan 2004
Posts: 1
Location: Enschede, The Netherlands

PostPosted: Mon Jan 19, 2004 5:18 pm    Post subject: Reply with quote

I had about the same problems as nosferat.
I was finaly able to get it working by turning off agp 8x in my bios.
I'm running at agp 4x now.
Maybe this will work for you too.

My hardware:
ASRock K7S8X mobo with SIS746 FX chipset
Hercules Radeon 9700 PRO
Back to top
View user's profile Send private message
qeldroma
Guru
Guru


Joined: 17 Oct 2002
Posts: 370

PostPosted: Sun Jan 25, 2004 12:54 pm    Post subject: Reply with quote

Don't know, if i am bothering you know, but here's my working way:

- Kernel 2.6.1 (devel-source) WITHOUT drm but agp
- Fist making again "opengl-update xfree"
- Then emerge ati-drivers
- "opengl-update ati"
- "modules-update force"
- Editting XF86Config-4 for NOT using internal-AGP

Did his job everytime, only error that broke compilation was forgetting to "opengl-update xfree" before merging.

---------------------------------------------------------------------
MB: Leadtek K7NCR18D with nforce2
GraKa: Sapphire 9700pro
Back to top
View user's profile Send private message
tommy_fila
Guru
Guru


Joined: 19 Nov 2003
Posts: 450
Location: Phoenix, AZ

PostPosted: Thu Jan 29, 2004 7:06 pm    Post subject: Reply with quote

Before I start breaking my system, I better ask some questions:

This is my output of lspci | grep AGP

Code:
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c)


As you can see, I have a ATI 3D Rage Pro AGP 1X/2X. My biggest question is whether I can simply follow the guide to configure my graphics card or not. Will the "ati-drivers" work for me? I was reading through some of the Gentoo manuals and it seemed like that my card would need the "xfree-drm" drivers and not "ati-drivers". I am unsure because in the guide I can see that there is a Direct Rendering Manager for "ATI Rage 128", so I am tempted to assume that it will work. The guide, however, recommends that you don't use that DRM, but instead use the one provided by the "ati-drivers" package.

Another question: Why do I have two items listed when I do the "lspci | grep AGP"? One of them is my graphics card, I know that, but what is the other one? Is that the PCI bridge that the mainboard uses to communicate with the graphics card?

I know I have a lot of questions, but I am afraid of doing something completely wrong! :? 8O

Thank you in advance for your help! :D
Back to top
View user's profile Send private message
Krakatoa
n00b
n00b


Joined: 29 Dec 2003
Posts: 30

PostPosted: Fri Jan 30, 2004 8:17 am    Post subject: ati tv Reply with quote

I'm currently using the gatos version of radeon.o in order to have tv input on a 7500 AIW. With 2.6.1 the km module 0.5 does not compile so no video capture or pvr. I understand that nvidia just released amd 64-bit drivers as well as 2.6.x drivers for x86. This should put some pressure on ati which is good. There is a growing market for video hardware as linux installations slowly eat into the desktop market. If anyone at ati is reading the tea leaves for the coming years they should realize this and rather than concede this market to nvidia make signifcant effort to develop linux drivers.
_________________
Linux is composed of 1's and 0's but sco appears to be full of #2
Back to top
View user's profile Send private message
0ctane
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2003
Posts: 115
Location: Cincinnati, OH

PostPosted: Sat Feb 07, 2004 4:23 pm    Post subject: radeon 9000 pro, gentoo-dev-sources kernel 2.6.1 Reply with quote

I have looked over this thread and many others to no avail. First, I have to appologise in advance for the long post, but I have tried to capture every step accurately. Second, here is my setup:
Dual PIII 800MHz, Tyan Tiger 100 mobo (VIA chipset), 624 MB RAM, ATI Radeon 9000 Pro, Yamaha PCI sound card
gentoo-dev-sources 2.6.1
Here is what I have done so far:
Code:
opengl-update xfree
emerge -C ati-drivers

Then I recompiled the kernel with the following options:
Code:
<M> Enhanced Real Time Clock Support
<M> /dev/agpgart (AGP Support)
<M>   VIA chipset support
[ ] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)

Yes, /usr/src/linux is linked to the right place.
Code:
mount /boot
make clean
make && make modules_install
make install
(made sure grub points to the right kernel, vmlinuz)
reboot ...
emerge ati-drivers > log

here are the error messages that popped up (not in the log)
Code:
/var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/firegl_public.c:2236: warning: initialization from incompatible pointer type
(again on lines 2254,2261,2268,2277)
/var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/firegl_public.c:3104: warning: 'have_cpuid_p' defined but not used

Here is the emerge log:
Code:
>>> Unpacking source...
found gzip magic bytes
  trying to decompress with gzip...  OK

 ^[[32;01m*^[[0m applying fglrx-3.2.8-fix-amd-adv-spec.patch
patching file firegl_public.c
 ^[[32;01m*^[[0m applying fglrx-2.6-vmalloc-vmaddr.patch
patching file firegl_public.c
>>> Source unpacked.
 ^[[32;01m*^[[0m building the glx module
make: Entering directory `/usr/src/linux-2.6.1-gentoo'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CC [M]  /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/agp3.o
  CC [M]  /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/nvidia-agp.o
  CC [M]  /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/agpgart_be.o
  CC [M]  /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/i7505-agp.o
  CC [M]  /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/agpgart_be.o
  CC [M]  /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/i7505-agp.o
  CC [M]  /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/firegl_public.o
  LD [M]  /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/fglrx.o
  Building modules, stage 2.
  MODPOST
  CC      /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/fglrx.mod.o
  LD [M]  /var/tmp/portage/ati-drivers-3.2.8/work/lib/modules/fglrx/build_mod/fglrx.ko
make: Leaving directory `/usr/src/linux-2.6.1-gentoo'
 ^[[32;01m*^[[0m building the fgl_glxgears sample
gcc -o fgl_glxgears -Wall -g -D USE_GLU -I/usr/X11R6/include -L/usr/X11R6/lib -lGL -lGLU -lX11 -lm fgl_glxgears.c
 ^[[32;01m*^[[0m cleaning
nostrip

>>> Install ati-drivers-3.2.8 into /var/tmp/portage/ati-drivers-3.2.8/image/ category media-video
man:
making executable: /usr/X11R6/lib/libfglrx_gamma.so.1.0
>>> Completed installing into /var/tmp/portage/ati-drivers-3.2.8/image/
 
 ^[[32;01m*^[[0m To switch to ATI OpenGL, run "opengl-update ati"
 ^[[32;01m*^[[0m To change your XF86Config you can use the bundled "fglrxconfig"
 ^[[32;01m*^[[0m Caching service dependencies...
^[[A^[[73G  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Caching service dependencies...
^[[A^[[73G  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
Calculating dependencies   ^H^H ...done!
>>> emerge (1 of 1) media-video/ati-drivers-3.2.8 to /
>>> md5 src_uri ;-) fglrx-glc22-4.3.0-3.2.8.i586.rpm
>>> Merging media-video/ati-drivers-3.2.8 to /
--- /etc/
--- /etc/env.d/
>>> /etc/env.d/09ati
--- /lib/
--- /lib/modules/

--- /lib/modules/2.6.1-gentoo/
>>> /lib/modules/2.6.1-gentoo/video/
>>> /lib/modules/2.6.1-gentoo/video/fglrx.ko
--- /opt/
>>> /opt/ati/
>>> /opt/ati/bin/
>>> /opt/ati/bin/fglrxinfo
>>> /opt/ati/bin/fglrx_xgamma
>>> /opt/ati/bin/fglrxconfig
>>> /opt/ati/bin/fgl_glxgears
--- /usr/
--- /usr/lib/
--- /usr/lib/opengl/
--- /usr/lib/opengl/ati/
>>> /usr/lib/opengl/ati/lib/
>>> /usr/lib/opengl/ati/lib/libGL.so.1.2
>>> /usr/lib/opengl/ati/lib/libMesaGL.so -> libGL.so.1.2
>>> /usr/lib/opengl/ati/lib/libGL.la -> ../../xfree/lib/libGL.la
>>> /usr/lib/opengl/ati/lib/libGL.so -> libGL.so.1.2
>>> /usr/lib/opengl/ati/extensions -> ../xfree/extensions
>>> /usr/lib/opengl/ati/include -> ../xfree/include
--- /usr/src/
--- /usr/X11R6/
--- /usr/X11R6/bin/
--- /usr/X11R6/lib/
--- /usr/X11R6/lib/modules/
--- /usr/X11R6/lib/modules/dri/
>>> /usr/X11R6/lib/modules/dri/fglrx_dri.so
--- /usr/X11R6/lib/modules/linux/
>>> /usr/X11R6/lib/modules/linux/libfglrxdrm.a
--- /usr/X11R6/lib/modules/drivers/
>>> /usr/X11R6/lib/modules/drivers/fglrx_drv.o
>>> /usr/X11R6/lib/libfglrx_gamma.so.1.0
>>> /usr/X11R6/lib/libfglrx_gamma.a
--- /usr/X11R6/include/
--- /usr/X11R6/include/X11/
--- /usr/X11R6/include/X11/extensions/
>>> /usr/X11R6/include/X11/extensions/fglrx_gamma.h
--- /usr/include/
--- /usr/include/GL/
>>> /usr/include/GL/glxATI.h
>>> /usr/lib/opengl/ati/lib/libGL.so.1 -> libGL.so.1.2

>>> media-video/ati-drivers-3.2.8 merged.
>>> Recording media-video/ati-drivers in "world" favorites file...

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.

Next I added fglrx to /etc/modules.autoload.d/kernel-2.6
Code:
rtc
agpgart
via_agp
fglrx

reboot
Code:
opengl-update ati
modules-update
fglrxconfig

edited XFree86Config-4 for my PCI location 1:0:0, dga is turned off
Starting X (startx) gives a black Screen Of Death forcing me to cycle the power on the computer. If I try using the internal AGP I get the same thing. If I turn "no_dri" to "yes", I can finally get to X without any acceleration.
What am I doing wrong?

[EDIT] Tried the 3.7.0 drivers, but still no love.
_________________
<signature></signature>
-----------------------------
Back to top
View user's profile Send private message
jekyl
n00b
n00b


Joined: 02 Aug 2003
Posts: 24
Location: Norway

PostPosted: Wed Feb 11, 2004 12:27 am    Post subject: Reply with quote

Thank you, for the great guide :D
Back to top
View user's profile Send private message
BlinkEye
Veteran
Veteran


Joined: 21 Oct 2003
Posts: 1046
Location: Gentoo Forums

PostPosted: Thu Feb 12, 2004 9:03 pm    Post subject: Re: got my 9800Pro @ 3500+ FPS !!! Reply with quote

cha0s wrote:
I'm a n00b 2 linux and esp. gentoo, this thread really helped me to get my radeon working.

Got my Radeon 9800 Pro running at 3500 - 4000 FPS in glxgears :) The trick for me was to use the external agpgart module instead of ATI's internal one.

cha0s
-------
ASUS A7N8X Deluxe (nForce2)
AMD Athlon XP 2400+
Radeon 9800 Pro
gentoo-dev-sources 2.6.1


are you serious? i get some 400 FPS with a ASUS A7V8X, AMD 9800, Radeon 9800. i think you may have confused the total frames in 5 seconds and frames per second.

Code:
$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon 9800 Athlon (3DNow!)
OpenGL version string: 1.3 (X4.3.0-3.2.8)


Code:
$ fgl_glxgears
1884 frames in 5.0 seconds = 376.800 FPS
2106 frames in 5.0 seconds = 421.200 FPS
2258 frames in 5.0 seconds = 451.600 FPS
1928 frames in 5.0 seconds = 385.600 FPS
1733 frames in 5.0 seconds = 346.600 FPS
1342 frames in 5.0 seconds = 268.400 FPS
1752 frames in 5.0 seconds = 350.400 FPS
2158 frames in 5.0 seconds = 431.600 FPS
1781 frames in 5.0 seconds = 356.200 FPS
2310 frames in 5.0 seconds = 462.000 FPS
2435 frames in 5.0 seconds = 487.000 FPS
2264 frames in 5.0 seconds = 452.800 FPS
2068 frames in 5.0 seconds = 413.600 FPS
2584 frames in 5.0 seconds = 516.800 FPS
2223 frames in 5.0 seconds = 444.600 FPS
2090 frames in 5.0 seconds = 418.000 FPS
2455 frames in 5.0 seconds = 491.000 FPS
2090 frames in 5.0 seconds = 418.000 FPS
2351 frames in 5.0 seconds = 470.200 FPS
2400 frames in 5.0 seconds = 480.000 FPS

nevertheless i do have a problem with dvd playback within xine: it happens that my output lags - but as i just recognised, it might not be a graphic issue because every now and then my CPU is under 100% load for about one second. don't know where the heck that comes from, but it might be a kernel issue (2.6.2), 'cause i didn't have that before.
Back to top
View user's profile Send private message
mr98ai
n00b
n00b


Joined: 12 Dec 2003
Posts: 44
Location: Ontario, Canada

PostPosted: Fri Feb 13, 2004 2:33 pm    Post subject: fglrx module Reply with quote

I can "emerge -k ati-drivers" successfully, but when I "modprobe fglrx", I get a module not found error. Does anybody know how to fix this? I am using gentoo 1.4 with the vanilla 2.6.2 kernel. The odd thing is, I can run fglrxconfig with no problems, and I can even load X with my XF86Config-4 file using the "fglrx" driver. However, when I "glxinfo | grep rendering", I get "direct rendering: No" as output.

I just upgraded my kernel from 2.4.23 to 2.6.2. When I was using the 2.4 kernel, I had no problems and was getting somewhere around 2000 fps. (I have an ATI Radeon 9000 Pro)
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Feb 13, 2004 3:24 pm    Post subject: Re: radeon 9000 pro, gentoo-dev-sources kernel 2.6.1 Reply with quote

0ctane wrote:

edited XFree86Config-4 for my PCI location 1:0:0, dga is turned off
Starting X (startx) gives a black Screen Of Death forcing me to cycle the power on the computer. If I try using the internal AGP I get the same thing. If I turn "no_dri" to "yes", I can finally get to X without any acceleration.
What am I doing wrong?

[EDIT] Tried the 3.7.0 drivers, but still no love.


I have exactly the same problem.
FWIW I used to be a beta tester for ATI, reported this and got zero feedback. Submitted reports via proper channels and all.

Hardware ASUS 9T533 mobo, 9800 pro.

I've been thinking that the problem is related to the 2.6.2 vanilla kernel, but I need that for other things. Can't use a 2.4 kernel :/
Back to top
View user's profile Send private message
mr98ai
n00b
n00b


Joined: 12 Dec 2003
Posts: 44
Location: Ontario, Canada

PostPosted: Sat Feb 14, 2004 8:18 pm    Post subject: emerge -k xfree-drm Reply with quote

When I point /usr/src/linux to my 2.6 kernel, I cannot emerge xfree-drm ( I get a whole pile of make errors, functions not defined etc.), but when I repoint it to my 2.4 kernel, I get no problems. Anybody know why this happens? I am still using the 1.4 portage packages for the most part... I've just added new kernels and a few main applicaitons.
Back to top
View user's profile Send private message
0ctane
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2003
Posts: 115
Location: Cincinnati, OH

PostPosted: Sun Feb 15, 2004 10:25 pm    Post subject: Reply with quote

Now I am getting the same problem as nosferat used to have. I compiled a new kernel (gentoo-dev-sources-2.6.3-rc2) and then emerged the latest xfree (4.3.0-r5) which also grabbed the latest gcc-3.3.2-r5. Then:
Code:
opengl-update xfree
emerge /usr/portage/media-video/ati-drivers/ati-drivers-3.7.0.ebuild
opengl-update ati

upon rebooting, fglrx module fails to load (it is placed at the end of modules.autoload.d/kernel-2.6 and I have agpgart and via-agp load before it).
dmesg gives the following error (similar to nosferat's):
Code:
agpgart: Detected VIA Apollo Pro 133 chipset
agpgart: Maximum main memory to use for agp memory: 564M
agpgart: AGP aperture is 64M @ 0xe0000000
fglrx: version magic '2.6.3-rc2-gentoo SMP preempt PENTIUMIII gcc-3.3' should be '2.6.3-rc2-gentoo SMP preempt PENTIUMIII gcc-3.2'

That last line is repeated a few times. Do I need to recompile my kernel with gcc-3.3.2?
Any ideas on this magic?
_________________
<signature></signature>
-----------------------------
Back to top
View user's profile Send private message
0ctane
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2003
Posts: 115
Location: Cincinnati, OH

PostPosted: Mon Feb 16, 2004 2:05 am    Post subject: Reply with quote

0ctane wrote:
Code:
agpgart: Detected VIA Apollo Pro 133 chipset
agpgart: Maximum main memory to use for agp memory: 564M
agpgart: AGP aperture is 64M @ 0xe0000000
fglrx: version magic '2.6.3-rc2-gentoo SMP preempt PENTIUMIII gcc-3.3' should be '2.6.3-rc2-gentoo SMP preempt PENTIUMIII gcc-3.2'

Well, I fixed this problem. Once I recompiled the kernel with gcc-3.33, the fglrx module loaded fine.
Code:
agpgart: Detected VIA Apollo Pro 133 chipset
agpgart: Maximum main memory to use for agp memory: 564M
agpgart: AGP aperture is 64M @ 0xe0000000
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERM
ANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 554 MBytes.
[fglrx] module loaded - fglrx 3.7.0 [Dec 18 2003] on minor 0

However, I still get the black SOD when trying to run X. If I use 'Option "no_dri" "yes" then I can get to X, but I get no acceleration. With "no_dri" "no", my XFree86.0.log file looks like everything is okay....
Code:
<snippet>
(II) Setting vga for screen 0.
(II) fglrx(0): === [R200PreInit] === begin, [s]
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
        compiled for 4.3.0.1, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.6
(II) fglrx(0): PCI bus 1 card 0 func 0
(**) fglrx(0): Depth 24, (--) framebuffer bpp 32
(II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) fglrx(0): Default visual is TrueColor
(**) fglrx(0): Option "NoAccel" "no"
(**) fglrx(0): Option "NoDRI" "no"
(**) fglrx(0): Option "Capabilities" "0x00000800"
(**) fglrx(0): Option "GammaCorrectionI" "0x00000000"
(**) fglrx(0): Option "GammaCorrectionII" "0x00000000"
(**) fglrx(0): Option "OpenGLOverlay" "off"
(**) fglrx(0): Option "VideoOverlay" "on"
(**) fglrx(0): Option "DesktopSetup" "0x00000000"
(**) fglrx(0): Option "MonitorLayout" "AUTO, AUTO"
(**) fglrx(0): Option "HSync2" "unspecified"
(**) fglrx(0): Option "VRefresh2" "unspecified"
(**) fglrx(0): Option "ScreenOverlap" "0"
(**) fglrx(0): Option "IgnoreEDID" "off"
(**) fglrx(0): Option "UseInternalAGPGART" "no"
(**) fglrx(0): Option "Stereo" "off"
(**) fglrx(0): Option "StereoSyncEnable" "1"
(**) fglrx(0): Option "UseFastTLS" "0"
(**) fglrx(0): Option "BlockSignalsOnLock" "on"
(**) fglrx(0): Option "ForceGenericCPU" "no"
(**) fglrx(0): Option "CenterMode" "off"
(**) fglrx(0): Option "FSAAScale" "1"
(**) fglrx(0): Option "FSAADisableGamma" "no"
(**) fglrx(0): Option "FSAACustomizeMSPos" "no"
(**) fglrx(0): Option "FSAAMSPosX0" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY0" "0.000000"
(**) fglrx(0): Option "FSAAMSPosX1" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY1" "0.000000"
(**) fglrx(0): Option "FSAAMSPosX2" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY2" "0.000000"
(**) fglrx(0): Option "FSAAMSPosX3" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY3" "0.000000"
(**) fglrx(0): Option "FSAAMSPosX4" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY4" "0.000000"
(**) fglrx(0): Option "FSAAMSPosX5" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY5" "0.000000"
(**) fglrx(0): Option "NoTV" "yes"
(**) fglrx(0): Option "TVStandard" "NTSC-M"
(**) fglrx(0): Option "TVHSizeAdj" "0"
(**) fglrx(0): Option "TVVSizeAdj" "0"
(**) fglrx(0): Option "TVHPosAdj" "0"
(**) fglrx(0): Option "TVVPosAdj" "0"
(**) fglrx(0): Option "TVHStartAdj" "0"
(**) fglrx(0): Option "TVColorAdj" "0"
(**) fglrx(0): Option "PseudoColorVisuals" "off"
(**) fglrx(0): Qbs disabled
(==) fglrx(0): RGB weight 888
(II) fglrx(0): Using 8 bits per RGB (8 bit DAC)
(**) fglrx(0): Gamma Correction for I is 0x00000000
(**) fglrx(0): Gamma Correction for II is 0x00000000
(==) fglrx(0): Buffer Tiling is ON
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="The XFree86 Project"
        compiled for 4.3.0.1, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.6
(II) fglrx(0): initializing int10
(II) fglrx(0): Primary V_BIOS segment is: 0xc000
(--) fglrx(0): Chipset: "ATI RV250 If (R9000)" (Chipset = 0x4966)
(--) fglrx(0): (PciSubVendor = 0x1002, PciSubDevice = 0x0002)
(--) fglrx(0): board vendor info: original ATI grafics adapter
(--) fglrx(0): Linear framebuffer (phys) at 0xd8000000
(--) fglrx(0): MMIO registers at 0xe5000000
(--) fglrx(0): ChipExtRevID = 0x01
(--) fglrx(0): ChipIntRevID = 0x00
(--) fglrx(0): VideoRAM: 65536 kByte (64-bit DDR SDRAM)
(II) fglrx(0): board/chipset is supported by this driver (original ATI board)
(II) Loading sub module "ddc"
<snippet>
(II) fglrx(0): Primary head:
 Monitor   -- CRT
 Connector -- DVI-I
 DAC Type  -- TVDAC/ExtDAC
 TMDS Type -- Internal
 DDC Type  -- DVI_DDC
(II) fglrx(0): Secondary head:
 Monitor   -- NONE
 Connector -- VGA
 DAC Type  -- Primary
 TMDS Type -- NONE
 DDC Type  -- VGA_DDC
(II) fglrx(0): EDID data from the display on Primary head ----------------
(II) fglrx(0): Manufacturer: SNY  Model: a80  Serial#: 16843009
(II) fglrx(0): Year: 2003  Week: 6
(II) fglrx(0): EDID Version: 1.3
(II) fglrx(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
(II) fglrx(0): Sync:  Separate  Composite  SyncOnGreen
(II) fglrx(0): Max H-Image Size [cm]: horiz.: 36  vert.: 29
(II) fglrx(0): Gamma: 2.20
(II) fglrx(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) fglrx(0): First detailed timing is preferred mode
(II) fglrx(0): redX: 0.633 redY: 0.340   greenX: 0.295 greenY: 0.600
(II) fglrx(0): blueX: 0.141 blueY: 0.096   whiteX: 0.282 whiteY: 0.298
(II) fglrx(0): Supported VESA Video Modes:
(II) fglrx(0): 720x400@70Hz
(II) fglrx(0): 640x480@60Hz
(II) fglrx(0): 800x600@60Hz
(II) fglrx(0): 1024x768@60Hz
(II) fglrx(0): Manufacturer's mask: 0
(II) fglrx(0): Supported Future Video Modes:
(II) fglrx(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
(II) fglrx(0): #1: hsize: 1280  vsize 960  refresh: 60  vid: 16513
(II) fglrx(0): Supported additional Video Mode:
(II) fglrx(0): clock: 108.0 MHz   Image Size:  357 x 286 mm
(II) fglrx(0): h_active: 1280  h_sync: 1328  h_sync_end 1440 h_blank_end 1688 h_border: 0
(II) fglrx(0): v_active: 1024  v_sync: 1025  v_sync_end 1028 v_blanking: 1066 v_border: 0
(II) fglrx(0): Ranges: V min: 48  V max: 65 Hz, H min: 28  H max: 65 kHz, PixClock max 110 MHz
<snippet>
(**) fglrx(0): NoAccel = NO
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
        compiled for 4.3.0.1, module version = 1.1.0
        ABI class: XFree86 Video Driver, version 0.6
(==) fglrx(0): HPV inactive
(==) fglrx(0): FSAA enabled: NO
(**) fglrx(0): FSAA Gamma enabled
(**) fglrx(0): FSAA Multisample Position is fix
(**) fglrx(0): NoDRI = NO
(II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"
(II) Loading /usr/X11R6/lib/modules/linux/libfglrxdrm.a
(II) Module fglrxdrm: vendor="Fire GL - ATI Research GmbH, Germany"
        compiled for 4.3.0.1, module version = 3.7.0
        ABI class: XFree86 Server Extension, version 0.2
(II) fglrx(0): Depth moves disabled by default
(**) fglrx(0): Capabilities: 0x00000800
(**) fglrx(0): cpuFlags: 0x8000000d
(**) fglrx(0): cpuSpeedMHz: 0x00000320
(==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
(**) fglrx(0): using built in AGPGART module: no
(**) fglrx(0): UseFastTLS=0
(**) fglrx(0): BlockSignalsOnLock=1
(==) fglrx(0): EnablePrivateBackZ = NO
(II) fglrx(0): using CAIL version [ATI LIB=CAIL.LIB,IA32,2.0024]
<snippet>
(II) fglrx(0): UMM area:     0xd8700000 (size=0x03900000)
(II) fglrx(0): driver needs XFree86 version: 4.3.x
(II) fglrx(0): detected XFree86 version: 4.3.0
(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmGetBusid returned ''
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xe8990000
(II) fglrx(0): [drm] mapped SAREA 0xe8990000 to 0x40224000
(II) fglrx(0): [drm] framebuffer handle = 0xd8000000
(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.7.0
(II) fglrx(0):     Date: Dec 18 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.3-rc2-gentoo
(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 = 0xe5000000
(II) fglrx(0): [agp] Mode=0x1f000207 bridge: 0x1106/0x0691
(II) fglrx(0): [agp] AGP v1/2 disable mask 0x00000000
(II) fglrx(0): [agp] AGP v3 disable mask   0x00000000
(II) fglrx(0): [agp] enabling AGP with mode=0x1f000304
(II) fglrx(0): [agp] AGP protocoll is enabled for grafics board. (cmd=0x1f000304)
(II) fglrx(0): [agp] grafics chipset has AGP v2.0
(II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
(II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 28672
(II) fglrx(0): [drm] texture shared area handle = 0xecb08000
(II) fglrx(0): shared FSAAScale=1
(II) fglrx(0): DRI initialization successfull!
(II) fglrx(0): FBADPhys: 0xd8000000 FBMappedSize: 0x00700000
(II) fglrx(0): Splitting WC range: base: 0xd8000000, size: 0x700000
(II) fglrx(0): Splitting WC range: base: 0xd8400000, size: 0x300000
(==) fglrx(0): Write-combining range (0xd8600000,0x100000)
(==) fglrx(0): Write-combining range (0xd8400000,0x300000)
(==) fglrx(0): Write-combining range (0xd8000000,0x700000)
(II) fglrx(0): FBMM initialized for area (0,0)-(1280,1433)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1280,1024) (front color buffer - assumption)
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled
(II) fglrx(0): Using hardware cursor (scanline 1024)
(II) fglrx(0): Largest offscreen area available: 1280 x 401
(**) Option "dpms"
(**) fglrx(0): DPMS enabled
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Solid Lines
        Dashed Lines
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                30 128x128 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x00000001
(II) fglrx(0): [DRI] installation complete

The only odd thing I can see is that "Build-Kernel __SMP__: no" line. This is annoying!
_________________
<signature></signature>
-----------------------------
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Thu Feb 19, 2004 5:35 pm    Post subject: Reply with quote

Ya know what's more fun than that modules.autoload junk is something like:

/etc/modules.d/ati:
Code:
pre-install <your-agpgart-chipset-module> modprobe -k agpgart
pre-install <your-DRM-module> modprobe -k <your-agpgart-chipset-module>

Then run modules-update.

This should force agpgart to autoload before your chipset's agpgart loads, and force your chipset's agpgart to autoload before your DRM loads. Since the DRM autoloads when XFree86 is started, it should make for a fully automated loading system instead of loading the modules for no purpose at startup time.
Back to top
View user's profile Send private message
r4d1x
Apprentice
Apprentice


Joined: 25 Nov 2003
Posts: 157
Location: Japan

PostPosted: Thu Feb 19, 2004 10:58 pm    Post subject: Reply with quote

something that i found helpful gettin my ati card runnin was adding the agpgart in the kernel and loading the glx module afterwards.
Back to top
View user's profile Send private message
Merc248
n00b
n00b


Joined: 23 Sep 2003
Posts: 39

PostPosted: Sat Feb 21, 2004 5:37 am    Post subject: Reply with quote

anyone happen to know how to get the ATI opengl driver to "stick" every time i restart the X server? i'm using kernel 2.6.3-love-r1, ati-drivers 3.2.8, and i have the agpgart and my appropriate agp driver (intel_agp) loaded as modules in this order: agpgart, intel_agp, fglrx. it runs with the ati opengl driver when it first boots, but when i log out or do a ctrl+alt+backspace, it reverts back to the mesagl driver. anyone know how to solve this?
Back to top
View user's profile Send private message
gennro
n00b
n00b


Joined: 05 Aug 2003
Posts: 4

PostPosted: Sat Feb 21, 2004 7:52 am    Post subject: Reply with quote

I was having problems with my fglrx module not loading either until i went in and emerged the ati-drivers-3.7.0 now i think these numbers will speak for themselfs.....

22908 frames in 5.0 seconds = 4581.600 FPS
23707 frames in 5.0 seconds = 4741.400 FPS
23639 frames in 5.0 seconds = 4727.800 FPS
23720 frames in 5.0 seconds = 4744.000 FPS
16441 frames in 5.0 seconds = 3288.200 FPS
36501 frames in 5.0 seconds = 7300.200 FPS
36406 frames in 5.0 seconds = 7281.200 FPS
22956 frames in 5.0 seconds = 4591.200 FPS
23356 frames in 5.0 seconds = 4671.200 FPS

Thanks all for the great info in this topic. Now i can completely move away from windoze =)
Back to top
View user's profile Send private message
Merc248
n00b
n00b


Joined: 23 Sep 2003
Posts: 39

PostPosted: Sat Feb 21, 2004 8:05 am    Post subject: Reply with quote

i don't recommend using 3.7.0 yet... it does good in glxgears, but other opengl apps/games (such as anything in wine, ut2004, etc.) runs a lot slower than the 3.2.8 drivers.
Back to top
View user's profile Send private message
gennro
n00b
n00b


Joined: 05 Aug 2003
Posts: 4

PostPosted: Sat Feb 21, 2004 9:33 am    Post subject: Reply with quote

Well i couldn't get 3.2.8 to work at all so i mean anything better then that is fine with me
running Kernel 2.6.3-gentoo-r1 btw
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Tue Mar 02, 2004 4:30 pm    Post subject: Reply with quote

For all the guys getting a black screen of death after a startx take a look at:
https://bugs.gentoo.org/show_bug.cgi?id=40891
It seems to be a problem initalizing the AGP Card beyond the AGP Bridge. I am using a little skript:
Code:
startx &;
sleep 5;
killall -9 X;
startx;

(Actually I use two scripts to start xdm ...)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 4 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