Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg.conf not seeming to work in Fluxbox
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
TooDeft
n00b
n00b


Joined: 22 Jan 2009
Posts: 15

PostPosted: Thu Feb 12, 2009 6:17 am    Post subject: Xorg.conf not seeming to work in Fluxbox Reply with quote

Just set up my box with Fluxbox and whenever I reboot, my resolution changes.

I am able to change to my desired resolution by using :

Code:
 xrandr -s 1600x1200


But it becomes a serious pain when I have to adjust my background every time.

Here is my lspci :

Code:
00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub (rev 04)
00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express Root Port (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc RV610 video device [Radeon HD 2400 PRO]
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)


Here is my xorg.conf (or at least an excerpt):

Code:

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
#    Load        "type1"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
#    Load       "glx"
# This loads the DRI module
#    Load       "dri"

EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "991"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   30-107

#    HorizSync  30-64         # multisync
#    HorizSync  31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync  15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 48-120

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset    "generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver     "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam   256

#    Clocks     25.2 28.3

EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "ati"
    Monitor     "991"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1600x1200" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1600x1200" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1600x1200" "1280x1024" "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection


Perhaps I don't have a proper driver? When I try to emerge ati-drivers I get the following error :

Code:

 *
 * ERROR: x11-drivers/ati-drivers-8.501 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3222:  Called linux-mod_src_compile
 *             environment, line 2435:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC="$(tc-getBUILD_CC)"                 CROSS_CO     
MPILE=${CHOST}-                                                 LDFLAGS="$(get_a     
bi_LDFLAGS)"                                            ${BUILD_FIXES}  ${BUILD_     
PARAMS}                                                 ${BUILD_TARGETS} " || di     
e "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$     
(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i486-pc-linux-gnu-gcc CROSS_COMPILE=i486-pc-linux-gn     
u- LDFLAGS=  GCC_VER_MAJ=4 KVER=2.6.27-gentoo-r8 KDIR=/usr/src/linux kmod_build
 *
 * If you need support, post the topmost build error, and the call stack if rele     
vant.
 * A complete build log is located at '/var/tmp/portage/x11-drivers/ati-drivers-     
8.501/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-d     
rivers-8.501/temp/environment'.
 *


Any help would be greatly appreciated.
Back to top
View user's profile Send private message
kiksen
Guru
Guru


Joined: 24 Jun 2002
Posts: 401
Location: Denmark

PostPosted: Thu Feb 12, 2009 7:30 am    Post subject: Reply with quote

Hi.

First, it seems you don't have the ati device you refer to in the screen section.
Second, the cross-compile error when emerging the ati-drivers looks suspecious. Have you messed with your CHOST?

Please post your emerge --info

/kiksen
Back to top
View user's profile Send private message
TooDeft
n00b
n00b


Joined: 22 Jan 2009
Posts: 15

PostPosted: Fri Feb 13, 2009 5:43 am    Post subject: Reply with quote

[code]
Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gen
too-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with
-glibc2.0
Timestamp of tree: Tue, 10 Feb 2009 03:00:01 +0000
app-shells/bash: 3.2_p39
dev-java/java-config: 2.1.6-r1
dev-lang/python: 2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake: 2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/
fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms str
ict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.chem.wisc
.edu/gentoo/ http://lug.mtu.edu/gentoo/ "
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclu
de=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X11 aac aalib acl acpi aim alsa apm bash-completion berkdb branding bzip2
calendar cddb cdparanoia cdr clamav cli cracklib crypt cups dri dvd dvdr dvdrea
d eds exif ffmpeg firefox flac fltk fontconfig fortran ftp gdbm gif gimp gphoto2
gpm gstreamer gtk gzip hardened hddtemp iconv imap ipod ipv6 isdnlog java jpeg
lm_sensors mad maildir man matroska midi mime mp3 mpeg mplayer mudflap ncurses n
ls nptl nptlonly ogg opengl openmp oscar pam pcre pdf perl png pppd python quick
time raw readline reflection rss samba session slim spl ssl sysfs syslog tcpd ti
ff truetype unicode usb vcd vim-syntax vorbis win32codecs x11-wx/fluxbox x86 xml
xorg xscreensaver xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt
87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALS
A_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks
iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate ro
ute share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias aut
hn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfi
le authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate
dir disk_cache env expires ext_filter file_cache filter headers include info lo
g_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling st
atus unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keybo
ard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810
intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via v
mware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_A
LL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_E
XTRA_OPTS, PORTDIR_OVERLAY
[\code]

No messing with the CHOST.

Thanks
Back to top
View user's profile Send private message
kiksen
Guru
Guru


Joined: 24 Jun 2002
Posts: 401
Location: Denmark

PostPosted: Fri Feb 13, 2009 8:08 am    Post subject: Reply with quote

Is this a new install?

Why is your CHOST and CBUILD set to i486-pc-linux-gnu?

That seems to be the problem with the ati driver build - it wan't to cross-compile to i486 from your native platform (i686). Unfortunately, changing the CHOST is non-trivial.

I think you should do it anyway (unless it's a fresh install, then it may be easier to just install a i686 system). You can find information on how to proceed here: http://www.gentoo.org/doc/en/change-chost.xml

/kiksen
Back to top
View user's profile Send private message
TooDeft
n00b
n00b


Joined: 22 Jan 2009
Posts: 15

PostPosted: Sat Feb 14, 2009 4:08 am    Post subject: Reply with quote

It is a new install.

I'm updating my CHOST right now and configuring for i686.

Thank you for your help.

Hopefully this will fix all the problems.

/EDIT

After rebuilding with CHOST set as i686 this is what I get :

emerge --info

Code:

Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-ge
too-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-wit
-glibc2.0
Timestamp of tree: Fri, 13 Feb 2009 07:35:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc
fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms st
ict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.chem.wis
.edu/gentoo/ http://lug.mtu.edu/gentoo/ "
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --excl
de=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X11 aac aalib acl acpi aim alsa apm bash-completion berkdb branding bzip
 calendar cddb cdparanoia cdr clamav cli cracklib crypt cups dri dvd dvdr dvdre
d eds exif ffmpeg firefox flac fltk fontconfig fortran ftp gdbm gif gimp gphoto
 gpm gstreamer gtk gzip hardened hddtemp iconv imap ipod ipv6 isdnlog java jpeg
lm_sensors mad maildir man matroska midi mime mp3 mpeg mplayer mudflap ncurses
ls nptl nptlonly ogg opengl openmp oscar pam pcre pdf perl png pppd python quic
time raw readline reflection rss samba session slim spl ssl sysfs syslog tcpd t
ff truetype unicode usb vcd vim-syntax vorbis win32codecs x11-wx/fluxbox x86 xf
 xml xorg xscreensaver xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-mod
m bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-
ntel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci
 ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file h
oks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug ra
e route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alia
 authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_gr
upfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock de
late dir disk_cache env expires ext_filter file_cache filter headers include in
o log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speli
g status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="
eyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd
4780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint
i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga
ia vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_
LL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_
XTRA_OPTS, PORTDIR_OVERLAY


xorg.conf :
Code:

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "ati"
    Monitor     "991"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1600x1200" "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
EndSection


lspci :
Code:

00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub (rev 04)
00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express Root Port (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc RV610 video device [Radeon HD 2400 PRO]
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)


emerge ati-drivers :
Code:

*
 * ERROR: x11-drivers/ati-drivers-8.501 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3223:  Called linux-mod_src_compile
 *             environment, line 2436:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC="$(tc-getBUILD_CC)"                 CROSS_COMPILE=${CHOST}-                                                LDFLAGS="$(get_abi_LDFLAGS)"                                           ${BUILD_FIXES}  ${BUILD_PARAMS}                                                ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=  GCC_VER_MAJ=4 KVER=2.6.27-gentoo-r8 KDIR=/usr/src/linux kmod_build
 *
 * 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-drivers/ati-drivers-8.501/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.501/temp/environment'.


Only thing that happened was that all of my conf files were wiped and I had to reconfigure just about everything. Guess that the next time I decide to spend hours configuring Conky I'll back the config up on my other HDD.

Maybe a new build would be the easiest way to fix the problem?
Back to top
View user's profile Send private message
TooDeft
n00b
n00b


Joined: 22 Jan 2009
Posts: 15

PostPosted: Wed Feb 25, 2009 3:35 am    Post subject: Reply with quote

So I re-installed everything using 686 and am still running into the same problem.

Xorg still won't adjust my resolution to 1600x1200@85 and I have to re-adjust for every reboot.

ATI Drivers still won't install.

emerge --info
Code:

Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.0
Timestamp of tree: Sun, 22 Feb 2009 19:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gc
onf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans user
fetch"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://
lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ "
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --d
elete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X X11 acl alsa ati audio berkdb bzip2 cdr cli cracklib crypt cups dri dvd dvdr fglrx fortran gdbm g
pm iconv ipod ipv6 isdnlog java jpeg jpg midi mp3 mudflap ncurses nls nptl nptlonly openmp pam pcre perl
 png pppd python readline reflection session spl ssl sysfs tcpd unicode x11-wm/fluxbox x86 xorg zlib" AL
SA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es193
8 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALS
A_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfl
oat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions
alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz
_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache
env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic
 negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPU
T_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 l
cdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r1
28 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, P
ORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


The Install Error
Code:

>>> Failed to emerge x11-drivers/ati-drivers-8.501, Log file:

>>>  '/var/tmp/portage/x11-drivers/ati-drivers-8.501/temp/build.log'

 * Messages for package x11-drivers/ati-drivers-8.501:

 * You have DRM support enabled builtin, the direct rendering will not work.
 *
 * ERROR: x11-drivers/ati-drivers-8.501 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3235:  Called linux-mod_src_compile
 *             environment, line 2438:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC="$(tc-getBUILD_CC)"                                                C
ROSS_COMPILE=${CHOST}-                                          LDFLAGS="$(get_abi_LDFLAGS)"           $
{BUILD_FIXES}                                           ${BUILD_PARAMS}                                $
{BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(
get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=  GCC_VER_MAJ
=4 KVER=2.6.27-gentoo-r8 KDIR=/usr/src/linux kmod_build
 *
 * 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-drivers/ati-drivers-8.501/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.501/temp/enviro
nment'.
 *


LSPCI
Code:

00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub (rev 04)
00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express Root Port (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc RV610 video device [Radeon HD 2400 PRO]
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)


And xorg.conf
Code:

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
#    Load        "type1"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
#    Load       "glx"
# This loads the DRI module
#    Load       "dri"

EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset    "generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver     "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam   256

#    Clocks     25.2 28.3

EndSection

# Device configured by xorgconfig:

Section "Device"
    Identifier  "ati"
    Driver      "radeon"
    #VideoRam    262144
    # Insert Clocks lines here if appropriate
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "ati"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1600x1200" "1280x1024" "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1600x1200" "1280x1024" "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1600x1200" "1280x1024" "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
#    Mode 0666
# EndSection


I think I'm going to throw my box out the window and build a new one. It's a Dell but I got it for free.

Any suggestions?
Back to top
View user's profile Send private message
shadowman2oo3
Tux's lil' helper
Tux's lil' helper


Joined: 28 Oct 2003
Posts: 80
Location: West Palm Beach, Florida

PostPosted: Wed Feb 25, 2009 4:06 am    Post subject: Reply with quote

Try adding x11-drivers/ati-drivers to /etc/portage/package.keywords and rebuilding the driver. The stable version in portage is almost 8 months old. If it works make sure you run as root:
Code:
# aticonfig --initial --input=/etc/X11/xorg.conf
# eselect opengl set ati
Back to top
View user's profile Send private message
TooDeft
n00b
n00b


Joined: 22 Jan 2009
Posts: 15

PostPosted: Wed Feb 25, 2009 6:31 am    Post subject: Reply with quote

When I try that I get :

Code:

Calculating dependencies... done!

!!! All ebuilds that could satisfy ">=x11-base/xorg-server-1.5" have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-base/xorg-server-1.5.3-r2 (masked by: ~x86 keyword)
- x11-base/xorg-server-1.5.3-r1 (masked by: ~x86 keyword)
- x11-base/xorg-server-1.5.3 (masked by: ~x86 keyword)
- x11-base/xorg-server-1.5.2 (masked by: ~x86 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by "x11-drivers/ati-drivers-8.573-r1" [ebuild])
(dependency required by "ati-drivers" [argument])


When I tried using "ACCECPT_KEYWORDS="~x86" got the same thing.

Something wrong with that command?
Back to top
View user's profile Send private message
shadowman2oo3
Tux's lil' helper
Tux's lil' helper


Joined: 28 Oct 2003
Posts: 80
Location: West Palm Beach, Florida

PostPosted: Wed Feb 25, 2009 12:53 pm    Post subject: Reply with quote

For that error just add x11-base/xorg-server to /etc/portage/package.keywords. If you get more masked package errors just add them to /etc/portage/package.keywords.
Back to top
View user's profile Send private message
kiksen
Guru
Guru


Joined: 24 Jun 2002
Posts: 401
Location: Denmark

PostPosted: Wed Feb 25, 2009 12:54 pm    Post subject: Reply with quote

Did you change ACCEPT_KEYWORDS to "~x86" in /etc/make.conf and still got that result? If you did, then you're about to switch your installation to unstable which might not be what you want?

If not, add
x11-base/xorg-server ~x86

to
/etc/portage/package.keywords

to just switch this package to unstable. There may be other packages as well.

You misspelled ACCEPT_KEYWORDS in your post, that may be why you got the same result.
Back to top
View user's profile Send private message
TooDeft
n00b
n00b


Joined: 22 Jan 2009
Posts: 15

PostPosted: Fri Feb 27, 2009 5:48 am    Post subject: Reply with quote

I'm really starting to think that it's my system.

I pulled it from a site that I maintain and I guess it doesn't really matter now.

Found a reason to sell it back to the site and use it there. So now I just have to get a new one built.

Thanks very much to everyone that has helped.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
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