nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Awful performance after upgrading Ubuntu from Feisty to Gutsy (http://www.nvnews.net/vbulletin/showthread.php?t=101008)

taki 10-25-07 06:11 PM

Awful performance after upgrading Ubuntu from Feisty to Gutsy
 
3 Attachment(s)
I'm having some troubles with X since I upgraded Ubuntu. When I upgraded, I also recompiled the NVidia drivers (100.14.11, but I tried later with 100.14.19 and had the same problem) to bring them up to speed. Not sure what the cause is, but now X uses 100% of the CPU when doing anything other than idling, and performs really, really slowly. It looks like it's not passing anything to the graphics card.

When I try and run nvidia-settings, I get an error message saying "You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server."

I've attached my xorg.conf, latest Xorg.0.log and the output of glxinfo. I notice in glxinfo it says that direct rendering is disabled, but when I try setting the environment variable LIBGL_DEBUG to verbose and run glxinfo again, I don't get any more information.

Any ideas? TIA.

netllama 10-25-07 06:23 PM

Re: Awful performance after upgrading Ubuntu from Feisty to Gutsy
 
The key here is the warning:
"You do not appear to be using the NVIDIA X driver."

You're clearly not using the nvidia driver. See the driver README & forum sticky posts for more information.

taki 10-26-07 03:13 AM

Re: Awful performance after upgrading Ubuntu from Feisty to Gutsy
 
Quote:

Originally Posted by netllama
The key here is the warning:
"You do not appear to be using the NVIDIA X driver."

You're clearly not using the nvidia driver.

That's what I originally thought, too, but:
From the xorg.conf:
Code:

...
Section "Device"
    Identifier    "Videocard0"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    BoardName      "GeForce 8800 GTS"
EndSection
...

From the Xorg.0.log:
Code:

...
(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.0
        Module class: X.Org Video Driver
...
(II) NVIDIA(0): NVIDIA GPU GeForce 8800 GTS (G80) at PCI:5:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 327680 kBytes
(--) NVIDIA(0): VideoBIOS: 60.80.0d.00.01
(II) NVIDIA(0): Detected PCI Express Link width: 16X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 8800 GTS at PCI:5:0:0:
(--) NVIDIA(0):    NVIDIA TV Encoder (TV-0)
(--) NVIDIA(0):    BenQ FP937s (DFP-1)
...

And also:
Code:

$ps -A | grep X
8512 tty7    00:00:37 Xorg
$sudo lsof -p 8512
...
Xorg    8512 root  mem    REG        3,3  1372296    1433750 /usr/lib/xorg/modules/drivers/nvidia_drv.so
...
$

And also:
Code:

$ lsmod | grep nvidia
nvidia              7250420  34
$

Are you 100% sure I'm not using the NVidia driver? If not, what do I need to change to use it? It looks to me like xorg.conf is configured correctly.

Jouni76 10-26-07 05:44 AM

Re: Awful performance after upgrading Ubuntu from Feisty to Gutsy
 
Seems that I have exactly the same problem, with upgraded Kubuntu 7.10 AMD64.

I use current realtime kernel, and there seems to be a problem with the kernel module compilation (for me at least). Driver package 100.14.19 does not display any errors during installation, but beta version installer 100.14.23 actually stops to kernel module compile error.

Can the Nvidia driver even be used with a realtime kernel? Or is there something buggy somewhere...?

AaronP 10-26-07 07:56 AM

Re: Awful performance after upgrading Ubuntu from Feisty to Gutsy
 
Make sure you're not running Xgl.

manuelg 10-26-07 06:26 PM

Re: Awful performance after upgrading Ubuntu from Feisty to Gutsy
 
For some reason, you have DRI loaded in your xorg.conf. Comment it out and see if it then works.

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
# Load "dri" <-----<-----<-----<
EndSection

You may want to read the nvidia driver installation README, it's all in there. Also, you probably don't need the last section, since composite is enabled by default, I think.

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

taki 10-27-07 04:54 AM

Re: Awful performance after upgrading Ubuntu from Feisty to Gutsy
 
Quote:

Originally Posted by AaronP
Make sure you're not running Xgl.

*snap* That was it, brilliant. I had the xserver-xgl package installed. Thanks a bunch!

Jouni76 10-30-07 05:15 PM

Re: Awful performance after upgrading Ubuntu from Feisty to Gutsy
 
Quote:

Originally Posted by AaronP
Make sure you're not running Xgl.


Yes and same here: had the xserver-xgl package installed.

(works now with the Gutsy driver packages)

Thanks AaronP! :D

bordomat 11-06-07 05:02 PM

Re: Awful performance after upgrading Ubuntu from Feisty to Gutsy
 
Quote:

Yes and same here: had the xserver-xgl package installed.
How did you unistall xserver-xgl??? :)

I have the same problem!

Jouni76 11-07-07 02:42 AM

Re: Awful performance after upgrading Ubuntu from Feisty to Gutsy
 
Quote:

Originally Posted by bordomat
How did you unistall xserver-xgl??? :)

Just check with your package manager (Adept/Synaptic) if you have the xserver-xgl installed, and if it is, then remove it.

Or more directly, get to console and

sudo apt-get remove xserver-xgl

cavallopazzo 11-07-07 05:11 AM

Re: Awful performance after upgrading Ubuntu from Feisty to Gutsy
 
Hi guys ...
I'm the same problem about the nvidia-settings in X.
But I've a problem about Compiz-Fusion because I can't uninstall xserver-xgl if I wanno use it. How can I do for this problem?

Thanks a lot ...

Jouni76 11-08-07 02:10 AM

Re: Awful performance after upgrading Ubuntu from Feisty to Gutsy
 
Are you sure that you need xserver-xgl with Compiz-Fusion when using nvidia-driver?


All times are GMT -5. The time now is 11:35 PM.

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