Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260728 - x11-base/x11-drm should accept a video_card of "radeonhd" to match xorg-server
Summary: x11-base/x11-drm should accept a video_card of "radeonhd" to match xorg-server
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Bryan Stine (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-01 15:01 UTC by Tanktalus
Modified: 2009-08-05 19:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tanktalus 2009-03-01 15:01:19 UTC
The idea here is to allow people using the radeonhd driver to only install radeonhd, which means that hal will pick up the right driver automatically, but to still get the drm kernel module from this ebuild which it shares with the radeon driver.

Right now, I need to set VIDEO_CARDS="radeon radeonhd" in my make.conf, which will cause xorg-server to pull in both drivers, just to get the radeon drm module, breaking hal (well, at least making it much more difficult to figure out).  I'd like to install just radeonhd for xorg-server and radeon for x11-drm, but setting VIDEO_CARDS in /etc/portage/env/x11-base/x11-drm doesn't seem to work, either.

So, I'd propose adding "video_cards_radeonhd" to IUSE_VIDEO_CARDS, and changing "use video_cards_radeon" to "use video_cards_radeon || use video_cards_radeonhd" later on in the ebuild.  Whether you specify the radeon driver, radeonhd driver, or both, you'll get the radeon kernel module here.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-01 15:13:14 UTC
You could try this for the time being:

Remove "radeon" from your VIDEO_CARDS variable and add this entry to your /etc/portage/package.use file:

  x11-base/x11-drm video_cards_radeon

Reassigning to maintainer, CCing x11-drivers herd.
Comment 2 Bryan Stine (RETIRED) gentoo-dev 2009-08-05 19:48:39 UTC
This was added in x11-drm 200903020, which is now stable.

Closing. Thanks.