Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia 7950GT & nouveau
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1139
Location: Sofia/Bulgaria

PostPosted: Sat Sep 24, 2011 1:51 pm    Post subject: Nvidia 7950GT & nouveau Reply with quote

Hello,
Few days ago i migrated from nvidia-drivers to nouveau. Everything went fine, except that i have a problem with performance :

Code:
glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
2274 frames in 5.0 seconds = 454.785 FPS
2809 frames in 5.0 seconds = 561.751 FPS
3341 frames in 5.0 seconds = 668.148 FPS
3185 frames in 5.0 seconds = 636.947 FPS
3347 frames in 5.0 seconds = 669.321 FPS
3192 frames in 5.0 seconds = 638.216 FPS
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0"
      after 40979 requests (40979 known processed) with 0 events remaining.


My videocard is :

Code:
01:00.0 VGA compatible controller: nVidia Corporation G71 [GeForce 7950 GT] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. GeForce 7950 GT
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Memory at fb000000 (64-bit, non-prefetchable) [size=16M]
        I/O ports at ac00 [size=128]
        Expansion ROM at fcfe0000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting <?>
        Kernel driver in use: nouveau
        Kernel modules: nvidia


.config:
http://pastebin.com/aGWqj8aX

dmesg:
http://pastebin.com/PfSXpMd9

glxinfo:
http://pastebin.com/YgRqcAbG

Xorg.0.log:
http://pastebin.com/iyPUGiAy

emerge -pv mesa:

Code:
[ebuild   R    ] media-libs/mesa-7.11  USE="classic egl gallium gbm llvm motif nptl openvg shared-dricore shared-glapi -bindist -debug -gles -pax_kernel -pic (-selinux)" VIDEO_CARDS="nouveau -intel -mach64 -mga -r128 -radeon -savage -sis -tdfx -via -vmware"



eselect mesa list:

Code:
64bit i915 (Intel 915, 945)
64bit i965 (Intel 965, G/Q3x, G/Q4x)
64bit r300 (Radeon R300-R500)
64bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
64bit sw (Software renderer)
  [1]   classic
  [2]   gallium *
32bit i915 (Intel 915, 945)
  [1]   classic *
  [2]   gallium
32bit i965 (Intel 965, G/Q3x, G/Q4x)
  [1]   classic *
  [2]   gallium
32bit r300 (Radeon R300-R500)
  [1]   classic
  [2]   gallium *
32bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   classic *
  [2]   gallium
32bit sw (Software renderer)
  [1]   classic
  [2]   gallium *


eselect opengl list:

Code:
Available OpenGL implementations:
  [1]   xorg-x11 *


xorg.conf:

Code:
Section "Device"
Identifier "n"
Driver "nouveau"
Option "GLXVBlank" "on"
EndSection


Section "Monitor"
    Identifier     "DVI-I-2"
    Gamma           1.5
EndSection

Section "dri"
  Mode 0666
EndSection


emerge --info
http://pastebin.com/BnvZht5H

emerge -pv kwin

Code:
[ebuild   R    ] kde-base/kwin-4.7.1-r1  USE="opengl (-aqua) -debug -gles (-kdeenablefinal) -xinerama"


Movies are getting tearing, desktop effects are far from smooth and pretty.
I can`t find any difference in performance between classic, gallium and gles drivers .

Any ideas how to fix this? :?


P.S. And the most frustrating thing is that on my other system, with 'Integrated nvidia® GeForce 9300' + nouveau, performance is a lot better ~1300fps .With nvidia-drivers everything was in reverse GF9300 was sluggish and GF7950GT was lightning fast 8O

Thank you!
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Mon Sep 26, 2011 4:24 am    Post subject: Reply with quote

glxgears performance is not indicative of anything. It is not a benchmark.

That being said, the nouveau NV30/NV40 driver is not working great these days. To get a bit more performance, you can try disabling GLXVBlank in xorg.conf and against tearing, make sure that your video player uses Xv and unredirect of full screen windows is enabled in your compositing window manager.

If you run very recent nouveau kernel code, you can also switch the power state of the graphics card from the default to full clocks. However that is still a bit experimental. See http://nouveau.freedesktop.org/wiki/PowerManagement for details.
Back to top
View user's profile Send private message
Kollin
Veteran
Veteran


Joined: 25 Feb 2006
Posts: 1139
Location: Sofia/Bulgaria

PostPosted: Mon Sep 26, 2011 8:33 am    Post subject: Reply with quote

chithanh wrote:
glxgears performance is not indicative of anything. It is not a benchmark.

That being said, the nouveau NV30/NV40 driver is not working great these days. To get a bit more performance, you can try disabling GLXVBlank in xorg.conf and against tearing, make sure that your video player uses Xv and unredirect of full screen windows is enabled in your compositing window manager.

If you run very recent nouveau kernel code, you can also switch the power state of the graphics card from the default to full clocks. However that is still a bit experimental. See http://nouveau.freedesktop.org/wiki/PowerManagement for details.


Thnk you for your help!
Actually through my experiments I found out that with 'GLXVBlank on' in xorg.conf things are better . In fact without that option tearing in video is present no matter what im using (xv, x11, yuv, or whatever).I'm using 2.6.39-r1 kernel and i'm planning to migrate to 3.1.x when it's ready, for now the output is:


Code:
dmesg | grep -A4 "available performance level"
[    0.474698] [drm] nouveau 0000:01:00.0: 2 available performance level(s)
[    0.474779] [drm] nouveau 0000:01:00.0: 0: memory 700MHz core 550MHz voltage 1350mV fanspeed 20%
[    0.474893] [drm] nouveau 0000:01:00.0: 1: memory 700MHz core 550MHz voltage 1350mV fanspeed 30%
[    0.475019] [drm] nouveau 0000:01:00.0: c: memory 702MHz core 550MHz voltage 1350mV
[    0.475218] [TTM] Zone  kernel: Available graphics memory: 4093062 kiB.


not very promising huh :wink:
I hope It'll get better with next kernel :wink:
I just hope someone to find some missing kernel options or mesa flags that I overlooked, or may be xorg tweaks... I don't know... I am out of ideas :(
_________________
"Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum