LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-24-2003, 09:49 PM   #121
init
Member
 
Registered: Oct 2003
Location: Portland, Maine
Distribution: Gentoo 2004_2 2.6.7r14
Posts: 160

Rep: Reputation: 30

Still at it..

cat /proc/pci

PCI devices found:
Bus 0, device 0, function 0:
Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge (rev 0).
Master Capable. Latency=8.
Prefetchable 32 bit memory at 0xd0000000 [0xd7ffffff].
Bus 0, device 1, function 0:
PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge (rev 0).
Master Capable. No bursts. Min Gnt=12.

Ok see that Bus 0, device 1, function 0:

vi /etc/X11/XF86Config-4

BusID "PCI:1:0:0" <---- ???? is this correct ??????

cat XFree86.0.log

(II) Primary Device is: PCI 01:00:0
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found <----????
(--) Chipset ATI R300 ND (R9700 PRO) found

THAT IS MY ONLY ERROR IN MY LOG..... HELP!!!!!!!!!!

I'm starting to think these drivers were not ready to be released ... !!
 
Old 10-24-2003, 09:55 PM   #122
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
underling, what are you including the nforce support for? from the post including your MB it looks like you have a KT400 controlling your AGP. Is the nforce for sound chipset? Anyway, you will want to build the kernel so that it DOES have support for AGP (agpgart) but you don't want to load the agpgart (compile it as a module). not sure that helps any...
 
Old 10-24-2003, 11:26 PM   #123
init
Member
 
Registered: Oct 2003
Location: Portland, Maine
Distribution: Gentoo 2004_2 2.6.7r14
Posts: 160

Rep: Reputation: 30
Will some one please help me.....??? pretty please with sugar on top ?

my fps are junk, a wopping 6 to 7 fps playing ut2kdemo than a crash after a minute or so

All my issues are above if you need any other info i will gladly post..
 
Old 10-25-2003, 02:23 PM   #124
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
What's with DRI Initialize Failed.

MB:A7N8X Deluxe.
MEM:1024MB
Monitor: ViewSonic G90f
Video Card: ATI Radeon 9600 Pro
Operating system: WINXP/Redhatlinux 9.0 with 2.4.22 kernel upgraded.
Antec Case

I been working on my graphics issue almost for 3 month now and in my concern ATI wrote craps for it's product even in window!
I origional was using fglrx-glc22-4.3.0-2.9.13.i586.rpm from www.sourceforge.com
Now i had download the lastest Driver from ati.com >3.2.8-XFree4.3.0
After i installed the driver through terminal everything is fine until i got done with everything.
then restart.
Then [U] (WW) from XFree86 using System Log through graphic interface with 2D!

Then only thing it said was error or warn was that i can't initialize DRI !
Is there anyway i could straight it out??

Also, before i upgrade to 3.2.8 it works fine with my old 2.9.13 from sourceforge! and i do have 3D, but just can't play tux. Because everything i run it, either crush or i can't see the part with tux's body! but just the sense at the top!
What's wrong?
Any ideas?

Help!!!!

Last edited by tricky_linux; 10-25-2003 at 02:26 PM.
 
Old 10-26-2003, 07:58 PM   #125
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
Init, try changing the PCI 1:0:0 to 1:0:1 its worth a shot. Also has the ATI driver's fglrx module properly loaded? And are you / are you not using the kernels agpgart (you shouldn't be).

tricky_linux my suggestion would be to use the fglrx from schneider digital.
 
Old 10-26-2003, 08:23 PM   #126
init
Member
 
Registered: Oct 2003
Location: Portland, Maine
Distribution: Gentoo 2004_2 2.6.7r14
Posts: 160

Rep: Reputation: 30
Thanks jpbarto I got it today I typed up a read me if it will help any one.

http://www.linuxquestions.org/questi...eadid=108847..
 
Old 10-26-2003, 09:05 PM   #127
ajn131
LQ Newbie
 
Registered: Aug 2003
Location: Pittsburgh, PA/State College, PA
Distribution: Redhat 9
Posts: 22

Rep: Reputation: 15
Suse 9 & 9700 Pro

I recently moved up to Suse 9 prior to that I had 3d acceleration going under redhat 9 thanks to jpbarto & others in our rather large and growing thread. After I modify the correct lines in agpgart_be.c (/lib/modules) when trying to run ./make.sh I get the error:


inux:/lib/modules/fglrx/build_mod # ./make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
XFree86 drm includes at /lib/modules/2.4.21-99-athlon/build/include/../drivers/char/drm do not fit this driver.
This driver is designed to only work with X4.1.0 or higher.
You can match this by getting Linux kernel 2.4.8 or higher.


My kerenl is version 2.4.21-99 & My Xfree is 4.3.xxx somethingerather. I'm wondering if anyone's had this experience or any ideas?

ATI Drivers are 4.3.0-3.2.8.

Thanks,
Art
 
Old 10-26-2003, 09:53 PM   #128
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
Art, I would take a look at the shell script ... if you're sure everything's cool, which I'm sure it is, then go ahead and remove the check from the make.sh script. also by looking at the scripts internals you might be able to see how its checking this version info, what its expecting, and why its not getting the answer its expecting.
 
Old 10-26-2003, 09:55 PM   #129
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
Init, the howto looks really great. Art, myself, and others have been looking for a way / place to consolidate all the problems / solutions we all have encountered with this damned card and its driver. It looks like this would make a great start, does anyone have a web place we could use to consolidate and develop a howto + faq that could then be posted to linuxanswers? I have some webspace but there's not submission system available on it...
 
Old 10-27-2003, 10:13 AM   #130
ajn131
LQ Newbie
 
Registered: Aug 2003
Location: Pittsburgh, PA/State College, PA
Distribution: Redhat 9
Posts: 22

Rep: Reputation: 15
Suse 9 & radeon 9700

I took out the check from Make.sh and alls good, just comment out the lines containing the text for the error, and all's good. Thanks jpbarto.


~
Art
 
Old 10-27-2003, 06:25 PM   #131
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
no problem
 
Old 10-29-2003, 10:09 AM   #132
Heik-Oh
LQ Newbie
 
Registered: Oct 2003
Posts: 5

Rep: Reputation: 0
To underling:
A7N8X is an Asus Board with nforce2 chipset. There is no piece of VIA on it, maybe some firewirecontroller, but i dont think so.

Dont edit your fglrx sources. Just go, grab the newest ati-fglrx drivers, compile them with your kernel sources in /usr/src/linux, that represent your running kernel. Have a kernel WITHOUT agpgart support, use the builtin ones (check your XF86Config for that!. You also dont need DRI support in kernel. Atis pitchy patchy drivers will do all for you.

HTH,
Heik-Oh

This is wrong! i experienced, that it works with kernel-agpgart, NOT with builtin agpgart, sorry for that info. But this is btw forum for KT400/KT600, not nforce2

Last edited by Heik-Oh; 11-13-2003 at 10:35 AM.
 
Old 10-29-2003, 07:27 PM   #133
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
Why ati's driver 3.2.8 says that it can't initialize my dri?

Here is the output from XFree86


(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENOMEM"
(EE) fglrx(0): cannot init AGP


(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): ********************************************* *

Last edited by tricky_linux; 10-29-2003 at 07:29 PM.
 
Old 01-10-2004, 06:52 AM   #134
mattblack_uk
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat 9
Posts: 19

Rep: Reputation: 0
I am a complete newbie with linux.....
I have tried getting 3d acceleration working on my card using a guide that I found on another forum. Basically you install the drivers, edit the agpgart_be.c file then run ./make.sh.... this is where it fails. I have an Asus A7V8x, and a radeon 9500pro, and running fedora core 1. I have tried installing the card using both ati drivers and schneider digital drivers, and I'm having no luck with either. When I type in lspci to get my chipset details, it doesn't recognise the command, so I'm guessing its a via 8377. Can you take a look at the screen dump and advise me where I may be going wrong... I would appreciate it greatly.

[mark@localhost mark]$ su
Password:
[root@localhost mark]# cd X4.1.0-3.7.0
[root@localhost X4.1.0-3.7.0]# rpm -Uvh --force fglrx-glc22-4.1.0-3.7.0.i386.rpmPreparing... ########################################### [100%]
warning: user mtippett does not exist - using root
warning: group mtippett does not exist - using root
warning: user mtippett does not exist - using root
warning: group mtippett does not exist - using root

( Note! The above is repeated many times... just saving space!)

1:fglrx-glc22 ########################################### [100%]
*** Trying to install a precompiled kernel module.
*** WARNING ***
Tailored kernel module for fglrx not present in your system.
You must go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh' to build a fully customed kernel module.
Afterwards go to /lib/modules/fglrx and run './make_install.sh'
in order to install the module into your kernel's module repository.
(see readme.txt for more details.)

As of now you can still run your XServer in 2D, but hardware acclerated
OpenGL will not work and 2D graphics will lack performance.

failed.
*** Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
patching 'drm_os_linux.h'...
probing for VMA API version...
doing script based build for kernel 2.4.x and similar
compiling './agpgart_be.c'...
compiling './agp3.c'...
compiling './i7505-agp.c'...
compiling './nvidia-agp.c'...
compiling './firegl_public.c'...
linking of fglrx kernel module...
duplicating results into driver repository...
done.
==============================
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
Warning: loading /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/char/drm/fglrx.o will taint the kernel: non-GPL license - Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module fglrx loaded, with warnings
done.
Installed: qt3 (gcc 3.2) based control panel application
===
ATI display drivers successfully installed
please run 'fglrxconfig' now
===
[root@localhost X4.1.0-3.7.0]# lspci
bash: lspci: command not found

[root@localhost /]# cd /lib/modules/fglrx/build_mod
[root@localhost build_mod]# lspci
bash: lspci: command not found
[root@localhost build_mod]# gedit agpgart_be.c

(Note! This is where I edited the via_generic_setup line for chipset 8377)

(gedit:26301): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

[root@localhost build_mod]# ./make.sh
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
patching 'drm_os_linux.h'...
probing for VMA API version...
doing script based build for kernel 2.4.x and similar
compiling './agpgart_be.c'...
agpgart_be.c:6073: error: `via_kt400_chipset' undeclared here (not in a function)
agpgart_be.c:6073: error: initializer element is not constant
agpgart_be.c:6073: error: (near initialization for `agp_bridge_info[59].chipset_setup')
agpgart_be.c:6073: error: initializer element is not constant
agpgart_be.c:6073: error: (near initialization for `agp_bridge_info[59]')
agpgart_be.c:6079: error: initializer element is not constant
agpgart_be.c:6079: error: (near initialization for `agp_bridge_info[60]')
agpgart_be.c:6085: error: initializer element is not constant
agpgart_be.c:6085: error: (near initialization for `agp_bridge_info[61]')
agpgart_be.c:6091: error: initializer element is not constant
agpgart_be.c:6091: error: (near initialization for `agp_bridge_info[62]')
agpgart_be.c:6124: error: initializer element is not constant
agpgart_be.c:6124: error: (near initialization for `agp_bridge_info[63]')
agpgart_be.c:6130: error: initializer element is not constant
agpgart_be.c:6130: error: (near initialization for `agp_bridge_info[64]')
agpgart_be.c:6136: error: initializer element is not constant
agpgart_be.c:6136: error: (near initialization for `agp_bridge_info[65]')
agpgart_be.c:6150: error: initializer element is not constant
agpgart_be.c:6150: error: (near initialization for `agp_bridge_info[66]')
compiling failed - object file was not generated
[root@localhost build_mod]#
 
Old 01-11-2004, 02:45 PM   #135
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
it's pretty simple.
1)uninstall the drive
2) reinstall the drive, don't change anything within the drive at all. Also, it don't work at all for me.
3) run fglrxconfig
4) use external /dev/agpgart
5) add "modprobe agpgart " to /etc/rc.local
6) add "modprobe fglrx" to /etc/rc.local
7) add "mem=nopentium" to /etc/grub.conf if you are using Grub as your boot loader.
8) run glxgears to see what fps are u getting.
9) run glxinfo to checking if your 3d rending was enabled.

the reason why you can't run lspci was because you didn't login as root's environment.
try "su -",then
pass:
then run lspci.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DMA don't work chipset kt400 pike Linux - General 14 06-23-2005 02:05 AM
Radeon graphics cards with KT400 chipset nemesis636 Linux - Hardware 14 11-15-2004 06:06 AM
Sound problem with ASUS A7V8X-X chipset KT400 mentallysilent Mandriva 30 06-24-2004 08:07 AM
Radeon 9800 Pro w/ KT400 chipset Direct Rendering not working nemesis636 Linux - Hardware 7 12-22-2003 09:16 AM
agpgart problems with a radeon 9700 pro, kt400, and redhat 9 makai_wi Linux - Hardware 11 08-22-2003 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration