You are not logged in.

#1 2006-03-27 15:04:05

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

i855gm: no dri - DRIScreenInit failed

hello!

since i tried to install and test xgl i have a big problem. after uninstalling all the packages needed for xgl i have no dri. i did not change my xorg.conf or some like that.

here is the error-message:

cat /var/log/Xorg.0.log | grep "(EE)"
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.

here is my xorg.conf:

################

Section "Module"

    Load        "dbe"      # Double buffer extension
    
    SubSection  "extmod"
#      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"
    Load        "glx"
    Load        "dri"
    Load    "synaptics"
    Load    "GLcore"

EndSection

###############

Section "dri"

    Group 91    # video
    Mode 0666

EndSection

###############

Section "Files"

    RgbPath    "/usr/share/X11/rgb"

    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"
    FontPath   "/usr/share/fonts/Speedo/"
    FontPath   "/usr/share/fonts/TrueType/"
    FontPath   "/usr/share/fonts/freefont/"

    ModulePath "/usr/lib/xorg/modules"

EndSection

###############

Section "ServerFlags"

#    Option "NoTrapSignals"
#    Option "DontVTSwitch"
#    Option "DontZap"
#    Option "Dont Zoom"
#    Option "DisableVidModeExtension"
#    Option "AllowNonLocalXvidtune"
#    Option "DisableModInDev"
#    Option "AllowNonLocalModInDev"

EndSection

###############

Section "InputDevice"

    Identifier    "Keyboard1"
    Driver    "kbd"
#    Option     "Protocol"      "Xqueue"
    Option "AutoRepeat" "500 30"
#    Option    "Xleds"      "1 2 3"
#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"
#    Option "XkbVariant"  "nodeadkeys"
#    Option "XkbOptions"  "ctrl:swapcaps"

# These are the default XKB settings for Xorg
#    Option "XkbRules"    "xorg"
#    Option "XkbModel"    "pc105"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""

#    Option "XkbDisable"

    Option "XkbRules"    "xorg"
    Option "XkbModel"    "pc105"
    Option "XkbLayout"    "de"

EndSection

################

Section "InputDevice"

    Identifier    "touchpad"
    Driver    "synaptics"
    Option "Protocol"    "auto-dev"
    Option "Device"      "/dev/input/mice"
#    Option "Resolution"    "256"
#    Option "BaudRate"    "9600"
#    Option "SampleRate"    "150"
#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"
#    Option "ChordMiddle"
    Option "SHMConfig" "on"
    Option "BottomEdge" "4500"

EndSection

Section "InputDevice"

    Identifier    "usbmouse"
    Driver    "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"    "/dev/input/mice"
    Option "Buttons"    "5"
    Option "ZAxisMapping" "4 5"
    Option "Resolution" "800"

EndSection

################

Section "Monitor"

    Identifier  "LCD"
    HorizSync   31.5 - 57.0
#    HorizSync    30-64         # multisync
#    HorizSync    31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync    15-25, 30-50  # multiple ranges of sync frequencies
    VertRefresh 50-90
    Option "DPMS"

EndSection

################

Section "Device"

    Identifier    "Standard VGA"
    VendorName    "Unknown"
    BoardName    "Unknown"
#    Chipset    "generic"
    Driver     "vga"
#    BusID      "PCI:0:10:0"
#    VideoRam    256
#    Clocks    25.2 28.3

EndSection

Section "Device"
    
    Identifier  "i855GM"
    Driver      "i810"
    VideoRam    16252
    Option    "NoAccel" "false"
    Option    "DRI" "true"
    # Insert Clocks lines here if appropriate
    
EndSection

################

Section "Screen"
    
    Identifier  "Screen 0"
    Device      "i855GM"
    Monitor     "LCD"
    DefaultDepth 16

    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    
EndSection

#################

Section "ServerLayout"

    Identifier  "Simple Layout"

    Screen "Screen 0"

    InputDevice "touchpad" "CorePointer"
    InputDevice "usbmouse" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"

    Option "SuspendTime" "5"

EndSection

#################

#Section "Extensions"
#    
#    Option "Composite" "Enable"
#
#EndSection

i have installed these packages:

xorg 11R7.0-1
xorg-apps 1.0.0-1
xorg-clients 7.0-1
xorg-font-utils 1.0.0-1
xorg-fonts-75dpi 1.0.0-2
xorg-fonts-alias 1.0.1-1
xorg-fonts-encodings 1.0.0-1
xorg-fonts-misc 1.0.0-2
xorg-fonts-type1 1.0.0-2
xorg-res-utils 1.0.0-1
xorg-server 1.0.2-1
xorg-server-utils 1.0.0-1
xorg-twm 1.0.1-1
xorg-utils 1.0.0-1
xorg-xauth 1.0.1-1
xorg-xdm 1.0.1-1
xorg-xfs 1.0.1-1
xorg-xfwp 1.0.1-2
xorg-xinit 1.0.1-1
xorg-xkb-utils 1.0.1-1
xorg-xsm 1.0.1-1

libxxf86dga 1.0.0-1
libxxf86misc 1.0.0-1
libxxf86vm 1.0.0-1
xf86-input-keyboard 1.0.1.3-1
xf86-input-mouse 1.0.4-1
xf86-video-i810 1.4.1.3-2
xf86-video-vesa 1.0.1.3-1
xf86bigfontproto 1.1.2-1
xf86dgaproto 2.0.2-1
xf86driproto 2.0.3-1
xf86miscproto 0.9.2-1
xf86vidmodeproto 2.2.2-1

libgl-dri 6.4.2-2

thx for help
mfg iggy


sorry for my bad english smile

Offline

#2 2006-03-27 18:42:43

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: i855gm: no dri - DRIScreenInit failed

Have you installed cairo ?? because xgl install cairo-cvs which conflicts with cairo

Offline

#3 2006-03-28 11:06:52

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

Re: i855gm: no dri - DRIScreenInit failed

yes, i have it. i don't know why suddenly i have no dri.


sorry for my bad english smile

Offline

#4 2006-03-28 12:05:21

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: i855gm: no dri - DRIScreenInit failed

What kernel modules do you have loaded (intel_agp etc) ?
Does drm start without errors in dmesg ?
What about warnings (WW) in xorg log ?

Offline

#5 2006-03-28 23:00:11

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

Re: i855gm: no dri - DRIScreenInit failed

dmesg says this:

[drm] Initialized drm 1.0.1 20051102
[drm:drm_fill_in_dev] *ERROR* Cannot initialize the agpgart module.
[drm:drm_fill_in_dev] *ERROR* Cannot initialize the agpgart module.

how can i fix that?

edit:
i found out, that the drm module was loaded before agpgart. changed the order in rc.conf.

MODULES=(agpgart intel-agp drm i915)

now dmesg and glxinfo

$ dmesg | grep drm
[drm] Initialized drm 1.0.1 20051102
[drm] Initialized i915 1.4.0 20060119 on minor 0
[drm] Initialized i915 1.4.0 20060119 on minor 1
$ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 852GM/855GM 20050225 x86/MMX/SSE2

thanks for your right questions helped me to solve the problem! wink

mfg iggy


sorry for my bad english smile

Offline

#6 2006-03-29 11:59:04

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: i855gm: no dri - DRIScreenInit failed

If you're using module autoloading in /etc/rc.conf adding only intel_agp i915 to the MODULES array should work fine too. The rest - agpgart and drm - should be loaded automatically as dependencies.

I think the reason was not agpgart but intel_agp which was loaded too late. On my system I had previosly only i915 in the MODULES and agpgart and drm where loaded automatically. Only intel_agp was loaded as the last one (via autoloading) which was the cause of the drm error in dmesg.

Offline

Board footer

Powered by FluxBB