xforcevesa doesn't work

Bug #285562 reported by Timo Aaltonen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Fix Released
Critical
Timo Aaltonen
Intrepid
Fix Released
Critical
Timo Aaltonen

Bug Description

Binary package hint: xorg

Putting 'xforcevesa' on the livecd cmdline should force the driver as vesa, but that doesn't work because of changes to the xserver-xorg.postinst. DRIVERS_LIST is now empty on !sparc, so there are no debconf choices to choose, and setting the key to vesa doesn't work. This should be rather trivial to fix, but needs testing as always.

Marking as release critical because of it being a regression.

Related branches

Timo Aaltonen (tjaalton)
Changed in xorg:
assignee: nobody → tjaalton
importance: Undecided → Critical
milestone: none → ubuntu-8.10
status: New → In Progress
Revision history for this message
Steve Langasek (vorlon) wrote :

What are the cases for which we need to be able to force use of vesa? I'm not convinced this is release-critical considering that I've never heard of this boot option before, and given that an override should only be needed in case of bugs in other drivers.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

It's the safe boot option of livecd, used when booting normally doesn't work. That's the case when the proper driver can't do proper modesetting, which is too common at least for nv.

You can lower the priority if you like, but it should still be a simple fix to the postinst, and enough time to get in before RC.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

this should do it, tested it myself:

--- a/debian/xserver-xorg.postinst.in
+++ b/debian/xserver-xorg.postinst.in
@@ -554,6 +554,7 @@ fi

 if [ -n "$XFORCEVESA" ] || [ -n "$(grep xforcevesa /proc/cmdline)" ]; then
   # don't let the server autodetect the video card, but always use vesa instead
+ DRIVERS_LIST="vesa"
   DISCOVERED_VIDEO="vesa"
 fi

ok to upload?

Revision history for this message
Colin Watson (cjwatson) wrote :

Steve, this menu item is exposed by the "Safe graphics mode" item on the CD boot loader. I tend to agree with Timo that it's RC if it doesn't work.

In any case, Timo, please upload this and Steve and I can argue about it once it's in the queue. :-)

Revision history for this message
Tormod Volden (tormodvolden) wrote :

If you have to argue on this, one release manager needs to spend more time triaging xorg/livecd bugs :)

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

This bug was fixed in the package xorg - 1:7.4~5ubuntu2

---------------
xorg (1:7.4~5ubuntu2) intrepid; urgency=low

  * debian/xserver-xorg.postinst.in: If xforcevesa is set on the kernel
    cmdline, feed DRIVERS_LIST with vesa so that setting the DRIVER works.
    Debconf refuses to obey if the list of choices is empty.
    (LP: #285562)

 -- Timo Aaltonen <email address hidden> Mon, 20 Oct 2008 09:53:29 +0300

Changed in xorg:
status: In Progress → 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.