View Single Post
Old 03-25-11, 06:46 AM   #1
torquil
Registered User
 
Join Date: Mar 2011
Posts: 4
Default Really slow 2D performance lately

Hi!

I have an ASUS X5DID laptop with an Nvidia GT320M graphics card. At the moment I'm using linux kernel 2.6.38.1 (self-compiled, quite slim) and Debian Unstable with Nvidia drivers v270.30-1 from Debian Experimental. The computer has a 64bit Intel T4400 dual core running at 2.2GHz.

I get really slow 2D performance, much slower than when using the open-source nouveau driver. A gtkperf run takes about 30s while it only takes around 7s using the nouveau driver...

Something has happened lately, but I believe I had the same problem also with the v260.19.44-1 nvidia driver currently in Debian Unstable.

As far as I can see there are no interesting messages in /var/log/Xorg.0.log, but I'll attach it anyway.

Lines in kernel log involving the word "nvidia":

tmac@asus ~$ dmesg | grep -i nvidia
nvidia: module license 'NVIDIA' taints kernel.
hda_intel: Disable MSI for Nvidia chipset
input: HDA NVidia Mic as /devices/pci0000:00/0000:00:08.0/sound/card1/input13
input: HDA NVidia Headphone as /devices/pci0000:00/0000:00:08.0/sound/card1/input14
hda_intel: Disable MSI for Nvidia chipset
nvidia 0000:00:03.5: PCI INT B -> Link[LPMU] -> GSI 22 (level, low) -> IRQ 22
nvidia 0000:02:00.0: PCI INT A -> Link[LN0A] -> GSI 17 (level, low) -> IRQ 17
nvidia 0000:02:00.0: setting latency timer to 64
NVRM: loading NVIDIA UNIX x86_64 Kernel Module 270.30 Fri Feb 25 14:34:55 PST 2011

Output from "lspci":
tmac@asus ~$ lspci -v -s 02:00.0
02:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 320M] (rev a2) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 1312
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f6000000 (64-bit, prefetchable) [size=32M]
I/O ports at dc00 [size=128]
[virtual] Expansion ROM at faf80000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nvidia

*** EDIT ***:

Output from "gtkperf" run:

GtkPerf 0.40 - Starting testing: Fri Mar 25 13:01:39 2011

GtkEntry - time: 0.14
GtkComboBox - time: 9.42
GtkComboBoxEntry - time: 1.22
GtkSpinButton - time: 0.38
GtkProgressBar - time: 0.11
GtkToggleButton - time: 16.21
GtkCheckButton - time: 1.01
GtkRadioButton - time: 0.75
GtkTextView - Add text - time: 0.82
GtkTextView - Scroll - time: 1.02
GtkDrawingArea - Lines - time: 0.57
GtkDrawingArea - Circles - time: 0.37
GtkDrawingArea - Text - time: 0.29
GtkDrawingArea - Pixbufs - time: 0.07
---
Total time: 32.38

As can be seen, GtkComboBox and GtkToggleButton takes a lot of time. More time each than the entire run did while using the nouveau driver.

And I just checked that the problem does not improve by using a stock Debian kernel instead of my self-compiled one.
Attached Files
File Type: log Xorg.0.log (21.3 KB, 47 views)
torquil is offline   Reply With Quote