lubuntu 14-04 xorg server crash every 6 hours nvidia

Bug #1529360 reported by smallwill
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Expired
Low
Unassigned

Bug Description

Everything is fine (no memory leak) up until a random instant (sometimes correlated with watching flash videos, but othertimes just plain inactivity triggers it), then all RAM is used up in a matter of seconds, mouse become unresponsive and xorg-server logs me out

I asked a question on askubuntu but didn't get any attention :

http://askubuntu.com/questions/703936/lubuntu-14-04-xorg-server-crash-every-6-hours-nvidia

Copy pasting it here :

Every few hours my fresh Lubuntu 14.04 laptop crashes violently. Bringing Xorg server down. I have an asus ROG with geforce gtx-960m.

I looked at the xorg server log and it seems to point to a Nvidia crash.

I had problems with nouveau drivers. So I went to https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia
And executed

    sudo ubuntu-drivers devices
    == /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
    modalias : pci:v000010DEd0000139Bsv00001043sd0000185Dbc03sc02i00
    vendor : NVIDIA Corporation
    driver : nvidia-352 - distro non-free recommended
    driver : nvidia-352-updates - distro non-free
    driver : xserver-xorg-video-nouveau - distro free builtin

Then proceeded to install nvidia-352 as recommended via apt-get. It works fine except when it crashes every ~6 hours (sudden memory leak then freeze) : When running nvidia-settings it says driver version : 352.63 And I can run cuda and opengl just fine.

Previously I was under 14.10 then 15.04 and it was working OK until the 15.10 migration, which was so unstable I had to install back a fresh 14.04.

What did I do wrong ? Can you advise what I should do ?

Below is the relevant part of : /var/log/Xorg.0.log.old

    [ 19258.494] reporting 4 6 16 132
    (EE) [mi] EQ overflowing. Additional events will be discarded until existing events are processed.
    (EE)
    (EE) Backtrace:
    (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x7f84f1568f08]
    (EE) 1: /usr/bin/X (mieqEnqueue+0x22b) [0x7f84f154bc3b]
    (EE) 2: /usr/bin/X (QueuePointerEvents+0x52) [0x7f84f1433042]
    (EE) 3: /usr/bin/X (xf86PostMotionEvent+0xd6) [0x7f84f14691b6]
    (EE) 4: /usr/lib/xorg/modules/input/synaptics_drv.so (0x7f84e5768000+0x521e) [0x7f84e576d21e]
    (EE) 5: /usr/lib/xorg/modules/input/synaptics_drv.so (0x7f84e5768000+0x71f2) [0x7f84e576f1f2]
    (EE) 6: /usr/bin/X (0x7f84f13c8000+0x914b8) [0x7f84f14594b8]
    (EE) 7: /usr/bin/X (0x7f84f13c8000+0xb93d0) [0x7f84f14813d0]
    (EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (0x7f84ef548000+0x36d40) [0x7f84ef57ed40]
    (EE) 9: /usr/bin/X (0x7f84f13c8000+0x1a5390) [0x7f84f156d390]
    (EE) 10: /lib/x86_64-linux-gnu/libc.so.6 (0x7f84ef548000+0x36d40) [0x7f84ef57ed40]
    (EE) 11: /lib/x86_64-linux-gnu/libc.so.6 (0x7f84ef548000+0x15024b) [0x7f84ef69824b]
    (EE) 12: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f84e9329000+0xc8ce3) [0x7f84e93f1ce3]
    (EE) 13: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f84e9329000+0x5d9472) [0x7f84e9902472]
    (EE) 14: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f84e9329000+0x5d986e) [0x7f84e990286e]
    (EE) 15: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f84e9329000+0x5d581c) [0x7f84e98fe81c]
    (EE) 16: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f84e9329000+0x5a2533) [0x7f84e98cb533]
    (EE) 17: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f84e9329000+0x5a7624) [0x7f84e98d0624]
    (EE) 18: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f84e9329000+0x5b3e85) [0x7f84e98dce85]
    (EE) 19: /usr/bin/X (0x7f84f13c8000+0x5414e) [0x7f84f141c14e]
    (EE) 20: /usr/bin/X (0x7f84f13c8000+0x57f9b) [0x7f84f141ff9b]
    (EE) 21: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7f84ef569ec5]
    (EE) 22: /usr/bin/X (0x7f84f13c8000+0x4352e) [0x7f84f140b52e] (EE)
    (EE) [mi] These backtraces from mieqEnqueue may point to a culprit higher up the stack.
    (EE) [mi] mieq is NOT the cause. It is a victim.
    (EE) [mi] EQ overflow continuing. 100 events have been dropped.
    (EE)

The fix consisting of turning off gpu acceleration helps to stabilize a little but it still crash at least once a day.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xorg 1:7.7+1ubuntu8.1
ProcVersionSignature: Ubuntu 3.19.0-25.26~14.04.1-generic 3.19.8-ckt2
Uname: Linux 3.19.0-25-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CurrentDesktop: LXDE
Date: Sat Dec 26 09:49:19 2015
InstallationDate: Installed on 2015-11-14 (41 days ago)
InstallationMedia: Lubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
smallwill (william-ribault) wrote :
Revision history for this message
smallwill (william-ribault) wrote :

Not using Variety (a background image desktop changer) reduces drastically the frequence of crashes. (But xorg still crashes).

Revision history for this message
penalvch (penalvch) wrote :

smallwill, thank you for reporting this and helping make Ubuntu better.

Could you please run the following command once from a terminal as it will automatically gather and attach updated debug information to this report:
apport-collect -p xorg 1529360

Please ensure you have the package xdiagnose installed, and that you click the Yes button for attaching additional debugging information.

When reporting xorg related bugs in the future, please do so via the above method. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in xorg (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xorg (Ubuntu) because there has been no activity for 60 days.]

Changed in xorg (Ubuntu):
status: Incomplete → Expired
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.