Every OpenGL-app/game is slow/laggy

Bug #88693 reported by Ole Tøsse Kolvik
2
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Brian Murray

Bug Description

Running Ubuntu Feisty, but this also happened on Edgy (Dapper worked fine).

Every OpenGL-app/game i try is very slow and lags.
(glxgears is the only thing that works fine)

It's a bit difficult to describe, but it's like running UT2004 on a C64.

It's a barebone laptop from AOpen (1559-AS: http://solution.aopen.com.tw/Products/nb/1559-as.htm)
GFX: NVidia Geforce 6600GO
CPU: Intel Pentium M processor 1.73GHz
RAM: 1,5 gb
Nvidia driver from the latest restricted-modules, but this also applies to 9746 and 9629 with 2.6.17+ kernels.

lspci:

00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 04)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce Go 6600] (rev a2)
06:05.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
06:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
06:09.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
06:09.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
06:09.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
06:09.4 Generic system peripheral [0805]: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller

-----------------------------

lsmod:

Module Size Used by
snd_rtctimer 4384 0
michael_mic 3584 2
arc4 2944 2
ecb 4480 2
blkcipher 6784 1 ecb
ieee80211_crypt_tkip 12032 1
aes 28608 1
ieee80211_crypt_ccmp 8448 1
nvidia 6826996 22
binfmt_misc 12808 1
rfcomm 40856 0
l2cap 25728 5 rfcomm
bluetooth 55268 4 rfcomm,l2cap
ipv6 261920 12
ppdev 10116 0
acpi_cpufreq 10056 1
cpufreq_powersave 2688 0
cpufreq_ondemand 9228 1
cpufreq_userspace 5408 0
cpufreq_stats 7360 0
freq_table 5792 3 acpi_cpufreq,cpufreq_ondemand,cpufreq_stats
cpufreq_conservative 8200 0
button 8720 0
dock 10256 0
battery 10756 0
video 16388 0
container 5248 0
sbs 15652 0
i2c_ec 5888 1 sbs
i2c_core 22784 2 nvidia,i2c_ec
asus_acpi 17308 0
backlight 7040 1 asus_acpi
ac 6020 0
nls_utf8 3072 1
ntfs 107764 1
acerhk 25724 0
sbp2 23812 0
parport_pc 36388 0
lp 12452 0
parport 36936 3 ppdev,parport_pc,lp
fuse 46612 1
snd_intel8x0 34076 1
snd_ac97_codec 95008 1 snd_intel8x0
joydev 10816 0
ac97_bus 3200 1 snd_ac97_codec
snd_pcm_oss 44544 0
snd_mixer_oss 17408 1 snd_pcm_oss
snd_pcm 79876 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy 4740 0
snd_seq_oss 32896 0
pcmcia 39212 0
ipw2200 148040 0
snd_seq_midi 9600 0
snd_rawmidi 25472 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
snd_seq 52592 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 23684 3 snd_rtctimer,snd_pcm,snd_seq
snd_seq_device 9100 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
ieee80211 34760 1 ipw2200
ieee80211_crypt 7040 3 ieee80211_crypt_tkip,ieee80211_crypt_ccmp,ieee80211
serio_raw 7940 0
iTCO_wdt 11812 0
iTCO_vendor_support 4868 1 iTCO_wdt
af_packet 23816 8
psmouse 38792 0
sdhci 19340 0
mmc_core 27780 1 sdhci
tifm_7xx1 10240 0
tifm_core 9856 1 tifm_7xx1
yenta_socket 27532 1
rsrc_nonstatic 14080 1 yenta_socket
pcmcia_core 40852 3 pcmcia,yenta_socket,rsrc_nonstatic
snd 54020 12 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 8672 1 snd
snd_page_alloc 10888 2 snd_intel8x0,snd_pcm
intel_agp 24988 1
agpgart 33480 2 nvidia,intel_agp
shpchp 34324 0
pci_hotplug 32576 1 shpchp
tsdev 8768 0
evdev 11008 4
ext3 133128 3
jbd 59816 1 ext3
mbcache 9604 1 ext3
sg 36252 0
sd_mod 22272 6
generic 5380 0 [permanent]
ahci 23300 0
ata_piix 16132 5
ohci1394 36528 0
ieee1394 298680 2 sbp2,ohci1394
r8169 32392 0
ehci_hcd 34060 0
ata_generic 8708 0
libata 117912 3 ahci,ata_piix,ata_generic
scsi_mod 142348 5 sbp2,sg,sd_mod,ahci,libata
uhci_hcd 25228 0
usbcore 134152 3 ehci_hcd,uhci_hcd
thermal 14728 0
processor 31048 2 acpi_cpufreq,thermal
fan 5636 0
fbcon 42656 0
tileblit 3584 1 fbcon
font 9216 1 fbcon
bitblit 6912 1 fbcon
softcursor 3200 1 bitblit
vesafb 9220 0
capability 5896 0
commoncap 8192 1 capability

-----------------------------

xorg.conf:

Section "ServerLayout"
    Identifier "Default Layout"
    Screen "Default Screen" 0 0
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse"
    InputDevice "stylus" "SendCoreEvents"
    InputDevice "cursor" "SendCoreEvents"
    InputDevice "eraser" "SendCoreEvents"
    InputDevice "Synaptics Touchpad"
EndSection

Section "Files"

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

Section "Module"
    Load "bitmap"
    Load "ddc"
    Load "extmod"
    Load "freetype"
    Load "glx"
    Load "int10"
    Load "vbe"
EndSection

Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "no"
    Option "XkbOptions" "lv3:ralt_switch"
EndSection

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

Section "InputDevice"
    Identifier "Synaptics Touchpad"
    Driver "synaptics"
    Option "SendCoreEvents" "true"
    Option "Device" "/dev/psaux"
    Option "Protocol" "auto-dev"
    Option "HorizScrollDelta" "0"
EndSection

Section "InputDevice"

       # /dev/input/event
       # for USB
    Identifier "stylus"
    Driver "wacom"
    Option "Device" "/dev/wacom" # Change to
    Option "Type" "stylus"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"

       # /dev/input/event
       # for USB
    Identifier "eraser"
    Driver "wacom"
    Option "Device" "/dev/wacom" # Change to
    Option "Type" "eraser"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"

       # /dev/input/event
       # for USB
    Identifier "cursor"
    Driver "wacom"
    Option "Device" "/dev/wacom" # Change to
    Option "Type" "cursor"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Monitor"
    Identifier "Generic Monitor"
    HorizSync 28.0 - 70.0
    VertRefresh 43.0 - 60.0
    Option "DPMS"
EndSection

Section "Device"
    Identifier "Generic Video Card"
    Driver "nvidia"
    BusID "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Default Screen"
    Device "Generic Video Card"
    Monitor "Generic Monitor"
    DefaultDepth 24
    #Option "UseFBDev" "true"
    SubSection "Display"
        Depth 1
        Modes "1400x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth 4
        Modes "1400x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth 8
        Modes "1400x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth 15
        Modes "1400x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth 16
        Modes "1400x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth 24
        Modes "1400x1050" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

-----------------------------

/proc/cpuinfo:

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 1.73GHz
stepping : 8
cpu MHz : 1733.000
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up est tm2
bogomips : 3461.75
clflush size : 64

-------------------------------------

/proc/driver/nvidia/cards/0:

Model: GeForce Go 6600
IRQ: 16
Video BIOS: 05.43.02.62.ff
Card Type: PCI-E
DMA Size: 39 bits
DMA Mask: 0x7fffffffff

--------------------------------------

glxgears:

23231 frames in 5.0 seconds = 4646.121 FPS
23150 frames in 5.0 seconds = 4629.952 FPS
23163 frames in 5.0 seconds = 4632.556 FPS
23157 frames in 5.0 seconds = 4631.292 FPS
23152 frames in 5.0 seconds = 4630.376 FPS
23112 frames in 5.0 seconds = 4622.303 FPS
23160 frames in 5.0 seconds = 4631.816 FPS

ProblemType: Bug
Date: Wed Feb 28 17:01:29 2007
DistroRelease: Ubuntu 7.04
Uname: Linux mrzlap 2.6.20-9-generic #2 SMP Mon Feb 26 03:01:44 UTC 2007 i686 GNU/Linux

Revision history for this message
Ole Tøsse Kolvik (olekolvik) wrote :

Here's a benchmark from the game Xmoto:

 * 619 frames rendered in 36 seconds
 * Average framerate: 17.4 fps

Revision history for this message
Ole Tøsse Kolvik (olekolvik) wrote :

UT2004 actually runs perfectly with around 120FPS

So it can't be the nvidia-driver that's causing this.(?)

Revision history for this message
Ole Tøsse Kolvik (olekolvik) wrote :

hdparm:

/dev/sda:
 Timing cached reads: 1836 MB in 2.00 seconds = 918.22 MB/sec
 Timing buffered disk reads: 114 MB in 3.05 seconds = 37.41 MB/sec

A bit slow?

Revision history for this message
Ole Tøsse Kolvik (olekolvik) wrote :

Even more:

Beryl and Compiz works as they should if I set sync to VBlank under opengl settings in nvidia-settings

Revision history for this message
Ole Tøsse Kolvik (olekolvik) wrote :

Latest news:

I changed from the *-generic kernel to *-386 and everything works as it should!

Revision history for this message
Brian Murray (brian-murray) wrote :

This bug report is being closed due to your last comment regarding this being fixed by changing your kernel. Thanks again for taking the time to report this bug and helping to make Ubuntu better. Feel free to submit any future bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.