You are not logged in.

#1 2005-06-06 02:32:21

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Intel 915 driver

I noticed that intel posted drivers for their i915 graphics set (newer PCI Express "Sonoma" laptops).  I have one of those but have been using the vesa graphics driver for some time.  I decided to download the drivers and run the install script.  But I get this error:

DIRECT RENDERING OPEN SOURCE PROJECT  -  DRIVER INSTALLATION SCRIPT

[ http://dri.sourceforge.net ]

==========================================================================

The script will now compile the agpgart module and DRM kernel modules
for your machine.

Press ENTER to continue or CTRL-C to exit.


Compiling new agpgart module...
Compiling DRM module...

ERROR: Kernel modules did not compile

The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.

I'm posting this in the newbie section b/c I'd like some gentle guidance on how to go about this.  I have not compiled my own kernel which may be causing this problem.  Do I have to do that or is there something else I may be missing?

FYI - the Intel readme just says to untar the thing and doesn't even mention the install script.

Offline

#2 2005-06-06 07:37:57

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Intel 915 driver

Dont use intels drivers, they suck unless you need dual head display.

modprobe i915 for your kernel and use i810 in /etc/X11/xorg.conf

iphitus

Offline

#3 2005-06-06 17:00:57

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: Intel 915 driver

I had tried to do that a bunch of times but without luck.  I kept getting this error saying no device for PCI:0:2:1.  Finally I was able to craft and xorg.conf file that didn't give me that error but now I get a no screens found error which is super-vague and no amount of tweaking has seemed to solve.  I'm attaching both my xorg.conf and /var/log/Xorg.0.log file for you have a look at.  If you see something please let me know -- it's driving me nuts!

Section "ServerLayout"
    Identifier     "XFree86 Configured"
    Screen      0  "Screen0" 0 0
    Screen        1  "Screen1" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "PS/2 Mouse" "CorePointer"
# Serial Mouse not detected
# USB Mouse not detected
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
    
EndSection

Section "Files"
    RgbPath      "/usr/X11R6/lib/X11/rgb"
    ModulePath   "/usr/X11R6/lib/modules"
    FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
    FontPath     "/usr/X11R6/lib/X11/fonts/misc"
    FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
    FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
    FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
    FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
    FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
    FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
#    FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/X11R6/lib/X11/fonts/defoma/CID"
    FontPath     "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
    Load  "GLcore"
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
    Option "XkbRules" "xfree86"
    Option "XkbModel" "pc105"
    Option "XkbLayout" ""
    Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
    Identifier  "Serial Mouse"
    Driver      "mouse"
    Option      "Protocol" "Microsoft"
    Option      "Device" "/dev/ttyS0"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
    Identifier  "PS/2 Mouse"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option          "ZAxisMapping"          "4 5"
    Option      "Device" "/dev/psaux"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

# Auto-generated by Archie mkxcfg

Section "Monitor"
    Identifier "Monitor0"
    Option "DPMS" "true"
#    HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
    HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
    VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
#    VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
EndSection

# Auto-generated by Archie mkxcfg

Section "Device"
    Identifier  "device0"
    Driver      "i810"
    VendorName  "Intel Corporation"
    BoardName   "Intel 915G"
    Screen 0
    BusID "PCI:0:2:0"
    Option "DPMS"
EndSection

Section "Device"
    Identifier "device1"
    Driver       "i810"
    VendorName "Intel Corporation"
    BoardName  "Intel 915G"
    Screen 0
    BusID "PCI:0:2:1"
    Option "DPMS" 
EndSection
Section "Screen"
    Identifier "Screen0"
    Device     "device0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    Subsection "Display"
        Depth    24
        Modes "1024X768" "800x600" "640x480"
    EndSubSection
EndSection    
        
Section "Screen"
    Identifier "Screen1"
    Device     "device1"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
        Depth     1
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

Log file:

(II) LoadModule: "i810"
(II) Loading /usr/X11R6/lib/modules/drivers/i810_drv.o
(II) Module i810: vendor="X.Org Foundation"
    compiled for 6.8.2, module version = 1.3.0
    Module class: X.Org Video Driver
    ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "keyboard"
(II) Loading /usr/X11R6/lib/modules/input/keyboard_drv.o
(II) Module keyboard: vendor="X.Org Foundation"
    compiled for 6.8.2, module version = 1.0.0
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 0.4
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="X.Org Foundation"
    compiled for 6.8.2, module version = 1.0.0
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 0.4
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
    i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G
(II) Primary Device is: PCI 00:02:0
(EE) No devices detected.

moderator's note: snipped log file to relevant information - it was a tad too much to post in the forums, let's keep it small guys 8)
- phrakture

Offline

#4 2005-06-07 10:50:05

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Intel 915 driver

Read my message, you're trying to use dual head display, in which you'll need Intel's drivers ,the open source ones fail miserably at that.

So try the intel ones again, and post us the dri.log it mentions.

Offline

#5 2005-06-07 18:24:14

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: Intel 915 driver

I don't need a dual head display so would rather avoid the intel drivers if they are as bad as you say.  When I remove the Screen 1 info and the second device line I get this error:

(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
   i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G
(II) Primary Device is: PCI 00:02:0
(--) Assigning device section with no busID to primary device
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
(EE) No devices detected. 

That's why I added the device for PCI:0:2:1 and the other Screen line.  Do you have any advice on how to get it working with a single-head setup while avoiding the above error?

Going the Intel driver route, here is the dri.log:

/root/dripkg/drm/drm_stub.h:147: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:574)
/root/dripkg/drm/drm_stub.h: In function `gdg_stub_register':
/root/dripkg/drm/drm_stub.h:188: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:573)
make[3]: *** [/root/dripkg/drm/gdg_drv.o] Error 1
make[2]: *** [_module_/root/dripkg/drm] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.11.10-ARCH'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/dripkg/drm'
make: *** [gdg.ko] Error 2

[edit --- snipped]

Offline

#6 2005-06-08 09:43:41

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Intel 915 driver

Could it be you have the totally incorrect busid?

Either way, the open source ones will crap themselves if there is more than one screen or device.

take a look at my config, maybe it will be of help.

https://iphitus.no-ip.org/configs/xorg.conf

iphitus

Offline

Board footer

Powered by FluxBB