Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2005 13:10:10 +0100
From:      Patrick =?iso-8859-1?q?Lamaizi=E8re?= <patfbsds@davenulle.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: i915drm
Message-ID:  <200512191310.11003.patfbsds@davenulle.org>
In-Reply-To: <20051218002458.M77556@giovannelli.it>
References:  <20051218002458.M77556@giovannelli.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Dimanche 18 Décembre 2005 01:31, Gianmarco a écrit :

> I am trying to use the latest drm hook for i915, but I get this error:
>
> drmsub0: <Intel i915GM> port 0x1800-0x1807 mem
> 0xb0080000-0xb00fffff,0xc0000000-0xcfffffff,0xb0000000-0xb003ffff irq 16
> at device 2.0 on pci0
> error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize
> AGP. device_attach: drmsub0 attach returned 12
> pci0: <display> at device 2.1 (no driver attached)
>
>
> Any idea ?
>
> I have added to my kernel:
>
> device          agp             # support several AGP chipsets
> device          drm             # DRM core module required by DRM drivers
> device          i915drm         # Intel i830 through i915

Just put agp, Xorg will load i915.ko. I've got the same problem.

But dri does not work, Xorg seems to look for a /dev/dri/card0 and i've got 
only one device /dev/dri/card1 ?

Xorg.log:
(II) I810(0): Allocated 64 kB for the scratch buffer at 0x7fee000
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 "i915"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512191310.11003.patfbsds>