Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-02-10, 04:20 PM   #25
StringCheesian
Registered User
 
Join Date: May 2004
Posts: 27
Default Re: 95% CPU usage with driver 256.35 ?!!

konst: What if the driver was changed to rely on glx more even for the 2D stuff you do use? You should at least try to reproduce the issue just once with the full drivers with glx.
StringCheesian is offline   Reply With Quote
Old 07-03-10, 05:08 PM   #26
damentz
Registered User
 
Join Date: Jan 2009
Posts: 59
Default Re: 95% CPU usage with driver 256.35 ?!!

Here is my output of GLX from Xorg.log

Code:
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.0
        Module class: X.Org Server Extension
(II) NVIDIA GLX Module  256.35  Wed Jun 16 19:10:31 PDT 2010
(II) Loading extension GLX
Here is yours:

Code:
[ 34784.830] (II) LoadModule: "glx"
[ 34784.830] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 34784.830] (II) Module glx: vendor="X.Org Foundation"
[ 34784.830]    compiled for 1.8.1.901, module version = 1.0.0
[ 34784.830]    ABI class: X.Org Server Extension, version 3.0
[ 34784.830] (==) AIGLX enabled
[ 34784.830] (II) Loading extension GLX
If you're going to tamper with a critical subsystem of the installation and refuse to load nvidia's glx module for debugging, then you're not giving us much to help you with. And, if you're that concerned with the closed source GLX module, why don't you just use nouveau? From what I understand, it's good enough for a 2d desktop and minor desktop effects (not even sure about that).
damentz is offline   Reply With Quote
Old 07-06-10, 04:54 PM   #27
konst
Registered User
 
Join Date: May 2006
Posts: 57
Default Re: 95% CPU usage with driver 256.35 ?!!

Quote:
Originally Posted by damentz View Post
Here is my output of GLX from Xorg.log

Code:
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.0
        Module class: X.Org Server Extension
(II) NVIDIA GLX Module  256.35  Wed Jun 16 19:10:31 PDT 2010
(II) Loading extension GLX
Here is yours:

Code:
[ 34784.830] (II) LoadModule: "glx"
[ 34784.830] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 34784.830] (II) Module glx: vendor="X.Org Foundation"
[ 34784.830]    compiled for 1.8.1.901, module version = 1.0.0
[ 34784.830]    ABI class: X.Org Server Extension, version 3.0
[ 34784.830] (==) AIGLX enabled
[ 34784.830] (II) Loading extension GLX
If you're going to tamper with a critical subsystem of the installation and refuse to load nvidia's glx module for debugging, then you're not giving us much to help you with. And, if you're that concerned with the closed source GLX module, why don't you just use nouveau? From what I understand, it's good enough for a 2d desktop and minor desktop effects (not even sure about that).

My operating system, called Gentoo Linux, allows me to choose which glx module I want to use so it's a moot point whether or not the Nvidia glx module is loaded cause I choose not to use it.

nouveau is not ready yet for dual-link LCD screens. Anyway driver version 195.36.24 seems to work ok.
konst is offline   Reply With Quote
Old 07-06-10, 09:02 PM   #28
mooninite
Registered User
 
Join Date: May 2006
Posts: 477
Default Re: 95% CPU usage with driver 256.35 ?!!

Quote:
Originally Posted by konst View Post
nouveau is not ready yet for dual-link LCD screens. Anyway driver version 195.36.24 seems to work ok.
Must be /your/ screens. My Dual-Link DVI LCD screens work fine with nouveau.
mooninite is offline   Reply With Quote
Old 07-06-10, 10:18 PM   #29
mdriftmeyer
Registered User
 
Join Date: Feb 2009
Posts: 40
Default Re: 95% CPU usage with driver 256.35 ?!!

Quote:
Originally Posted by konst View Post
Like I said I don't use any opengl apps. The nv driver doesn't do video scaling so video look bad with it. The nouveau driver can't do duallink DVI well yet.
Your Desktop Environment uses OpenGL.
mdriftmeyer is offline   Reply With Quote
Old 07-07-10, 08:07 AM   #30
konst
Registered User
 
Join Date: May 2006
Posts: 57
Default Re: 95% CPU usage with driver 256.35 ?!!

Quote:
Originally Posted by mdriftmeyer View Post
Your Desktop Environment uses OpenGL.
I turned off all opengl effects.
konst is offline   Reply With Quote
Old 07-07-10, 08:07 AM   #31
konst
Registered User
 
Join Date: May 2006
Posts: 57
Default Re: 95% CPU usage with driver 256.35 ?!!

Quote:
Originally Posted by mooninite View Post
Must be /your/ screens. My Dual-Link DVI LCD screens work fine with nouveau.
Will try it with a new kernel.
konst is offline   Reply With Quote
Old 07-07-10, 04:46 PM   #32
StringCheesian
Registered User
 
Join Date: May 2004
Posts: 27
Default Re: 95% CPU usage with driver 256.35 ?!!

Quote:
Originally Posted by konst View Post
My operating system, called Gentoo Linux, allows me to choose which glx module I want to use so it's a moot point whether or not the Nvidia glx module is loaded cause I choose not to use it.
In an attempt to reproduce your problem, I:
1. ran `eselect opengl set xorg-x11`
2. restarted xorg
3. logged into KDE 4.4.4 (same version as you)
4. made sure compositing was disabled
5. verified that my /var/log/Xorg.0.log looks like yours
6. ran htop

CPU usage according to htop varied between 0% and 2.5% in both cores.

gentoo ~amd64 (not funtoo)
gentoo-sources 2.6.34-r1
nvidia-drivers 256.35
xorg-server 1.8.1.902 (you're running 1.8.1.901)
Athlon 64 X2 4600+ (2.4GHz, very similar to your CPU)
GeForce 9600GT

I still think your wacky configuration (nvidia driver without glx) is one of the roots of your problem, but it must not be the only cause.
StringCheesian is offline   Reply With Quote

Old 07-08-10, 01:10 PM   #33
konst
Registered User
 
Join Date: May 2006
Posts: 57
Default Re: 95% CPU usage with driver 256.35 ?!!

Quote:
Originally Posted by StringCheesian View Post
In an attempt to reproduce your problem, I:
1. ran `eselect opengl set xorg-x11`
2. restarted xorg
3. logged into KDE 4.4.4 (same version as you)
4. made sure compositing was disabled
5. verified that my /var/log/Xorg.0.log looks like yours
6. ran htop

CPU usage according to htop varied between 0% and 2.5% in both cores.

gentoo ~amd64 (not funtoo)
gentoo-sources 2.6.34-r1
nvidia-drivers 256.35
xorg-server 1.8.1.902 (you're running 1.8.1.901)
Athlon 64 X2 4600+ (2.4GHz, very similar to your CPU)
GeForce 9600GT

I still think your wacky configuration (nvidia driver without glx) is one of the roots of your problem, but it must not be the only cause.
Actually now I'm running xorg-server 1.8.1.902 and have a GeForce 8800GTX.

One big difference is that I use a hardened kernel ver 2.6.32 which doesn't allow the glx module to run code on the stack (which is the way I set it to not allow that).
Since the Nvidia driver is closed source, the open source community can't see if there are any other security risks so I don't use the glx module.

It could be the hardened kernel or that your using a newer kernel but that doesn't explain why Nvidia driver ver 195.36.24 seems to work ok.

Anyway I plan to start using the nouveau driver when it works with dual-link LCD monitors so I won't have to depend on Nvidia closed drivers.
konst is offline   Reply With Quote
Old 07-08-10, 01:48 PM   #34
Mango87
Registered User
 
Join Date: Jul 2010
Posts: 1
Default Re: 95% CPU usage with driver 256.35 ?!!

Quote:
Originally Posted by konst View Post
the open source community can't see if there are any other security risks
This sounds stupid even in itself.

Quote:
so I won't have to depend on Nvidia closed drivers.
After this post Nvidia will of course release its driver's source code.

The problem here doesn't lie with the Nvidia driver. It lies between your monitor and the chair you are sitting in.
Mango87 is offline   Reply With Quote
Old 07-08-10, 09:39 PM   #35
konst
Registered User
 
Join Date: May 2006
Posts: 57
Default Re: 95% CPU usage with driver 256.35 ?!!

Quote:
Originally Posted by Mango87 View Post
This sounds stupid even in itself.


After this post Nvidia will of course release its driver's source code.

The problem here doesn't lie with the Nvidia driver. It lies between your monitor and the chair you are sitting in.
You are really ignorant. One more person to put on ignore. If you have nothing to contribute to the topic then you're wasting people's time.
konst is offline   Reply With Quote
Old 07-09-10, 01:58 AM   #36
StringCheesian
Registered User
 
Join Date: May 2004
Posts: 27
Default Re: 95% CPU usage with driver 256.35 ?!!

Quote:
Originally Posted by konst View Post
Since the Nvidia driver is closed source, the open source community can't see if there are any other security risks so I don't use the glx module.
Do you seriously believe that nvidia's glx is responsible for the majority of the security holes you're worried about, and that the rest of nvidia driver is relatively safe? If you have reason to believe that, then I guess using nvidia's driver without nvidia's glx could be rational. If you're merely guessing or hoping that is the case, then there is nothing rational about your configuration.

If you don't trust code that can't be inspected by the open source community, then it's silly to use nvidia's driver at all. Using nvidia's driver without its glx component still violates your own security principals.

If you're willing to make an exception for part of the nvidia driver, then you might as well make an exception for the entire driver including the glx part of it. That way you would enjoy fewer bugs with a better tested configuration.
StringCheesian is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:51 PM.


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