Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VIDEO_CARDS flag in make.conf
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
c707176
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 215

PostPosted: Fri Mar 16, 2007 8:26 am    Post subject: VIDEO_CARDS flag in make.conf Reply with quote

Hi guys,

I just try installing xorg and following the doc. However, I have no serious idea what entry is required for the VIDEO_CARDS flag in make.conf? Can somebody help me on that?
I think my card is a Intel 915 GM...

Cheers
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Fri Mar 16, 2007 8:36 am    Post subject: Reply with quote

i believe you use i810.

cheers
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
c707176
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 215

PostPosted: Fri Mar 16, 2007 9:07 am    Post subject: Reply with quote

Do you mean I have to set VIDEO_CARDS="i810" and then reemerge x11 since I emerged it with VIDEO_CARDS="fglrx" so far?
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Fri Mar 16, 2007 9:23 am    Post subject: Reply with quote

c707176 wrote:
Do you mean I have to set VIDEO_CARDS="i810" and then reemerge x11 since I emerged it with VIDEO_CARDS="fglrx" so far?


yup. that'll work.

fglrx is for ati cards, just so you know. :wink:

cheers
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
c707176
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 215

PostPosted: Fri Mar 16, 2007 12:19 pm    Post subject: Reply with quote

ok, i tried the following now. However Xorg -configure does not work properly...

aitken etc # nano make.conf
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="i810"

aitken etc # emerge --unmerge xorg-x11
aitken etc # emerge xorg-x11
aitken etc # env-update
>>> Regenerating /etc/ld.so.cache...
aitken etc # source /etc/profile

aitken etc # Xorg -configure

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN
Current Operating System: Linux aitken 2.6.19-gentoo-r5 #1 SMP Thu Mar 15 15:49:28 CET 2007 i686
Build Date: 16 March 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 16 14:18:15 2007
List of video drivers:
fglrx

Backtrace:
0: Xorg(xf86SigHandler+0x84) [0x80c40d4]
1: [0xb7ef0420]
2: /usr/lib/xorg/modules/drivers/fglrx_drv.so(atiddxProbeMain+0x121) [0xb7511ce1]
3: Xorg(DoConfigure+0x208) [0x80b5f38]
4: Xorg(InitOutput+0x655) [0x80a00b5]
5: Xorg(main+0x276) [0x806e3f6]
6: /lib/libc.so.6(__libc_start_main+0xd8) [0xb7c86838]
7: Xorg(FontFileCompleteXLFD+0xad) [0x806d931]

Fatal server error:
Caught signal 11. Server aborting

Aborted
Back to top
View user's profile Send private message
jseymour
Apprentice
Apprentice


Joined: 23 Jun 2006
Posts: 202
Location: Gainesville Florida

PostPosted: Fri Mar 16, 2007 12:23 pm    Post subject: Reply with quote

Did you install the ati-drivers? Any other place you added fglrx like maybe xorg.conf? Also make sure you add --newuse to the emerge command to re read make.conf's new settings.
_________________
WebServerMasters
Gentoo Installation Flash Tutorials
Back to top
View user's profile Send private message
c707176
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 215

PostPosted: Fri Mar 16, 2007 12:31 pm    Post subject: Reply with quote

I also tried emerge --newuse xorg-x11. However it doesnt really recompile the sources since it only takes a few seconds. I didnt create a xorg.conf so far.
Back to top
View user's profile Send private message
jseymour
Apprentice
Apprentice


Joined: 23 Jun 2006
Posts: 202
Location: Gainesville Florida

PostPosted: Fri Mar 16, 2007 12:37 pm    Post subject: Reply with quote

Try an "emerge -av --depclean" Choose "no" for now and post the output. Lets see what may need cleaning. Do you have the gentoolkit installed?
_________________
WebServerMasters
Gentoo Installation Flash Tutorials
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Fri Mar 16, 2007 12:40 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Desktop Environments.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
c707176
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 215

PostPosted: Fri Mar 16, 2007 12:49 pm    Post subject: Reply with quote

here we go:

aitken etc # emerge -av --depclean

*** WARNING *** Depclean may break link level dependencies. Thus, it is
*** WARNING *** recommended to use a tool such as `revdep-rebuild` (from
*** WARNING *** app-portage/gentoolkit) in order to detect such breakage.
*** WARNING ***
*** WARNING *** Also study the list of packages to be cleaned for any obvious
*** WARNING *** mistakes. Packages that are part of the world set will always
*** WARNING *** be kept. They can be manually added to this set with
*** WARNING *** `emerge --noreplace <atom>`. Packages that are listed in
*** WARNING *** package.provided (see portage(5)) will be removed by
*** WARNING *** depclean, even if they are part of the world set.
*** WARNING ***
*** WARNING *** As a safety measure, depclean will not remove any packages
*** WARNING *** unless *all* required dependencies have been resolved. As a
*** WARNING *** consequence, it is often necessary to run
*** WARNING *** `emerge --update --newuse --deep world` prior to depclean.

Calculating dependencies... done!


>>> These are the packages that would be unmerged:
dev-perl/Locale-gettext
selected: 1.05
protected: none
omitted: none

dev-libs/mpfr
selected: 2.2.0_p10
protected: none
omitted: none

sys-apps/hotplug-base
selected: 20040401
protected: none
omitted: none

dev-libs/gmp
selected: 4.2.1
protected: none
omitted: none

virtual/libintl
selected: 0
protected: none
omitted: none

net-nds/openldap
selected: 2.3.24-r1
protected: none
omitted: none

virtual/libstdc++
selected: 3.3
protected: none
omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Would you like to unmerge these packages? [Yes/No] no

Quitting.

Packages installed: 283
Packages in world: 13
Packages in system: 56
Unique package names: 283
Required packages: 276
Number to remove: 7
Back to top
View user's profile Send private message
jseymour
Apprentice
Apprentice


Joined: 23 Jun 2006
Posts: 202
Location: Gainesville Florida

PostPosted: Fri Mar 16, 2007 12:56 pm    Post subject: Reply with quote

Well, I do not see any packages there I was expecting. Try configuring x and post any errors. Lets see what you have (so far) to work with.
_________________
WebServerMasters
Gentoo Installation Flash Tutorials
Back to top
View user's profile Send private message
c707176
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 215

PostPosted: Fri Mar 16, 2007 2:07 pm    Post subject: Reply with quote

I copyed over my old xorg.conf which worked on the same laptop with an older version of Gentoo.
The following happens:
aitken X11 # xorgcfg

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN
Current Operating System: Linux aitken 2.6.19-gentoo-r5 #1 SMP Thu Mar 15 15:49:
28 CET 2007 i686
Build Date: 16 March 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.8.log", Time: Fri Mar 16 16:06:18 2007
List of video drivers:
fglrx

Backtrace:
0: /usr/bin/Xorg(xf86SigHandler+0x84) [0x80c40d4]
1: [0xb7f00420]
2: /usr/lib/xorg/modules/drivers/fglrx_drv.so(atiddxProbeMain+0x121) [0xb7521ce1
]
3: /usr/bin/Xorg(DoConfigure+0x208) [0x80b5f38]
4: /usr/bin/Xorg(InitOutput+0x655) [0x80a00b5]
5: /usr/bin/Xorg(main+0x276) [0x806e3f6]
6: /lib/libc.so.6(__libc_start_main+0xd8) [0xb7c96838]
7: /usr/bin/Xorg(FontFileCompleteXLFD+0xad) [0x806d931]

Fatal server error:
Caught signal 11. Server aborting

Failed to run "X -configure".


My xorg.conf looks like following:

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "TOUCHPAD" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DELL_USB_MOUSE" "SendCoreEvents"
EndSection

Section "Files"
RgbPath "/usr/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
Load "extmod"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
# Load "speedo"
Load "type1"
Load "freetype"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "de(nodeadkeys)"
EndSection

Section "InputDevice"
Identifier "TOUCHPAD"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mouse0"
# still trying different options... (A.M., 10/08/2005)
# Option "MinSpeed" "0.3"
# Option "MaxSpeed" "0.75"
# Option "MaxTapTime" "0"
# Option "AccelFactor" "0.015"
# Option "MaxSpeed" "0.75"
# Option "EdgeMotionMinSpeed" "200"
# Option "EdgeMotionMaxSpeed" "200"
# the following option seems to be sufficient to
# get better control over the Touchpad:
Option "UpDownScrolling" "1"
Option "LeftRightScrolling" "1"
EndSection


Section "InputDevice"
Identifier "DELL_USB_MOUSE"
Driver "mouse"
Option "Device" "/dev/input/mice"
# Option "Buttons" "5"
Option "Protokol" "IMPS/2"
Option "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
# Option "FlatPanelProperties" "Scaling=Centered"
# UseModes "16:10"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
Identifier "Card0"
Driver "vesa"
VendorName "Intel Corp."
BoardName "Unknown Board"
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Fri Mar 16, 2007 2:15 pm    Post subject: Reply with quote

Shouldn't the driver in the device section be "i810"; and
if you don't have "vesa" in make.conf I don't see how
you will even make the vesa drive that xorg.conf seems
to be calling for ...
Back to top
View user's profile Send private message
jseymour
Apprentice
Apprentice


Joined: 23 Jun 2006
Posts: 202
Location: Gainesville Florida

PostPosted: Fri Mar 16, 2007 2:18 pm    Post subject: Reply with quote

For some reason it is still seeing fglrx as your video driver. Do "modprobe fglrx" and see if it is there.
_________________
WebServerMasters
Gentoo Installation Flash Tutorials
Back to top
View user's profile Send private message
c707176
Apprentice
Apprentice


Joined: 01 Mar 2005
Posts: 215

PostPosted: Fri Mar 16, 2007 6:40 pm    Post subject: Reply with quote

I started from scratch again and managed to get rid of the fglrx.
I can now do Xorg -configure. This seems to work. However testing the X environment goes wrong:

aitken ~ # Xorg -configure

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN
Current Operating System: Linux aitken 2.6.19-gentoo-r5 #1 SMP Fri Mar 16 15:26:31 CET 2007 i686
Build Date: 16 March 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 16 20:39:04 2007
List of video drivers:
i810
(++) Using config file: "/root/xorg.conf.new"
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found


Xorg is not able to detect your mouse.
Edit the file and correct the Device.
Your xorg.conf file is /root/xorg.conf.new

To test the server, run 'X -config /root/xorg.conf.new'


aitken ~ # X -config /root/xorg.conf.new

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN
Current Operating System: Linux aitken 2.6.19-gentoo-r5 #1 SMP Fri Mar 16 15:26:31 CET 2007 i686
Build Date: 16 March 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 16 20:40:58 2007
(++) Using config file: "/root/xorg.conf.new"
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
FATAL: Module i915 not found.
[drm] failed to load kernel module "i915"
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
(EE) AIGLX: Screen 0 is not DRI capable
(EE) xf86OpenSerial: Cannot open device /dev/mouse
No such file or directory.
(EE) Mouse0: cannot open input device
(EE) PreInit failed for input device "Mouse0"
xkb_keycodes { include "xfree86+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compatibility { include "complete" };
xkb_symbols { include "pc(pc105)+us" };
xkb_geometry { include "pc(pc105)" };
No core pointer

Fatal server error:
failed to initialize core devices


Can somebody help me on that?

Cheers
Back to top
View user's profile Send private message
solamour
l33t
l33t


Joined: 21 Dec 2004
Posts: 698
Location: San Diego, CA

PostPosted: Sun Mar 18, 2007 8:01 am    Post subject: Reply with quote

When I change the graphic card from, say, "radeon" to "i810", emerging only "xorg-x11" doesn't seem to work; I need to check who else needs to be rebuilt.
Code:
emerge -ptvDuN xorg-x11

Usually, I need to emerge "mesa" and "xorg-server", but your case might be somewhat different, so check what packages have this cute new flags in the green color.

As for your not being able to start X, make sure your "InputDevice" is pointing to the right place in "/root/xorg.conf.new".
Code:
Option       "Device" "/dev/input/mice"

__
sol
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