LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Drivers for Intel Media Graphics Accelerator 950 (http://www.linuxquestions.org/questions/slackware-14/drivers-for-intel-media-graphics-accelerator-950-a-476778/)

kosmonaft 08-23-2006 08:46 PM

Drivers for Intel Media Graphics Accelerator 950
 
I'm trying to get my 950 graphics card to work. According to http://www.thinkwiki.org/wiki/Inteel_945GM, the drivers for the video card are integrated into chipset 945gm which is supported by i810 video driver which I tried to enable in xorg.conf


Here is what i get when I run startx:


Code:

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/kosmonaft:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: Linux 2.4.32 i686 [ELF]
Current Operating System: Linux kosmonaft 2.6.17 #19 SMP Tue Aug 22 11:38:29 CDT 2006 i686
Build Date: 09 August 2006
        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: Thu Aug 24 07:50:39 2006
(==) Using config file: "/etc/X11/xorg.conf"
Data incomplete in file /etc/X11/xorg.conf
        Undefined Device "Card0" referenced by Screen "Screen0".
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
        at http://wiki.X.Org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

(WW) xf86CloseConsole: VT_GETSTATE failed: Bad file descriptor
(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor


Here is my 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/X11R6/lib/X11/rgb"
        ModulePath  "/usr/X11R6/lib/modules"
        FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath    "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath    "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

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

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/mouse"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
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  "Intel Media Graphics Accelerator 950"
        Driver      "i810"
        VendorName  "Intel Corp."
        BoardName  "Unknown Board"
        BusID      "PCI:0:2:0"
EndSection

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


gilead 08-23-2006 09:29 PM

Your Screen section refers to a device called "Card0" which doesn't exist. Have you tried changing it to "Intel Media Graphics Accelerator 950"?

kosmonaft 08-23-2006 10:12 PM

Well.. I tried that and got everything I got before, only instead of a "no screens found" error, I got this:

Code:

FATAL:  Module i915 not found
[drm] failed to load kernel module "i915"
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
/usr/X11R6/bin/fbsetroot: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
/usr/X11R6/bin/fluxbox: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file:  Noe such file or directory

waiting for X server to shut down FreeFontPath:  FPE "/usr/X11R6/lib/X11/fonts/misc/" is 2, should be 1; fixing.


gilead 08-23-2006 11:13 PM

That errors says that you're trying to load module i915, not i810. Have you changed the Driver line in xorg.conf? Also, it looks like you're missing libfontconfig which on my system (mostly at -current) is in the fontconfig-2.2.3-i486-1 package.

In my /var/log/Xorg.0.log I have the following where it loads the i810 driver:
Code:

(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
        i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915),
        915GM, 945G, 945GM

Hopefully that means that if you use the i810 driver and install the fontconfig package it will run...
EDIT: You may also need to set the following flags and recompile your kernel:
Code:

CONFIG_DRM_I810
CONFIG_DRM_I915


kosmonaft 08-24-2006 12:20 AM

Well, I installed the fontconfig package and that error is gone. As far as i810 goes, where is the kernel config file is located? What should I set those two variables to?

gilead 08-24-2006 03:21 PM

Those settings are made in the .config file in /usr/src/linux-2.x.x (x.x being your version). If you've compiled a kernel before the settings can be found using make menuconfig under Device Drivers / Character Devices - select Intel I810 and Intel 830M, 845G, 852GM, 855GM, 865G.

If you haven't compiled a kernel before, it's not difficult although it takes a bit of preparation. You'll need a list of the hardware on your system and then search here for kernel compilation threads, there are some very good examples.

kosmonaft 08-24-2006 10:17 PM

I was messing with the Graphics support section and apparently I screwed it up pretty badly. When I try to load the image, I just get a black blank screen and nothing else... What things do I need enabled in that section?

gilead 08-25-2006 04:35 PM

It varies depending on your hardware, but I have the following selected:
- Support for frame buffer devices
- Enable firmware EDID
- Enable tile blitting support
- VGA 16-colour graphics support
- VESA VGA graphics support
- nVidia frame buffer support (and Enable DDC support) <= I doubt you'd need this
- nVidia Riva support (and Enable DDC support) <= I doubt you'd need this

kosmonaft 08-25-2006 05:26 PM

I have all of that enabled, but still no luck. Is there something else I might need?

RobF 08-25-2006 06:26 PM

In Section "Device" have you tried Driver "vesa" instead of "i810"?

Robert

kosmonaft 08-25-2006 07:15 PM

No but it worked before with i810. It's just that I decided not to compile things I wasn't using and apparently after I disabled some of the stuff I couldn't load linux anymore - I would just get nothing but the black screen. i810 worked before, it was just giving me a bunch of errors.... Now that I enabled those intel things you adviced it would support my video card.. but I screwed up something else by trying to compile only the things I needed :/

kosmonaft 08-25-2006 08:35 PM

I got it. Apparently, I disabled Device Drivers > Graphics Support > Console display driver support > Framebuffer Console Support. I enbaled it, restarted and I got all the console output and everything!!!


Now back to the i180 problem. I enabled Intel i810 and Intel 830M, blah blahb lbah.. support in Device Drivers > Character Devices and recompiled it, but I still get the same error when doing 'startx':


After recompiling the kernel, I ran xorgsetup and here is what my xorg.conf file looks like now:

Code:

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

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

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

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

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

Section "Monitor"
        #DisplaySize          290  210        # mm
        Identifier  "Monitor0"
        VendorName  "LEN"
        ModelName    "4022"
        Option            "DPMS"
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 Integrated Graphics Controller"
        BusID      "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
DefaultDepth 24
        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

Here is what Xorg.0.log looks like after 'startx':

http://pastebin.com/776104


I still, however, get the following lines when I run 'startx':

Code:

FATAL:  Modules i915 not found
[drm] failed to load kernel module "i915"
(EE) I810(0):  [dri] DRIScreenInit failed.  Disabling DRI.


Also, when I try to set a different resolution in xorg.conf by passing different parameters to the "Modes" option for depth 24, X just disregards it - I still get the same resolution which I don't even know what it is.


...

nuxrl 08-25-2006 09:11 PM

Can you check your kernel configuration file and make sure this is how it's configured?
Code:

CONFIG_DRM_I810=m
CONFIG_DRM_I915=m

Also, you can try to comment this line out in xorg.conf
Code:

Load  "dri"

kosmonaft 08-26-2006 09:05 AM

Alright, after setting those options from 'y' to 'm', the lines below seem to be gone:

Code:

FATAL:  Modules i915 not found
[drm] failed to load kernel module "i915"
(EE) I810(0):  [dri] DRIScreenInit failed.  Disabling DRI.

Still having some problems. First of all it doesn't pick up the resolution I set in /etc/X11/xorg.conf - It just sets some resolution by itself. There are also a couple of lines I get when I run 'startx' that worry me:

Code:

_XSERVTransScoketOpenCOTSServer:  Unable to open socket for inet6
_XSERVTransOpen:  transport open failed for inet6/kosmonaft:0
_XSERVTransMakeAllCOTSServerListeners:  failed to open listener for inet6


I have no clue what the deal is with this...

nuxrl 08-26-2006 10:58 AM

The X Server failed to open a Unix Socket (/tmp/.X11-unix/X#) and listen on it. For some reason, IPv6 is used in your system. Still, check your kernel configuration and make sure IPv6-related are compiled as modules and IPv4 is compiled into kernel.

Good luck.


All times are GMT -5. The time now is 05:35 PM.