Please add LVDS quirk for the zotac zbox

Bug #1064924 reported by Sjoerd Simons on 2012-10-10
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Unassigned
Quantal
Medium
Unassigned

Bug Description

The Zotac ZBOX SD ID12 claims to have an LVDS interface, but that's not actually hooked up, thus confusing X slightly

This has been fixed upstream in:
  http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=9756fe38d10b2bf90c81dc4d2f17d5632e135364

and then reverted:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/?h=linux-3.8.y&qt=grep&q=drm%2Fi915%3A+no+lvds+quirk+for+Zotac+ZDBOX

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1064924

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Sjoerd Simons (sjoerd) wrote :

No useful log, patch has been attached, setting to confirmed

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: quantal
Changed in linux (Ubuntu):
assignee: nobody → Joseph Salisbury (jsalisbury)
status: Confirmed → In Progress
Joseph Salisbury (jsalisbury) wrote :

I built a Quantal test kernel with commit 9756fe3 applied.

The kernel is available for download from:
http://people.canonical.com/~jsalisbury/lp1064924

Can you test that kernel and post back if it fixes this bug? Please be sure to install both the linux-image and linux-image-extra .deb packages.

Thanks in advance!

Sjoerd Simons (sjoerd) wrote :

Unfortunately my test system for this is i386 not amd64, any chance you could do debs for that platform ? Also extra kudos if you have a package combining the fix for this and #1064921 as it's the same system :)

Joseph Salisbury (jsalisbury) wrote :

Sure, I'll post some i386 kernels shortly.

tags: added: kernel-da-key
Joseph Salisbury (jsalisbury) wrote :

I built an i386 Quantal test kernel with commit 9756fe3 applied.

The kernel is available for download from:
http://people.canonical.com/~jsalisbury/lp1064924

Can you test that kernel and post back if it fixes this bug? Please be sure to install both the linux-image and linux-image-extra .deb packages.

Thanks in advance!

Sjoerd Simons (sjoerd) wrote :

That fixes the issue indeed, thanks!

Tim Gardner (timg-tpi) on 2012-10-12
Changed in linux (Ubuntu Quantal):
status: In Progress → Fix Committed
Luis Henriques (henrix) wrote :

This bug is awaiting verification that the kernel for Quantal in -proposed solves the problem (3.5.0-18.29). Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-quantal' to 'verification-done-quantal'.

If verification is not done by one week from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-quantal
Sjoerd Simons (sjoerd) on 2012-10-24
tags: added: verification-done-quantal
removed: verification-needed-quantal

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Launchpad Janitor (janitor) wrote :
Download full text (16.4 KiB)

This bug was fixed in the package linux - 3.5.0-18.29

---------------
linux (3.5.0-18.29) quantal-proposed; urgency=low

  [Luis Henriques]

  * Release Tracking Bug
    - LP: #1068224

  [ Andy Whitcroft ]

  * [packaging] do not fail secure copy on older kernels
  * SAUCE: efivarfs: efivarfs_file_read ensure we free data in error paths
    - LP: #1063061
  * SAUCE: efivars: efivarfs_create() ensure we drop our reference on inode
    on error
    - LP: #1063061
  * SAUCE: efivarfs: efivarfs_fill_super() fix inode reference counts
    - LP: #1063061
  * SAUCE: efivarfs: efivarfs_fill_super() ensure we free our temporary
    name
    - LP: #1063061
  * SAUCE: efivarfs: efivarfs_fill_super() ensure we clean up correctly on
    error
    - LP: #1063061
  * [Config] add fs/udf to linux-image to support DVD/CD formats in virtual
    instances
    - LP: #1066921

  [ Jeremy Kerr ]

  * SAUCE: efi: Handle deletions and size changes in efivarfs_write_file
    - LP: #1063061
  * SAUCE: efivarfs: Implement exclusive access for {get, set}_variable
    - LP: #1063061

  [ Kamal Mostafa ]

  * SAUCE: input: Cypress PS/2 Trackpad list additional contributors

  [ Kyle Fazzari ]

  * SAUCE: input: Cypress PS/2 Trackpad fix lost sync upon palm contact
    - LP: #1048258
  * SAUCE: input: Cypress PS/2 Trackpad fix taps turning into hardware
    clicks
    - LP: #1064086

  [ Leann Ogasawara ]

  * Revert "SAUCE: ext4: fix crash when accessing /proc/mounts
    concurrently"
    - LP: #1066176
  * Revert "SAUCE: ALSA: hda/realtek - Fix detection of ALC271X codec"
    - LP: #1066176

  [ Lee, Chun-Yi ]

  * SAUCE: efi: add efivars kobject to efi sysfs folder
    - LP: #1063061

  [ Matt Fleming ]

  * SAUCE: efivarfs: Add documentation for the EFI variable filesystem
    - LP: #1063061

  [ Matthew Garrett ]

  * SAUCE: efi: Add support for a UEFI variable filesystem
    - LP: #1063061

  [ Sarveshwar Bandi ]

  * SAUCE: bridge: Pull ip header into skb->data before looking into ip
    header.
    - LP: #1065150

  [ Upstream Kernel Changes ]

  * Revert "drm/i915: correctly order the ring init sequence"
    - LP: #1066176
  * vfs: dcache: fix deadlock in tree traversal
    - LP: #1063761
  * dm mpath: only retry ioctl when no paths if queue_if_no_path set
    - LP: #1063761
  * dm: handle requests beyond end of device instead of using BUG_ON
    - LP: #1063761
  * dm table: clear add_random unless all devices have it set
    - LP: #1063761
  * dm verity: fix overflow check
    - LP: #1063761
  * usb: gadget: make g_printer enumerate again
    - LP: #1063761
  * usb: gadget: initialize the strings in tcm_usb_gadget properly
    - LP: #1063761
  * USB: option: blacklist QMI interface on ZTE MF683
    - LP: #1063761
  * USB: ftdi_sio: add TIAO USB Multi-Protocol Adapter (TUMPA) support
    - LP: #1063761
  * USB: qcaux: add Pantech vendor class match
    - LP: #1063761
  * usb: host: xhci: Fix Null pointer dereferencing with 71c731a for
    non-x86 systems
    - LP: #1063761
  * USB: serial: fix up bug with missing {}
    - LP: #1063761
  * staging: speakup_soft: Fix reading of init string
    - LP: #1063761
  * tty: keyboard.c: Remove locking from vt_get_leds.
  ...

Changed in linux (Ubuntu Quantal):
status: Fix Committed → Fix Released
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
JohnFlux (johnflux) wrote :

This causes a regression for me - I no longer have HDMI output.

I've been told that I have a lvds-to-hdmi bridge, so this commit breaks that.

Please revert this commit in both 12.04 and 12.10 !

JohnFlux (johnflux) wrote :

I found this news article that talks a bit about their LVDS-to-HDMI bridge.

http://www.zotacusa.com/forum/topic/2215-zotac-announces-collaboration-with-ite/

Basically the Intel Atom chip doesn't have HDMI support. Only support for LVDS (laptop screens) and VGA. So Zotac make a bridge from LVDS to HDMI.

Sjoerd Simons (sjoerd) wrote :

While the Zotac does have such an LVDI to HDMI bridge i've never seen it working on any of my boxes and they're in general not properly supported in linux (No real hotplug detection etc).

Which zotac model do you have for which this works and can you add the output from DMI decode?

JohnFlux (johnflux) wrote :

I added my dmidecode output - could you do the same please?

Also, what do you mean by "never seen it working" exactly? For me, I plugged in my projector to the hdmi and it just worked (before this patch). I didn't do anything set it up.

Do you have an hdmi output on your boxes? What happens if you try to use it?

Note that the hdmi output is maximum 720p only.

Joseph Salisbury (jsalisbury) wrote :

The regression caused by this bug is currently being reviewed upstream. Commit 9756fe3 may have to be reverted.

Joseph Salisbury (jsalisbury) wrote :

@JohnFlux

Can you open a new bug for the regression introduced by commit 9756fe3? That will allow us to track and address the issue.

Thanks in advance!

Joseph Salisbury (jsalisbury) wrote :

I created a Quantal test kernel with upstream commit 9756fe3 reverted(It was commit 47f80be7 in the Ubuntu source tree).

The test kernel can be downloaded from:
http://people.canonical.com/~jsalisbury/lp1064924

Can folks affected by the regression caused by commit 9756fe3 test that kernel and post back if it fixes the regression? Please be sure to install both the linux-image and linux-image-extra .deb packages.

Thanks in advance!

Jonathan Nieder (jrnieder) wrote :

I assume this should be reopened now that 9756fe3 has been reverted upstream?

Joseph Salisbury (jsalisbury) wrote :

@Jonathan, agreed.

Since this is an upstream bug, would it be possible for you to open an upstream bug report[0]? That will allow the upstream Developers to examine the issue, and may provide a quicker resolution to the bug.

Please follow the instructions on the wiki page[0]. The first step is to email the appropriate mailing list. If no response is received, then a bug may be opened on bugzilla.kernel.org.

[0] https://wiki.ubuntu.com/Bugs/Upstream/kernel

Changed in linux (Ubuntu):
assignee: Joseph Salisbury (jsalisbury) → nobody
Changed in linux (Ubuntu Quantal):
assignee: Joseph Salisbury (jsalisbury) → nobody
Changed in linux (Ubuntu):
status: Fix Released → Triaged
Changed in linux (Ubuntu Quantal):
status: Fix Released → Triaged

Sjoerd Simons, 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 linux <replace-with-bug-number>

If reproducible, could you also please test the latest upstream kernel available (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.13-rc6

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Changed in linux (Ubuntu):
status: Triaged → Incomplete
tags: added: needs-kernel-logs
removed: verification-done-quantal
description: updated
Sjoerd Simons (sjoerd) wrote :

Yes this bug remains an issue for me, the problem really is there is no solution that works for everyone.

Just to recap the problem with these machines is that they have an external HDMI encoder which is hooked up to the LVDS output of the GPU. Linux itself doesn't support configuring that encoder, so unless you're lucky enough that the bios/default hardware setup of the encoder matches the equipment hooked up to it HDMI output doesn't work. Which leaves two options:

0) Add a no-lvds quirk, which disables the LVDS output alltogether
1) Not adding a quirk, which does mean HDMI out works if the stars align just right but causes issues for those not using HDMI
     or those that are less lucky.

Linux upstream picked solution 1, as option 0 causes regression for those folks which have correctly aligned stars. Which means i'll keep seeing the issue as i'm not using the HDMI out.

The only real solution for this would be for someone to add support for the external encoder to the kernel, which is a non-trivial amount of work and is relatively unlikely to happen as it's a quite old chipset by now.

Sjoerd Simons, thank you for your comments. Could you please provide a URL to the upstream discussion on a quirk?

This bug was nominated against a series that is no longer supported, ie quantal. The bug task representing the quantal nomination is being closed as Won't Fix.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu Quantal):
status: Triaged → Won't Fix
Launchpad Janitor (janitor) wrote :

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

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers