You are not logged in.

#1 2010-01-17 19:25:20

ninjaprawn
Member
From: Manchester, UK
Registered: 2008-01-26
Posts: 485

[solved-ish]hardware / 3D acceleration problems with Nvidia drivers

Hi,

I am getting really slow response with 3d applications. I just tried glxgears and am not getting any more than 3 fps!!!!!!!!!!!!!!!

Any ideas would be appreciated.

xorg.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder63)  Fri Aug 14 17:55:55 PDT 2009

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Fri Aug 14 17:54:58 PDT 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "NCI NEC CI A727"
    HorizSync       30.0 - 70.0
    VertRefresh     50.0 - 150.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "TV-0"
    HorizSync       28.0 - 55.0
    VertRefresh     43.0 - 72.0
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6200"
Option "RenderAccel" "True"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6200"
    BusID          "PCI:1:0:0"
    Screen          1
Option "RenderAccel" "True"
EndSection

Section "Screen"

# Removed Option "metamodes" "1280x1024_60 +0+0"
# Removed Option "metamodes" "CRT: 1280x1024_60 +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "1280x1024_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"

# Removed Option "metamodes" "TV: 720x480 +0+0"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    16
    Option         "TwinView" "0"
    Option         "metamodes" "TV: 720x480 +0+0; TV: 640x480 +0+0"
    SubSection     "Display"
        Depth       16
    EndSubSection
EndSection

I thought this was originally a separate issue to nvidia, original post http://bbs.archlinux.org/viewtopic.php? … 47#p690547

Last edited by ninjaprawn (2010-02-14 00:56:16)


2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound

Offline

#2 2010-01-17 20:21:55

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: [solved-ish]hardware / 3D acceleration problems with Nvidia drivers

By your setup it would seem you have 2 nvidia 6200 cards. Is that true? Your xorg.conf looks really messed up to me. Do you use xinerama and twinview? (two monitors).
What is the output of glxinfo | grep direct
Have you tried running without xorg.conf


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#3 2010-01-17 20:52:06

Vegita
Member
Registered: 2009-10-06
Posts: 111

Re: [solved-ish]hardware / 3D acceleration problems with Nvidia drivers

nvidia won't even start without xorg.conf as I remember.) But I heard, that SLI is not that fast on linux, but it would be better. Anyway step out of X, terminate it, and run nvidia-xconfig. Maybe you'll want to check some arguments on manual pages

Offline

#4 2010-01-17 21:21:33

ninjaprawn
Member
From: Manchester, UK
Registered: 2008-01-26
Posts: 485

Re: [solved-ish]hardware / 3D acceleration problems with Nvidia drivers

thanks for the responses.

@Dheart;
My xorg has 2 of everything cause I run 2 X servers through just one nvidia 6200 graphics card. 1 is for a 17" crt monitor running 1280x1024 & the 2nd is for a 28" crt tele running a much smaller res (arounf 968x600 ish)
The output of glxinfo | grep direct is ;

direct rendering: Yes
    GL_EXT_direct_state_access, GL_EXT_draw_range_elements, GL_EXT_fog_coord,

I have already checked that.

@Vegita;
X and Nvidia dont actually need an xorg.conf to run. if the config file is missing, nvidia just runs a default for the hardware that it detects. I was hoping to manually change thing in the file as opposed to regenerating it, but i might just give it a go.

Last edited by ninjaprawn (2010-01-18 13:14:37)


2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound

Offline

#5 2010-01-17 21:43:07

ninjaprawn
Member
From: Manchester, UK
Registered: 2008-01-26
Posts: 485

Re: [solved-ish]hardware / 3D acceleration problems with Nvidia drivers

hmmmm, last time i played with xorg, it used to work fine without an xorg.conf not now though! I tried without an xorg, no joy, x wouldnt star, so rm'ed my xorg n regenerated it with nvidia-xconfig, restarted x, then tested glxgears again. getting the exact same fps! sad

the xorg that was generated by nvidia-xconfig was;

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder75)  Tue Dec  8 21:04:28 PST 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

any other ideas??? i am completely lost!!

Last edited by ninjaprawn (2010-01-17 21:53:21)


2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound

Offline

#6 2010-01-17 23:34:46

Vegita
Member
Registered: 2009-10-06
Posts: 111

Re: [solved-ish]hardware / 3D acceleration problems with Nvidia drivers

What I did with my install was (as root):
Xorg -configure
then     cp xorg.conf.new /etc/X11/xorg.conf
and after this I used nvidia-xconfig utility! I did it the same way on many other distros even. And for the very last: try with one nvidia card only.

Offline

#7 2010-01-18 09:13:22

ninjaprawn
Member
From: Manchester, UK
Registered: 2008-01-26
Posts: 485

Re: [solved-ish]hardware / 3D acceleration problems with Nvidia drivers

@Vegita
I have only one nvidia card, I had just configured it to run 2 X servers. As you can see from the 2nd xorg.conf, I had re configured it as normal. Still no improvement. I will give your method a go later, by doing;

 Xorg -configure
cp xorg.conf.new /etc/X11/xorg.conf
nvidia-xconfig

and report back the result. thanks


2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound

Offline

#8 2010-01-18 20:57:12

ninjaprawn
Member
From: Manchester, UK
Registered: 2008-01-26
Posts: 485

Re: [solved-ish]hardware / 3D acceleration problems with Nvidia drivers

Vegita wrote:

What I did with my install was (as root):
Xorg -configure
then     cp xorg.conf.new /etc/X11/xorg.conf
and after this I used nvidia-xconfig utility! I did it the same way on many other distros even. And for the very last: try with one nvidia card only.

followed this to a 't' as below;

Xorg -configure
cp xorg.conf.new /etc/X11/xorg.conf
nvidia-xconfig

and it produced the following xorg.conf;

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder75)  Tue Dec  8 21:04:28 PST 2009

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath      "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/100dpi:unscaled"
    FontPath        "/usr/share/fonts/75dpi:unscaled"
    FontPath        "/usr/share/fonts/TTF"
    FontPath        "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load           "dri2"
    Load           "dbe"
    Load           "extmod"
    Load           "glx"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "NV44A [GeForce 6200]"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    SubSection     "Display"
        Viewport    0 0
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

which then  produced the following from glxgears;

[user@ArchLinux ~]$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
17 frames in 5.2 seconds =  3.271 FPS
16 frames in 5.1 seconds =  3.132 FPS
9 frames in 5.2 seconds =  1.745 FPS
8 frames in 5.1 seconds =  1.575 FPS
9 frames in 5.5 seconds =  1.623 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 46 requests (45 known processed) with 0 events remaining.
[user@ArchLinux ~]$

2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound

Offline

#9 2010-01-18 20:59:14

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [solved-ish]hardware / 3D acceleration problems with Nvidia drivers

Have you tried using an older or newer driver than those in the repo?

Offline

#10 2010-01-18 21:50:13

ninjaprawn
Member
From: Manchester, UK
Registered: 2008-01-26
Posts: 485

Re: [solved-ish]hardware / 3D acceleration problems with Nvidia drivers

anonymous_user wrote:

Have you tried using an older or newer driver than those in the repo?

kinda, did some googling and think i found how to do that, but realy couldnt get it to work!!! first i tried with mirrors that hadn't been synced in the last 30 days or more. none of the servers could find the nvidia file, so i tried with the ARM mirror, tried a few different dates, but when i specified the nvidia i wanted, it wouldnt install, as it complained about missing dependancies!!!!


2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound

Offline

#11 2010-01-18 22:34:43

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [solved-ish]hardware / 3D acceleration problems with Nvidia drivers

Download the drivers from NVIDIA's site and install manually.

Offline

#12 2010-01-25 15:35:15

ninjaprawn
Member
From: Manchester, UK
Registered: 2008-01-26
Posts: 485

Re: [solved-ish]hardware / 3D acceleration problems with Nvidia drivers

not having any luck with this at all!! tried the NVIDIA site, no change, can't regress to the old driver as I can't find it anywhere! surely, there  should be a fix for this without changing driver, or it should be a bug????? it doesnt make sense!!! arrrrgh!!

I am going to give the beta driver ago from AUR (195.30). Will post back the result!

Does anyone have any idea when the new stable driver will be released?? If I have no luck, I am gonna have to format  and re-install arch!! sumin i don't wnna be doing! reminds me too much of window$!

Last edited by ninjaprawn (2010-01-25 15:38:27)


2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound

Offline

#13 2010-01-29 13:37:39

ninjaprawn
Member
From: Manchester, UK
Registered: 2008-01-26
Posts: 485

Re: [solved-ish]hardware / 3D acceleration problems with Nvidia drivers

my internet has been rubbish the last few days, so havent been able to change the driver. Just so you know what I am trying to do;
pacman -Rd nvidia nvidia-utils
yaourt -S nvidia-beta nvidia-utils-beta

this is so i dont have to remove the current nvidia and all the dependencies, just to reinstall them!! I dont think it should break anything, as it is just a straight swap.

Last edited by ninjaprawn (2010-01-30 10:58:19)


2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound

Offline

#14 2010-01-30 09:52:50

ninjaprawn
Member
From: Manchester, UK
Registered: 2008-01-26
Posts: 485

Re: [solved-ish]hardware / 3D acceleration problems with Nvidia drivers

ok, done! i have now replaced nvidia & nvidia-utils with nvidia-beta & nvidia-utils-beta

guess what? no change in fps on glxgears!!!!!!!!!!!!!!!!!!!

please, could someone really help me track down what is causing such rubbish hardware acceleration please!

thanks smile


2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound

Offline

#15 2010-01-30 10:53:47

ninjaprawn
Member
From: Manchester, UK
Registered: 2008-01-26
Posts: 485

Re: [solved-ish]hardware / 3D acceleration problems with Nvidia drivers

ok, i really have run out of ideas.
tried all of the following;

nvidia nvidia-utils
nvidia-96xx nvidia-96xx-utils
nvidia-173xx nvidia-173xx-utils
nvidia-beta nvidia-utils-beta

with each reboot, i did and checked the following;

[user@ArchLinux ~]$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
23 frames in 5.2 seconds =  4.424 FPS
22 frames in 5.1 seconds =  4.304 FPS
22 frames in 5.1 seconds =  4.293 FPS
22 frames in 5.1 seconds =  4.299 FPS
22 frames in 5.1 seconds =  4.295 FPS
22 frames in 5.2 seconds =  4.210 FPS
^C
[user@ArchLinux ~]$ glxinfo | grep direct
direct rendering: Yes
[user@ArchLinux ~]$

this result is the best i have had and was with the 96xx driver. Going to resort to a full reinstall I think. might go and have a little try at some new distros as well. smile

Last edited by ninjaprawn (2010-01-30 16:43:41)


2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound

Offline

#16 2010-02-14 00:56:45

ninjaprawn
Member
From: Manchester, UK
Registered: 2008-01-26
Posts: 485

Re: [solved-ish]hardware / 3D acceleration problems with Nvidia drivers

it is cairo-dock causin the problem, not thee drivers, using wbar instaid now!


2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound

Offline

Board footer

Powered by FluxBB