Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Three items re proceedures for desktop aquisition.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
HenryPeters
n00b
n00b


Joined: 20 Mar 2011
Posts: 51
Location: Michigan, U.S.A.

PostPosted: Sun Jun 16, 2013 11:50 pm    Post subject: Three items re proceedures for desktop aquisition. Reply with quote

I now have a basic gentoo install... In trying to configure for xorg & install xorg-server, in order to have some graphic desktop or the other (undecided as of yet). So three basic items (for now) have me stymied... & could USE="some_help!" :?

I tried the below code (this, as should be apparent, was chooted in the LiveDVD). I also tried this (& some other emerges, booting into root, with similar results)... I could find no where, some guidance as to how to read these entities, much less how to select to down load the appropriate files... So if some one/s would be so kind to point me in a productive direction here, would be appreciated.


Code:
2012 / # emerge -pv xorg-drivers

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

Calculating dependencies... done!
[ebuild  N     ] sys-libs/mtdev-1.1.3  USE="-static-libs" 262 kB
[ebuild  N     ] x11-base/xorg-drivers-1.13  INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -elographics -fpit -hyperpen -joystick -mutouch -penmount -synaptics -tslib -vmmouse -void -wacom" VIDEO_CARDS="dummy fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident v4l vesa via vmware -apm -ark -ast -chips -cirrus -epson -fglrx -geode -i128 -i740 -modesetting -neomagic (-newport) -nvidia (-omap) (-omapfb) -qxl -rendition -s3 -s3virge -siliconmotion -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tga -tseng -virtualbox (-voodoo)" 0 kB
[ebuild  N     ] x11-proto/videoproto-2.3.1  99 kB
[ebuild  N     ] x11-proto/randrproto-1.4.0  131 kB
[ebuild  N     ] x11-proto/xineramaproto-1.2.1  94 kB
[ebuild  N     ] x11-proto/xf86driproto-2.1.1  95 kB
[ebuild  N     ] x11-proto/dri2proto-2.8  107 kB
[ebuild  N     ] x11-proto/xf86dgaproto-2.1-r1  84 kB
[ebuild  N     ] x11-proto/resourceproto-1.2.0  101 kB
[ebuild  N     ] x11-libs/pixman-0.28.0  USE="(-altivec) (-iwmmxt) -mmxext (-neon) -sse2 -static-libs" 627 kB
[ebuild  N     ] x11-libs/libXv-1.0.7  USE="-static-libs" 279 kB
[ebuild  N     ] x11-proto/xf86vidmodeproto-2.3.1  95 kB
[ebuild  N     ] x11-proto/damageproto-1.2.1  97 kB
[ebuild  N     ] x11-apps/xauth-1.0.7  USE="ipv6" 137 kB
[ebuild  N     ] x11-apps/xkbcomp-1.2.3  223 kB
[ebuild  N     ] x11-proto/fixesproto-5.0  99 kB
[ebuild  N     ] x11-libs/libXfixes-5.0  USE="-static-libs" 248 kB
[ebuild  N     ] sys-apps/hwids-20130329  USE="udev" 1,464 kB
[ebuild  N     ] x11-libs/libpciaccess-0.13.1  USE="zlib -minimal -static-libs" 345 kB
[ebuild  N     ] x11-libs/libdrm-2.4.45  USE="libkms -static-libs" VIDEO_CARDS="intel nouveau radeon vmware (-exynos) (-freedreno) (-omap)" 539 kB
[ebuild  N     ] x11-proto/trapproto-3.4.3  48 kB
[ebuild  N     ] x11-proto/compositeproto-0.4.2  99 kB
[ebuild  N     ] x11-proto/bigreqsproto-1.1.2  USE="-doc" 111 kB
[ebuild  N     ] x11-proto/scrnsaverproto-1.2.2  USE="-doc" 117 kB
[ebuild  N     ] x11-apps/rgb-1.0.4  119 kB
[ebuild  N     ] x11-apps/iceauth-1.0.5  119 kB
[ebuild  N     ] x11-proto/xf86rushproto-1.1.2-r1  37 kB
[ebuild  N     ] x11-misc/xbitmaps-1.1.1  111 kB
[ebuild  N     ] x11-proto/recordproto-1.14.2  USE="-doc" 121 kB
[ebuild  N     ] x11-proto/xcmiscproto-1.2.2  USE="-doc" 110 kB
[ebuild  N     ] x11-apps/xrdb-1.0.9  117 kB
[ebuild  N     ] x11-apps/xinit-1.3.2  USE="minimal" 145 kB
[ebuild  N     ] x11-libs/libXdamage-1.1.3  USE="-static-libs" 244 kB
[ebuild  N     ] x11-libs/libXxf86vm-1.1.2  USE="-static-libs" 279 kB
[ebuild   R    ] dev-libs/libxml2-2.9.0-r2:2  USE="ipv6 python* readline -debug -examples -icu -lzma -static-libs {-test}" PYTHON_TARGETS="python2_7 -python2_5 -python2_6" 5,041 kB
[ebuild  N     ] app-admin/eselect-opengl-1.2.7  81 kB
[ebuild  N     ] x11-proto/glproto-1.4.16  117 kB
[ebuild  N     ] app-admin/eselect-mesa-0.0.10  3 kB
[ebuild  N     ] sys-devel/llvm-3.1-r2  USE="libffi -debug -gold -multitarget -ocaml {-test} -udis86 -vim-syntax" 10,818 kB
[ebuild  N     ] media-libs/mesa-9.1.2-r1  USE="classic egl gallium llvm nptl shared-glapi xa -bindist -debug -gbm -gles1 -gles2 -openvg -osmesa -pax_kernel -pic (-r600-llvm-compiler) (-selinux) -vdpau (-wayland) -xorg -xvmc" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" VIDEO_CARDS="intel nouveau radeon vmware -i915 -i965 -r100 -r200 -r300 -r600 (-radeonsi)" 5,983 kB
[ebuild  N     ] app-admin/eselect-xvmc-0.4  0 kB
[ebuild  N     ] x11-libs/libXvMC-1.0.7  USE="-static-libs" 293 kB
[ebuild  N     ] x11-misc/xkeyboard-config-2.7  847 kB
[ebuild  N     ] x11-base/xorg-server-1.13.4:0/1.13.4  USE="ipv6 nptl suid udev xorg -dmx -doc -kdrive -minimal (-selinux) -static-libs -tslib -xnest -xvfb" 5,378 kB
[ebuild  N     ] x11-drivers/xf86-input-evdev-2.7.3  357 kB
[ebuild  N     ] x11-drivers/xf86-video-fbdev-0.4.3  283 kB
[ebuild  N     ] x11-drivers/xf86-video-trident-1.3.6-r1  348 kB
[ebuild  N     ] x11-drivers/xf86-video-r128-6.9.1  USE="dri" 460 kB
[ebuild  N     ] x11-drivers/xf86-input-keyboard-1.6.2  316 kB
[ebuild  N     ] x11-drivers/xf86-video-tdfx-1.4.5  USE="dri" 332 kB
[ebuild  N     ] x11-drivers/xf86-video-intel-2.20.13  USE="dri sna udev -glamor -uxa -xvmc" 1,611 kB
[ebuild  N     ] x11-drivers/xf86-video-nv-2.1.20  388 kB
[ebuild  N     ] x11-drivers/xf86-video-vmware-12.0.2-r1  423 kB
[ebuild  N     ] x11-drivers/xf86-video-sis-0.10.7  USE="dri" 684 kB
[ebuild  N     ] x11-drivers/xf86-video-savage-2.3.6  USE="dri" 395 kB
[ebuild  N     ] x11-drivers/xf86-video-mga-1.6.2  USE="dri" 437 kB
[ebuild  N     ] x11-drivers/xf86-video-mach64-6.9.4  USE="dri" 506 kB
[ebuild  N     ] x11-drivers/xf86-video-dummy-0.3.6  USE="-dga" 280 kB
[ebuild  N     ] x11-drivers/xf86-video-v4l-0.2.0  USE="-debug" 239 kB
[ebuild  N     ] x11-drivers/xf86-video-vesa-2.3.2  292 kB
[ebuild  N     ] x11-drivers/xf86-video-nouveau-1.0.4  543 kB
[ebuild  N     ] x11-drivers/xf86-video-ati-7.0.0  USE="udev -glamor" 758 kB
[ebuild  N     ] x11-drivers/xf86-video-openchrome-0.3.1  USE="dri -debug -viaregtool" 506 kB
[ebuild  N     ] x11-drivers/xf86-input-mouse-1.8.1  344 kB
[ebuild  N     ] x11-drivers/xf86-video-glint-1.2.8  387 kB

Total: 65 packages (64 new, 1 reinstall), Size of downloads: 45,318 kB

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by x11-drivers/xf86-video-vmware-12.0.2-r1
# required by x11-base/xorg-drivers-1.13[video_cards_vmware]
# required by x11-base/xorg-server-1.13.4[xorg]
# required by x11-drivers/xf86-video-glint-1.2.8
=media-libs/mesa-9.1.2-r1 xa
# required by x11-drivers/xf86-video-vmware-12.0.2-r1
# required by x11-base/xorg-drivers-1.13[video_cards_vmware]
# required by x11-base/xorg-server-1.13.4[xorg]
# required by x11-drivers/xf86-video-glint-1.2.8
>=x11-libs/libdrm-2.4.45 libkms


Also, not very sure if my /etc/portage/make.conf is correct enough to do basics. I believe my USE="udev" is supposed to be there (I use genkernel all)...? & if so where/how should it be placed?

Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="bindist"
USE="gtk gnome qt4 kde X dvd alsa cdr"
MAKEOPTS="-j2"


I also get, when I try to emerge some things:
Code:
chroot) Gentoo-2012 / # emerge xorg-server
!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'


Which, since there are two (2) 'make.conf' files in said locations, i.e., with the '!!!' indications, am I supposed to read that as an expression of impropriety, & to eliminate some clash or another? & what then would be/is the situation for USE flags... as to their proper locations? I believe I read in the USE handbook that INPUT="edev" (I hope I have that correct) was supposed to be in '/etc/make.conf' & indeed it is there...

Thanks abunch.

Henry

P.s., I tried to display my driver options via 'emerge -pv xorg-drivers' with similar results as the very top code/item listing... so, some amount of confusion re acquisition of relevant drivers remains...
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Mon Jun 17, 2013 12:09 am    Post subject: Reply with quote

OK, first off, you don't need to specifically emerge your drivers. They should be pulled automatically if you have the proper entries in make.conf. The error relating to the file at /etc/make.conf is because this location is deprecated. You should migrate all important information to /etc/portage/make.conf and remove the file.

So lets start there. First, you can't have multiple use declarations. Only the last one will be used. You will need to write them in a single expression, ie: USE="bindist gtk gnome qt4 kde X dvd alsa cdr"

Next, you should have some other variables declared. They are explained in this document http://www.gentoo.org/doc/en/xorg-config.xml
Specifically, they are INPUT_DEVICES and VIDEO_CARDS I think this document has everything you are looking for on xorg.


The errors you are getting from emerge xorg-drivers is quite a common one. Its telling you that you have some use flag problems, specifically dependencies with improper flags. Since you are only installing xorg, this should not be happening. If you use eselect profile list it will show you your current profile. You probably want to set it to a desktop then update you system with emerge -auvND world This will update your use flags and any packages that need it.

The other solution is to create the file /etc/portage/package.use and add the lines media-libs/mesa xa and x11-libs/libdrm libkms Of course, you shouldn't need to explicitly emerge this package anyway.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
HenryPeters
n00b
n00b


Joined: 20 Mar 2011
Posts: 51
Location: Michigan, U.S.A.

PostPosted: Mon Jun 17, 2013 1:03 am    Post subject: Reply with quote

The Doctor wrote:
The errors you are getting from emerge xorg-drivers is quite a common one. Its telling you that you have some use flag problems, specifically dependencies with improper flags. Since you are only installing xorg, this should not be happening. If you use eselect profile list it will show you your current profile. You probably want to set it to a desktop then update you system with emerge -auvND world This will update your use flags and any packages that need it.

The other solution is to create the file /etc/portage/package.use and add the lines media-libs/mesa xa and x11-libs/libdrm libkms Of course, you shouldn't need to explicitly emerge this package anyway.


Thanks MUCH. This seems helpful indeed, & will try your stated options... just may take me a step or two farther toward a functioning Gentoo.

Regards,
Henry
. . . _ - . - _^_ - . - _^_- . - _ . . .

"How can you learn less?" R. Buckminster Fuller
Back to top
View user's profile Send private message
HenryPeters
n00b
n00b


Joined: 20 Mar 2011
Posts: 51
Location: Michigan, U.S.A.

PostPosted: Mon Jun 17, 2013 10:08 pm    Post subject: Three items re proceedures for desktop aquisition. Reply with quote

The Doctor wrote:
So lets start there. First, you can't have multiple use declarations. Only the last one will be used. You will need to write them in a single expression, ie: USE="bindist gtk gnome qt4 kde X dvd alsa cdr"

The errors you are getting from emerge xorg-drivers is quite a common one. Its telling you that you have some use flag problems, specifically dependencies with improper flags. Since you are only installing xorg, this should not be happening. If you use eselect profile list it will show you your current profile. You probably want to set it to a desktop then update you system with emerge -auvND world This will update your use flags and any packages that need it.


I did the 'emerge -auvND world' first from the liveDVD, apparently did something correct, as it started the emerge... but hit 'media-libs/libmpeg2-0.5.1' & it basically failed, & stopped the whole thing... (mesa, a big compile, & a number of others compiled)... tried 'emerge-resume' a couple of times, but stuck on that error...

I tried booting from grub into root, ran the emerge, apparently the mesa, etc. didn't get installed, as it went though all the previous compiles again, but got hung up on 'media-libs/libmpeg2-0.5.1' & tried 'emerge-resume' again, which this time it did from the last file mentioned. Since it is basically (I believe) a file having to do with audio... & since I have my sis integrated audio chip turned off in my bios (other wise my Echo MiaMidi (audio) card will not work... so perhaps (I'm taking a wild guess) needs some '/etc/portage/make.conf' attentions (i.e., 'USE=' flags)??????

Sorry, forgot to copy my '/etc/portage/make.conf' but it resembled what you suggested (I added some video & devise input drivers, not sure if I did this correctly... I will go back & copy... plus perhaps try some options... (I found the Gentoo Alsa Handbook... for one, but haven't tried any suggestions from it... But perhaps this below error statement indicates something entirely different, so would really appreciate some direction.

As usual, thanks for help!

Henry

Code:

* ERROR: media-libs/libmpeg2-0.5.1 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 2429:  Called die
 * The specific snippet of code:
 *       emake OPT_CFLAGS="${CFLAGS}" MPEG2DEC_CFLAGS="${CFLAGS}" LIBMPEG2_CFLAGS="" || die "emake failed"
 *
 * If you need support, post the output of `emerge --info '=media-libs/libmpeg2-0.5.1'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/libmpeg2-0.5.1'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/libmpeg2-0.5.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libmpeg2-0.5.1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/libmpeg2-0.5.1/work/libmpeg2-0.5.1'
 * S: '/var/tmp/portage/media-libs/libmpeg2-0.5.1/work/libmpeg2-0.5.1'

>>> Failed to emerge media-libs/libmpeg2-0.5.1, Log file:

>>>  '/var/tmp/portage/media-libs/libmpeg2-0.5.1/temp/build.log'

 * Messages for package media-libs/libmpeg2-0.5.1
(chroot) Gentoo-2012 / #
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Mon Jun 17, 2013 10:27 pm    Post subject: Reply with quote

For the compilation error, that isn't the error. Its just the message. It would help to see the complete build log. The best way to post it is to emerge wgetpaste and then do wgetpaste /var/tmp/portage/media-libs/libmpeg2-0.5.1/temp/build.log and post the URL returned.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
HenryPeters
n00b
n00b


Joined: 20 Mar 2011
Posts: 51
Location: Michigan, U.S.A.

PostPosted: Tue Jun 18, 2013 1:09 am    Post subject: Three items re proceedures for desktop aquisition. Reply with quote

The Doctor wrote:
For the compilation error, that isn't the error. Its just the message. It would help to see the complete build log. The best way to post it is to emerge wgetpaste and then do wgetpaste /var/tmp/portage/media-libs/libmpeg2-0.5.1/temp/build.log and post the URL returned.


Here is the requested link (& thanks much for the clear demonstration/explanation on 'wegetpaste', a very impressive tool!):

http://bpaste.net/show/108015/

Hope this helps... I think I do see where it "erred" but can not really interpret it (something to do with UTF-8, & missing file?).

Henry

Code:
mkdir .libs
mkdir: cannot create directory '.libs': File exists
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -O2 -march=i686 -pipe -O2 -march=i686 -pipe -c rgb.c  -fPIC -DPIC -o .libs/rgb.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -O2 -march=i686 -pipe -O2 -march=i686 -pipe -c uyvy.c  -fPIC -DPIC -o .libs/uyvy.o
env: env: UTF-8: No such file or directory
make[2]: *** [rgb.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
UTF-8: No such file or directory
make[2]: *** [uyvy.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/libmpeg2-0.5.1/work/libmpeg2-0.5.1/libmpeg2/convert'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/libmpeg2-0.5.1/work/libmpeg2-0.5.1/libmpeg2'
make: *** [all-recursive] Error 1
emake failed

- . - . - . - . - .
. - . - . - . - . - . -
"How can you learn less?" R. Buckminster Fuller
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Tue Jun 18, 2013 1:33 am    Post subject: Reply with quote

I hate to admit it, but I have no idea how to interpret that output.

The only thing I can think of is that your local is improperly set. Try nano /etc/locale.gen and make sure the correct locals are available. If you are just planing on using American English, then the first two lines should be uncommented, like this
Code:
en_US ISO-8859-1
en_US.UTF-8 UTF-8
then run locale-gen followed by env-update && source /etc/profile just to be safe and try again.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Tue Jun 18, 2013 1:39 am    Post subject: Reply with quote

HenryPeters

Also paste back
Code:
cat /etc/portage/make.conf

emerge --info =media-libs/libmpeg2-0.5.1

_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
HenryPeters
n00b
n00b


Joined: 20 Mar 2011
Posts: 51
Location: Michigan, U.S.A.

PostPosted: Tue Jun 18, 2013 2:10 am    Post subject: Three items re proceedures for desktop aquisition. Reply with quote

The Doctor wrote:
I hate to admit it, but I have no idea how to interpret that output.

The only thing I can think of is that your local is improperly set. Try nano /etc/locale.gen and make sure the correct locals are available. If you are just planing on using American English, then the first two lines should be uncommented, like this
Code:
en_US ISO-8859-1
en_US.UTF-8 UTF-8
then run locale-gen followed by env-update && source /etc/profile just to be safe and try again.


I have been getting error messages to this effect... I will do as you suggest, but I did double check my locale file, & if memory serves, it was configured exactly as you say it should be... but what the heck... off to see the wizard (what's behind that curtain?) :)

Quote:
BillWho
PostPosted: Mon Jun 17, 2013 8:39 pm Post subject:
HenryPeters

Also paste back
Code:
cat /etc/portage/make.conf

emerge --info =media-libs/libmpeg2-0.5.1


& Bill, thanks for suggestion, will do.

Regards,
Henry
Back to top
View user's profile Send private message
HenryPeters
n00b
n00b


Joined: 20 Mar 2011
Posts: 51
Location: Michigan, U.S.A.

PostPosted: Tue Jun 18, 2013 6:05 pm    Post subject: Three items re proceedures for desktop aquisition. Reply with quote

BillWho wrote:
HenryPeters Also paste back
Code:
cat /etc/portage/make.conf
emerge --info =media-libs/libmpeg2-0.5.1


Ok! I'm pasting back the requested results (minus the libmpeg2, as that apparently, is not an issue, presently), & a link to a log file... not (now) for the original reason... as, voila, my intuition, & beginners luck there, were apparently with me... The original problem was solved (you may see what helped me at:

https://forums.gentoo.org/viewtopic-t-715819-start-0.html

As you may also determine from this, that we had not enough information via the log file I previously posted), I got as far as emerge xorg-server... but now, startx fails, so, though there is some discussion I found regarding "fatal server error Caught signal 11 (Segmentation fault.) Server aborted" (or something very like this), it will be in the log link here:

http://bpaste.net/show/108088/

Since I have an integrated sis video chip set... & have found nothing discussing problems with this particular chip set, I figure a newer discussion, regarding this older chip set might well be in order.

Code:
Gentoo-2012 / # cat /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.

CFLAGS="-O2 -march=i686 -pipe"                           
CXXFLAGS="${CFLAGS}"                                     
                                                                                                                 
# WARNING: Changing your CHOST is not something that should be done lightly.                                     
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.                                   
                                                                                                                 
CHOST="i686-pc-linux-gnu"                                                                                         
                                                                                                                 
# These are the USE flags that were used in addition to what is provided by the                                   
# profile used for building.                                                                                     
                                                                                                                 
USE="bindist udev gtk gnome qt4 kde X dvd alsa cdr"                                                               
                                                                                                                 
MAKEOPTS="-j2"                                                                                                   
                                                                                                                 
INPUT_DEVICES="evdev synaptics"                                                                                   
                                                                                                                 
VIDEO_CARDS="sis nouveau radeon"                                                                                 
                                                                                                                 
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/ rsync://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ rsync://gentoo.cs.uni.edu/gentoo-distfiles http://gentoo.cs.uni.edu/"

GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ http://mirrors.rit.edu/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.cs.uni.edu/"

SYNC="rsync://rsync24.us.gentoo.org/gentoo-portage"


I did emerge twm & xterm (& the other procedures except doing KMS, where I could not figure out how to do this for genkernel) at The Gentoo X Server Configuration manual, & do a startx; with the same result.

So hopefully, my presently posted log link will now have enough info to do some trouble shooting... (& I also did look for the error 11 on the xorg's wiki site, where they list some of the errors (I think they are just some of the more common ones (?))

Thanks much, & looking forward to "putting a cow in my boxn." <--- right now, I just have the box'n :)

Henry

P.s., trying to think ahead here, supposing the graphic startx gets resolved, & I then do a successful emerge of gnome, how do I get out of root... to be able to do most all functions as a user... (of course doing root when necessary). Any links, or suggestions, etc., pointing toward those ends could be most helpful.

. <--> . <--> . <--> . <--> . <--> . <--> . <--> .

"How can you learn less?" R. Buckminster Fuller
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Tue Jun 18, 2013 8:34 pm    Post subject: Reply with quote

HenryPeters,

I've never used a SIS video card, but I don't think you should be using nouveau and radeon for VIDEO_CARDS= in make.conf in addition to sis.

I would remove them and emerge -uavDN @world.

Also is < > SiS video cards set in .config :?: If so others like < > ATI Radeon shouldn't be.
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
HenryPeters
n00b
n00b


Joined: 20 Mar 2011
Posts: 51
Location: Michigan, U.S.A.

PostPosted: Tue Jun 18, 2013 9:02 pm    Post subject: Reply with quote

BillWho wrote:
HenryPeters,

I've never used a SIS video card, but I don't think you should be using nouveau and radeon for VIDEO_CARDS= in make.conf in addition to sis.

I would remove them and emerge -uavDN @world.

Also is < > SiS video cards set in .config :?: If so others like < > ATI Radeon shouldn't be.


I put all of those VIDEO_CARDS= in /etc/portage/make.conf because I was not sure which one to use, & it was discussed the possibility of using more than one video card... You are most likely correct... & I will remove as you suggest.

I have two questions however:

1.) Not sure I read it correctly, but my log re this issue, seems to indicate, that at least some of the sis driver/s may be 'depreciated.' If that is so, then probably doing as you suggest, is an experiment (that seems worth trying).

2.) Not really sure, in your third paragraph (---> < > SIS... )---> what is the full path name of .config ? (I'm going to look... but in case I have further doubts... (little confused here, nother late night last night).

Thanks much.

Henry
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Tue Jun 18, 2013 9:15 pm    Post subject: Reply with quote

HenryPeters wrote:
2.) Not really sure, in your third paragraph (---> < > SIS... )---> what is the full path name of .config ? (I'm going to look... but in case I have further doubts... (little confused here, nother late night last night).

I'm referring to /usr/src/linux/.config

Did you make menuconfig to enable your driver options :?: Are you sure you have a SIS video card :?:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
HenryPeters
n00b
n00b


Joined: 20 Mar 2011
Posts: 51
Location: Michigan, U.S.A.

PostPosted: Tue Jun 18, 2013 9:59 pm    Post subject: Reply with quote

BillWho wrote:
I'm referring to /usr/src/linux/.config

Did you make menuconfig to enable your driver options :?: Are you sure you have a SIS video card :?:


I do not think I used make menu config, I chose genkernel, which I thought was (or does, some ways) take care of modules, drivers, etc. Perhaps I missed something, & or did something wrong(?)

Yes, sure I have a SiS video card (integrated chip set), from my Windows XP system report:

Quote:
Monitor: Default Monitor
Video Chipset? SiS Mirage Graphics Ver. 6.14
Resolution 800 x 600 64K Colors
Driver Version 6.14
Technology Raster display


Rather old, not very high res, but it's what I have (for now).

Henry
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Tue Jun 18, 2013 10:37 pm    Post subject: Reply with quote

HenryPeters,

I use genkernel on one of my computers, but I disabled all superfluous options and set only the pertinent ones. I'm not sure what the default setup is.

It probably wouldn't hurt to take a look in

Code:
Device Drivers  --->
   Graphics support  --->

to see what options are set set.
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
HenryPeters
n00b
n00b


Joined: 20 Mar 2011
Posts: 51
Location: Michigan, U.S.A.

PostPosted: Wed Jun 19, 2013 12:26 am    Post subject: Reply with quote

BillWho wrote:
HenryPeters,

I use genkernel on one of my computers, but I disabled all superfluous options and set only the pertinent ones. I'm not sure what the default setup is.

It probably wouldn't hurt to take a look in

Code:
Device Drivers  --->
   Graphics support  --->

to see what options are set set.


Sorry to seem such a dummy, but it is statements like this (from the handbook as well, that's basically REALLY why I chose genkernel) that truly confuse me... i.e., what file/s would I find this/these these options under... but do not fear, I do believe you are along, exactly my aspiration in these regards, in principle (though my ignorance of what functions, etc., here may be making me taking some differing bends in "the road"), as my thought was/is, let the system take care of confusions for me initially, it will undoubtedly be top heavy to start out with, then I try to learn to pare it down... learning my actual needs... & how to compile a kernel so it's that way (more or less), from the git go...

& I did take out (just minutes ago) the radeon & nouveau drivers in /etc/portage/make.conf & did the 'emerge -uavDN @ world' but pretty much the same result from startx (?):

http://bpaste.net/show/108128

Though here too, the cpu seems to be off & on re SiS drivers, etc... & perhaps that is a more or less accurate reflection of my configuration setup (I did look in /usr/src/linux/make.config & did scroll thru a lot of configuration options in the form of (say) 'CONFIG_DRM_RADEON=m' (I don't understand the 'm' but the 'y' or 'NOT SET' seem pretty obvious). I found some SIS CONFIGs, too, but did not really have the courage to mess with any of these, as I had/have not much idea their purpose... meaning. I did all of the above observations/changes via booting root, not chrooted via the liveDVD.

So I do not understand the menucofig... it sounds like it might form some kind of check list form for the selection process (?), but have no working idea how to create such a menu... perhaps you might point me in this direction... somehow (might have been right under my nose, too close to see ("the trees from the forest")?

Thanks much for your time & energies...

Henry
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Wed Jun 19, 2013 1:07 am    Post subject: Reply with quote

Genkernel isn't the problem here. I say that with reasonable confidence because I had an xp computer with an SiS graphics card that worked with a standard genkernel.

I would say try adding vesa and fbdev to your video cards variable. They should work. If memory serves, the SiS specific driver is not included so you will need to find it using the --menuconfig genkernel option.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Wed Jun 19, 2013 1:10 am    Post subject: Reply with quote

HenryPeters,

I took a closer look at the log file. It does appear that the sis driver was loaded and enabled
Code:
[   740.053] (==) Assigned the driver to the xf86ConfigLayout
[   740.053] (II) LoadModule: "sis"
[   740.053] (II) Loading /usr/lib/xorg/modules/drivers/sis_drv.so
[   740.053] (II) Module sis: vendor="X.Org Foundation"
[   740.053]    compiled for 1.13.4, module version = 0.10.7
[   740.053]    Module class: X.Org Video Driver

However, further down at line 604, something goes awry and culminates with a Segmentation fault at address 0x0. These errors are pretty difficult to pinpoint.

As far as menuconfig goes, this handbook chapter will explain it better than I can. The section of interest for you is 7.b. Default: Manual Configuration

Also you mentioned scrolling through .config. Changes should be made only via menuconfig as other settings might need to be adjusted when a configuration option is enabled/disabled.
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
HenryPeters
n00b
n00b


Joined: 20 Mar 2011
Posts: 51
Location: Michigan, U.S.A.

PostPosted: Wed Jun 19, 2013 1:18 am    Post subject: Three items re proceedures for desktop aquisition. Reply with quote

The Doctor wrote:
Genkernel isn't the problem here. I say that with reasonable confidence because I had an xp computer with an SiS graphics card that worked with a standard genkernel.

I would say try adding vesa and fbdev to your video cards variable. They should work. If memory serves, the SiS specific driver is not included so you will need to find it using the --menuconfig genkernel option.


Yes I did notice in the log, mention of vesa... will do Doctor, & thanks.

& Bill, thanks too... I didn't really look too closely at Manual Configuration... presuming (upon superficial look) that one can do this after the genkernel did its' thing. I'm headed (soon as I can) back to the liveDVD, handbook at hand.

Henry

P.s., plus this part of the discussion.
Back to top
View user's profile Send private message
HenryPeters
n00b
n00b


Joined: 20 Mar 2011
Posts: 51
Location: Michigan, U.S.A.

PostPosted: Thu Jun 20, 2013 6:43 pm    Post subject: Three items re proceedures for desktop aquisition. Reply with quote

The Doctor wrote:
Genkernel isn't the problem here. I say that with reasonable confidence because I had an xp computer with an SiS graphics card that worked with a standard genkernel.

I would say try adding vesa and fbdev to your video cards variable. They should work. If memory serves, the SiS specific driver is not included so you will need to find it using the --menuconfig genkernel option.


Ok, added vesa & fbdev to /etc/portage/make.conf then did the menuconfig thing (so simple to do! hope I made right choices though), did an env profile update; rebooted & did an 'emerge -uavDN @ world' tried a 'startx' with similar results as before. See

http://bpaste.net/show/108624/

Stumped.

Henry

P.s., here is the results of lspci, perhaps this offers some clues (that I am not able to interpret)? :

Code:
# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 761/M761 Host (rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] LPC Controller (rev 36)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 IDE Controller (rev 01)
00:03.0 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.2 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
00:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA (rev 01)
00:0a.0 Multimedia controller: Motorola DSP56361 Digital Signal Processor (rev 01)
00:0d.0 Serial controller: 3Com Corp, Modem Division 56K FaxModem Model 5610 (rev 01)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter (rev 03)
(chroot) Gentoo-2012 / #
Back to top
View user's profile Send private message
HenryPeters
n00b
n00b


Joined: 20 Mar 2011
Posts: 51
Location: Michigan, U.S.A.

PostPosted: Fri Jun 21, 2013 5:50 am    Post subject: Three items re proceedures for desktop aquisition. Reply with quote

The Doctor wrote:
Genkernel isn't the problem here. I say that with reasonable confidence because I had an xp computer with an SiS graphics card that worked with a standard genkernel.

I would say try adding vesa and fbdev to your video cards variable. They should work. If memory serves, the SiS specific driver is not included so you will need to find it using the --menuconfig genkernel option.


An addendum to my trials here. I previously did as you suggest here (above), but left ALL of the SiS drivers on (in menu.config)... that did not work... so I went back & tried to leave only the relevant drivers... that didn't work either (see http://bpaste.net/show/108704/ ). I'm wondering if I should take the SiS out of '/etc/portage/make.conf' ? When I examined the last log (linked above) I does show some activity with vesa & fbdev...

But all in all, above query is a rather wild guess... & I'm further guessing there might not really be much hope for my machine... & Gentoo... (I'm also guessing that the desktop only gets emerged/installed after xorg starts up properly?).

Thanks for any advice.

Henry

P.s., thought about my discouragement with the possibilities of utilizing Gentoo on my particular machine (sis chipset)... I think now, since the liveDVD works (i.e., the GUI, as I did the basic initial installation via the DVD), something must be functioning correctly, in this regard... & question now is (for me), what & is there any way to check on how the DVD sets "itself" up in regards to startx, etc.? I may pose this as a new question (& or in another Gentoo forum), but anyone who has any ideas, thoughts, knowhow, input here, as usual, appreciated!

P.p.s., I just now (minutes later from above postscript), saw in another forum topic re xorg problems... some one indicated that one might look in '/usr/share/x11/xorg.conf.d/' & that there should be the chosen xorg drivers there... I also just now looked into mine, & there was NOTHING LISTED... & nano was labeling it as a NEW FILE. So I guess that's an additional question to the mystery... (to be solved).
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2551
Location: Here and Away Again

PostPosted: Mon Jul 08, 2013 5:41 pm    Post subject: Re: Three items re proceedures for desktop aquisition. Reply with quote

Little late on this, and I think you went for another machine already, but this might still prove to be useful, I think!

HenryPeters wrote:
P.s., thought about my discouragement with the possibilities of utilizing Gentoo on my particular machine (sis chipset)... I think now, since the liveDVD works (i.e., the GUI, as I did the basic initial installation via the DVD), something must be functioning correctly, in this regard... & question now is (for me), what & is there any way to check on how the DVD sets "itself" up in regards to startx, etc.? I may pose this as a new question (& or in another Gentoo forum), but anyone who has any ideas, thoughts, knowhow, input here, as usual, appreciated!

The way I usually start an installation, is that I fire the machine up by using the SystemRescueCd, and there (assuming things seem to be working as they should be), I use

Code:
lspci -k

to find out which kernel drivers are being used.

Then it's just a matter of searching for them in menuconfig, and once all of those are set, the system should pretty much have the essentials for booting and such what comes to the hardware.

Another useful command you may have stumbled upon already is:

Code:
dmesg

One can quickly see if there are conflicting graphics drivers set for example (probably not the issue in this case, though, but it is a rather common situation).
Like you say, it should work if it works with the LiveDvD or other media.


And yes, you will need Xorg to be working OK before you can start running any Desktop Environment(s)/Window Manager(s). ^^


Just some quick thoughts~
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
HenryPeters
n00b
n00b


Joined: 20 Mar 2011
Posts: 51
Location: Michigan, U.S.A.

PostPosted: Mon Jul 08, 2013 6:26 pm    Post subject: Re: Three items re proceedures for desktop aquisition. Reply with quote

Chiitoo wrote:
Little late on this, and I think you went for another machine already, but this might still prove to be useful, I think!

Code:
lspci -k

to find out which kernel drivers are being used.

Then it's just a matter of searching for them in menuconfig, and once all of those are set, the system should pretty much have the essentials for booting and such what comes to the hardware.

Another useful command you may have stumbled upon already is:

Code:
dmesg

One can quickly see if there are conflicting graphics drivers set for example (probably not the issue in this case, though, but it is a rather common situation).
Like you say, it should work if it works with the LiveDvD or other media.

Just some quick thoughts~


Thanks much for reply... & you are correct, got a new machine... but I think your suggestions still yet likely to be very helpful... even with my new HP Pavillion 500-046, 64-bit system (windows 8 preloaded). I also am planning upon getting another HD... so I do not have to mess with co-existing with windoze on the same HD... that is, put Gentoo on that (that's the theory, anyway). Plus, going to try to use my older machine in a home network (have to figure this out too). The joys of DIY :))

Regards,
Henry
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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