Problems enabling DRI on i810 chipset with xorg-server 1.4.2

Manish Jain invalid.pointer at gmail.com
Tue Apr 14 07:07:12 PDT 2009


Hi,

I am running xorg-server 1.4.2 on FreeBSD 7.1 (Release) on a Celeron 
Coppermine 800 MHz + Intel 810 chipset-based system. The xorg 
documentation states that enabling DRI on this chipset just requires the 
colour depth to be set to either 8 or 16 bpp. My xorg.conf uses just one 
screen with the depth set to 16. I am loading the agp module at 
boot-time via loader.conf. But xorg still disables DRI.

Following are some relevant lines from xorg's log :
> X.Org X Server 1.4.2
> Release Date: 11 June 2008
> (**) intel(0): page flipping disabled
> (II) intel(0): XvMC is Disabled: use XvMCSurfaces config option to enable.
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (No such file or directory)
> drmOpenDevice: open result is -1, (No such file or directory)
> drmOpenDevice: Open failed
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (No such file or directory)
> drmOpenDevice: open result is -1, (No such file or directory)
> drmOpenDevice: Open failed
> [drm] failed to load kernel module "i810"
> (EE) [drm] drmOpen failed.
> (EE) intel(0): [dri] DRIScreenInit failed.  Disabling DRI.
> (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x00000000 (pgoffset 0)
> (WW) intel(0): xf86AllocateGARTMemory: allocation of 1024 pages failed
>     (Cannot allocate memory)

Please note there is no directory named /dev/dri on my devfs-enabled system.

Here is my /etc/X11/xorg.conf :
> Section "Module"
>     Load            "dri"
>     Load            "glx"
>     Load            "extmod"
>     Load            "dbe"
>     Load            "freetype"
>
>     SubSection "extmod"
>         Option        "omit xfree86-dga"
>     EndSubSection
> EndSection
>
> Section "Files"
>     RgbPath            "/usr/local/lib/X11/rgb"
>
>     FontPath        "/usr/local/lib/X11/fonts/misc/"
>     FontPath        "/usr/local/lib/X11/fonts/TTF/"
>     FontPath        "/usr/local/lib/X11/fonts/OTF"
>     FontPath        "/usr/local/lib/X11/fonts/Type1/"
>     FontPath        "/usr/local/lib/X11/fonts/100dpi/"
>     FontPath        "/usr/local/lib/X11/fonts/75dpi/"
>     FontPath        "/usr/local/lib/X11/fonts/bitstream-vera/"
>     FontPath        "/usr/local/lib/X11/fonts/cyrillic/"
>     FontPath        "/usr/local/lib/X11/fonts/util/"
>     FontPath        "/usr/local/share/fonts/cmpsfont/type1"
>
>     ModulePath        "/usr/local/lib/xorg/modules"
> EndSection
>
> Section "ServerFlags"
>     Option            "AllowEmptyInput"    "off"
> EndSection
>
> Section "InputDevice"
>     Identifier        "Keyboard_US_ISO_105"
>     Driver            "kbd"
>     Option            "AutoRepeat"        "500 30"
>     Option            "XkbRules"            "xorg"
>     Option            "XkbModel"            "pc105"
>     Option            "XkbLayout"            "us"
> EndSection
>
> Section "InputDevice"
>     Identifier        "Mouse_Logitech_USB_Optical"
>     Driver            "mouse"
>     Option            "Protocol"            "Auto"
>     Option            "Device"            "/dev/sysmouse"
>     Option            "ZAxisMapping"        "4 5 6 7"
> EndSection
>
> Section "Monitor"
>     Identifier        "Philips105St"
>     HorizSync        31.5 - 48.5
>     VertRefresh        50-90
> EndSection
>
> Section "Device"
>     Identifier        "i810_Tomato"
>     Driver            "i810"
>     VideoRam        4096
> EndSection
>
> Section "Screen"
>     Identifier        "Screen_Only"
>     Device            "i810_Tomato"
>     Monitor            "Philips105St"
>     DefaultDepth    16
>
>     Subsection "Display"
>         Depth        16
>         Modes        "1024x768"
>         ViewPort    0 0
>     EndSubsection
> EndSection
>
> Section "ServerLayout"
>     Identifier        "Layout_Xorg732"
>     Screen            "Screen_Only"
>     InputDevice        "Mouse_Logitech_USB_Optical"    "CorePointer"
>     InputDevice        "Keyboard_US_ISO_105"            "CoreKeyboard"
> EndSection
>
> Section "DRI"
>     Mode                0666
> EndSection

And here is my /boot/loader.conf :
> agp_load="YES"
> drm_load="YES"
> snd_ich_load="YES"
> linux_load="YES"
> linprocfs_load="YES"
> hint.acpi.0.disabled=0
> hw.acpi.verbose=1

Can somebody tell me what the problem is and how do I get to enable DRI 
on my system ? Any help would be greatly appreciated.

-- 
Thank you and Regards
Manish Jain
invalid.pointer at gmail.com
+91-99830-62246

NB : Laast year I kudn't spell Software Engineer. Now I are won.




More information about the xorg mailing list