nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Major performance issues on MacBook/GT330M (http://www.nvnews.net/vbulletin/showthread.php?t=164092)

V|r 07-05-11 07:19 AM

Major performance issues on MacBook/GT330M
1 Attachment(s)
Hi, I'm experiencing major issues with the NVIDIA driver, up to a point where the computer becomes completely unresponsive. Up to the upgrade to Ubuntu 11.04 I resolved this problem by using the 195.X driver. This old driver doesn't work on newer Xorg anymore, so I'm forced to use the newer drivers.

My experience:
  • After a fresh boot, the graphics are usable, though not necessarily very fast. Compositing with KWin, both with OpenGL and XRender work ok.
  • If I have a Konsole window on e.g. desktop 2 and I switch to desktop 1 and then back to desktop 2, it can take several seconds where the graphics just hang (i.e. nothing moves anymore, not even the mouse pointer), then desktop 2 shows.
  • The larger the Konsole window, the more frequent this problem appears and the longer the hangs.
  • Turning compositing off helps, but doesn't fully resolve the problem. Switching compositing off and back on again also often helps.
  • Konsole performance can be very slow. It is best to use "-graphicssystem render", though that can sometimes lead to slow Framebuffer updates.
  • Many applications are slow when scrolled. E.g. Firefox or LibreOffice can crawl to a halt sometimes.
  • When an application like Kontact draws slowly, the switch to the raster graphicssystem does not help because then the Framebuffer updates can slow down so much that one can practically see the lines getting written (i.e. a falling curtain effect).
  • After the system was suspended to RAM and woken up again, simple SDL games like OpenTTD or Wesnoth become completely unplayable. OpenTTD graphics stutter so much that it is impossible to point the mouse cursor without a lot of effort. In Wesnoth the mouse cursor can be switched to a hardware cursor, so the remaining issue are the very slow redraws (even with all animations disabled, because the GPU can't handle it).
  • Sometimes the Xorg process goes to 100% CPU. I can then execute a script that calls nvidia-settings -a PixmapCache=0; nvidia-settings -a PixmapCache=1 and Xorg calms down again.

A few details I learned about my system:
  • MTRR setup doesn't work/happen. I assume this is due to the MacBook using EFI (well, an Apple variant of it) with a BIOS emulation. I manually set the two areas marked as prefetchable in lspci to write-combining in /proc/mtrr. This seems to help a bit against some of the really slow framebuffer updates.
  • nouveau performance is perfect. Even after several sleep/wakeup cycles. Sadly, it has stability issues and breaks down if I attach a large external monitor. Also it's missing good OpenGL support, though actually being able to work on the computer is so much more important than 3D effects/games.

Note that the TripleBuffer, UseEvents, and OnDemandVBlankInterrupts don't seem to make a difference with any of the above issues. I'm just experimenting with the available options in case something helps.

The IgnoreEDIDChecksum is in there because I experienced several projectors now where the driver only allowed me to use a 640x480 resolution, which is ridiculous.

V|r 07-11-11 06:07 AM

Re: Major performance issues on MacBook/GT330M
Does anybody have an idea what I try?
I'd also be happy to debug the issues a bit if you give me pointers where to look into.

V|r 07-18-11 12:03 PM

Re: Major performance issues on MacBook/GT330M
Just rebooted into 275.19 this morning, and after 5 sleep/wake cycles things look better than before: KWin OpenGL compositing is still a no-go, but OpenTTD seems playable. I'll report more when I know more.

All times are GMT -5. The time now is 02:32 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.