LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gentoo help plzzzzzz (https://www.linuxquestions.org/questions/linux-newbie-8/gentoo-help-plzzzzzz-724398/)

vibinlakshman 05-14-2009 10:25 AM

Can anyone help me to identify which chipset i'm using , i'll just post the content what i've done , couldnt identify , is this of nvidia or other type
From my point of view i find everything as Intel , but i set VIDEO_CARD="nvidia vesa" , should i change this USE flag to intel? If so , plz provide the correct format of this type


vibin-laptop / # lspci | egrep "AGP|PCI Express|VGA|Display"
pcilib: Cannot open /proc/bus/pci
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)


vibin-laptop / # lspci -vvv | egrep "AGP|PCI Express|VGA|Display"
pcilib: Cannot open /proc/bus/pci
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-

i92guboj 05-14-2009 10:31 AM

Both your graphics chip and the chipset that governs your motherboard are from Intel according to that output.

colorpurple21859 05-14-2009 12:19 PM

looks like you have an intel i945 graphics card. set your make.conf to VIDEO_CARD="intel" and when you do your /etc/X11/xorg.config in the video card section driver="intel" I have an intel i810 video card and thats what i had to do. you might still have to install your intel drivers. You can look in usr/portage/x11-drivers/to find the actual name of the intel driver and there might be a i945 driver listed also but not sure.

vibinlakshman 05-14-2009 08:13 PM

Quote:

Originally Posted by i92guboj (Post 3540682)
Both your graphics chip and the chipset that governs your motherboard are from Intel according to that output.

i've change my VIDEO_DRIVER accordingly , so what to do next ??

vibin-laptop ~ # cat /var/log/Xorg.0.log |grep EE
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(EE) Unable to locate/open config file
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "glx" (module does not exist, 0)
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "intel" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)

this is what i've done after startx in gentoo terminal

dxqcanada 05-14-2009 08:27 PM

If you have changed your /etc/make.conf file with the new VIDEO_CARD entry ... you will have to
Code:

# emerge xorg-server -uDNav
# emerge xorg-x11 -uDNav


vibinlakshman 05-14-2009 09:20 PM

Quote:

Originally Posted by dxqcanada (Post 3541245)
If you have changed your /etc/make.conf file with the new VIDEO_CARD entry ... you will have to
Code:

# emerge xorg-server -uDNav
# emerge xorg-x11 -uDNav


Before that i've done emerge -uva xf86-video-intel and plz verify the err i got

* Checking for direct rendering capabilities ...
*
* ERROR: x11-drivers/xf86-video-intel-2.6.3-r1 failed.
* Call stack:
* ebuild.sh, line 48: Called src_unpack
* environment, line 3022: Called x-modular_src_unpack
* environment, line 3835: Called x-modular_dri_check
* environment, line 3681: Called die
* The specific snippet of code:
* die "You must build x11-base/xorg-server with USE=-minimal.";
* The die message:
* You must build x11-base/xorg-server with USE=-minimal.
*
* 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/xf86-video-intel-2.6.3-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.6.3-r1/temp/environment'.
*

>>> Failed to emerge x11-drivers/xf86-video-intel-2.6.3-r1, Log file:

>>> '/var/tmp/portage/x11-drivers/xf86-video-intel-2.6.3-r1/temp/build.log'

* Messages for package x11-drivers/xf86-video-intel-2.6.3-r1:

*
* ERROR: x11-drivers/xf86-video-intel-2.6.3-r1 failed.
* Call stack:
* ebuild.sh, line 48: Called src_unpack
* environment, line 3022: Called x-modular_src_unpack
* environment, line 3835: Called x-modular_dri_check
* environment, line 3681: Called die
* The specific snippet of code:
* die "You must build x11-base/xorg-server with USE=-minimal.";
* The die message:
* You must build x11-base/xorg-server with USE=-minimal.
*
* 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/xf86-video-intel-2.6.3-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.6.3-r1/temp/environment'.
*

* GNU info directory index is up-to-date.

I think this intel driver is making the problem!!!!

dxqcanada 05-14-2009 09:32 PM

Try
Code:

# emerge -av xorg-server xf86-video-intel

dxqcanada 05-14-2009 09:34 PM

... post the output of that.
Then let it run.

vibinlakshman 05-14-2009 10:06 PM

Quote:

Originally Posted by dxqcanada (Post 3541289)
... post the output of that.
Then let it run.

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

Calculating dependencies... done!
[ebuild N ] x11-apps/bdftopcf-1.0.0 USE="-debug" 0 kB
[ebuild N ] media-fonts/font-adobe-75dpi-1.0.0 USE="X nls" 0 kB
[ebuild R ] x11-base/xorg-server-1.5.3-r5 USE="hal ipv6 nptl sdl xorg -3dfx -debug -dmx -kdrive -minimal* -tslib" INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -tek4957 -tslib -ur98 -virtualbox -vmmouse -void -wacom" VIDEO_CARDS="intel* -apm -ark -ast -chips -cirrus -dummy -epson -fbdev -fglrx -geode -glint -i128 -i740 (-impact) -imstt -mach64 -mga -neomagic (-newport) -nv -nvidia* -r128 -radeon -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vermilion -vesa* -via -virtualbox -vmware -voodoo -xgi" 0 kB
[ebuild N ] x11-drivers/xf86-video-intel-2.6.3-r1 USE="dri -debug" 0 kB

Total: 4 packages (3 new, 1 reinstall), Size of downloads: 0 kB

vibinlakshman 05-14-2009 10:25 PM

Now Xorg had installed , but how to get it worked !!!

vibin-laptop / # Xorg -configure
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running

vibin-laptop / # X -config /root/xorg.conf.new
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running

i92guboj 05-15-2009 12:10 AM

It xorg already running (i.e., did you do startx or something like that)?

I don't have much experience with the xorg configurators, I've always edited my xorg.conf file by hand. So my knowledge about these configurators is very limited.

If you do "startx" now, does it launch a graphical session?

vibinlakshman 05-15-2009 02:38 AM

Quote:

Originally Posted by i92guboj (Post 3541394)
It xorg already running (i.e., did you do startx or something like that)?

I don't have much experience with the xorg configurators, I've always edited my xorg.conf file by hand. So my knowledge about these configurators is very limited.

If you do "startx" now, does it launch a graphical session?

No i havent started , but tried startx , it shows an ugly screen for a second and disappears .
Can u plz post what u have done for ur xorg.conf files , for a moment i'm giving up xorg configurators , OK ..

i92guboj 05-15-2009 02:59 AM

First move your xorg.conf file elsewhere (if it exists at all).

Code:

$ mv /etc/X11/xorg.conf ~/xorg.conf.back
Then follow this guide:

http://www.gentoo.org/doc/en/dri-howto.xml

To get the intel driver working. You need to pick the correct driver in the menuconfig step, and you also need to use the correct driver in xorg.conf instead of the "radeon" one that appears in the guide. I guess you need "intel" here, but I never used an intel GPU so I am not sure.

vibinlakshman 05-15-2009 06:59 AM

Quote:

Originally Posted by i92guboj (Post 3541508)
First move your xorg.conf file elsewhere (if it exists at all).

Code:

$ mv /etc/X11/xorg.conf ~/xorg.conf.back
Then follow this guide:

http://www.gentoo.org/doc/en/dri-howto.xml

To get the intel driver working. You need to pick the correct driver in the menuconfig step, and you also need to use the correct driver in xorg.conf instead of the "radeon" one that appears in the guide. I guess you need "intel" here, but I never used an intel GPU so I am not sure.

I just moved that xorg.conf file , and had performed kernel tweeking with intel as the option , everything was success .
But couldnt take that xorg.conf file again to get edited , so i copied ~/xorg.conf.backback to my X11 folder , is there any problem in that .. ?

i92guboj 05-15-2009 07:26 AM

No problem, you can use that as a base or write a new one. Just make sure you set "Intel" as the driver inside of it.

vibinlakshman 05-15-2009 10:47 AM

Quote:

Originally Posted by i92guboj (Post 3541724)
No problem, you can use that as a base or write a new one. Just make sure you set "Intel" as the driver inside of it.

Yes done , i think i'm very poor in editing config file , but some how managed it ...

After having startx in gentoo ,i'll show what i get

(EE) Failed to laod module "type1"(module doesnt exists,0)
(EE) Failed to load module "freetype"(module doesnt exists, 0)
(EE) Failed to load module "mga" (module doesnt exists,0)
(EE) No drivers installed

Fatal error
no screen found giving up

i92guboj 05-15-2009 11:40 AM

Do you, by any chance, have the "minimal" use flag on?

Those modules should be present.

vibinlakshman 05-15-2009 08:00 PM

Quote:

Originally Posted by i92guboj (Post 3541988)
Do you, by any chance, have the "minimal" use flag on?

Those modules should be present.

Sorry i dont knw what ur mentioning , i couldnt get that . Can u be more specific , is this anything that i need to check in xorg.conf file , but i couldnt figure it out there ..

i92guboj 05-15-2009 08:18 PM

You can see the USE flags for a given package on the output of emerge -pv, for example, for my xorg-server they are these:

Code:

$ emerge -va xorg-server
superuser access is required... adding --pretend to options.


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

Calculating dependencies... done!
[ebuild  R  ] x11-base/xorg-server-1.5.3-r6  USE="hal ipv6 kdrive nptl xorg (-3dfx) -debug -dmx -minimal -sdl -tslib"

Mine is "off" (as should be yours). Just check it. If it's "on" (no minus sign in front of "minimal", then that can be your problem. USE flags are set either in /etc/make.conf or in /etc/portage/package.use

vibinlakshman 05-15-2009 08:39 PM

Quote:

Originally Posted by i92guboj (Post 3542400)
You can see the USE flags for a given package on the output of emerge -pv, for example, for my xorg-server they are these:

Code:

$ emerge -va xorg-server
superuser access is required... adding --pretend to options.


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

Calculating dependencies... done!
[ebuild  R  ] x11-base/xorg-server-1.5.3-r6  USE="hal ipv6 kdrive nptl xorg (-3dfx) -debug -dmx -minimal -sdl -tslib"

Mine is "off" (as should be yours). Just check it. If it's "on" (no minus sign in front of "minimal", then that can be your problem. USE flags are set either in /etc/make.conf or in /etc/portage/package.use

I dont have anything like that in that make.conf file .. Is it fine , i just added only essential parts as USE flags nothing more

NeddySeagoon 05-17-2009 12:53 PM

vibinlakshman,

We need to see the following
Code:

emerge --info
and the contents of the files xorg.conf and /var/log/Xorg.0.log.

The log file can be quite large.
Code:

emerge wgetpaste
and do
Code:

wgetpaste /var/log/Xorg.0.log
to put the file on the web. Post the URL you get back. Like this:-
Code:

bluebottle NeddySeagoon # wgetpaste /etc/X11/xorg.conf
Your paste can be seen here: http://dpaste.com/45057/
bluebottle NeddySeagoon #

That URL shows a xorg.conf taken from my Acer Aspire One, which has the same graphics chip as you. Other than the Section "Screen" it should be close to what you need.

vibinlakshman 05-18-2009 01:09 AM

Quote:

Originally Posted by NeddySeagoon (Post 3543802)
vibinlakshman,

We need to see the following
Code:

emerge --info
and the contents of the files xorg.conf and /var/log/Xorg.0.log.

The log file can be quite large.
Code:

emerge wgetpaste
and do
Code:

wgetpaste /var/log/Xorg.0.log
to put the file on the web. Post the URL you get back. Like this:-
Code:

bluebottle NeddySeagoon # wgetpaste /etc/X11/xorg.conf
Your paste can be seen here: http://dpaste.com/45057/
bluebottle NeddySeagoon #

That URL shows a xorg.conf taken from my Acer Aspire One, which has the same graphics chip as you. Other than the Section "Screen" it should be close to what you need.

Sorry dude i had given up the Gentoo .. I think it doesnt suits me .. For past one and half month i'm trying this .. So better luck next time man ,
Thanks for ur comments ..


All times are GMT -5. The time now is 11:42 AM.