Gentoo Forums
Gentoo Forums
Quick Search: in
Merge x11-base/x11-drm fails w/kernel config error [SOLVED]
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
astor84
n00b
n00b


Joined: 05 Feb 2007
Posts: 67

PostPosted: Thu Oct 23, 2008 3:31 pm    Post subject: Merge x11-base/x11-drm fails w/kernel config error [SOLVED] Reply with quote

Today I ran emerge -auvtND world and portage wanted to do the following merge
Code:

These are the packages that would be merged, in reverse order:

Calculating world dependencies... done!
[nomerge      ] x11-base/xorg-x11-7.2  [?]
[ebuild   R   ]  x11-base/xorg-server-1.3.0.0-r6  USE="dri ipv6 nptl sdl xorg -3dfx -debug -dmx -kdrive -minimal -xprint" INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="fglrx radeon vesa vga -apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev -glint -i128 -i740 (-impact) -imstt -intel% -mach64 -mga -neomagic (-newport) -nsc -nv -nvidia -r128 -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -via -vmware -voodoo (-i810%)" 0 kB
[ebuild   R   ] x11-base/x11-drm-20060608  VIDEO_CARDS="radeon -intel% -mach64 -mga -nv -r128 -savage -sis (-sunffb) -tdfx -via (-i810%)" 0 kB


I accepted and within a few seconds I was staring at the following
Code:

>>> Emerging (1 of 2) x11-base/x11-drm-20060608 to /
 * linux-drm-20060608-kernelsource.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...  [ ok ]
 * x11-drm-20060608-gentoo-0.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...    [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking x11-drm-20060608-gentoo-0.4.tar.bz2 ;-) ...                   [ ok ]
 * checking linux-drm-20060608-kernelsource.tar.bz2 ;-) ...               [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.25-gentoo-r8/build
 * Found sources for kernel version:
 *     2.6.25-gentoo-r8
 * Checking for suitable kernel configuration options...
 *   Please disable the Direct Rendering Manager in the kernel config. (CONFIG_DRM)
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Once you have satisfied these options, please try merging
 * this package again.
 *
 * ERROR: x11-base/x11-drm-20060608 failed.
 * Call stack:
 *                 ebuild.sh, line   49:  Called pkg_setup
 *   x11-drm-20060608.ebuild, line   59:  Called linux-mod_pkg_setup
 *          linux-mod.eclass, line  474:  Called linux-info_pkg_setup
 *         linux-info.eclass, line  613:  Called check_extra_config
 *         linux-info.eclass, line  511:  Called die
 * The specific snippet of code:
 *              die "Incorrect kernel configuration options"
 *  The die message:
 *   Incorrect kernel configuration options
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-base/x11-drm-20060608/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-base/x11-drm-20060608/temp/die.env'.


I am a bit confused by this. If I disabled Direct Rendering Manager in the kernel, won't I lose accelerated 3D output?


Last edited by astor84 on Thu Oct 23, 2008 4:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
cyrillic
Veteran
Veteran


Joined: 18 Feb 2003
Posts: 7086
Location: Groton, Massachusetts USA

PostPosted: Thu Oct 23, 2008 4:27 pm    Post subject: Reply with quote

You have a choice.

You can use the DRM/DRI drivers provided by the kernel, or the drivers provided by x11-base/x11-drm , but not both at the same time.
Back to top
View user's profile Send private message
astor84
n00b
n00b


Joined: 05 Feb 2007
Posts: 67

PostPosted: Thu Oct 23, 2008 4:42 pm    Post subject: Reply with quote

cyrillic wrote:
You have a choice.

You can use the DRM/DRI drivers provided by the kernel, or the drivers provided by x11-base/x11-drm , but not both at the same time.

Is there an advantage to either method?

If I want to use the drivers provided by the kernel, do I just unmerge x11-drm or is there some other step required as well?
Back to top
View user's profile Send private message
cyrillic
Veteran
Veteran


Joined: 18 Feb 2003
Posts: 7086
Location: Groton, Massachusetts USA

PostPosted: Thu Oct 23, 2008 4:52 pm    Post subject: Reply with quote

The drivers provided by the kernel are probably more up-to-date, and there is the convenience of not having to rebuild an external package every time you do a kernel update.

If your kernel is already configured with the drivers you want, then this should do the trick.
Code:
# emerge -C x11-drm
Back to top
View user's profile Send private message
astor84
n00b
n00b


Joined: 05 Feb 2007
Posts: 67

PostPosted: Thu Oct 23, 2008 4:53 pm    Post subject: Reply with quote

cyrillic wrote:
The drivers provided by the kernel are probably more up-to-date, and there is the convenience of not having to rebuild an external package every time you do a kernel update.

If your kernel is already configured with the drivers you want, then this should do the trick.
Code:
# emerge -C x11-drm
Awesome, thanks!

This worked (I am now able to remerge xorg-server-1.3.0.0 w/out errors).

SOLVED!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum