[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: direct rendering on i845G chipset



On Monday 17 October 2005 08:45, Lubos Vrbka wrote:
> hi guys,
>
> i decided to move my notebook from windows to linux. so far everything
> works fine (i haven't tried suspend and similar things yet). i was just
> wondering whether it's possible to get direct rendering on the
> integrated graphics card that is on the board. the chipset is
> Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics
> Device
>
> everything works with xorg from testing except the direct rendering
> (although everything seems to be enabled correctly).
>
> i have
> CONFIG_MTRR=y
> CONFIG_AGP=y
> CONFIG_AGP_INTEL=y
> CONFIG_DRM=y
> CONFIG_DRM_I810=m
> CONFIG_DRM_I830=m
> CONFIG_DRM_I915=m
>
> however the system doesn't seem to use any of the drm modules.
>
> maybe i have to somehow force x to use module from /lib/modules instead
> of the i810 module in /usr/x11r6...? how to do that?
>
No, you're confusing kernel modules with X modules.  You can't load X 
modules into the kernel and vice versa.

> btw, lsmod doesn't give me any i??? module in use.
>
Based upon your chipset, you'll need to modprobe i830.  You may also need 
the "intel_agp", "agpgart" and "drm" modules loaded, but modprobe i830 
should take care of that for you.

After those modules are loaded, try restarting X, and look for entries in 
the log file (/var/log/Xorg.0.log) like this [my comments in brackets]:
(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
[note that this is the X driver, not the kernel driver]
...
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
        i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915),
        915GM, 945G
...
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) I810(0): [drm] DRM interface version 1.2
(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xdfdf6000
(II) I810(0): [drm] mapped SAREA 0xdfdf6000 to 0xb7c7a000
(II) I810(0): [drm] framebuffer handle = 0xf0020000
(II) I810(0): [drm] added 1 reserved context for kernel


If you get an error message instead, try replacing your X i810_drv.o module 
with the one from this web site:
http://www.fairlite.demon.co.uk/intel.html

Restart X, and if it still doesn't work, post the relevant portions of your 
log file.

> thanks in advance for any tips. regards,
>
> --
> Lubos
> _@_"



Reply to: