Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
issue by emerge xorg-x11
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76
Location: Italy

PostPosted: Wed Sep 19, 2012 8:23 pm    Post subject: issue by emerge xorg-x11 Reply with quote

Hello,
yesterday I installed for the first time Gentoo on a Sony Vaio PCG-971M, by following this manual http://www.gentoo.org/doc/en/handbook/handbook-x86.xml: now I'm having some troubles.
This is what's happend when I try to "emerge xorg-x11" (follows only the stderr 2> output):
I understand I have to made changes to my USE variable, but which changes?
Code:

The following USE changes are necessary to proceed:
#required by x11-drivers/xf86-video-vmware-12.0.2, required by x11-base/xorg-drivers-1.12[video_cards_vmware], required by x11-base/xorg-server-1.12.2[xorg], required by x11-drivers/xf86-video-dummy-0.3.5-r1
=media-libs/mesa-8.0.4-r1 xa
#required by x11-drivers/xf86-video-vmware-12.0.2, required by x11-base/xorg-drivers-1.12[video_cards_vmware], required by x11-base/xorg-server-1.12.2[xorg], required by x11-drivers/xf86-video-dummy-0.3.5-r1
=x11-libs/libdrm-2.4.33 libkms

Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).


Edit: actually my USE variable is the same of the one reported in the manual:
USE="-gtk -gnome qt4 kde dvd alsa cdr"


Thanks
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32320
Location: 56N 3W

PostPosted: Wed Sep 19, 2012 8:35 pm    Post subject: Reply with quote

leonixyz,

Whay are you trying to install x11-drivers/xf86-video-vmware?
That video driver is only useful inside a vmwae virtual machine, or are you installing Gentoo inside vmware on a Vaio?

Please post the output of
Code:
emerge --info
and the output of
Code:
lspci

wgetpaste is your friend.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76
Location: Italy

PostPosted: Thu Sep 20, 2012 7:02 am    Post subject: Reply with quote

emerge --info
Code:
Portage 2.1.11.9 (default/linux/x86/10.0/desktop/kde, gcc-4.5.4, glibc-2.15-r2, 3.3.8-gentoo i686)
=================================================================
System uname: Linux-3.3.8-gentoo-i686-AMD_Athlon-tm-_Processor-with-gentoo-2.1
Timestamp of tree: Wed, 19 Sep 2012 15:00:01 +0000
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
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/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 readline sdl semantic-desktop session spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 x86 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_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 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



lspci
Code:
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:07.2 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1a)
00:07.3 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1a)
00:07.4 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 50)
00:07.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 30)
00:0a.0 CardBus bridge: Texas Instruments PCI1420 PC card Cardbus Controller
00:0a.1 CardBus bridge: Texas Instruments PCI1420 PC card Cardbus Controller
00:0e.0 FireWire (IEEE 1394): Texas Instruments TSB12LV26 IEEE-1394 Controller (Link)
00:10.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Rage Mobility P/M AGP 2x (rev 64)
Back to top
View user's profile Send private message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76
Location: Italy

PostPosted: Fri Sep 21, 2012 3:38 pm    Post subject: Reply with quote

I installed on a Vaio.

Can't resolve this problem :-(

I don't know much about my USE variable... is it right? should I add/subtract some features?
Back to top
View user's profile Send private message
Helmering
n00b
n00b


Joined: 13 Dec 2011
Posts: 40
Location: Italy

PostPosted: Fri Sep 21, 2012 4:01 pm    Post subject: Reply with quote

You should add to your
Code:
/etc/gentoo/make.conf
or
/etc/make.conf
this line:
Code:
VIDEO_CARDS="radeon"

without this portage trys to emerge all possible display drivers, including the VMWARE-xorg-driver.

Check http://www.gentoo.org/doc/en/xorg-config.xml

Cheers
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32320
Location: 56N 3W

PostPosted: Fri Sep 21, 2012 5:40 pm    Post subject: Reply with quote

leonixyz,

Code:
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Rage Mobility P/M AGP 2x (rev 64)

I think thats mach64, not radeon. Radeon covers all the ATI cards except r128 and mach64

Your
Code:
 VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l"

You certainly don't need
Code:
glint intel mga neomagic nouveau nv avage sis tdfx trident via vmware dummy
The others are "mostly harmless". vesa is a good fallback a it works with every video card since 1998.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76
Location: Italy

PostPosted: Fri Sep 21, 2012 10:15 pm    Post subject: Reply with quote

Thank you very much for helping me ...

One thing more: I don't want to try without being sure... (I reinstalled Gentoo 4 times in the last 3 days)

to do that should I put this line in /etc/make.conf?
Code:
VIDEO_CARDS="mach64 -glint -intel -mga -neomagic -nouveau -nv -avage -sis -tdfx -trident -via -vmware -dummy"


or this one, without mach64?
Code:
VIDEO_CARDS="-glint -intel -mga -neomagic -nouveau -nv -avage -sis -tdfx -trident -via -vmware -dummy"


or this last one?
Code:
VIDEO_CARDS="mach64"
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32320
Location: 56N 3W

PostPosted: Fri Sep 21, 2012 10:25 pm    Post subject: Reply with quote

leonixyz,

There is no need to reinstall to fix this sort of thing. You boot the liveCD/USB/DVD mount your existing filesystems, don't forget /proc and /dev then do the chroot steps.
You are now back in the chroot like you had never left.

It takes real talent to make such a mess of Gentoo that you need to reinstall.

Put
Code:
VIDEO_CARDS="mach64 vesa"
because If I have it wrong and mach64 is not best driver for your video card, vesa will at least get you a picture.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76
Location: Italy

PostPosted: Sat Sep 22, 2012 3:13 pm    Post subject: Reply with quote

Thank you very very much!
now worked!
...

but now when I try to configure xorg.conf I'm going having another problem

# X -configure:
Code:
Number of created screens does not match number of detected devices. Configuration failed. Server terminated with error (2).


# xorgconfig:
Code:
-bash: xorgconfig: command not found


# xorgcfg:
Code:
-bash: xorgcfg: command not found


is this related? or shoul I open another post?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32320
Location: 56N 3W

PostPosted: Sat Sep 22, 2012 3:42 pm    Post subject: Reply with quote

leonixyz,

Its related. No xorg.conf is required if you are happy with the default settings that are detected by udev and Xorg between them.
They don't detect your keyboard layout very well, so you need a tiny xorg.conf to fix that.

What doesnt work the way you would like in Xorg?

Make friends with wgetpaste and post your /var/log/Xorg.0.log
That file tells what Xorg actually did when it started.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
leonixyz
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2012
Posts: 76
Location: Italy

PostPosted: Sat Sep 22, 2012 6:22 pm    Post subject: Reply with quote

Unfortunately startx doesn't work... here is the Xorg.0.log
http://www.leonixyz.net/Xorg.0.log
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32320
Location: 56N 3W

PostPosted: Sat Sep 22, 2012 8:03 pm    Post subject: Reply with quote

leonixyz,

startx worked fine. It used the vesa video driver, which it not what I expected but the log confirms that mach64 is the right driver.

Heres what happened ...
Xorg started, found noting to do so it quit normally. You either don't have a Window Manager installed yet, or don't has a ~/.xinitrc file to point xorg to your Window manager.

For testing do
Code:
emerge -1 twm xterm xclock

Now startx. twm is what Xorg tries to start when no other window manager is defined but Gentoo does not install it unless you ask.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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