[Broken EDID] Acer Extensa 5635G with Nvidia G 105M - broken display

Bug #540632 reported by Ivan Katanović
114
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Nouveau Xorg driver
Fix Released
Medium
linux (Ubuntu)
Fix Released
Medium
Andy Whitcroft
Nominated for Lucid by Chris Halse Rogers

Bug Description

Binary package hint: xserver-xorg-video-nouveau

When trying to boot Lucid post alpha 3 (20100317), the display shuts down after start of a boot, and turns on after a wile with corrupted screen (desktop wallpaper mashed up with other colors), and I don't hear the login sound, and can't see and use mouse or panels, icons (sometimes can see mouse cursor, but can't move it, sometimes the screen is meshed up and can't see neither wallpaper).
When booting with nomodeset=0 I can use the system with vesa loaded. The laptop is Acer Extensa 5635G with Nvidia G 105M. This laptop has corrupted EDID. I know that because I was having problem with Nvidia propertary driver which, when used, divided my display to 6 little screens with resolution 640*480. Nvidia guy's said that this was occurring because EDID was invalid and they made workaround for this bug in last beta driver.

Here is the xrandr --verbose while in vesa:
Screen 0: minimum 640 x 480, current 1280 x 720, maximum 1280 x 720
default connected 1280x720+0+0 (0x108) normal (normal) 0mm x 0mm
 Identifier: 0x107
 Timestamp: 402760
 Subpixel: unknown
 Clones:
 CRTC: 0
 CRTCs: 0
 Transform: 1.000000 0.000000 0.000000
                   0.000000 1.000000 0.000000
                   0.000000 0.000000 1.000000
                    filter:
  1280x720 (0x108) 0.0MHz *current
        h: width 1280 start 0 end 0 total 1280 skew 0 clock 0.0KHz
        v: height 720 start 0 end 0 total 720 clock 0.0Hz
  800x600 (0x109) 29.3MHz
        h: width 800 start 0 end 0 total 800 skew 0 clock 36.6KHz
        v: height 600 start 0 end 0 total 600 clock 61.0Hz
  640x480 (0x10a) 18.4MHz
        h: width 640 start 0 end 0 total 640 skew 0 clock 28.8KHz
        v: height 480 start 0 end 0 total 480 clock 60.0Hz

In the attachments are files obtained while in vesa.

Edit: the symptoms of this bug are similar to the bug #539730, so I made comment there, but was suggested to make new bug report.

Revision history for this message
Ivan Katanović (igadmile-deactivatedaccount) wrote :
Revision history for this message
Ivan Katanović (igadmile-deactivatedaccount) wrote :

lspci -wnn

Revision history for this message
Ivan Katanović (igadmile-deactivatedaccount) wrote :
Revision history for this message
Ivan Katanović (igadmile-deactivatedaccount) wrote :
summary: - Screen corruption when using KMS. Acer Extensa 5635G/Nvidia G 105M
+ Screen corruption when using KMS. Acer Extensa 5635G / Nvidia G 105M
Revision history for this message
Chris Halse Rogers (raof) wrote : Re: Screen corruption when using KMS. Acer Extensa 5635G / Nvidia G 105M

I'm not convinced that this is the same as bug #539730, particularly since you say you can't hear the login sounds, which indicates that something has locked rather than nouveau simply mis-driving the display.

It would be ideal if you could ssh into the laptop while it's doing this and copy dmesg and Xorg.0.log. I know that's likely to be difficult, so an easier thing would be to boot the laptop without modeset=0, wait until the laptop locks, and then restart. You should then be able to attach /var/log/Xorg.0.log.old and /var/log/messages, which should contain the information from the previous boot.

/var/log/messages can sometimes contain sensitive information, so I'm marking this bug as private.

visibility: public → private
Bryce Harrington (bryce)
tags: added: lucid
Changed in xserver-xorg-video-nouveau (Ubuntu):
status: New → Confirmed
Revision history for this message
Ivan Katanović (igadmile-deactivatedaccount) wrote :

ok, i can use terminal by pressing ctrl+alt+F1

here are the files that you requested.

Revision history for this message
Ivan Katanović (igadmile-deactivatedaccount) wrote :
visibility: private → public
Changed in xserver-xorg-video-nouveau (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Chris Halse Rogers (raof) wrote :

Ah, ok. Those logs make this much more obvious. Nouveau is detecting the corrupted EDID, deciding that it can't drive your laptop display, and disabling it. Then X comes along, tries to load, the nouveau X component finds that there are no displays available and bails.

It would be nice if you could add the problematic EDID to the bug - to do this, just boot without modeset=0, switch to a vt, and you should have a /sys/class/drm/ directory, which hopefully will contain a subdirectory called something like “card0-LVDS-1”. Copy the “edid” file from there, and attach it to the bug.

I'll then forward this upstream. The other thing that might be useful is to get an mmiotrace of the nvidia proprietary driver successfully booting your card. That's a bit more involved, and requires some kernel support that's not yet enabled in the default kernel. I'm going to be writing up step-by-step instructions to do this, so if upstream wants a mmiotrace I'll have some documentation to point you to.

Revision history for this message
Ivan Katanović (igadmile-deactivatedaccount) wrote :

Ok. Here is the edid file which was located at /sys/class/drm/card0-VGA-1
Obviously it's empty. Hope this helps.

Revision history for this message
Chris Halse Rogers (raof) wrote : Re: [Bug 540632] Re: Screen corruption when using KMS. Acer Extensa 5635G / Nvidia G 105M

> Ok. Here is the edid file which was located at /sys/class/drm/card0-VGA-1
> Obviously it's empty. Hope this helps.

There wasn't a /sys/class/drm/card0-LVDS-1 directory? Or any LVDS
directory? That's annoying - there should be one for each output you
have (because the edid is a per-monitor thing).

Thanks anyway. I'll forward this upstream.

Revision history for this message
Ivan Katanović (igadmile-deactivatedaccount) wrote : Re: Screen corruption when using KMS. Acer Extensa 5635G / Nvidia G 105M

I've checked again, and can confirm that there is no /sys/class/drm/card0-LVDS-1 or any LVDS.

Revision history for this message
Ivan Katanović (igadmile-deactivatedaccount) wrote :

As I mentioned before, this problem with corrupted EDID was occurring in the propertary driver too till the last beta. By reading this thread on Linux Nvidia forum: http://www.nvnews.net/vbulletin/showthread.php?t=132041, it seems that only known laptops affected by this bug are Acer ones. These are correct values for the panel: http://www.nvnews.net/vbulletin/showpost.php?p=2167144&postcount=13 . Maybe some of these information could help.

Revision history for this message
jdobry (jdobry) wrote :

Its same for me.

Revision history for this message
In , Chris Halse Rogers (raof) wrote :

Forwarded from launchpad: https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-nouveau/+bug/540632

Nouveau fails to drive the LVDS screen of an Acer Extensa 5635G laptop. This seems to be due to the laptop having a corrupt EDID.

The latest nvidia beta drivers seem to have a quirk for it, and there's a corrected EDID available here: http://www.nvnews.net/vbulletin/showpost.php?p=2167144&postcount=13

Xorg log: http://launchpadlibrarian.net/41226284/Xorg.0.log
dmesg: http://launchpadlibrarian.net/41226414/dmesg

Changed in nouveau:
status: Unknown → Confirmed
Revision history for this message
Chris Halse Rogers (raof) wrote : Re: Screen corruption when using KMS. Acer Extensa 5635G / Nvidia G 105M

This has now been forwarded to the Nouveau project. Please subscribe to http://bugs.freedesktop.org/show_bug.cgi?id=27230 as the developers might need more information to fix the bug.

Revision history for this message
In , Piotr Drąg (piotrdrag) wrote :
Revision history for this message
Chris Halse Rogers (raof) wrote : Re: Screen corruption when using KMS. Acer Extensa 5635G / Nvidia G 105M

It is possible that there has been a fix for this uptsream, but I'd like to check that it could work before providing a test-kernel. Could you please collect dmesg again from a boot where you've added “drm.debug=0x04” to the kernel boot parameters?

Revision history for this message
Chris Halse Rogers (raof) wrote : Re: [Bug 540632] Re: Screen corruption when using KMS. Acer Extensa 5635G / Nvidia G 105M

 status incomplete

Actually, it turns out that Sarvatt is awesome. He's already added the
potential fix to the xorg-edgers PPA. If you could test that, it would
be great!

Changed in nouveau:
status: Confirmed → Incomplete
Revision history for this message
Ivan Katanović (igadmile-deactivatedaccount) wrote : Re: Screen corruption when using KMS. Acer Extensa 5635G / Nvidia G 105M

Could you give me the link to the patch, and guide how to install it? I'd be happy to help.

Revision history for this message
Ivan Katanović (igadmile-deactivatedaccount) wrote :

Ok, I've updated system, and now is even worse. The display powers off after start of a boot, and doesn't turn on. Can't hear the login sound, and ca't use system (ctrl+alt+F2 doesn't work). Here is the xorg.0.log.old if it could help.

Revision history for this message
Chris Halse Rogers (raof) wrote :

You added the ppa from https://edge.launchpad.net/~xorg-edgers/+archive/ppa and that was your Xorg.0.log? That log isn't using the updated packages from the xorg-edgers PPA - the line
(II) [drm] nouveau interface version: 0.0.15
indicates that it's using the main archive's version of the packages.

What did you do to enable the xorg-edgers PPA?

Revision history for this message
Ivan Katanović (igadmile-deactivatedaccount) wrote :

Thanks for the link. I've added xorg-edgers PPA, updated, and it's same as before (the display powers off after start of a boot, and doesn't turn on. Can't hear the login sound, and can't use system, ctrl+alt+F2 doesn't work).
(II) [drm] nouveau interface version is now 0.0.16. Here's the log.

Revision history for this message
In , Chris Halse Rogers (raof) wrote :

Thanks for that pointer; the second patch does fix it for the reporter.

Revision history for this message
Ivan Katanović (igadmile-deactivatedaccount) wrote : Re: Screen corruption when using KMS. Acer Extensa 5635G / Nvidia G 105M

Yes!!
It finally works! I've updated just few minutes ago and the update of linux-backports-modules-nouveau from xorg-edgers PPA fixed it. Everyihing works, an resolution is set right. Will it be incuded in official ubuntu packages till final release? Here is dmesg and xorg.0.log in case that you want to check it out.

Revision history for this message
Ivan Katanović (igadmile-deactivatedaccount) wrote :
Revision history for this message
Chris Halse Rogers (raof) wrote :

Moving this off to the kernel package. This is fixed in commit http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commit;h=44fef22416886a04d432043f741a6faf2c6ffefd so it should be possible to pull into the main kernel.

summary: - Screen corruption when using KMS. Acer Extensa 5635G / Nvidia G 105M
+ [Broken EDID] Acer Extensa 5635G with Nvidia G 105M - broken display
affects: xserver-xorg-video-nouveau (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Confirmed → Triaged
tags: added: xorg-needs-kernel-fix
Changed in linux (Ubuntu):
milestone: none → ubuntu-10.04-beta-2
Changed in nouveau:
status: Incomplete → Fix Released
Revision history for this message
Andy Whitcroft (apw) wrote :

Ok I have put together a test kernel with the the suggested patch applied. If those of you affected by this issue could test those kernels and report back. The kernel is at the URL below, if you could test and report back here:

    http://people.canonical.com/~apw/lp540632-lucid/

Thanks.

Changed in linux (Ubuntu):
status: Triaged → Incomplete
assignee: nobody → Andy Whitcroft (apw)
milestone: ubuntu-10.04-beta-2 → ubuntu-10.04
Revision history for this message
Ivan Katanović (igadmile-deactivatedaccount) wrote :

Ok, I've tested the test kernel on fresh installed Kubuntu, and can confirm that this fixes the problem (xorg.0.log and dmesg are attatched if you need it).

Revision history for this message
Ivan Katanović (igadmile-deactivatedaccount) wrote :
Andy Whitcroft (apw)
Changed in linux (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (10.2 KiB)

This bug was fixed in the package linux - 2.6.32-20.29

---------------
linux (2.6.32-20.29) lucid; urgency=low

  [ Andy Whitcroft ]

  * Revert "SAUCE: Use MODULE_IMPORT macro to tie intel_agp to i915"
    - LP: #542251
  * add Breaks: against hardy lvm2
    - LP: #528155

  [ Colin Watson ]

  * d-i -- enable udebs for generic-pae
    - LP: #160366

  [ Stefan Bader ]

  * [Config] Add xen netboot support
    - LP: #160366

  [ Takashi Iwai ]

  * (pre-stable): input: Support Clickpad devices in ClickZone mode
    - LP: #516329

  [ Upstream Kernel Changes ]

  * Revert "(pre-stable) Bluetooth: Fix sleeping function in RFCOMM within
    invalid context"
    - LP: #553837
  * Revert "(pre-stable) USB: fix usbfs regression"
    - LP: #553837
  * Revert "(pre-stable) softlockup: Stop spurious softlockup messages due
    to overflow"
    - LP: #553837
  * Revert "(pre-stable) drm/nouveau: report unknown connector state if lid
    closed"
    - LP: #553837
  * drivers/scsi/ses.c: eliminate double free
    - LP: #553837
  * decompress: fix new decompressor for PIC
    - LP: #553837
  * ARM: Fix decompressor's kernel size estimation for ROM=y
    - LP: #553837
  * MIPS: Cleanup forgotten label_module_alloc in tlbex.c
    - LP: #553837
  * tg3: Fix tg3_poll_controller() passing wrong pointer to tg3_interrupt()
    - LP: #553837
  * tg3: Fix 5906 transmit hangs
    - LP: #553837
  * ALSA: hda - Fix input source elements of secondary ADCs on Realtek
    - LP: #553837
  * ALSA: hda: enable MSI for Gateway M-6866
    - LP: #538918, #553837
  * timekeeping: Prevent oops when GENERIC_TIME=n
    - LP: #553837
  * Input: alps - add support for the touchpad on Toshiba Tecra A11-11L
    - LP: #553837
  * Input: i8042 - add ALDI/MEDION netbook E1222 to qurik reset table
    - LP: #553837
  * i2c-i801: Don't use the block buffer for I2C block writes
    - LP: #553837
  * ath5k: dont use external sleep clock in AP mode
    - LP: #553837
  * ath5k: fix setup for CAB queue
    - LP: #553837
  * ring-buffer: Move disabled check into preempt disable section
    - LP: #553837
  * function-graph: Init curr_ret_stack with ret_stack
    - LP: #553837
  * Bluetooth: Fix sleeping function in RFCOMM within invalid context
    - LP: #553837
  * tracing: Use same local variable when resetting the ring buffer
    - LP: #553837
  * tracing: Disable buffer switching when starting or stopping trace
    - LP: #553837
  * tracing: Do not record user stack trace from NMI context
    - LP: #553837
  * PCI: unconditionally clear AER uncorr status register during cleanup
    - LP: #553837
  * efifb: fix framebuffer handoff
    - LP: #553837
  * coredump: suppress uid comparison test if core output files are pipes
    - LP: #553837
  * V4L/DVB (13961): em28xx-dvb: fix memleak in dvb_fini()
    - LP: #553837
  * hrtimer: Tune hrtimer_interrupt hang logic
    - LP: #553837
  * x86, apic: Don't use logical-flat mode when CPU hotplug may exceed 8
    CPUs
    - LP: #553837
  * mvsas: add support for Adaptec ASC-1045/1405 SAS/SATA HBA
    - LP: #553837
  * pci: add support for 82576NS serdes to existing SR-IOV quirk
    - LP: #553837
  * sched: Mark boot-cpu active before smp_init()
    -...

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Changed in nouveau:
importance: Unknown → Medium
Changed in nouveau:
importance: Medium → Unknown
Changed in nouveau:
importance: Unknown → Medium
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.