radeonhd not shown when configuring xorg

Bug #174311 reported by rbmorse
4
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-radeonhd

On Hardy Heron, Alpha1+, when using

sudo dpkg-reconfigure -phigh xserver-xorg

to rebuild the xserver configuration file xorg.conf, "radeonhd" is not included in the list of available video drivers even after the xserver-xorg-video-radeonhd package has been installed from repository.

Related branches

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

I think this is due to /var/lib/dpkg/info/xserver-xorg.postinst:

if [ -n "$REAL_DRIVER_DIRS" ]; then
  # Build list of available video drivers, omitting the atimisc, r128, and
  # radeon sub-modules (the ati driver knows when and how to load these).
  # v4l is not a display driver, and dummy is for advanced users.
  DRIVER_LIST="$(find $REAL_DRIVER_DIRS -name '*_drv.*' \
                 | sed 's|^.*/\([^/]*\)_drv\.[^\._]*|\1|g' \
                 | egrep -v '(atimisc|dummy|r128|radeon|v4l)' | sort -u | xargs \
                 | sed 's/ /, /g' 2>/dev/null) "
fi

Here, "radeonhd" will match the "radeon" in the egrep pattern and it is mistakenly filtered out. If you edit the file and insert a "$" after "radeon" it will work:
 | egrep -v '(atimisc|dummy|r128|radeon$|v4l)' | sort -u | xargs \

Changed in xserver-xorg-video-radeonhd:
status: New → Confirmed
Revision history for this message
Tormod Volden (tormodvolden) wrote :

The proper fix (for upstream etc) would be:
 egrep -v '^(atimisc|dummy|r128|radeon|v4l)$'

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

Committed to my git tree.

Changed in xorg:
importance: Undecided → Low
status: Confirmed → Fix Committed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

xorg (1:7.3+7ubuntu3) hardy; urgency=low

  [ Michael Vogt ]
  * Add "xserver-xorg-driver-all" transitional package to make
    dapper->hardy upgrades work.

  [ Tormod Volden ]
  * xserver-xorg.postinst.in: Narrow down the drivers to filter from the list,
    because otherwise radeonhd would not be selectable. (LP: #174311)

 -- Timo Aaltonen <email address hidden> Mon, 10 Dec 2007 23:43:37 +0200

Changed in xorg:
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote :
Download full text (4.1 KiB)

xorg (1:7.3+8ubuntu1) hardy; urgency=low

  * Merge with Debian unstable, remaining changes:
    - apport/xorg-server.py, debian/x11-common.install:
      + apport hook for xorg-server crashes
    - local/Failsafe/*, x11-common.install:
      + Bulletproof-X.
    - control:
      + Change maintainer address.
      + xserver-xorg: Recommends displayconfig-gtk
      + Move xorg-docs Recommends to Suggests, because xorg-docs is in
        universe.
      + Add "xserver-xorg-driver-all" transitional package to make
        dapper->hardy upgrades work.
    - control, rules:
      + Add a dependency to x11-common for each binary built to save
        disk/livecd space.
      + Symlink the doc directories to x11-common, explicitly remove the
        doc directories on upgrade for the now symlinked doc directories.
    - local/xserver-wrapper.c:
      + Stop handling -config specifically in the wrapper, as Xorg now
        handles this itself.
    - local/dexconf, control:
      + Added support for vmmouse_detect (if present) to override mouse
        driver with vmware. Depends on mdetect.
    - local/dexconf:
      + Add extra bits for ps3fb xorg.conf.
    - scripts/vars.{amd64,i386}:
      + Install both xserver-xorg-video-intel AND xserver-xorg-video-i810,
        instead of OR.
    - scripts/vars.i386:
      + Add xserver-xorg-video-amd and xserver-xorg-video-psb.
    - scripts/vars.lpia:
      + Copied from vars.i386.
    - local/Xsession:
      + If ~/.xsession-errors is bigger than 0.5MiB, truncate it to the last
        0.5MiB to avoid having it grow indefinitively. (This does not happen
        with gdm anyway since gdm cleans the file on login).
    - xserver-xorg.postinst.in:
      + Make sure to ask video driver on sparc even if autodetected. Some
        cards still require weird overrides (ati -> fbdev) that are not
        100% known in all combinations.
      + Skip video card autodetection if xforcevesa is set.

  [ Julien Cristau ]
  * Deregister old debconf questions before calling dexconf. dexconf calls
    db_stop, and we can't use debconf after that. Add a comment to that
    effect above the dexconf call in debian/xserver-xorg.postinst.in, to try
    to prevent future mistakes. Thanks, Michael Vogt!

xorg (1:7.3+8) unstable; urgency=low

  [ Julien Cristau ]
  * Make xorg Architecture: any. Depend on sparc-utils [sparc] instead of
    sparc-utils | not+sparc.
  * dexconf: Use xorg.conf/xserver-xorg instead of $REALCONFIG/$XSERVERPKG.
    Thanks, Timo Aaltonen!

  [ Tormod Volden ]
  * xserver-xorg.postinst.in: Narrow down the drivers to filter from the list,
    because otherwise radeonhd would not be selectable.
    (Closes: #446441, LP: #174311)

  [ David Nusinow ]
  * Don't write the default depth to xorg.conf any more.
    The drivers should choose the appropriate depth by default now.
  * Don't bother with resolutions in xorg.conf
    We now rely on the server and drivers to do the right thing. Previously,
    our best-case scenario was to have the xserver-xorg postinstall script ask
    the monitor what the optimal values were, and if that wasn't possible to
    give the user a default list of resolutions and a best...

Read more...

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.