LinuxQuestions.org
Help answer threads with 0 replies.
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


Closed Thread
  Search this Thread
Old 05-28-2007, 11:25 PM   #511
gtludwig
Member
 
Registered: Oct 2005
Location: Ireland
Distribution: Slackware64-current
Posts: 233

Rep: Reputation: 18

Don't think I'll find another agp nVidia card to test here anytime soon. So I'll stick to the one I have for it's working - maybe not how I expected it to work, but I can see things, at least!
Again thanks for the attention!

As a token of my gratitude, I say to cwwilson721 that the procedures in post #1 apply for the 64bit world as well! Excelent job!
 
Old 05-29-2007, 12:34 AM   #512
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
Apparently I still got issues with the fglrx. Now it complains about the X version mismatch. It can't load the module as the X version is 1.3.0.0 instead of the 7.1.0.0.
I know that this is fault in the ATI driver itself as they can't do a proper job with them but is there some hack to get around it? I found some script thingy in radeon forums I think but I have no idea what to do with it.
 
Old 05-29-2007, 01:41 AM   #513
GregLee
Member
 
Registered: Feb 2004
Location: Waimanalo, HI
Distribution: Slackware 10, Fedora 6
Posts: 308

Rep: Reputation: 30
Quote:
Originally Posted by GregLee
When the xorg.conf file has "dri" in the list of modules to load, the server complains that it cannot dlopen /usr/lib/xorg/modules/drivers/dri/radeon_dri.so. And no wonder. There's no drivers/dri/ directory at all.
I found them. The dri modules are from Mesa, in slackware-current package x/mesa-6.5.2-i486-1.tgz . So now I get direct rendering.
 
Old 05-29-2007, 08:54 PM   #514
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649

Original Poster
Blog Entries: 1

Rep: Reputation: 67
Quote:
Originally Posted by gustaveiras
...As a token of my gratitude, I say to cwwilson721 that the procedures in post #1 apply for the 64bit world as well! Excelent job!
Thank you, and good to hear this thread is still relevant
 
Old 05-30-2007, 12:51 AM   #515
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
The hack floating around the net worked for me once I found the correct use for it
 
Old 05-30-2007, 02:08 PM   #516
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Wink Could you check my settings for me?

Quote:
Originally Posted by gustaveiras
Ok, I've (re)compiled the kernel-2.6.20 and started X (X11R6.9.x) and got these FPS:
Code:
gtl@omicron:~$ glxgears
10624 frames in 5.0 seconds = 2124.761 FPS
11192 frames in 5.0 seconds = 2238.204 FPS
11194 frames in 5.0 seconds = 2238.731 FPS
11174 frames in 5.0 seconds = 2234.653 FPS
11187 frames in 5.0 seconds = 2237.221 FPS
10646 frames in 5.0 seconds = 2129.070 FPS
gtl@omicron:~$
AGPGART is now built as module:
Code:
root@omicron:~# lsmod
Module                  Size  Used by
nvidia               6829444  22
amd64_agp               9480  1
agpgart                25904  2 nvidia,amd64_agp
root@omicron:~#
and lspci:
Code:
root@omicron:~# lspci
00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
00:0a.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5500] (rev a1)
root@omicron:~#
I'm really running out of ideas here! How can I help you guys help me?

Thanks!

Something struck me... poking around I found this in dmesg:
Code:
NVRM: loading NVIDIA UNIX x86 Kernel Module  1.0-9755  Mon Feb 26 23:21:15 PST 2007
NVRM: loading NVIDIA UNIX x86 Kernel Module  1.0-9755  Mon Feb 26 23:21:15 PST 2007
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
NVRM: loading NVIDIA UNIX x86 Kernel Module  1.0-9755  Mon Feb 26 23:21:15 PST 2007
NVRM: loading NVIDIA UNIX x86 Kernel Module  1.0-9755  Mon Feb 26 23:21:15 PST 2007
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
Thanks to the fine folks who post & share on this site (utimately this gets back to Jeremy), I just found a patch that was needed for my ATI 9600 on my newly compiled 2.6.21.3 kernel. However, here are the results that I am getting:
Code:
perry@slackware:~$ glxgears
705 frames in 5.0 seconds = 141.000 FPS
853 frames in 5.0 seconds = 170.600 FPS
901 frames in 5.0 seconds = 180.200 FPS
806 frames in 5.0 seconds = 161.200 FPS
perry@slackware:~$ su
A lot better than what I was getting (now that the module is able to load, it works and I can get onto what I need to be doing today). But it still begs the question, is there something missing from my setup, your performance rates are almost 15 times greater than mine on your nVidia card and I'm sure these cards are in the same catagory... or are they?

Here's some more stats on my system:
Code:
root@slackware:/home/perry# glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
    GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI RADEON 9600 Series
OpenGL version string: 2.0.6458 (8.36.5)
OpenGL extensions:
...
Code:
root@slackware:/home/perry# fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI RADEON 9600 Series
OpenGL version string: 2.0.6458 (8.36.5)
Code:
root@slackware:/home/perry# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge (rev 01)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800 South]
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 (rev 10)
00:0f.0 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [K8T800 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AR [Radeon 9600]
01:00.1 Display controller: ATI Technologies Inc RV350 AR [Radeon 9600] (Secondary)
Code:
root@slackware:/home/perry# lsmod
Module                  Size  Used by
fglrx                 640764  12
snd_pcm_oss            41280  0
snd_mixer_oss          17408  1 snd_pcm_oss
snd_via82xx            25136  3
snd_ac97_codec         91948  1 snd_via82xx
ac97_bus                6144  1 snd_ac97_codec
snd_pcm                67468  4 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer              21768  1 snd_pcm
snd_page_alloc         11272  2 snd_via82xx,snd_pcm
snd_mpu401_uart        10240  1 snd_via82xx
snd_rawmidi            21440  1 snd_mpu401_uart
snd_seq_device         10124  1 snd_rawmidi
snd                    43748  14 snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
ndiswrapper           162676  0
Thanks for your help!

- perry

ps.
Code:
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.
[fglrx] AGP detected, AgpState   = 0x1f000a1b (hardware caps of chipset)
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[fglrx] AGP enabled,  AgpCommand = 0x1f000312 (selected caps)
[fglrx] total      GART = 134217728
[fglrx] free       GART = 118222848
[fglrx] max single GART = 118222848
[fglrx] total      LFB  = 134217728
[fglrx] free       LFB  = 111144960
[fglrx] max single LFB  = 111144960
[fglrx] total      Inv  = 134217728
[fglrx] free       Inv  = 134217728
[fglrx] max single Inv  = 134217728
[fglrx] total      TIM  = 0

Last edited by perry; 05-30-2007 at 02:15 PM.
 
Old 05-30-2007, 02:20 PM   #517
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Looks like direct rendering is working:
Code:
direct rendering: Yes
Try 'fglrxgears'. glxgears is broken when using fglrx drivers.

P.S. I would also recommend benchmarking with something like quake 3 or maybe sauerbraten.

For example in sauerbraten with 800x600 res, everything else is default (and maxfps is 500), I get about 220 FPS when I just start it (looking out at the main room of the standard start map).

Last edited by H_TeXMeX_H; 05-30-2007 at 03:29 PM.
 
Old 05-31-2007, 12:58 AM   #518
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Wink

Quote:
Originally Posted by H_TeXMeX_H
Looks like direct rendering is working:
Code:
direct rendering: Yes
Try 'fglrxgears'. glxgears is broken when using fglrx drivers.

P.S. I would also recommend benchmarking with something like quake 3 or maybe sauerbraten.

For example in sauerbraten with 800x600 res, everything else is default (and maxfps is 500), I get about 220 FPS when I just start it (looking out at the main room of the standard start map).
don't have 'fglrxgears' and here is as far as i got with it:
Code:
I am not a crook.
                -- Richard Nixon

perry@slackware:~$ lsmod
Module                  Size  Used by
fglrx                 640764  12
snd_pcm_oss            41280  0
snd_mixer_oss          17408  1 snd_pcm_oss
amd64_agp              13576  1
snd_via82xx            25136  3
snd_ac97_codec         91948  1 snd_via82xx
ac97_bus                6144  1 snd_ac97_codec
snd_pcm                67468  4 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer              21768  1 snd_pcm
snd_page_alloc         11272  2 snd_via82xx,snd_pcm
snd_mpu401_uart        10240  1 snd_via82xx
snd_rawmidi            21440  1 snd_mpu401_uart
snd_seq_device         10124  1 snd_rawmidi
snd                    43748  14 snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
ndiswrapper           162676  0
agpgart                30920  2 fglrx,amd64_agp
perry@slackware:~$ fglrxgears
bash: fglrxgears: command not found
the 10,000 fps will have to wait, i'm just thankful for the 150 fps for now as it frees my 1/2 gig memory and amd 64 from the burden of managing screen updates.

it'll get it figured out in time. but tell me, do 3d video games play better under linux than windows 2k? that would make it worth the effort for me.

i keep winblows on my system for no other purpose other than playing games and/or emergencies (if that can be believed).

ah Linux, what a difference it makes!

thanks much!

- perry

Last edited by perry; 05-31-2007 at 12:59 AM.
 
Old 05-31-2007, 07:35 AM   #519
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,832

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by perry

perry@slackware:~$ fglrxgears
bash: fglrxgears: command not found
It is "fgl_glxgears" Also "fglrxinfo" may be helpful.
 
Old 05-31-2007, 12:17 PM   #520
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by kaz2100
It is "fgl_glxgears" Also "fglrxinfo" may be helpful.
oops , my bad.
 
Old 05-31-2007, 12:49 PM   #521
Road_map
Member
 
Registered: Jan 2007
Distribution: Slackware
Posts: 341

Rep: Reputation: 31
And they are in /usr/X11R6/bin.
 
Old 06-01-2007, 02:25 PM   #522
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Wow, very pretty!

Code:
I give you the man who -- the man who -- uh, I forgets the man who?
                -- Beauregard Bugleboy

perry@slackware:~$ fgl_glxgear
bash: fgl_glxgear: command not found
perry@slackware:~$ su
Password:

They finally got King Midas, I hear.  Gild by association.

root@slackware:/home/perry# "fgl_glxgears"
Using GLX_SGIX_pbuffer
2464 frames in 5.0 seconds = 492.800 FPS
1924 frames in 5.0 seconds = 384.800 FPS
2348 frames in 5.0 seconds = 469.600 FPS
2564 frames in 5.0 seconds = 512.800 FPS
2529 frames in 5.0 seconds = 505.800 FPS
4954 frames in 5.0 seconds = 990.800 FPS
4905 frames in 5.0 seconds = 981.000 FPS
4952 frames in 5.0 seconds = 990.400 FPS
5046 frames in 5.0 seconds = 1009.200 FPS
4931 frames in 5.0 seconds = 986.200 FPS
4974 frames in 5.0 seconds = 994.800 FPS
4814 frames in 5.0 seconds = 962.800 FPS
4979 frames in 5.0 seconds = 995.800 FPS
4782 frames in 5.0 seconds = 956.400 FPS
4250 frames in 5.0 seconds = 850.000 FPS
4746 frames in 5.0 seconds = 949.200 FPS
3384 frames in 5.0 seconds = 676.800 FPS
3520 frames in 5.0 seconds = 704.000 FPS
4836 frames in 5.0 seconds = 967.200 FPS
4828 frames in 5.0 seconds = 965.600 FPS
4983 frames in 5.0 seconds = 996.600 FPS
5088 frames in 5.0 seconds = 1017.600 FPS
5293 frames in 5.0 seconds = 1058.600 FPS
5319 frames in 5.0 seconds = 1063.800 FPS
5320 frames in 5.0 seconds = 1064.000 FPS
5306 frames in 5.0 seconds = 1061.200 FPS
3884 frames in 5.0 seconds = 776.800 FPS
2568 frames in 5.0 seconds = 513.600 FPS
2567 frames in 5.0 seconds = 513.400 FPS
2007 frames in 5.0 seconds = 401.400 FPS
3695 frames in 5.0 seconds = 739.000 FPS
4528 frames in 5.0 seconds = 905.600 FPS
A better looking demo, with better looking results.
Still don't know if these are acceptable parameters.

Thanks anyway

- Perry

PS.
See, when I'm left alone, I'm actually a really easy guy to get along with!!
would somebody please tell that to Satan for me!

Last edited by perry; 06-01-2007 at 02:31 PM.
 
Old 06-01-2007, 03:24 PM   #523
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
As I said, try running a graphics intensive program ... try sauerbraten, cube, or a quake3 based game, and see your FPS.
 
Old 06-02-2007, 09:37 AM   #524
edM
Member
 
Registered: Nov 2003
Location: U.K.
Distribution: Slackware-12
Posts: 137

Rep: Reputation: 15
/usr/X11R6/bin/aticonfig --initial

do you have to rerun this every time your recompile your kernel, if you want direct rendering?


as i have lost direct rendering when i did!
 
Old 06-02-2007, 10:10 AM   #525
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
You recompile the fglrx kernel module every time you change the kernel (and sometimes when you update X). You should only need to run aticonfig the first time you install fglrx, although considering what a POS the fglrx drivers and aticonfig are you may find yourself running it more often. You will also probably have to add the DRI section by yourself, unless aticonfig has changed recently.

Last edited by Eternal_Newbie; 06-02-2007 at 10:12 AM.
 
  


Closed Thread

Tags
3d, acceleration, ati, enabling, fglrx, glx, intel, nvidia, s3, savage, slackware, via, video, x11, xorg



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
enabling hardware acceleration PennyroyalFrog Linux - Newbie 5 02-26-2010 11:21 AM
xorg-x11 7.0 and exa acceleration jtshaw Linux - Software 0 12-19-2005 07:42 AM
3d acceleration and X11 bspus Linux - Newbie 3 09-06-2005 06:05 AM
Problem Enabling 3D Hardware acceleration. mir_sheely Linux - Hardware 0 06-14-2004 12:37 PM
Audigy Sound card and enabling 3D acceleration for GeoForce3 ti 500 heavyarmor4ever Linux - Newbie 1 01-03-2003 09:27 PM

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

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