[gm45] Hard hang when plugging, unplugging, or turning off LG 55LE5400 TV

Bug #1114370 reported by Bruce Pierson
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xf86-video-intel
Won't Fix
Medium
xserver-xorg-video-intel (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

The system crashes whenever breaking the connection between the television and computer outputs. It's not a broad problem because the EDID for dell computer monitors is correct and they work just fine; however, my 24" samsung computer monitor and and LG HDMI TV cause the same problem. I've tried using a few bash scripts that modify the monitor settings using xrandr, but it must be an infinite loop issue in xorg that isn't properly handling the monitor switch.

I'm using a SONY VAIO FW250J (this is a similar bug to a few others already listed). The graphics driver should be supported by the open source intel graphics drivers (chipset GM45, GMA 4500 MHD). I originally thought it was a graphics driver issue, but transitioned to thining it was a hardware compatibility issue after tooling forward and backwards with the xserver-xorg-video-intel graphcs. I can't rule out a compatibilty issue mostly because it's a SONY laptop (they like to do things differently). I'll probably dive into xorg intel graphics source code to poke around, but doubt I'll uncover the issue.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xorg 1:7.6+12ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
Uname: Linux 3.5.0-18-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
CheckboxSubmission: 94ca22ba8b72b36d1027d4b82f9a52b1
CheckboxSystem: b633b4f40868d491c2ae5b50030ce6f3
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
CompositorRunning: compiz
Date: Sun Feb 3 09:37:27 2013
DistUpgraded: Fresh install
DistroCodename: precise
DistroVariant: ubuntu
DkmsStatus: virtualbox, 4.1.12: added
ExtraDebuggingInterest: Yes, even including gdb or git bisection work if needed
GraphicsCard:
 Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07) (prog-if 00 [VGA controller])
   Subsystem: Sony Corporation Device [104d:9035]
   Subsystem: Sony Corporation Device [104d:9035]
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
MachineType: Sony Corporation VGN-FW250J
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_CA:en
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-18-generic root=UUID=fa11e4a7-9c48-49ef-892e-6e3d23795cc5 ro quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/27/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: R1100Y0
dmi.board.asset.tag: N/A
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.asset.tag: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrR1100Y0:bd08/27/2009:svnSonyCorporation:pnVGN-FW250J:pvrC600ZV99:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
dmi.product.name: VGN-FW250J
dmi.product.version: C600ZV99
dmi.sys.vendor: Sony Corporation
version.compiz: compiz 1:0.9.7.12-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.41+git20130122.303ca37e-0ubuntu0sarvatt2~precise
version.libgl1-mesa-dri: libgl1-mesa-dri 9.1~git20130104.r1.b8b1d61e-0ubuntu0ricotz~precise
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.1~git20130104.r1.b8b1d61e-0ubuntu0ricotz~precise
version.xserver-xorg-core: xserver-xorg-core 2:1.12.3+git20120709+server-1.12-branch.60e0d205-0ubuntu0ricotz~precise
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0+git20120504.f28507e8-0ubuntu0sarvatt~precise
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.0.99+git20130107.857d729e-0ubuntu0sarvatt~precise
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.20.19+git20130131.fff06863-0ubuntu0sarvatt~precise
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.6+git20130107.8f934fad-0ubuntu0sarvatt~precise

Revision history for this message
Bruce Pierson (bpnuke) wrote :
bugbot (bugbot)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
bugbot (bugbot)
tags: added: freeze
tags: added: dual-head
Revision history for this message
Felix Möller (felix-derklecks) wrote :

Is this the same as bug #1025401 ?

Revision history for this message
Bruce Pierson (bpnuke) wrote :

I would suspect it is the same problem. I looked through bug #1025401 xrandr and lspci and both problems share the integrated intel graphics system although the bug you quoted has a newer chipset.

Revision history for this message
Bruce Pierson (bpnuke) wrote :

I have confirmed bug #1025401

Revision history for this message
Chris Wilson (ickle) wrote :

When you say your system freezes, do you mean that it is a hard hang (not accessible via the network or even pingable), or just the display subsystem is static?

There have been a number of kernel fixes since 3.5 that are relevant for the pageflip-vs-modeset races that are similar to what you describe. Can you please retest with, say, raring?

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Incomplete
Revision history for this message
Bruce Pierson (bpnuke) wrote :

I'll take a look, but yes, it is a hard hang it becomes completely unresponsive including the network ports. I would imagine raring would have similar issues if it is an xorg intel problem. I've tried the newest available kernel with the newest updates with similar results. It's unique to my LG tv because it works well with a set of dell and Samsung monitors I've tested it with.

Revision history for this message
Chris Wilson (ickle) wrote :

It would be usefull if you coud repeat your testing with a kernel > v3.7, as that contains a number of fixes to the modesetting sequence.

summary: - External Monitor Problems: System Freezes when plugging, unplugging, or
- turning off LG 55LE5400 TV
+ [gm45] Hard hang when plugging, unplugging, or turning off LG 55LE5400
+ TV
Revision history for this message
Bruce Pierson (bpnuke) wrote :

I began the upgrade process to raring last night. I should have some test results after this weekend...possibly sooner.

Revision history for this message
Bruce Pierson (bpnuke) wrote :

Also, the "newest" kernel I tested was of version 3.6 vintage a while back. Just FYI.

Revision history for this message
Bruce Pierson (bpnuke) wrote :

I upgraded to raring and am currently using the 3.8.0-6.13 kernel. The problem has gotten worse. The machine will not boot while connected to the external monitor. It still continues to hard freeze when the monitor is connected while the machine is running.

Revision history for this message
Chris Wilson (ickle) wrote :

Can you forward this bug to bugs.freedesktop.org Product: DRM, Component: Driver/Intel? We have more recent kernels for you to try (also available from the mainline ppa under drm-intel-experimental). I'm not aware of any known hard freezes for gm45, although there is a bug fix for X/compiz freezing on gm45.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → New
Revision history for this message
In , Bruce Pierson (bpnuke) wrote :

See the link below for details, the Linux kernel version is not listed because it is a developer kernel v3.8.0-6.13. Looking for xorg fixes via altered kernels.

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1114370

Revision history for this message
Bruce Pierson (bpnuke) wrote :

I looked to see how to "forward" it, but ended up just posting it and linking the URL to the post. Hope that works. As for the other kernels, you listed what looks like a repository. Once I get back to my machine, I'll take a look at it and start pulling updates down and testing.

Changed in xserver-xorg-video-intel:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Bruce Pierson (bpnuke) wrote :

I tried to add the ppa:kernel-ppa/mainline/drm-intel-experimental but there doesn't seem to be anything in this repository for raring. So I went with an alternative, I've added the xorg-edgers repository and updated the kernel to v3.8, still no success. If anyone has any suggestions regarding where to look inside the xorg-video-intel driver source code where I might fix this, I can take a look and see if I can't retool it, but I'd rather not start from scratch pouring over the whole driver.

Revision history for this message
Chris Wilson (ickle) wrote :

ppa:mainline is not strictly a repo, but an archive of daily snapshots of the upstream kernel. They don't want to make it a repo to avoid the kernel and inadvertent breakage. Hmm, seems it is out of date. You can just clone the upstream kernel, pull in drm-intel-next and build that using your ubuntu config, all it takes is a little bit of time.

I don't think there is a fix in there, which it makes it even more important that you can build upstream kernels so that you can apply patches to test.

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote :

This bugs is actually persistent for many years and versions of ubuntu. It has been posted here
 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/512387 ,
but developers decided that a new report should be opened if the bug persists. The quite the simple fix is (which works for all version Ubuntu) is to add this line to the kernel boot parameters
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/512387
The annoying thing is that because of a bug with grub, you have to add it manually and not by using update-grub.

Revision history for this message
Bruce Pierson (bpnuke) wrote :

So I reviewed the bug links in your most recent message suggesting that adjusting the aspi_osi parameter fixed your issue. I have not tried it, but did this fix it for you? I have been up and down the kernel ladder from v13.04 back to v10.10 and the issue persists for my system. Any input would be greatly appreciated =^)

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : Re: [Bug 1114370] Re: [gm45] Hard hang when plugging, unplugging, or turning off LG 55LE5400 TV

Yes, it works perfectly for me in v12.10 and any previous versions I have
ever used.

On Tue, Apr 2, 2013 at 3:05 PM, Bruce Pierson <email address hidden> wrote:

> So I reviewed the bug links in your most recent message suggesting that
> adjusting the aspi_osi parameter fixed your issue. I have not tried it,
> but did this fix it for you? I have been up and down the kernel ladder
> from v13.04 back to v10.10 and the issue persists for my system. Any
> input would be greatly appreciated =^)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1114370
>
> Title:
> [gm45] Hard hang when plugging, unplugging, or turning off LG 55LE5400
> TV
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/1114370/+subscriptions
>

Revision history for this message
In , Chris Wilson (ickle) wrote :

Seems to be an ACPI firmware bug.

Revision history for this message
In , Bruce Pierson (bpnuke) wrote :

Someone suggested changing the acpi boot settings in grub would fix the problem. I haven't tested it yet, but plan to sometime today or tomorrow.

Changed in xserver-xorg-video-intel:
status: Confirmed → Won't Fix
Revision history for this message
Bruce Pierson (bpnuke) wrote :

Tried it, and it didn't work. It still freezes up (I tried upgrading to the recently released 13.04 raring ringtail kernal v3.8.0.19).

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote :

You have to manually put the kernel parameter in the grub configuration. This means a grub-update will reset everything and you have to do it again. Next time you restart, try looking at the parameters at the grub screen by pressing "e". Make sure the syntax is correct!

Revision history for this message
Chris Wilson (ickle) wrote :

One thing you can try is linux v3.10 as that contains mitigation code for hotplug interrupt storms.

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote :

Can you suggest me a safe way to do this?

Revision history for this message
Chris Wilson (ickle) wrote :

The ppa:mainline drm-intel-nightly kernel is a good way to test - you can easily remove it afterwards and it will otherwise not interfere with your system. (Ideally!)

Revision history for this message
Chris Wilson (ickle) wrote :

3.10 is available in saucy (at least), worth testing.

Revision history for this message
penalvch (penalvch) wrote :

Bruce Pierson, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p xserver-xorg-video-intel REPLACE-WITH-BUG-NUMBER

Please note, given that the information from the prior release is already available, doing this on a release prior to the development one would not be helpful.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : apport information

.tmp.unity.support.test.0:

ApportVersion: 2.13.1-0ubuntu1
Architecture: amd64
CasperVersion: 1.336ubuntu1
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
DistUpgraded: Fresh install
DistroCodename: trusty
DistroRelease: Ubuntu 14.04
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07) (prog-if 00 [VGA controller])
   Subsystem: Sony Corporation Device [104d:9035]
   Subsystem: Sony Corporation Device [104d:9035]
LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140121)
MachineType: Sony Corporation VGN-FW250J
Package: xserver-xorg-video-intel 2:2.99.907-0ubuntu1
PackageArchitecture: amd64
ProcKernelCmdLine: file=/cdrom/preseed/username.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
ProcVersionSignature: Ubuntu 3.13.0-4.19-generic 3.13.0-rc8
Tags: trusty ubuntu reproducible has-workaround compiz-0.9
Uname: Linux 3.13.0-4-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 08/27/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: R1100Y0
dmi.board.asset.tag: N/A
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.asset.tag: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrR1100Y0:bd08/27/2009:svnSonyCorporation:pnVGN-FW250J:pvrC600QXY1:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
dmi.product.name: VGN-FW250J
dmi.product.version: C600QXY1
dmi.sys.vendor: Sony Corporation
version.compiz: compiz 1:0.9.10+13.10.20131011-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.51-1
version.libgl1-mesa-dri: libgl1-mesa-dri 10.0.1-1ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.0.1-1ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.14.5-1ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.2.0-0ubuntu10
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.907-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu1
xserver.bootTime: Tue Jan 21 11:41:04 2014
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.14.5-1ubuntu2

tags: added: apport-collected has-workaround reproducible trusty
Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : BootDmesg.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : BootLog.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : Dependencies.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : DpkgLog.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : GconfCompiz.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : LightdmDisplayLog.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : LightdmLog.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : Lspci.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : Lsusb.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : ProcEnviron.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : ProcModules.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : UdevDb.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : UdevLog.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : UnitySupportTest.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : XorgLog.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : XorgLogOld.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : Xrandr.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote : xdpyinfo.txt

apport information

Revision history for this message
Emil Pavlov (emil-p-pavlov) wrote :

I tested the bug on the latest development version of Ubuntu as you requested and it is still present. I must mention, though, I was using a live version of Ubuntu (on usb). If this doesn't work for you, let me know.

Revision history for this message
penalvch (penalvch) wrote :

Emil Pavlov, please do not apport-collect to another person's report, as this was not requested from you, but was from the original reporter. Despite this, so your hardware and problem may be tracked, could you please file a new report by executing the following in a terminal:
ubuntu-bug xorg

For more on this, please see the official Ubuntu documentation:
Ubuntu X.Org Team, Ubuntu Bug Control, and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report will delay your problem being addressed as quickly as possible.

Thank you for your understanding.

tags: removed: apport-collected has-workaround reproducible trusty
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.