Huge processor's loading by Xorg process when nvidia proprietary drivers installed

Bug #973506 reported by Nicholas Shatokhin
84
This bug affects 12 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
Expired
High
Unassigned

Bug Description

When I press right button, switch window or scroll, I see huge processor's loading by Xorg process.

Performance was bad also starting with -nvidia 285.05.33 Linux 3.2.0-17

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xserver-xorg 1:7.6+12ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
Uname: Linux 3.2.0-21-generic i686
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.tmp.unity.support.test.0:

ApportVersion: 2.0-0ubuntu4
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,gnomecompat,grid,imgpng,mousepoll,move,place,regex,resize,session,snap,unitymtgrabhandles,vpswitch,wall,animation,expo,ezoom,fade,scale,unityshell,workarounds]
CompositorRunning: compiz
Date: Wed Apr 4 18:54:59 2012
DistUpgraded: 2012-04-04 00:45:29,716 DEBUG enabling apt cron job
DistroCodename: precise
DistroVariant: ubuntu
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
MachineType: LG Electronics R500-U.CP21R1
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-21-generic root=UUID=e38eba8a-7bde-4e33-af6b-828c7e124ffc ro quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: Upgraded to precise on 2012-04-03 (0 days ago)
dmi.bios.date: 08/29/2007
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: COLSSF10
dmi.board.name: COLUMBIA
dmi.board.vendor: LG Electronics
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LG Electronics
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrCOLSSF10:bd08/29/2007:svnLGElectronics:pnR500-U.CP21R1:pvrNotApplicable:rvnLGElectronics:rnCOLUMBIA:rvrNotApplicable:cvnLGElectronics:ct10:cvrN/A:
dmi.product.name: R500-U.CP21R1
dmi.product.version: Not Applicable
dmi.sys.vendor: LG Electronics
version.compiz: compiz 1:0.9.7.4-0ubuntu1
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu8
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
Nicholas Shatokhin (robotex) wrote :
Revision history for this message
Nicholas Shatokhin (robotex) wrote :

top's screenshot

Revision history for this message
Nicholas Shatokhin (robotex) wrote :

top's screenshot

Revision history for this message
Nicholas Shatokhin (robotex) wrote :

Firefox works very very very slow (100% processor's loading by Xorg). I can't work with this slideshow. If it will not be fixed in release, I will be must to go to another system.

Revision history for this message
Bryce Harrington (bryce) wrote :

Similar to 877438 (8xxx cards), 940742 (6xxx cards), 943643 (9800), 958251 (8600), 962191 (7100).

affects: xorg (Ubuntu) → nvidia-graphics-drivers (Ubuntu)
Changed in nvidia-graphics-drivers (Ubuntu):
importance: Undecided → High
status: New → Triaged
description: updated
Revision history for this message
Bryce Harrington (bryce) wrote :

Interesting, I notice the nvidia driver version being reported here is the same as it was on the other bug:

NVRM version: NVIDIA UNIX x86 Kernel Module 285.05.33 Thu Jan 19 15:24:04 PST 2012

and that's quite old. I wonder if your installation got corrupted?

Anyway, this is the cause of your performance loss. From Xorg.0.log it indicates this old nvidia is not compatible with the xserver, so is running in some sort of compatibility mode:

[ 625.647] (WW) NVIDIA: This server has an unsupported input driver ABI version (have 16.0, need < 14.0). The driver will continue to load, but may behave strangely.
[ 626.504] (II) NVIDIA dlloader X Driver 285.05.33 Thu Jan 19 15:25:37 PST 2012

Why don't you try completely removing and purging nvidia from your system, and then reinstalling -nvidia through jockey again. Doublecheck that your /var/log/Xorg.0.log shows "NVIDIA dlloader X Driver 295" or similar.

Changed in nvidia-graphics-drivers (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Nicholas Shatokhin (robotex) wrote : Re: [Bug 973506] Re: Huge processor's loading by Xorg process when nvidia proprietary drivers installed

Will I be able to develop cuda applications and compile all cuda sources
after installing driver from jockey? I'm cuda developer and I need
developer's drivers.

2012/4/4 Bryce Harrington <email address hidden>

> Interesting, I notice the nvidia driver version being reported here is
> the same as it was on the other bug:
>
> NVRM version: NVIDIA UNIX x86 Kernel Module 285.05.33 Thu Jan 19
> 15:24:04 PST 2012
>
> and that's quite old. I wonder if your installation got corrupted?
>
> Anyway, this is the cause of your performance loss. From Xorg.0.log it
> indicates this old nvidia is not compatible with the xserver, so is
> running in some sort of compatibility mode:
>
> [ 625.647] (WW) NVIDIA: This server has an unsupported input driver ABI
> version (have 16.0, need < 14.0). The driver will continue to load, but
> may behave strangely.
> [ 626.504] (II) NVIDIA dlloader X Driver 285.05.33 Thu Jan 19 15:25:37
> PST 2012
>
> Why don't you try completely removing and purging nvidia from your
> system, and then reinstalling -nvidia through jockey again. Doublecheck
> that your /var/log/Xorg.0.log shows "NVIDIA dlloader X Driver 295" or
> similar.
>
>
> ** Changed in: nvidia-graphics-drivers (Ubuntu)
> Status: Triaged => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/973506
>
> Title:
> Huge processor's loading by Xorg process when nvidia proprietary
> drivers installed
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/973506/+subscriptions
>

Revision history for this message
Nicholas Shatokhin (robotex) wrote :

Will I be able to develop cuda applications and compile all cuda sources after installing driver from jockey? I'm cuda developer and I need developer's drivers.

Revision history for this message
Nicholas Shatokhin (robotex) wrote :

I removed developer's drivers and installed latest driver by jockey.
Ubuntu started work faster, but it still very slow. On attached screen you see top window when I opened gedit without any file and started to scroll (nothing redraws).

Revision history for this message
Nicholas Shatokhin (robotex) wrote :

In this screen I'm scrolling in firefox on this page. Scrolling very slow, firefox sometimes freezes, processor's loading is huge.

Revision history for this message
Nicholas Shatokhin (robotex) wrote :

Scrolling in gedit with opened file. Gedit works fast but processor's loading by Xorg is huge.

Revision history for this message
Nicholas Shatokhin (robotex) wrote :

Switching between windows. The same processor's loading when I move window on screen or when I docking window to screen borders.

Revision history for this message
Nicholas Shatokhin (robotex) wrote :

Some interesting. When I scroll in transmission I see huge processor's loading by it's process. Switching between transmission's windows is slow too.
In some situations I see huge loading by compiz's process.

Situation is very bed. Nvidia proprietary driver works slower than opensource Nouveau.

Changed in nvidia-graphics-drivers (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Nicholas Shatokhin (robotex) wrote :

Log file generated by nvidia-bug-report.sh

Revision history for this message
Nicholas Shatokhin (robotex) wrote :

Log file of uninstalling old drivers

Revision history for this message
Nicholas Shatokhin (robotex) wrote :
Revision history for this message
Nicholas Shatokhin (robotex) wrote :
Revision history for this message
Nicholas Shatokhin (robotex) wrote :
Revision history for this message
Nicholas Shatokhin (robotex) wrote :
Revision history for this message
Nicholas Shatokhin (robotex) wrote :
Revision history for this message
Bryce Harrington (bryce) wrote :

[New system info @ dupe bug #973506]

Revision history for this message
Nicholas Shatokhin (robotex) wrote :

Details in system info. Look the graphics card

Revision history for this message
Nicholas Shatokhin (robotex) wrote :

Graphics tab in details

Revision history for this message
Nicholas Shatokhin (robotex) wrote :

And videocard very hot. I can't touch laptop in bottom - I feel pain. Videocard became very hot, then I see glitches, then system go into lightDM login screen (especially when I watch fullscreen flashvideo in Firefox)

Revision history for this message
Nicholas Shatokhin (robotex) wrote :

Today I saw it very often: when I opened gedit, when opened webpage in chrome, when I watched youtube and when I ran commands in terminal.

Revision history for this message
Brian Neal (bgneal) wrote :

I have a Dell XPS M1530 laptop with an nVidia 8400M GS and I also see very poor performance in Ubuntu 12.04. I see high CPU loading when moving windows, switching between virtual desktops, etc.

Revision history for this message
Vaxius (thegeeker) wrote :

Judging from the fact that people have better luck with open source drivers and that it's been almost 4 months with no fix in sight, is this an upstream problem? nVidia isn't exactly known for jumping on driver bugs on Linux (the first thing I had to do when installing 12.04 was upgrade the driver to 302.17 before I could even get an accelerated desktop (2D worked fine). CPU usage is around 50% avg with nvidia. I'll post cpu usage while using Nouveau shortly.

Revision history for this message
Vaxius (thegeeker) wrote :

Now it never goes above %10. I guess we just have to wait for yet another nvidia update (I had to upgrade to 302.17 before I could even get an accelerated desktop).

Revision history for this message
Bryce Harrington (bryce) wrote :

With high X CPU bugs, *typically* the cause ends up being a client program rather than X. The reason is that X is just a server and its load is driven by client requests. So if some client is stuck in a loop making X calls, that can show up as high CPU on the X process.

However, with nvidia who knows. It's rare but not unknown for there to be driver bugs that cause high CPU on X.

As a general rule, with bugs against nvidia, unless it's a packaging issue or something that quite definitely is wrong on the Ubuntu side, or something you already know is fixed in a newer driver version, the bugs should be reported upstream at the nvidia forums.

Revision history for this message
Brian Neal (bgneal) wrote :

I have reported this twice on the nVidia forums. The first time my post was deleted when they wiped their forums for some unknown reason. I posed a second time but then they closed their forums on July 12 due to some intrusion. The forums have been closed since.

Revision history for this message
Reza Roboubi (reza-parvan) wrote :

I doubt it is an Nvidia issue for these reasons:

1.) I've installed 12.04 on my mom's quad core, and Nvidia proprietary is _probably_ not installed there.

2.) This happens in Firefox, but NOT Chromium(on the same web page, namely cuttherope.ie)

3.) According to the top command(I can post the top screen shot if you insist) the problem is this:
Chrome distributes the work between several threads(both Chrome and xorg threads are busy) hence utilizing more cores for the same job. In fact, Chrome uses more total CPU than Firefox for this job, but it is very smooth.) Firefox, somehow, seems to dump the whole task onto xorg(and a single thread, apparently.) I have Ubuntu 10.04-LTS on another 2 core box. The same version of Firefox(16.0.2) is running there. HOWEVER, Firefox(10.04-LTS) renders that same web page very smoothly. Like Chromium(12.04-LTS) it distributes the work, apparently, evenly between the FF process and xorg, i.e. several cores.)

It is strange: if the FF versions weren't the same, I would surely report it to the Mozilla people. What to do?

Revision history for this message
Reza Roboubi (reza-parvan) wrote :

See these messages:
http://ubuntuforums.org/showthread.php?t=1741768
http://askubuntu.com/questions/181377/compiz-unity-very-unstable-crashing-very-often-on-12-04

Some say Compiz/Unity is a major problem and should be disabled to increase performance and stability. Sorry I can't be more help, I don't have access to the 12.04-LTS box right now.

Revision history for this message
Brian Neal (bgneal) wrote :

The bug sure seemed like an nVidia issue to me, especially with the older GPU 8400M GS I have. I didn't even have Firefox running. Switching between windows, moving windows, operating menus produced huge large spikes in CPU utilization. I have since switched to the Ubuntu-x-swat PPA as the source of my nVidia drivers and performance is much better. It still feels more laggy than it should, but it is usable now. I am still running 12.04.

Revision history for this message
Brian Neal (bgneal) wrote :

I have to agree with you though, Firefox runs much worse than Chrome does on my system.

Revision history for this message
Bryce Harrington (bryce) wrote :

Re-test against the latest nvidia experimental driver (version 310). Reportedly this version solves several long standing performance bugs.

Changed in nvidia-graphics-drivers (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Brian Neal (bgneal) wrote :

I'm running 310 now, and the differences between it and 304 are slight at best.

Unity seems sluggish. Resizing windows is slow. For example, if I resize a terminal window and let go of the mouse, it takes a good 2-3 seconds before the window resizes. A large CPU spike is seen when this happens.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Brian,

It sounds like you're experiencing bug 1049214. Please look there.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for nvidia-graphics-drivers (Ubuntu) because there has been no activity for 60 days.]

Changed in nvidia-graphics-drivers (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Nicholas Shatokhin (robotex) wrote : ���������������������� ������������������ ������������������ �� ��������������. �������������� ���� ������������������ �������� ��������������

Доброго дня.

Будь ласка, підпишить петицію до Верховної Ради України з легалізації
наукових досліджень канабісу та його використання в медичній галузі:
https://itd.rada.gov.ua/petitions/Petition/Index/635

Розпорядження Кабінету Міністрів України від 28 серпня 2013 р. № 735-р «Про
схвалення Стратегії державної політики щодо наркотиків на період
до 2020 року» має пункт «вивчення перспектив медичного застосування
канабіноїдів як анальгетиків та інших лікарських препаратів». Проте для
здійснення цього абсолютно нічого не зроблено.
В нас йде війна, а маріхуана це дуже добре знеболювальне та протизапальне.
Крім того, маріхуана це дуже добрі ліки проти ушкоджень мозку на кшталт
контузії. Також вона лікує посттравматичний синдром:

http://medportal.ru/enc/narcology/reading/10/
http://mjnovosti.net/stati/4374/marihuana-lechit-posttravmaticheskiy-sindrom
http://tku.org.ua/news/3292
http://medcannabis.info/research/51-protivovospalitelnoe-deystvie.html

<http://medcannabis.info/research/51-protivovospalitelnoe-deystvie.html>
Тому ми вимагаємо негайно легалізувати наукові дослідження медичних
властивостей канабісу і використання ліків з канабіноїдів.

Чому в медицині можна використовувати опіати, але не можна канабіноїди?
Чому ми мусимо травитися хімією, коли є безпечні альтернативи з більшою
ефективністю? І найгірше, що не можна навіть проводити дослідження
канабіноїдів, щоб мати документальне підтвердження їхньої ефективності.
Треба негайно це виправити.

Наші вимоги грунтуються на досвіді багатьох провідних країн світу на кшталт
США, Канади, Ізраїлю, Чеської Республіки, Хорватії, тощо.

З повагою,

комітет ГО "Рух за легалізацію коноплі в Україні"

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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