Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Which Driver for Intel 915GM?
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
snake1981
n00b
n00b


Joined: 29 Jul 2008
Posts: 13

PostPosted: Tue Jul 29, 2008 7:10 am    Post subject: Which Driver for Intel 915GM? Reply with quote

Hi Community,
i am doing my first steps with gentoo. I'm installing it on an older Notebook from Medion.
The installation of the basesystem is working fine now, but i have problems with compiling the xorg-server.

I am installing from the Gentoo-Documentation http://www.gentoo.org/doc/en/xorg-config.xml.

Now i dont know which driver I must configure in the make.conf for VIDEO_CARDS.

lspci says:
Code:

00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/9120GML Express Graphics Controller (rev 03)


please help me with this problem :D

Greets
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Tue Jul 29, 2008 7:24 am    Post subject: Reply with quote

Add the following to your /etc/make.conf
Code:
VIDEO_CARDS="i810"
Under USE= in your /etc/make.conf file add the following (if they don't already exist):
Code:
input_devices_evdev input_devices_keyboard input_devices_mouse
Then emerge xorg-server and the needed drivers (mouse, keyboard, evdev, xf86-video-i810), and try again.

Below are three different kernel .configs and xorg.conf files. You are welcome to peruse them and use them as patterns for your own setup. Systems 1 & 2 are 32 bit laptops, and system 3 is an amd64 Core2 Duo.

.copnfig_1 .config_2 .config_3

xorg.conf_1 xorg.conf_2 xorg.conf_3

Hope it helps.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
snake1981
n00b
n00b


Joined: 29 Jul 2008
Posts: 13

PostPosted: Tue Jul 29, 2008 8:06 am    Post subject: Reply with quote

Hi,
Thanks for yours fast answer. After emergin xorg i executed
the following:

Code:

env-update
source /etc/profile

Xorg -configure


after doing that, hi "says" that i should test the configuration with this command:

Code:

X -config /root/xorg.conf.new


if i execute that, i become a blank screen.

My keyboard is working fine, because if i press CTRL + ALT + DEL,
my system is rebooting normaly.

I think i try one of your configurations, when i am finished work today :wink:
or anyone hava an idea what happen?

Greets
snake

PS.: I found no errors in the /var/log/Xorg.0.log
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Tue Jul 29, 2008 9:01 am    Post subject: Reply with quote

Enter startx and see what happens.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
snake1981
n00b
n00b


Joined: 29 Jul 2008
Posts: 13

PostPosted: Tue Jul 29, 2008 4:32 pm    Post subject: Reply with quote

Ok now it starts, but the Display is very dark.
First after i press the key, which is used for adjusting the brightness on my Leptop, the Display has its "normal" Brightness,
after i switch the Terminal via CTRL + ALT + 1 the Display is very dark again, and i muss press the Brightness-key...

The xserver is writing a few error-messages at startup:

Code:

X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN
Current Operating System: Linux tux 2.6.25-gentoo-r7 #2 SMP Sun Jul 27 19:58:17 GMT 2008 i686
Build Date: 29 July 2008
        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: Tue Jul 29 18:24:56 2008
(==) Using config file: "/etc/X11/xorg.conf"
(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found
(II) Module already built-in
(II) Module already built-in
(II) Module already built-in
FATAL: Module i915 not found.
(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
(EE) AIGLX: Screen 0 is not DRI capable
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            No Symbols named ".winkeys" in the include file "de"
>                   Exiting
>                   Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server


And thats my actuall xorg.conf:

Code:

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

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

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

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "CoreKeyboard"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbVariant" ".winkeys"
        Option      "XkbLayout" "de"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"

        #DisplaySize      300   230     # mm
        Identifier   "Monitor0"
        VendorName   "LPL"
        ModelName    "0"
 ### Comment all HorizSync and VertRefresh values to use DDC:
        HorizSync    31.5 - 57.0
        VertRefresh  50.0 - 70.0
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     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "CacheLines"                # <i>
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "DRI"                       # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        #Option     "PageFlip"                  # [<bool>]
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
        Card        "** Intel i810 (generic)               [i810]"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     16
        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
                Modes    "1024x768"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection


/etc/make.conf:
Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="-O2 -march=i686 -pipe"
# 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"

GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "

GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ "

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

USE="-gtk -gnome qt3 qt4 kde dvd alsa cdr"

# X11 Config
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="i128 i740 i810 vesa vga"

is there anyting missing /wrong?
How can i get DRI to work?

Greets
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Tue Jul 29, 2008 7:25 pm    Post subject: Reply with quote

You have to activate DRI in the kernel, as per the kernel .config files offered above. Also, you only need i810 in your video-cards= statement. To have all those others means X wants to compile those drivers as well.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
snake1981
n00b
n00b


Joined: 29 Jul 2008
Posts: 13

PostPosted: Tue Jul 29, 2008 10:27 pm    Post subject: Reply with quote

Hi, thanks a lot for your help.

I have removed all other Drivers at the VIDEO_CARDS-Statement and emerged xorg again.
My netx Problem ist, to find the property, which configures DRi at your .config-files. Can you please give me an hint, which one it is?

Thank you.

snake

PS.: I know that my questions sounds a little bit stupid :wink:
Back to top
View user's profile Send private message
Nerevar
l33t
l33t


Joined: 31 May 2008
Posts: 720

PostPosted: Tue Jul 29, 2008 11:02 pm    Post subject: Reply with quote

Lines 905-922 of config 1.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Wed Jul 30, 2008 5:13 am    Post subject: Reply with quote

That would be the area of concern!

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
baeksu
l33t
l33t


Joined: 26 Sep 2004
Posts: 609
Location: Seoul, Korea

PostPosted: Wed Jul 30, 2008 5:36 am    Post subject: Reply with quote

snake1981 wrote:
Hi, thanks a lot for your help.

I have removed all other Drivers at the VIDEO_CARDS-Statement and emerged xorg again.
My netx Problem ist, to find the property, which configures DRi at your .config-files. Can you please give me an hint, which one it is?

Thank you.

snake

PS.: I know that my questions sounds a little bit stupid :wink:
If you need to find something while doing menuconfig, you can hit the key "/" , search (in this case "DRI"), and it will show you options that contain that string.
_________________
Gnome:
1. A legendary being.
2. A never ending quest to make unix friendly to people who don't want unix and excruciating for those that do.
Back to top
View user's profile Send private message
snake1981
n00b
n00b


Joined: 29 Jul 2008
Posts: 13

PostPosted: Wed Jul 30, 2008 7:56 am    Post subject: Reply with quote

Hi all,

thanks you all for your answers, DRI is working now :D

The last thing i had is, that when i start X, the following message appears:

Code:

intel: No matching Device section for instance (BusID PCI:0:2:1) found


in xorg.conf is the following at the Device-Section configured:
Code:

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     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "CacheLines"                # <i>
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "DRI"                       # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        #Option     "PageFlip"                  # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
        BusID       "PCI:0:2:0"
EndSection


can i ignore this message, or is there an problem?

Greets
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Wed Jul 30, 2008 9:14 am    Post subject: Reply with quote

Ignore it!

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
snake1981
n00b
n00b


Joined: 29 Jul 2008
Posts: 13

PostPosted: Wed Jul 30, 2008 1:43 pm    Post subject: Reply with quote

ok. so now i am working to fix the brightness Problem.
But my first problem is fixed, so this thread can be marked as solved.


Thank you all for your help.
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