LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   nvidia card slow, clone mode the problem? (https://www.linuxquestions.org/questions/linux-hardware-18/nvidia-card-slow-clone-mode-the-problem-511420/)

pickarooney 12-17-2006 05:21 PM

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


carl0ski 12-19-2006 02:33 AM

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.

pickarooney 12-19-2006 05:51 AM

I get less than 600 with glxgears

Cogar 12-19-2006 06:46 AM

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.

carl0ski 12-19-2006 04:43 PM

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

pickarooney 12-19-2006 05:27 PM

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.

pickarooney 12-20-2006 05:29 AM

If I backup and delete my xorg.conf, what command do I need to use to create a new one? xorg-xserve something?

carl0ski 12-20-2006 05:02 PM

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

J.W. 12-20-2006 06:04 PM

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

carl0ski 12-20-2006 07:01 PM

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

pickarooney 12-21-2006 06:28 PM

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?


All times are GMT -5. The time now is 12:28 AM.