LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 12-17-2006, 05:21 PM   #1
pickarooney
Member
 
Registered: Aug 2003
Distribution: (X)ubuntu Maverick
Posts: 152

Rep: Reputation: 15
nvidia card slow, clone mode the problem?


I've been trying to figure out just why my gfx card performance is so wretched, with latest nvidia drivers installed and am wondering if the fact I'm using the clone mode for TV-out is having a negative influence.
Is this type of configuration known to mess with gfx card speed and cause crashes when trying to use the card for any 3D purpose (games, google earth etc.)?

Is there any way in Linux to set up an nVidia card so that only the video overlay surface is output to the TV, leaving the PC free for other use?

Xorg.conf looks like this currently.

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder26)  Thu Nov  9 17:55:59 PST 2006

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"

	# path to defoma fonts
    FontPath        "/usr/share/X11/fonts/misc"
    FontPath        "/usr/share/X11/fonts/cyrillic"
    FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/Type1"
    FontPath        "/usr/share/X11/fonts/100dpi"
    FontPath        "/usr/share/X11/fonts/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"

    #Load	   "glcore"
    Load           "i2c"
    Load           "bitmap"
    #Load	   "dri"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "type1"
    Load           "vbe"
    Load           "dbe"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "gb"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
EndSection

Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       30.0 - 60.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "NVIDIA Corporation NV44 [GeForce 6200 TurboCache]"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "NVIDIA Corporation NV44 [GeForce 6200 TurboCache]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    Option         "TwinView" "True"
    Option         "TwinViewOrientation" "Clone"
    Option         "SecondMonitorHorizSync" "30-50"
    Option         "SecondMonitorVertRefresh" "60"
    Option         "MetaModes" "1024x768, 1024x768; 800x600, 800x600;"
    Option         "TVStandard" "PAL-B"
    Option         "TVOutFormat" "SVIDEO"
    Option         "ConnectedMonitor" "CRT, TV"
    Option         "TVOverScan" "0.4"
    SubSection     "Display"
        Depth       1
        Modes      "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection
 
Old 12-19-2006, 02:33 AM   #2
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Hi try
Code:
 glxgears
40711 frames in 5.0 seconds = 8136.957 FPS
45022 frames in 5.0 seconds = 9002.730 FPS
43854 frames in 5.0 seconds = 8770.102 FPS
see how quick you video card is rendering OpenGL

mines a 7600GT
so a 6200 should be at least 2000FPS if its working correctly.
 
Old 12-19-2006, 05:51 AM   #3
pickarooney
Member
 
Registered: Aug 2003
Distribution: (X)ubuntu Maverick
Posts: 152

Original Poster
Rep: Reputation: 15
I get less than 600 with glxgears
 
Old 12-19-2006, 06:46 AM   #4
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 51
You need to mention the distribution you are using and how you installed the Nvidia drivers. It makes a difference. As a point of reference, people often have much poorer performance if they use a "prebuilt" RPM (for example) than if they compile the drivers from source. The Nvidia site provides the information for this type of installation and it should go smoothly if you have the necessary packages to install regular programs from source.
 
Old 12-19-2006, 04:43 PM   #5
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by pickarooney
I get less than 600 with glxgears
cedega states you need at least 1000 to run opengl well

do you still have a low score with TV out disable?

either best download latest drivers from nvidia website
 
Old 12-19-2006, 05:27 PM   #6
pickarooney
Member
 
Registered: Aug 2003
Distribution: (X)ubuntu Maverick
Posts: 152

Original Poster
Rep: Reputation: 15
I'm using Ubuntu, and have tried installing drivers in several different ways, but invariably from pre-built DEB files.
Switching off the TV-out mode doesn't seem to make a difference.
 
Old 12-20-2006, 05:29 AM   #7
pickarooney
Member
 
Registered: Aug 2003
Distribution: (X)ubuntu Maverick
Posts: 152

Original Poster
Rep: Reputation: 15
If I backup and delete my xorg.conf, what command do I need to use to create a new one? xorg-xserve something?
 
Old 12-20-2006, 05:02 PM   #8
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
running

nvidia-settings

or reinstalling nvidia drivers will creat a new one

or if you just start x as root
startx

it will automatically create a safe vesa conf file
 
Old 12-20-2006, 06:04 PM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
A word of caution on glxgears: the FPS "score" also depends on how big the window is that glxgears is running in. If you shrink it down to a tiny 1" or 2" square, you'll see much higher FPS scores than if you run it in full screen mode
 
Old 12-20-2006, 07:01 PM   #10
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by J.W.
A word of caution on glxgears: the FPS "score" also depends on how big the window is that glxgears is running in. If you shrink it down to a tiny 1" or 2" square, you'll see much higher FPS scores than if you run it in full screen mode
however it always defaults to the same initial size
 
Old 12-21-2006, 06:28 PM   #11
pickarooney
Member
 
Registered: Aug 2003
Distribution: (X)ubuntu Maverick
Posts: 152

Original Poster
Rep: Reputation: 15
I'm running it in a tiny window, about 50x50 pixels, the default size.
Should I have Load "v4l" in my xorg.conf or is that not necessary?
 
  


Reply

Tags
nvidia, tvout


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
Help on clone mode for external monitor (FC5/ATI card/Radeon drv) enriko Fedora 2 11-03-2006 09:55 AM
Clone Mode for TV out. Immolo Linux - Hardware 2 03-29-2005 11:24 AM
OpenGL drops me to clone mode! rorsten Linux - General 0 03-17-2005 05:12 PM
nVidia 5200 Video card runs slow Dinabandhu Linux - General 6 08-19-2004 05:02 PM
clone option with nvidia card shanenin Linux - Software 0 06-01-2004 04:10 PM


All times are GMT -5. The time now is 08:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration