[udev] Default rules fail to set PRIMARY_DEVICE_FOR_DISPLAY for vmwgfx driver

Bug #1208024 reported by Reagan Sanders
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
Low
Martin Pitt

Bug Description

Ubuntu 13.04
175-0ubuntu26

The default 78-graphics-card.rules does not set PRIMARY_DEVICE_FOR_DISPLAY=1 for devices using the vmwgfx driver (from the open-vm-tools package). Several other drm subsystem drivers are special-cased here (i915, radeon, nouveau). This causes a misleading failure message in the boot log, such as:

* Starting load fallback graphics devices [ FAIL ]

caused by /etc/init/udev-fallback-graphics.conf erroneously trying to modprobe vesafb because it thinks that no graphics driver has been successfully loaded. The VM does still function properly, this bug just causes a spurious error message.

Adding a rule for vmwgfx similar to what already exists for other drivers fixes the issue.

Example of others experiencing this issue:
http://askubuntu.com/questions/142213/ubuntu-12-04-server-failed-to-load-fallback-graphics-devices

Tags: patch
Revision history for this message
Reagan Sanders (vexo) wrote :
Revision history for this message
Reagan Sanders (vexo) wrote :

As a workaround, dropping the following rules file into your local /etc/udev/rules.d/ should correct the issue.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "udev_vmwgfx_fix.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Martin Pitt (pitti) wrote :

Thanks! Committed to packaging tree.

affects: udev (Ubuntu) → systemd (Ubuntu)
Changed in systemd (Ubuntu):
importance: Undecided → Low
status: New → Fix Committed
summary: - Default rules fail to set PRIMARY_DEVICE_FOR_DISPLAY for vmwgfx driver
+ [udev] Default rules fail to set PRIMARY_DEVICE_FOR_DISPLAY for vmwgfx
+ driver
Changed in systemd (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 204-0ubuntu10

---------------
systemd (204-0ubuntu10) saucy; urgency=low

  * debian/systemd-services.install: Install systemd-multi-seat-x
    (LP: #1214146)
  * debian/local/78-graphics-card.rules: Also recognize vmwgfx driver. Thanks
    Reagan Sanders! (LP: #1208024)
  * Add 0000-upstream-hwdb-updates.patch: Update to latest upstream fixes of
    hwdb, to get proper keyboard support.
  * Move to hwdb keymap database to be able to continue to sync to upstream,
    and benefit from the improved speed and eased maintenance:
    - Drop 0000-upstream-keymaps.patch.
    - Add 0000-upstream-hwdb-keyboard.patch to backport the "keymap" builtin.
    - Add debian/extra/60-keyboard.hwdb (straight copy from upstream master),
      install in debian/udev.install.
    - debian/rules: Configure with --disable-keymap to not build/install the
      old keymap stuff any more.
    - Adds keymap for Samsung NP53U3C (LP: #1203853)
 -- Martin Pitt <email address hidden> Tue, 27 Aug 2013 13:09:08 +0200

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
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.