LinuxQuestions.org
Visit Jeremy's Blog.
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 09-24-2003, 08:17 AM   #61
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45

Guys,
last night I installed the latest (3.2) from Schneider. The kernel module compiled and loads just fine. X starts just fine. When I open a terminal to run glxinfo or fgl_gears I get an error message ... something like

Error: DDX error, recieved 502 was expecting 524
libGL: InitDriver failed

has anyone seen this before?
 
Old 09-24-2003, 10:17 AM   #62
KoS
Member
 
Registered: Jul 2003
Location: Chicago, IL
Distribution: RH 9
Posts: 51

Rep: Reputation: 15
I have the kt400 chipset but here is the output for cat /proc/pci

[root@localhost root]# 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.
Bus 0, device 11, function 0:
Network controller: Harris Semiconductor Prism 2.5 Wavelan chipset (rev 1).
IRQ 10.
Master Capable. Latency=32.
Prefetchable 32 bit memory at 0xeb002000 [0xeb002fff].
Bus 0, device 16, function 0:
USB Controller: VIA Technologies, Inc. USB (rev 128).
IRQ 11.
Master Capable. Latency=32.
I/O at 0xa000 [0xa01f].
Bus 0, device 16, function 1:
USB Controller: VIA Technologies, Inc. USB (#2) (rev 128).
IRQ 5.
Master Capable. Latency=32.
I/O at 0xa400 [0xa41f].
Bus 0, device 16, function 2:
USB Controller: VIA Technologies, Inc. USB (#3) (rev 128).
IRQ 12.
Master Capable. Latency=32.
I/O at 0xa800 [0xa81f].
Bus 0, device 16, function 3:
USB Controller: VIA Technologies, Inc. USB 2.0 (rev 130).
IRQ 10.
Master Capable. Latency=32.
Non-prefetchable 32 bit memory at 0xeb000000 [0xeb0000ff].
Bus 0, device 17, function 0:
ISA bridge: VIA Technologies, Inc. VT8233A ISA Bridge (rev 0).
Bus 0, device 17, function 1:
IDE interface: VIA Technologies, Inc. VT82C586B PIPC Bus Master IDE (rev 6). Master Capable. Latency=32.
I/O at 0xac00 [0xac0f].
Bus 0, device 17, function 5:
Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 80).
IRQ 12.
I/O at 0xb000 [0xb0ff].
Bus 0, device 18, function 0:
Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 116).
IRQ 11.
Master Capable. Latency=32. Min Gnt=3.Max Lat=8.
I/O at 0xb400 [0xb4ff].
Non-prefetchable 32 bit memory at 0xeb001000 [0xeb0010ff].
Bus 1, device 0, function 0:
VGA compatible controller: PCI device 1002:4e48 (ATI Technologies Inc) (rev
0).
IRQ 11.
Master Capable. Latency=255. Min Gnt=8.
Prefetchable 32 bit memory at 0xd8000000 [0xdfffffff].
I/O at 0x9000 [0x90ff].
Non-prefetchable 32 bit memory at 0xe9000000 [0xe900ffff].
Bus 1, device 0, function 1:
Display controller: PCI device 1002:4e68 (ATI Technologies Inc) (rev 0).
Master Capable. Latency=32. Min Gnt=8.
Prefetchable 32 bit memory at 0xe0000000 [0xe7ffffff].
Non-prefetchable 32 bit memory at 0xe9010000 [0xe901ffff].

Where should I try to run fglrxgears at? When I try it I get command not found. Thanks for help so far. I have to be close.
 
Old 09-24-2003, 10:34 AM   #63
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
KoS, fglrxgears should be located in /usr/X11R6/bin. (although I think it may be called fgl_gears). to find out what all is in there just do an 'ls /usr/X11R6/bin/fgl*'. Another thing to try would be 'glxinfo | grep -i direct'. This will tell you if DRI is turned on or not.

just a quick question ... after the install did you execute /usr/X11R6/bin/fglrxconfig to create a new X config file?
 
Old 09-24-2003, 01:38 PM   #64
KoS
Member
 
Registered: Jul 2003
Location: Chicago, IL
Distribution: RH 9
Posts: 51

Rep: Reputation: 15
jpbarto, I did find fgl_glxgears, thanks. I get between 150 - 170 fps. When I run the glxinfo it says "Direct Rendering: Yes". I also created a new X config file after I ran fglrxconfig. Any other ideas where to look or what to do?
 
Old 09-24-2003, 02:36 PM   #65
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
so direct rendering says yes? you should be good to go then. however the numbers from fgl_glxgears don't look good. what about just plain ol' glxgears? (also in /usr/X11R6/bin). And you're getting these slow runtimes use the X config that was produced by running fglrxconfig?

we might have to look at the log file /var/log/XFree86.0.log
 
Old 09-24-2003, 03:38 PM   #66
KoS
Member
 
Registered: Jul 2003
Location: Chicago, IL
Distribution: RH 9
Posts: 51

Rep: Reputation: 15
With glxgears I get about 4000 fps. I ran the fglrxconfig and told it to save. Am I supposed to do something else to use the new file? If I am supposed to I haven't. Guess that means I'm a total noob. What do you want me to look for in the log file? Thanks again for the help.
 
Old 09-24-2003, 03:40 PM   #67
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
KoS ... you're golden. glxgears is output at 4000? you're running full throttle. Congratulations. Your AGP card is up and running.
 
Old 09-24-2003, 03:43 PM   #68
KoS
Member
 
Registered: Jul 2003
Location: Chicago, IL
Distribution: RH 9
Posts: 51

Rep: Reputation: 15
Sweet thanks for the help then. What is the fgl_glxgears test for? Also when I open the display window it has a box for hardware 3D but it is greyed out and I can't check it. Does that matter? Also does this mean I can finaly run WineX?
 
Old 09-24-2003, 03:58 PM   #69
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
Yes you can run WineX ... as for the fgl_glxgears (not really too sure) ... however glxinfo and glxgears are reporting the rendering is on and your FPS are just fine so go off and have a field day (Quake III, Half Life, ... ahh the possibilities).
 
Old 09-25-2003, 12:25 PM   #70
shaungc
LQ Newbie
 
Registered: Sep 2003
Location: MN, USA
Distribution: Ubuntu
Posts: 5

Rep: Reputation: 0
By editing the agpgart_be.c file in the fglrx/build_mod directory to have agp_kt400 instead of agp_generic for the KT400 (around line 5846) this resolves the issue. Change the file, manually compile the module and load it. Works like a charm on my KT400 running 8x
 
Old 09-25-2003, 01:09 PM   #71
KoS
Member
 
Registered: Jul 2003
Location: Chicago, IL
Distribution: RH 9
Posts: 51

Rep: Reputation: 15
I've looked for agp_generic around line 5846 and have none. The lowest line I have agp_generic on is 5454. What else is it supposed to be around or with?
 
Old 09-25-2003, 01:25 PM   #72
ajn131
LQ Newbie
 
Registered: Aug 2003
Location: Pittsburgh, PA/State College, PA
Distribution: Redhat 9
Posts: 22

Rep: Reputation: 15
kt400_setup

read up in the thread back a couple of pages, everything you need to know is in there. You want to go into you're agpgart_be.c and look for your chipset ID and change the line from via_genericsetup to via_kt400setup but double check that with the thread.
 
Old 09-25-2003, 02:07 PM   #73
shaungc
LQ Newbie
 
Registered: Sep 2003
Location: MN, USA
Distribution: Ubuntu
Posts: 5

Rep: Reputation: 0
Sorry KoS, wrong string. Look for this one: via_generic_setup and change it to via_kt400_setup

I found it at line 5847 but have seen it referred to as 5846. It should be under the ID of your chipset, not at home right now or I'd give you the header of that value too. Just look at line 5847 though for via_generic_setup and change it to say kt400. Not quite sure why ATI decided to have the KT400 chipset run generic instead of the built in kt400. Guess we'll never know. Seems like they could just rebuild the RPM with the right build environment parameters for the chipset and ship it correctly to avoid all these people with problems. Not sure why they haven't yet.
 
Old 09-25-2003, 02:32 PM   #74
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
ATI passes most setups to via_generic_setup so that the chipset can be properly detected. Many KT400 chipsets can also run in 4x AGP mode and as such would require a different setup routine. So via_generic_setup detects the chipset and then sends control over to the proper setup routine (via_kt400_Setup) ... only trouble is ATI messed it up somehow and can't properly detect 8x chipsets thus ... we're stuck here editing our drivers.
 
Old 09-29-2003, 07:17 PM   #75
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
nForce ??

What should i changed it to if my chipset was

Chipset North Bridge: NVIDIAŽ nForce2 SPP(Ultra400)
South Bridge: NVIDIAŽ nForce2 MCP-T

and the product link was at
http://usa.asus.com/prog/spec.asp?m=...eluxe&langs=09
 
  


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 05:11 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