Xorg freeze

Bug #1531824 reported by Phill
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Symptoms:

* Video is frozen.

Observations:

* Mouse moves normally.
* There is no hard-disc activity.
* Once minute or so the video will respond like it's doing so a frame at a time.
* Pressing CTRL+ALT+F6 and then waiting a minute or so puts you into a terminal.
* Text terminals work normally without any problems.
* Pressing ALT+F7 from a text terminal puts you into either black frozen screen or a frozen graphical display.
* Restarting LightDM doesn't resolve the problem, it shows the login screen and freezes.

When does it occur:

* More often than not on or immediately after resume from suspend.
* Occasionally, but not very often, during normal use.
* It occurs several times a week, usually after several hours of suspend.

It started a few months ago.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xorg 1:7.7+1ubuntu8.1
ProcVersionSignature: Ubuntu 3.16.0-57.77~14.04.1-generic 3.16.7-ckt20
Uname: Linux 3.16.0-57-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Thu Jan 7 11:29:40 2016
DistUpgraded: Fresh install
DistroCodename: trusty
DistroVariant: ubuntu
DkmsStatus:
 virtualbox, 4.3.34, 3.16.0-56-generic, x86_64: installed
 virtualbox, 4.3.34, 3.16.0-57-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GpuHangFrequency: Several times a week
GpuHangReproducibility: Occurs more often under certain circumstances
GpuHangStarted: Since a couple weeks or more
GraphicsCard:
 Intel Corporation 4 Series Chipset Integrated Graphics Controller [8086:2e22] (rev 03) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:8276]
   Subsystem: ASUSTeK Computer Inc. Device [1043:8276]
InstallationDate: Installed on 2015-07-13 (177 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
MachineType: System manufacturer V-P5G45
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-57-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/18/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0405
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: V-P5G45
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0405:bd05/18/2009:svnSystemmanufacturer:pnV-P5G45:pvrSystemVersion:rvnASUSTeKComputerINC.:rnV-P5G45:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: V-P5G45
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.compiz: compiz 1:0.9.11.3+14.04.20150313-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.60-2~ubuntu14.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri N/A
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core N/A
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A
xserver.bootTime: Thu Jan 7 11:11:57 2016
xserver.configfile: default
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 41085
 vendor DEL
xserver.version: 2:1.16.0-1ubuntu1.2~trusty2

Revision history for this message
Phill (phill.l) wrote :
Revision history for this message
Phill (phill.l) wrote :
Revision history for this message
Phill (phill.l) wrote :
Revision history for this message
Phill (phill.l) wrote :
Revision history for this message
penalvch (penalvch) wrote :

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

At your earliest convenience, could you please test the latest upstream kernel available from the very top line at the top of the page from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D (the release names are irrelevant for testing, and please do not test the daily folder)? Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds . This will allow additional upstream developers to examine the issue.

If testing on your main install would be inconvenient, one may:
1) Install Ubuntu to a different partition and then test this there.
2) Backup, or clone the primary install.

If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where X, and Y are the first two numbers of the kernel version, and Z is the release candidate number if it exists.

If the mainline kernel does not fix the issue, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream.

Once testing of the latest upstream kernel is complete, please mark this report's Status as Confirmed. Please let us know your results.

Thank you for your understanding.

tags: added: latest-bios-0405
affects: xorg (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Phill (phill.l) wrote :

Kernel 4.4.0 is unusable, screen immediately enters power-save and stays that way.

After GRUB (or if GRUB is not interrupted) the screen goes into power-save mode and stays that way. I can type my full-disk decryption password in and after a some disc activity I hear the "login sound", but the screen remains in power-save mode and doesn't come out of it with mouse or keyboard movement.

linux-headers-4.4.0-040400_4.4.0-040400.201601101930_all.deb
linux-headers-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb
linux-image-4.4.0-040400-generic_4.4.0-040400.201601101930_amd64.deb

Will try another.

penalvch (penalvch)
tags: added: needs-bisect regression-update
Revision history for this message
Phill (phill.l) wrote :

Okay, v4.3-wily boots and does not exhibit the original bug. Same for v4.1-wily.

Looks like there's another bug here with v4.4-wily as I mentioned, not sure if another bug should be raised for that?

I also think I have a test that I can perform to reproduce the fault on-demand - just keep suspending and resuming a few times and the screen soon locks up. This didn't happen with v4.1 or v4.3. If this holds true it might be practical to bisect, otherwise probably not.

I was going to bisect the kernel archives to find where the problem started, but I figure I should check with you first.

Please advise.

Ta.

Revision history for this message
penalvch (penalvch) wrote :

Phill, to see if this is already resolved in Ubuntu, could you please test http://cdimage.ubuntu.com/daily-live/current/ and advise to the results?

Revision history for this message
Phill (phill.l) wrote :

To see if what's resolved? The boot failure or this freeze issue?

FYI - 3.17 has display corruption (large parts of the screen don't get painted), and my test method wasn't reliable, it's going to take ages trying to bisect the version to find a potentially fixed one as it looks like I need the machine to be running for a day or so to be certain of anything.

Currently on 3.16.0-59 (was 57 when I reported it), so I'll see how this goes.

Revision history for this message
penalvch (penalvch) wrote :

Phill, both.

Revision history for this message
Phill (phill.l) wrote :

Cheers. Will do.

It might take a while. I'm still testing 3.16.0-59 for another day or two just to be sure.

Do you have any suggestions for forcing this sort of bug to surface on-demand? It would really help speed things up as I'm having to run the machine for a couple of days to be sure at the moment.

Ta

Revision history for this message
Phill (phill.l) wrote :

Quick update: It's taking a couple of days or more to test properly, so testing the live CD for this issue wont be practical, however, it looks like it isn't necessary. 3.18.0-031800-generic (from v3.18-vivid) appears not to have the problem...

v3.16.0-57 INTERMITTENT VIDEO FREEZE ON RESUME
v3.16.0-59 INTERMITTENT VIDEO FREEZE ON RESUME
v3.17-utopic WIDESPREAD VIDEO CORRUPTION
v3.18-vivid WORKED PERFECTLY FOR DAYS

I guess there are a lot of versions between 3.16.0 and 3.18 so please advise, I'll continue to try to pin it down, but if that's enough to find what's needed let me know.

I'll still download and test the live CD for the video being in standby from boot when I get a chance.

Revision history for this message
Phill (phill.l) wrote :

Tested the daily ISO:
xenial-desktop-amd64.iso
Mon, 25 Jan 2016 07:58:31 GMT
SHA256SUM: c6dcbd93724704d217e08a75167f0c2188e2847507b782e9127adba017b3fca2
This booted from the DVD but there was widespread video corruption. The shadows on windows had a scan-line effect, although it was more than one pixel per line. Most text was heavily corrupted beyond being able to guess what the words were but sometimes righted themselves on hover. So I guess the boot issue is fixed but it has its own problems. Should I raise another bug report for this?

Back to the issue at hand: 3.18.0-031800-generic has worked flawlessly for days now without freezing, so there's a fix for this issue between somewhere 3.16 and 3.18, unfortunately 3.17 has some major video corruption so I'm not sure how to proceed.

Ta

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

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

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
penalvch (penalvch) wrote :

Phill, could you please test the latest mainline kernel (4.6-rc6) and advise to the results?

To post a comment you must log in.