View previous topic :: View next topic |
Author |
Message |
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 Sep 13, 2004 9:35 am Post subject: |
|
|
I'm not seeing any errors from agpgart there... However, it looks like you may be loading the fglrx module before the agpgart and via_agp modules, and this may be causing problems. You should always load them in the order: agpgart, via_agp, fglrx. _________________ 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) |
TrojanShield n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1505386091413a849ae4986.jpg)
Joined: 01 Sep 2004 Posts: 29
|
Posted: Mon Sep 13, 2004 10:11 pm Post subject: |
|
|
I don't know if the order had made a difference but after changing the order and rebooting I noticed that agpart still did not load but upon closer inpection I discovered that I had made the mistake of putting agpart in my kernel-2.6 and not agpgart. Thanks for your help again. If I continue making mistakes and having you help me I will end up owing you my first born.
LOL ![Laughing :lol:](images/smiles/icon_lol.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GaCo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Apr 2004 Posts: 3
|
Posted: Tue Sep 14, 2004 8:23 pm Post subject: |
|
|
Great howto - Thanks!
Got glxgears running at several thousand FPS, instead of the 90 or so I had before using the ati-drivers properly! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jimmsta n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 May 2004 Posts: 12
|
Posted: Fri Sep 17, 2004 6:36 pm Post subject: |
|
|
is there a point to using the 2.6 patches that the ebuild incorporates into the driver? I'm wondering about this, seeing as I get graphics corruption when I play UT2004. I've submitted bug reports to ATI, but of course, got no answer. I've tried different kernels, including many 2.4.x based kernels... nothing works...
I'm just wondering what the patches do that are in the ebuild, and whether it would be stupid to try removing them from the ebuild, to gain stability? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zalun Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/311844739407660cd91512.gif)
Joined: 02 Feb 2004 Posts: 89
|
Posted: Tue Sep 28, 2004 5:39 pm Post subject: |
|
|
My Radeon 9600 Mobile on Aristo notebook doesnt display Xs under gentoo.
It works under Fedora (I've got it with my notebook) but it's not my most likely didtro.
Glxinfo under Fedora shows about 264 FPS I know it's not much, but under gentoo it doesnt work in 2D anyway.
Xorg log shows (only basic info and problems):
Code: |
X Protocol Version 11, Revision 0, Release 6.7
Build Operating System: Linux 2.6.8-gentoo-r3 i686 [ELF]
...
(--) PCI:*(1:0:0) ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] rev 0, Mem @ 0xa8000000/27, 0xe0010000/16, I/O @ 0xc100/8
...
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
dlopen: /usr/X11R6/lib/modules/extensions/libglx.so: undefined symbol: __glDDXExtensionInfo
(EE) Failed to load /usr/X11R6/lib/modules/extensions/libglx.so
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (loader failed, 7)
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.so
dlopen: /usr/X11R6/lib/modules/extensions/libdri.so: undefined symbol: __glXActiveScreens
(EE) Failed to load /usr/X11R6/lib/modules/extensions/libdri.so
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (loader failed, 7
...
Symbol fbWinPrivateIndex from module /usr/X11R6/lib/modules/drivers/fglrx_drv.o is unresolved!
Symbol XAACheckTileReducibility from module /usr/X11R6/lib/modules/drivers/fglrx_drv.o is unresolved!
Symbol XAAPixmapIndex from module /usr/X11R6/lib/modules/drivers/fglrx_drv.o is unresolved!
... many symbols were unresolved
Fatal server error:
Some required symbols were unresolved
|
kernel 2.6.8-r3 without DRI, with agpgart included, dmesg shows no problems.
other info:
Code: |
lspci
0000:00:01.0 PCI bridge: Intel Corp. 82855PM Processor to AGP Controller (rev 21)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
lsmod
... ALSA sound Intel AC97 drivers
fglrx 216804 0
intel_agp 19424 1
agpgart 28072 1 intel_agp
dmesg | grep glr
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 430 MBytes.
[fglrx] module loaded - fglrx 3.12.0 [Jul 16 2004] on minor 0
dmesg | grep agp
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 855PM Chipset.
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 64M @ 0xb0000000
|
please help |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zalun Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/311844739407660cd91512.gif)
Joined: 02 Feb 2004 Posts: 89
|
Posted: Tue Sep 28, 2004 9:03 pm Post subject: solved |
|
|
do NOT emerge your X with dlloader flag :oops: |
|
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: Tue Sep 28, 2004 9:37 pm Post subject: |
|
|
jimmsta wrote: | is there a point to using the 2.6 patches that the ebuild incorporates into the driver? I'm wondering about this, seeing as I get graphics corruption when I play UT2004. I've submitted bug reports to ATI, but of course, got no answer. I've tried different kernels, including many 2.4.x based kernels... nothing works...
I'm just wondering what the patches do that are in the ebuild, and whether it would be stupid to try removing them from the ebuild, to gain stability? |
The patches do not make any kind of major changes to the driver. If you have a look at them (/usr/portage/media-video/ati-drivers/files), you'll see that they mainly just update calls to various kernel functions which have changed over time, and that ATI haven't fixed themselves. Even the regparm patch, which looks relatively big, just applies the same changes in a bunch of different places. I don't think any of them can impact stability, and removing the patches will almost certainly cause your compile to fail.
About your graphics corruption, you're not using FSAA by any chance? It doesn't work well with UT2K3/2K4. _________________ 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) |
kamina Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Jun 2004 Posts: 157 Location: Finland
|
Posted: Wed Sep 29, 2004 5:36 am Post subject: |
|
|
I seem to have some kind of videocard related problem on my notebook... When I compile the kernel (2.6.7-r11) it ends with the following error:
Quote: |
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.7-gentoo-r11; fi
WARNING: /lib/modules/2.6.7-gentoo-r11/video/fglrx.ko needs unknown symbol smp_call_function
WARNING: /lib/modules/2.6.7-gentoo-r11/video/fglrx.ko needs unknown symbol __preempt_spin_lock
|
Anyone have a clue what could be causing this? My notebook has a radeon mobility 9700.
Under Device Drivers -> Graphics Support I have "ATI Radeon display support" selected, and under Device Drivers -> Charecter devices I have /dev/agpgart I have VIA chipset support selected (the motherboard has a via chipset). Direct Rendering Manager is not selected.
edit: Tried to re-emerge ati-drivers and set ati opengl, but it did'nt make a differance. |
|
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 Sep 29, 2004 10:17 am Post subject: |
|
|
The driver doesn't support the Mobility 9700 yet, at least according to the release notes. About the warnings, do you have SMP enabled in the kernel? I doubt you need that on a notebook so try disabling it and see if the warnings go away. _________________ 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) |
kamina Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Jun 2004 Posts: 157 Location: Finland
|
Posted: Wed Sep 29, 2004 3:18 pm Post subject: |
|
|
Smp was allready disabled...
I now did a clean install, and did'nt install the ati-drivers yet. I have previously needed them to be able to set the screen resolution (under X) to 1280*800. Would I be able to use this resolution using DRM? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
irosen n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/27443720541787a24f0f03.jpg)
Joined: 22 Oct 2004 Posts: 1
|
Posted: Fri Oct 22, 2004 3:19 am Post subject: Direct Rendering + fglrx kernel module |
|
|
It is worth noting that the following error could occur upon updating your ati-drivers package: The kernel module loaded may still be your older version's fglrx module, therefore causing the following bugs:
* Direct Rendering: No on glxinfo,
* Renderer: Mesa Indirect (software rather than your hardware)
* DRIScreenInit failure on X startup (DRI not available because kernel module did not load).
Check your XFree86.0.log for messages regarding DRIScreenInit failing or ****** 3D acceleration not available **** type messages.
There should also be a note in your X logs about the incompatible kernel module and DRI.
To fix this, simply replace the kernel module in your /lib/modules/linux-kernelversion/... directory (fglrx.o) with the new driver, which you can hand-compile by unpacking the RPM manually (rpm2targz && tar -xvzf fglrx-*.tar.gz), then cd'ing into build_mod and running make.sh, then cd .., makeinstaller.sh. Put the generated fglrx.o where the one you deleted was.
This is simply an oversight in the ati-drivers 3.14.1 installation procedure, which would ideally locate fglrx.o in the kernel modules directory and replace it, but instead just places its own in the right folder. (I think the directory used by the ATI installer script and the one used by the ebuild differ.)
If you find this helpful, bump.
Ido |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SuperJudge Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1963770694162ff1c6b3fc.gif)
Joined: 08 Jun 2004 Posts: 177 Location: Albany, GA
|
Posted: Thu Oct 28, 2004 3:47 pm Post subject: |
|
|
Sweet
Code: | jediknight X11 # grep -i direct /var/log/Xorg.0.log
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) fglrx(0): Direct rendering enabled
|
Thanks ![Smile :)](images/smiles/icon_smile.gif) _________________ ---Powered by Honda |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
memoi2001 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/279556462455c92c0cee38.jpg)
Joined: 27 Nov 2004 Posts: 81 Location: planet earth.. sometimes..
|
Posted: Fri Dec 03, 2004 12:57 am Post subject: solution for some |
|
|
I've had more or less every problem with my radeon 9200se (i know, crap card..)
the easiest thing i've found, after compiling a 2.6 kernel on the advice of another thread..
is to enable /dev/agpart and your chipsetn disable direct rendering in the kernel
and add 'Option "KernelModuleParm" "agplock=0"' in the XF86config or xorg.conf (tried on both)
got it working even when kernel compiling complained of dodgy pointers for fglrx.ko |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SuperJudge Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1963770694162ff1c6b3fc.gif)
Joined: 08 Jun 2004 Posts: 177 Location: Albany, GA
|
Posted: Sun Dec 19, 2004 3:48 pm Post subject: Re: Direct Rendering + fglrx kernel module |
|
|
irosen wrote: | It is worth noting that the following error could occur upon updating your ati-drivers package: The kernel module loaded may still be your older version's fglrx module, therefore causing the following bugs:
* Direct Rendering: No on glxinfo,
* Renderer: Mesa Indirect (software rather than your hardware)
* DRIScreenInit failure on X startup (DRI not available because kernel module did not load).
Check your XFree86.0.log for messages regarding DRIScreenInit failing or ****** 3D acceleration not available **** type messages.
There should also be a note in your X logs about the incompatible kernel module and DRI.
To fix this, simply replace the kernel module in your /lib/modules/linux-kernelversion/... directory (fglrx.o) with the new driver, which you can hand-compile by unpacking the RPM manually (rpm2targz && tar -xvzf fglrx-*.tar.gz), then cd'ing into build_mod and running make.sh, then cd .., makeinstaller.sh. Put the generated fglrx.o where the one you deleted was.
This is simply an oversight in the ati-drivers 3.14.1 installation procedure, which would ideally locate fglrx.o in the kernel modules directory and replace it, but instead just places its own in the right folder. (I think the directory used by the ATI installer script and the one used by the ebuild differ.)
If you find this helpful, bump.
Ido | Interesting to know, I had thought that the theory would work, I just didn't know how to put it into action. ![Surprised :o](images/smiles/icon_surprised.gif) _________________ ---Powered by Honda |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jayr1024 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Oct 2004 Posts: 13
|
Posted: Fri Jan 07, 2005 8:39 pm Post subject: |
|
|
hello I followed all the instruction in here and I got my fglrx working, but after my reboot my fbsplash is gone....I did the 5 easy steps to get fbsplash again but still no go. Does anyone know how to get my fbsplash working again? thanks!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
theneb n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Jan 2005 Posts: 38 Location: UK
|
Posted: Fri Jan 07, 2005 9:13 pm Post subject: |
|
|
I'm also having troble but it seems from other posts that it's to do with me using the latest mm kernel, (2.6.9-rc4-mm1)
It's because I am using reiser4, but may try emerge gentoo-dev-sources later.
But if I can fix the fglrx module problems I won't bother.
The two errors which seem to be common from forum searching are the following:
fglrx: Unknown symbol pci_find_class
fglrx: Unknown symbol remap_page_range
appear in my dmesg when I attempt to build the module (either from modprobe or make.sh from /usr/modules/fglrx/)
I can solve the first one my simply replacing all references to pci_find _class to pci_get_class.
For the second one I change the page bit to something else as said by some other topics but this was a bit more unclear, anyway started using the module and it just killed my system. When X was started, you could move the mouse but the screen was completly messed up. And it made no progress and doign ctrl alt F1 did nothing.
Btw modprobe gives nothing.
Any ideas? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Loki|muh n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Jan 2003 Posts: 54
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Maximus2000 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/214667171442371ce64dd38.jpg)
Joined: 07 Oct 2004 Posts: 127 Location: USA
|
Posted: Wed May 18, 2005 6:52 pm Post subject: |
|
|
Quote: | fglrx: Unknown symbol pci_find_class
fglrx: Unknown symbol remap_page_range
appear in my dmesg when I attempt to build the module (either from modprobe or make.sh from /usr/modules/fglrx/)
I can solve the first one my simply replacing all references to pci_find _class to pci_get_class. |
Can you tell me how I can solve this. The only error I am getting is
fglrx: Unkown symbol pci_find_class
How do I change it to pci_get_class
Thanks
Edit
Solved: Applied pci_get_class.patch. _________________ Thanks
Maximus |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Balancer Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/402207468430594a7ad626.jpg)
Joined: 04 Jun 2004 Posts: 465
|
Posted: Sat Jun 11, 2005 9:03 am Post subject: Radeon 9200 and new ATI Drivers |
|
|
Now i have very strange bug with my Radeon 9200 and new ATI drivers. I have fully worked DRM (no one error in X-logs and dmesg):
Code: |
(II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xe89b3000
(II) fglrx(0): [drm] mapped SAREA 0xe89b3000 to 0xb7f14000
(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: 8.14.13
(II) fglrx(0): Date: Jun 8 2005
(II) fglrx(0): Desc: ATI FireGL 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.11-gentoo-r9
(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 = 0xc7000000
(II) fglrx(0): [agp] Mode=0x1f000203 bridge: 0x8086/0x7190
(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=0x1f000302
(II) fglrx(0): [agp] AGP protocol is enabled for graphics board. (cmd=0x1f000302)
(II) fglrx(0): [agp] graphics 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 = 0xece01000
(II) fglrx(0): shared FSAAScale=1
(II) fglrx(0): DRI initialization successfull!
|
Code: |
agpgart: Found an AGP 1.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 2x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 2x mode
[fglrx] AGP enabled, AgpCommand = 0x1f000302 (selected caps)
[fglrx] free AGP = 121909248
[fglrx] max AGP = 121909248
[fglrx] free LFB = 49278976
[fglrx] max LFB = 49278976
[fglrx] free Inv = 0
[fglrx] max Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total AGP = 32768
|
and etc.
But if I run glxinfo, a get:
Code: |
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
...
client glx vendor string: ATI
client glx version string: 1.3
...
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
|
It's for any users and root.
Direct rendering really not worked - glxgears get me numpers like:
Code: |
530 frames in 5.0 seconds = 106.000 FPS
524 frames in 6.0 seconds = 87.333 FPS
567 frames in 6.0 seconds = 94.500 FPS
524 frames in 5.0 seconds = 104.800 FPS
393 frames in 5.0 seconds = 78.600 FPS
524 frames in 5.0 seconds = 104.800 FPS
|
What it may be? :-/ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Maheriano l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 18 Jun 2005 Posts: 623 Location: Calgary, Alberta
|
Posted: Sat Apr 08, 2006 2:19 am Post subject: |
|
|
subscribed
I'll check through this later. _________________ Current project - carputer running.........Gentoo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|