LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-21-2004, 12:30 PM   #1
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Rep: Reputation: 30
Nividia low fps*AGP probs (continued)


My ls mod has the following lines:

nvidia 4809036 12
sis-agp 5568 1 (I have a SIS chipset)
agpgart 31016 2 sis-agp

so i guess the modules are being loaded.

the system is apparently running in option 2 of NvAGP and producing ~1200fps with glxgears

i've noted that it comes up with a warning now saying
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." when i run glxgears

but i'm sure all XLib files are installed.




# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "Hansol Electronics Mazellan710P"
HorizSync 30-95
VertRefresh 47-160

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce4 (generic)"
Driver "nvidia"
Option "DPMS"
Option "NvAGP" "2"
Option "NoLogo" "1"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection


Any help? I appreciated the help you guys are giving me....

Last edited by Maverick1182; 08-23-2004 at 05:40 AM.
 
Old 08-21-2004, 01:05 PM   #2
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
ok............please do this.

look at your xfree86.0.log. it's in /var/log. look through all the lines & post any sections of it here that you might find an error code. an error code would have this at the beggining of a line.......... (EE).

here's just a part of mine........

Code:
(==) Log file: "/var/log/XFree86.0.log", Time: Sat Aug 21 12:15:57 2004
(==) Using config file: "/etc/X11/XF86Config-4"
(==) ServerLayout "layout1"
(**) |-->Screen "screen1" (0)
(**) |   |-->Monitor "monitor1"
(**) |   |-->Device "device1"
(**) |-->Input Device "Keyboard1"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(**) Option "XkbLayout" "en_US"
(**) XKB: layout: "en_US"
(WW) Option "XkbOptions" requires an string value
that's nothing relevant to your situation. it's just to show you where the (EE) errors would be & what to look for. if you can't find any errors, post back, then we'll go to plan G, which has yet to be devised, but i'm working on it.

oh.............one more question that i don't think has been touched on yet. what kernel version/source are you running?

otis

Last edited by otish1000c; 08-21-2004 at 01:08 PM.
 
Old 08-22-2004, 08:53 AM   #3
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Original Poster
Rep: Reputation: 30
Otis, there are no errors (EE) in the log file

i typed "uname -r" for the kernel version (i hope this is correct) and got


"2.6.3-7mdk"

i got the version of the kernel source by typing "rpm -qi kernel-source" ( i hoper this is also the right way)


[mark@x1-6-00-0d-87-37-8d-dd mark]$ rpm -qi kernel-source
Name : kernel-source Relocations: (not relocatable)
Version : 2.6.3 Vendor: Mandrakesoft
Release : 15mdk Build Date: Sat 03 Jul 2004 05:26:42 BST
Install Date: Wed 07 Jul 2004 04:42:12 BST Build Host: updates.mandrakesoft.com
Group : Development/Kernel Source RPM: kernel-2.6.3.15mdk-1-1mdk.src.rpm
Size : 178491484 License: GPL
Signature : DSA/SHA1, Sun 04 Jul 2004 05:47:04 BST, Key ID 9aa8d0d022458a98
Packager : Linux-Mandrake Security Team <security@linux-mandrake.com>
URL : http://www.kernel.org/
Summary : The source code for the Linux kernel.

From the looks of it the source matches the version (as it should right? as on of the installation requirements was to install the matching rpm source code)

so.... plan G? lol

(i'm learning lots even though we may not be getting close to the solution just yet, please dont give up)
 
Old 08-22-2004, 09:27 AM   #4
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
ok, let's see what this says.........

in terminal, as root, type the following commands, one at a time, hitting enter after each, & post the results for each here...........

cat /proc/driver/nvidia/agp/card

cat /proc/driver/nvidia/agp/host-bridge

cat /proc/driver/nvidia/agp/status

i want to see what kind of AGP support that card has & what's enabled &/or disabled.

otis
 
Old 08-22-2004, 11:48 AM   #5
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Original Poster
Rep: Reputation: 30
[root@x1-6-00-0d-87-37-8d-dd mark]# cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Supported
AGP Rates: 8x 4x
Registers: 0x1f000e1b:0x1f004302

[root@x1-6-00-0d-87-37-8d-dd mark]# cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: Silicon Integrated Systems [SiS] 746 Host
Fast Writes: Supported
SBA: Supported
AGP Rates: 8x 4x
Registers: 0x1f004e1b:0x00000f02

[root@x1-6-00-0d-87-37-8d-dd mark]# cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: AGPGART
AGP Rate: 8x
Fast Writes: Disabled
SBA: Enabled


Looks like everything is there, even 8X AGP support :OS
 
Old 08-23-2004, 04:24 PM   #6
mushman
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Rep: Reputation: 0
Hope you don;t mind me joining this thread....

these are my problems:

1) My computer is locking up. Every morning I come in and I cannot wake it out of sleep. If I remote login in and kill the X process, it goes back to the login screen and everything is good for a while. I'm thinking that maybe the video card is causing the problem?

2) When i run glxgears, I get these results:
3030 frames in 5.0 seconds = 606.000 FPS
3039 frames in 5.0 seconds = 607.800 FPS
3027 frames in 5.0 seconds = 605.400 FPS
3028 frames in 5.0 seconds = 605.600 FPS
3033 frames in 5.0 seconds = 606.600 FPS
3036 frames in 5.0 seconds = 607.200 FPS

Not good. Here is the info you usually ask for:
# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbCompat" ""
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "ViewSonic"
ModelName "ViewSonic E790B"
HorizSync 30-95
VertRefresh 50-180

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce4 (generic)"
Driver "nvidia"
Option "DPMS"
Option "NvAGP" "3"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 15
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 16
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "SendCoreEvents"
Screen "screen1"
EndSection


Some additional info, per your suggestion, I down graded from version 6111 of the drivers to 5336.

Also, in case it matters, this is my LILO options:
append="quiet pci=biosirq devfs=mount hdd=ide-scsi acpi=off apic=no"

I am running Mondrake 9.2.

I set Option "NvAGP" "3" just today, so I'll wait until tomorrow to see if this is what is causing the lock up problem.

Finally, I am using a KVM switch, but I don;t think that would cause this??

TIA
 
Old 08-24-2004, 06:10 AM   #7
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Original Poster
Rep: Reputation: 30
Otis.... anyone......? Where art though? lol
 
Old 08-24-2004, 07:06 AM   #8
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
Maverick1182.........

i haven't abandoned this thread, it's just that i'm sorta out of ideas & have been researching & thinking a bit.

one thing i have come across repeatedly mentioned is if you have ACPI enabled (which has to do with power management) it can interfere with vid card performance due to shared irq's. if you want to test that theory, do the following.........

go to Mandrake Control Center->boot->boot manager (or something similar. i'm at work & can't remember the exact module, but it's not "autologin" or "boot splash"). look for the ACPI options & make sure it's set to "off", not "force" or "on". then, go to MCC->system->services & make sure ACPI is not set to start at boot. finally, open lilo.conf & look at the ACPI entry in the "append =......." line & make sure that reads "acpi=off". here's mine as an example..........

Code:
image=/mnt/mandrake2/boot/vmlinuz-2.6.3-15mdk
	label="mandrake10.0"
	root=/dev/hda12
	initrd=/mnt/mandrake2/boot/initrd-2.6.3-15mdk.img
	append="devfs=mount splash=silent acpi=off resume=/dev/hda11"
	vga=788
	read-only
then in terminal as root run lilo -v. reboot, then try glxgears.

if that doesn't do it, when i get home from work tonight we're gonna try to symlink the nvidia libglx drivers to make sure that's what XFree is using. i still think the problem is you can only run NvAGP option 0 or 1 when you need option 3. why it won't allow that eludes me.

try the ACPI stuff & report back. i'll post again later tonight when i'm home & at my Linux box.

otis
 
Old 08-25-2004, 05:30 AM   #9
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Original Poster
Rep: Reputation: 30
Otis. Good to hear from you.... i've only just checked the thread as i have been busy too. Thanks again for monitoring the thread.

I shall try out your ACPI suggestion when i get home tonight and post back.

With regard to what you said about the booting options.... after isntalling the 6016 (?) drivers, the system boots into KDE in all options 0,1,2,3 but to no increase in glxgear fps. just to make that clear.

Will post soon
 
Old 08-25-2004, 05:40 PM   #10
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Original Poster
Rep: Reputation: 30
K, have checked for any signs of ACPI , none in the boot loader , none in system startup.

i changed lilo.conf to read as ACPI=off

ran lilo -v

then rebooted.

no change in glxgears.....
 
Old 08-25-2004, 05:47 PM   #11
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Original Poster
Rep: Reputation: 30
Something strange is happening here.... i ran glxgears for longer than the usual 20seconds and this came up... strangely, the number rose when i started running more windows and starting superkaramba and kopete!!! what on earth is goin on!!!! my low taskbar still takes ages to minimise as it slides across to the right!!!

getting some pretty erattic scores. but strange that glxgears starts off at 1200fps for the first 20 seconds and more!

5520 frames in 5.0 seconds = 1104.000 FPS
7520 frames in 5.0 seconds = 1504.000 FPS
4763 frames in 5.0 seconds = 952.600 FPS
8800 frames in 5.0 seconds = 1760.000 FPS
7520 frames in 5.0 seconds = 1504.000 FPS
6880 frames in 5.0 seconds = 1376.000 FPS
6233 frames in 5.0 seconds = 1246.600 FPS
6354 frames in 5.0 seconds = 1270.800 FPS
16640 frames in 5.0 seconds = 3328.000 FPS
17867 frames in 5.0 seconds = 3573.400 FPS
8480 frames in 5.0 seconds = 1696.000 FPS
17707 frames in 5.0 seconds = 3541.400 FPS
12493 frames in 5.0 seconds = 2498.600 FPS
12707 frames in 5.0 seconds = 2541.400 FPS
12107 frames in 5.0 seconds = 2421.400 FPS
11760 frames in 5.0 seconds = 2352.000 FPS
7760 frames in 5.0 seconds = 1552.000 FPS
10507 frames in 5.0 seconds = 2101.400 FPS
7040 frames in 5.0 seconds = 1408.000 FPS

I think the 3000+ fps rates are because i minimised the output window..... am i supposed to do that?

Last edited by Maverick1182; 08-25-2004 at 05:51 PM.
 
Old 08-25-2004, 06:09 PM   #12
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
ok.............let's go waaaaay back..........

how are you running glxgears? the proper way is normal screen size.......not minimized to the tray, not full screen. if you do it either way then normal you're either gonna get false results to the plus or minus (minimized or full screen). what does glxgears give you at normal size, which is (roughly) a 4"x4" window, with all other apps closed/not running? please post before we go any further.........

and, don't use the kicker bar hiding speed as a gauge. that speed can be set manually by right clicking on the kicker->panel menu->configure panel->"hiding" tab->animate panel hiding (slow to fast). check if that's set to slow, or even enabled & speed it up if need be.

otis

Last edited by otish1000c; 08-25-2004 at 07:02 PM.
 
Old 08-26-2004, 03:35 AM   #13
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Original Poster
Rep: Reputation: 30
Sorry, i was normally running it in the small window you mentioned and it gave me ~1200 as i have been stating. This number increases when i minimise it and decreases when i maximise it.

Sorry for the confusion. The animation of the kicker is still jerky at fast animation but i shall no long use that as a measure of the graphics as suggested....

where to now?
 
Old 08-26-2004, 07:12 AM   #14
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
ok..........

we're gonna go back to the symlink theory for the libGL stuff. but, before we blindly do something, please post the output of the following, so i can be sure of what is linked to what. open a terminal, su to root, then cd to /usr/lib. then, type the following & post the output here.

Code:
ls -l libGL*
that will list all libGL libraries in the /usr/lib directory, their permissions, & most importantly, what they're linked to. your libGL.so.1 should be linked to libGL.so.6106, which would be the Nvidia driver (or something similar.......at work again, so i'm going from memory). if it isn't linked to the Nvidia driver, then we'll make it so.

otis
 
Old 08-26-2004, 09:42 AM   #15
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Original Poster
Rep: Reputation: 30
Hmmm, otis, everything seems to be inorder....

lrwxrwxrwx 1 root root 21 Aug 19 19:45 libGLcore.so.1 -> libGLcore.so.1.0.6106*
-rwxr-xr-x 1 root root 7132152 Aug 19 19:45 libGLcore.so.1.0.6106*
-rw-r--r-- 1 root root 653 Aug 19 19:45 libGL.la
lrwxrwxrwx 1 root root 10 Aug 19 19:45 libGL.so -> libGL.so.1*
lrwxrwxrwx 1 root root 17 Aug 19 19:45 libGL.so.1 -> libGL.so.1.0.6106*
-rwxr-xr-x 1 root root 423832 Aug 19 19:45 libGL.so.1.0.6106*
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
low fps in glxgears tehnick Debian 12 02-23-2005 03:40 PM
Low FPS! HELP!!! cnastiuk Linux - Hardware 4 02-07-2005 07:16 AM
Low Fps Cedega Cs 1.6 v!ruz Linux - Games 2 12-06-2004 03:30 PM
low fps in glxgears? kleptophobiac Linux - Hardware 17 02-08-2004 09:51 PM
Low FPS in RH9 scm86 Red Hat 7 12-22-2003 03:48 PM

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

All times are GMT -5. The time now is 04:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration