
G-LiTe` wrote:Nah no fix. We'll have to wait either for SiS to release some official drivers or some kernel hacker to... well.. start hacking.yardbird wrote:Just look at G-Lite posts. I don't know if he was able to solve the problem, though...
I've been keeping an eye on it for months. It's going slow, let me tell you.
The chip involved is the SiS 5591/5592 btw, it's mentioned in the kernel config. There was a message somewhere in 2.6's changelogs that SiS 648 is supported. The question is, was thet the chip or the chipset? Because my chipset is SiS 648.
But as long as I have to use agp_try_unsupported=1 it'll probably stink.
Code: Select all
cat /proc/pci | grep AGP
Host bridge: Silicon Integrated Systems [SiS] SiS645DX Host & Memory & AGP Controller (rev 0).
PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP (rev 0).
X starts fine, it just crashes in some applications after a few seconds of 3D acceleration. (tuxracer and some screensavers do)antipop wrote:Did you get past the blank screen in starting X?Code: Select all
cat /proc/pci | grep AGP Host bridge: Silicon Integrated Systems [SiS] SiS645DX Host & Memory & AGP Controller (rev 0). PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP (rev 0).
Code: Select all
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSectionCode: Select all
Load "extmod"Nice to hear thatfca wrote:It works! Now I have a beautiful KDE from CVS, with a nice 2.6.0test3 kernel beneath it, and 3D acceleration using the 3.2.4 drivers!
Now, only the framebuffer has to work with the new kernel, and I have everything working, but then bleeding edge.
![]()
![]()
Many thanks!
Code: Select all
fglrxinfo
Error: unable to open display :0Code: Select all
[fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failedYou can probably ignore this one. I get sh*tloads of them every time I run fgl_glxgears, but it doesn't seem to affect anything. It happens with both 3.2.0 and 3.2.4.antipop wrote:I also havein my dmesg output.Code: Select all
[fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failed
Now I re-ran opengl-update ati and restarted x server. Still same error.G-LiTe` wrote:that's not right.. did you restart the x server after opengl-update?
Did you run dmesg to see if both sis-agp and fglrx are loaded properly? You might need to pass agp_try_unsupported=1 as an option to the sis-agp driver.
after all that check the output of "glxinfo" and tell us if direct rendering is turned on.
Code: Select all
Aug 13 16:45:42 [kernel] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
Aug 13 16:45:42 [kernel] [fglrx] Maximum main memory to use for locked dma buffers: 431 MBytes.
Aug 13 16:45:42 [kernel] [fglrx] module loaded - fglrx 3.2.4 [Jul 24 2003] on minor 0
Aug 13 16:45:42 [kernel] mtrr: 0xe0000000,0x4000000 overlaps existing 0xe0000000,0x1000000
Aug 13 16:45:44 [kernel] Console: switching to colour frame buffer device 160x64
- Last output repeated twice -
Aug 13 16:46:59 [kernel] agpgart: Detected SiS 646 chipset
Aug 13 16:47:10 [kernel] Console: switching to colour frame buffer device 160x64
- Last output repeated twice -
Aug 13 16:47:16 [kernel] mtrr: 0xe0000000,0x4000000 overlaps existing 0xe0000000,0x1000000
Aug 13 16:47:16 [kernel] [fglrx] AGP detected, AgpState = 0x1f000201 (hardware caps of chipset)
Aug 13 16:47:16 [kernel] agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
Aug 13 16:47:16 [kernel] [fglrx] free AGP = 54800384
Aug 13 16:51:35 [kernel] [fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failed
- Last output repeated 7697 times -
Aug 13 18:04:13 [kernel] mtrr: no MTRR for e0000000,400000 found
Aug 13 18:04:14 [kernel] Console: switching to colour frame buffer device 160x64
- Last output repeated twice -
Aug 13 18:04:20 [kernel] mtrr: 0xe0000000,0x4000000 overlaps existing 0xe0000000,0x1000000
Aug 13 18:04:20 [kernel] [fglrx] free AGP = 54800384
Code: Select all
$ glxinfo
name of display: :1.0
display: :1 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
GLX_ATI_render_texture
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon 8500 DDR Pentium 4 (SSE2)
OpenGL version string: 1.3 (X4.3.0-3.2.4)bda posted that a couple of pages back - he was getting the same mtrr overlap messages that you are. Try doing what he says and see if that helps. Is that log section just from loading the module? I don't get any of the agp_lock_pages errors until I run fgl_glxgears.bda wrote: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.
The output looks fine, but it shouldn't take any time to run, so it looks like something is still not working.antipop wrote:glxinfo says that Direct Rendering is enabled.
Is it normal that running glxinfo takes ~6 seconds to give any output?
Actually, I discovered that the only way to get rid of the mtrr overlap message was to disable the frame buffer completely (pass vga=normal to the kernel). Even when using vesafb WITHOUT the mtrr option, I would get that error message.bda wrote: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.
Code: Select all
I'm using 2.6-test3 and the newest ati drivers: media-video/ati-drivers-3.2.4
I have compiled in support for agpgart and my intel xhipset and my chipset is M9 (it's worked before, and everything but DRI seems to).
any ideas?Code: Select all
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"
(EE) fglrx(0): cannot init AGPRüpel wrote:i couldn't get my radeon 9800 pro to work on my via kt400 board yesterday. i have installed the current 2.4.20 gentoo kernel and emerged the 3.2.0 drivers. does this kernel support the via kt400?
the driver-installation itself was easy following the guide listed somewhere here. i also set the kernel-config as suggested (mtrr=y, agpgart=m, viaagp=y, dri=n)- but X gave mewhich some people in this thread already experienced. i guess something about my kt400 and agp is wrong. i tried to use ati's internal agpgart. does this mean, that ati's internal agpgart doesn't support via's kt400?Code: Select all
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV" (EE) fglrx(0): cannot init AGP
no agp-related modules were loaded. fglrx is loaded after startx quit.
what's the best way to proceed now? i'll try loading via-agp and use the external agpgart first. if that doesn't work, i should go with a 2.6 kernel, shouldn't i? are they stable enough to work the next months? i want to setup my system now and have it running stable. i don't want to configure a new kernel once a week.
any tips and hints appreciated.
i think, i'll post again this evening, when i'm at home and have tried a few things...
odd thing is: i bought a kt400 board instead of an nforce2 because someone told me, that via-chipset-support is better than nvidias under linux...
There are people that have gotten KT400 AGP working, but as far as I know, only with 2.6 kernels and at least the 3.2.0 drivers (you might need to use 3.2.4, I don't know). There are patches floating around for 2.4 to add KT400 AGP support, but a lot of people seem to have problems getting them to work. If you just emerge one of the beta kernels, use the same AGP settings as before, emerge the 3.2.0 or 3.2.4 drivers again, and set UseInternalAGPGART to "no", then it should (:)) work for you. As for the 2.6 kernels, I've been running mm-sources for weeks and haven't had any major problems. They seem stable enough, and the increased responsiveness is also rather nicei couldn't get my radeon 9800 pro to work on my via kt400 board yesterday. i have installed the current 2.4.20 gentoo kernel and emerged the 3.2.0 drivers. does this kernel support the via kt400?
...
what's the best way to proceed now? i'll try loading via-agp and use the external agpgart first. if that doesn't work, i should go with a 2.6 kernel, shouldn't i? are they stable enough to work the next months? i want to setup my system now and have it running stable. i don't want to configure a new kernel once a week.
I can see you're happy about itHoly shiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiit!!!! It works! no crashes! w000T!
I recommend everyone with a SiS 5591/5592 agp bridge to try the mm sources. 2.6.0test3-mm3 solved my problems, tuxracer works, ut2003 works. EVERYTHING WORKS. WOOHOO!
Code: Select all
make && make modules_install
emerge module-init-tools if you haven't already.Rüpel wrote:maybe slightly off-topic, but anyways.
when i build that kernel (mm2.6.0test3-rc2 from 08/16/2003) it builds the bzImage fine (although there are some strange errors while booting) but gives a sh*tload of undefined symbols when building the modules. i have alsa and agpgart as modules and each and every file related to these "packages" seem to have no access to external symbols. is it me?