LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-26-2003, 01:20 AM   #76
KillerFry
Member
 
Registered: Aug 2003
Distribution: Any that works how I want it to!
Posts: 39

Rep: Reputation: 15
Cool SUCCES!!!


Hey there!

SUCCESS!!!

It's working now. I do not know exactly what was the problem, but I manually installed the modules before starting X this time, and it worked. I get 3235fps on glxgears.

Now, just a question. I do not want to manually be loading the modules before starting X, so, which is the scrip which I should modify to add the module loading?

Thanks for all your help and support!
 
Old 09-26-2003, 01:47 AM   #77
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Rep: Reputation: 30
you need to put the modprobe commands at the bottom of the /etc/rc.d/rc.modules file.

just open it with vi or whatever and put them at the bottom. they will load on reboot.

by the way, are you using just modprobe agpgart or modprobe agpart with teh extra parameter i wrote before?
 
Old 09-26-2003, 11:33 AM   #78
KillerFry
Member
 
Registered: Aug 2003
Distribution: Any that works how I want it to!
Posts: 39

Rep: Reputation: 15
Just "modprobe agpgart".

Speaking of the modules... supposedly the agp_try_unsupported=1 should be located somewhere in /etc/modules.conf but I notice that Slack has this file empty. Why is that so? Where is the substitute file then? I ask this becaue for the nforce2 drivers I need to modifcy the /etc/modules.conf, but I see Slack doesn't have it. What would be the equivalent? (Maybe this is the wron thread for this but since we're on the topic, I ask )
 
Old 09-26-2003, 12:10 PM   #79
LSD
Member
 
Registered: Jan 2003
Location: Northam, W.A., Australia
Distribution: Gentoo ~x86
Posts: 321

Rep: Reputation: 31
Slackware leaves modules.conf blank by default on purpose. Any optional parameters for modules are located in here, the actual module load commands go in /etc/rc.d/rc.modules. I'm guessing but I'd imagine you'd need something along the lines of:

Code:
options fglrx agp_try_unsupported=1
But if it's working alright and you're getting a reasonable score in glxgears I'd leave it alone and just have the agpgart and fglrx modules load automatically through rc.modules.
 
Old 09-30-2003, 07:37 AM   #80
The_DoubleU
LQ Newbie
 
Registered: Sep 2003
Location: Dublin
Distribution: Slackware 9.1
Posts: 11

Rep: Reputation: 0
OK, my system
Slackware 9.1 (Full install, default kernel 2.4.22)
Hardware:
ATI 9700 Pro Powered by ATI from Connect3d
Mainboard Gigabyte GA-7VAXP

I downloaded the 4.3 drivers from the ATI site and installation was OK.
Configuration was painless.
If do a modprobe fglrx, I don't get a message
lsmod shows fglrx, but there is nothing listed behind it (not even un-used) *Not sure if this is a good or a bad thing.
This is probably because I can't make agpgart to work.

Running X is no problem I can run it on a high resolution now but GL is not working.
fgl_gears gives me can't find fb_config

During the installation of the fglrx drivers I selected external agpgart drivers.
When I try to modprobe those I get a message:

Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: Detected Via Apollo Pro KT400 chipset
agpgart: unable to determine aperture size.

I tried also agp_try_unsupported=1 but I get the same results.

So here my questions:
Does it make a difference to use the fglrx drivers from ATI or schneider?
If so what?

How can I check if the agpgart supports my chip set (VIA KT400)?

If I can make agpgart to work, I can probably run fglrx without any problems

Thanks in advance for any tips.
Below some message taken from dmesg.
If you need any info, just ask


Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: Detected Via Apollo Pro KT400 chipset
agpgart: unable to determine aperture size.

[fglrx] Maximum main memory to use for locked dma buffers: 803 MBytes.
[fglrx] module loaded - fglrx 3.2.5 [Aug 6 2003] on minor 0
[fglrx:firegl_unlock] *ERROR* Process 1309 using kernel context 0
[fglrx:drm_ioremapfree] *ERROR* [mappings] Attempt to free NULL pointer
doubleu@Atloony:~$ Linux agpgart interface v0.99 (c) Jeff Hartmann
-bash: syntax error near unexpected token `('
doubleu@Atloony:~$ agpgart: Maximum main memory to use for agp memory: 816M
-bash: agpgart:: command not found
doubleu@Atloony:~$ agpgart: Detected Via Apollo Pro KT400 chipset
-bash: agpgart:: command not found
doubleu@Atloony:~$ agpgart: unable to determine aperture size.
 
Old 10-13-2003, 11:08 AM   #81
lionheart
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
Hi all!
I am using Slackware 9.1 and i have a Soltek with 865PE chipset and a Club3D Radeon 9700 non Pro! I am using also XFree86 4.3.0. Here is the problem!
If i use the XFree driver for the radeon with the tv wire out it works fine with the Hauppage WinTV ( KwinTV) but
if i plug the wire for tv out the X does not start that no screens can be found.
So i used the fglrx from Ati. It work ok with the TV wire on but if i try to load kwintv the system reboot!
I think it's problem of XFree86! Has anyone solution for it?
Thanks a lot!
 
Old 11-19-2003, 09:30 AM   #82
pav_daddy
LQ Newbie
 
Registered: Nov 2003
Location: Romania
Distribution: Slackware 9.1
Posts: 7

Rep: Reputation: 0
Hi all!

i'm using slack 9.1 on an ASUS A7N8X bord with ATI 9000 PRO and i've been trying for 3 days now to make the drivers work, but.....

so,

-i installed the drivers, no problems there,

-ran the config, selected the external AGPGART,

-saved the XF86Config.

-dmesg shows me:
===========================================
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected NVIDIA nForce2 chipset
agpgart: AGP aperture is 128M @ 0xd0000000
===========================================
-modprobe fglrx

-lsmod shows me the agpgart and the fglrx loaded but unused

-startx and here it gives me these err:
===========================================
(WW)fglrx: No matching Device section for instance (BusID:2:0:0) found
(EE)No devices detected

Fatal server errors
no screens found
===========================================

plsss help....i feel i'm going crazy
any ideas??
 
Old 11-19-2003, 06:43 PM   #83
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Rep: Reputation: 30
Find your BUSID in your /etc/X11/XF86Config or -4 whichever you are using (it tells you on startup ofX) and see what it says for your card.
If it doesn't match, change it.
there are 2 busids for ur card, one for each display output.
 
Old 11-20-2003, 02:38 PM   #84
pav_daddy
LQ Newbie
 
Registered: Nov 2003
Location: Romania
Distribution: Slackware 9.1
Posts: 7

Rep: Reputation: 0
thanks man !!!
you are my savior !!!

that was exactly my problem..
 
Old 11-20-2003, 06:06 PM   #85
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Rep: Reputation: 30
Soon you will a saviour like me.

I only know all this by reading my config file about a million times and figuring out what was going on.
That and having lots of errors, and fixing them myself!!!
 
Old 11-20-2003, 07:33 PM   #86
pav_daddy
LQ Newbie
 
Registered: Nov 2003
Location: Romania
Distribution: Slackware 9.1
Posts: 7

Rep: Reputation: 0
now another problem:

X starts with the XF86Config made witf fglrxconf and the modification BusID "PCI:2:0:0"

i,ve added "modprobe fxlrx" in rc.d/rc.modules and it works

lsmod gshows me that fglrx is loaded

but, when i run

-glxgears gives me 300 FPS

-fglrxinfo shows me

display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4

and of course,

- glxinfo | grep rendering
direct rendering: No

it seems that it doesn't "take" fglrx ,but MESA
what could be the problem ?

Thanks !!

Last edited by pav_daddy; 11-20-2003 at 07:36 PM.
 
Old 11-20-2003, 08:15 PM   #87
pav_daddy
LQ Newbie
 
Registered: Nov 2003
Location: Romania
Distribution: Slackware 9.1
Posts: 7

Rep: Reputation: 0
ok so, i,ve looked into /var/log/XFree86.0.log and look what it says:

(II) fglrx(0): [drm] register handle = 0xe1000000
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENOMEM"
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xe0acb000 at 0x40228000
(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): ********************************************* *

the agpgart is compiled into the kerbel and it loads up just fine on startup:

Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected NVIDIA nForce2 chipset
agpgart: AGP aperture is 128M @ 0xd0000000

what' there to be done ??
Thanks!!

Last edited by pav_daddy; 11-20-2003 at 08:24 PM.
 
Old 11-20-2003, 10:59 PM   #88
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Rep: Reputation: 30
in ur xf86config or -4 file (which one are u using by the way, /var/log/xfree86 log will tell you) what does it say, near the top about glx and dri? are they uncommented, ie no #???
 
Old 11-21-2003, 05:39 AM   #89
pav_daddy
LQ Newbie
 
Registered: Nov 2003
Location: Romania
Distribution: Slackware 9.1
Posts: 7

Rep: Reputation: 0
i've resolved it my self

the problem was that i've put agpgart directly into the hernel and not as a module.now i've compiled my kernel with agpgart as a module and i manualy load agpgart and fglrx before startx (i'll put them in etc/rc.d/rc.modules) and it work just fine.i,ve also modified XF86Config (that is the one) to load the external agpgart.that's it!when i run fglrxinfo it displays me the corect ATI driver and glxgears gives me around 3000FPS.

,BUT (oh god not again)

when i try to load a game,let's say Frozen Throne with wine (i know it works with wine) my display goes blank and after a second my monitor goes into standby and the computer stops responding to ANY comand (ctrl+alt+del,ctrl+alt+f1,etc) and the only thing left to do is reset . wine is well configured (i think) because it runs all other windows programs.

and again....what is there to be done?
(i think i'm cursed )
 
Old 11-21-2003, 09:41 AM   #90
no noob_slacker
LQ Newbie
 
Registered: Nov 2003
Posts: 17

Rep: Reputation: 0
When i run i only get 713 fps, but when i run fglrxinfo i get

splay: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon 9700 PRO Athlon (3DNow!)
OpenGL version string: 1.3 (X4.3.0-3.2.8)


but
root@LiNuX:~# glxgears
3568 frames in 5.0 seconds = 713.600 FPS
3979 frames in 5.0 seconds = 795.800 FPS

Does anyone know why I am gettinf 700fps instaed of around 3500fps...Thanks
 
  


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
Slack 8.1 XFree 4.2.0 IMPS/2 mouse problem sefirot Slackware 7 06-14-2005 01:02 AM
Xorg upgrade from xfree on slack. Nz_Boy_2004 Linux - Software 9 11-20-2004 06:20 AM
Slackware9.1/Radeon9700Pro-A few graphics issues xiojqwnko Linux - Hardware 2 08-02-2004 05:56 PM
Anyone tried the new XFree 4.4 on Slack? Shade Slackware 18 03-26-2004 08:22 AM
Radeon 8500, xfree 4.3.0, slack 9.0 - HELP hugoX79 Slackware 27 08-15-2003 05:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:00 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