DRI not working
Robert Noland
rnoland at FreeBSD.org
Sat Oct 4 01:46:00 UTC 2008
On Sat, 2008-10-04 at 10:57 +1000, Alex wrote:
> Robert Noland wrote:
> > Ok, I'm not entirely sure which component is causing this issue... To
> > start chasing it, here is what I need one or both of you to try. Boot
> > with X disabled, then:
> >
> > kldload i915
> > sysctl hw.dri.0.debug=1
> > startx
> >
> > and send me the logs (should be in /var/log/messages) with the debugging
> > info. We need to figure out why the memory allocations are failing...
> > Hopefully this will point us in the right direction, though I don't
> > believe that drm is at fault.
> >
> > robert.
> >
> Hi Robert,
>
> As requested, here is the log.
>
> Oct 4 10:52:04 laptop login: ROOT LOGIN (root) ON
> ttyv0
>
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open] open_count =
> 0
>
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open_helper] pid = 826,
> minor = 0
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] offset =
> 0x00000000, size = 0x00002000, type =
> 2
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] 8192 13
> 0xc40f9000
>
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] Added map 2
> 0xc40f9000/0x2000
> Oct 4 10:52:49 laptop kernel:
> [drm:pid826:drm_firstopen]
>
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0xc0246400, nr=0x00, dev 0xc3b8a680,
> auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0xc0246400, nr=0x00, dev 0xc3b8a680,
> auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_close] open_count =
> 1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_close] pid = 826, device
> = 0xc3b8a680, open_count = 1
> Oct 4 10:52:49 laptop kernel:
> [drm:pid826:drm_lastclose]
>
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open] open_count =
> 0
>
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open_helper] pid = 826,
> minor = 0
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] offset =
> 0x00000000, size = 0x00002000, type =
> 2
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] 8192 13
> 0xc40f9000
>
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] Added map 2
> 0xc40f9000/0x2000
> Oct 4 10:52:49 laptop kernel:
> [drm:pid826:drm_firstopen]
>
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0xc0246400, nr=0x00, dev 0xc3b8a680,
> auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0xc0246400, nr=0x00, dev 0xc3b8a680,
> auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_close] open_count = 1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_close] pid = 826, device
> = 0xc3b8a680, open_count = 1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_lastclose]
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open] open_count = 0
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_open_helper] pid = 826,
> minor = 0
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] offset =
> 0x00000000, size = 0x00002000, type = 2
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] 8192 13 0xc40f9000
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] Added map 2
> 0xc40f9000/0x2000
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_firstopen]
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0xc0106407, nr=0x07, dev 0xc3b8a680, auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0xc0086401, nr=0x01, dev 0xc3b8a680, auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0xc0086401, nr=0x01, dev 0xc3b8a680, auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0xc0106407, nr=0x07, dev 0xc3b8a680, auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0xc0186415, nr=0x15, dev 0xc3b8a680, auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] offset =
> 0x00000000, size = 0x00002000, type = 2
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] Found kernel map 2
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addmap] Added map 2
> 0xc40f9000/0x2000
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0xc0086426, nr=0x26, dev 0xc3b8a680, auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0xc0086426, nr=0x26, dev 0xc3b8a680, auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0xc0086420, nr=0x20, dev 0xc3b8a680, auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ctxbitmap_next]
> drm_ctxbitmap_next bit : 1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_addctx] 1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0x80086422, nr=0x22, dev 0xc3b8a680, auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0x8008642a, nr=0x2a, dev 0xc3b8a680, auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_lock] 1 (pid 826)
> requests lock (0x00000000), flags = 0x00000000
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_lock] 1 has lock
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0x8004667e, nr=0x7e, dev 0xc3b8a680, auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0x8004667d, nr=0x7d, dev 0xc3b8a680, auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0x8004667c, nr=0x7c, dev 0xc3b8a680, auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0xc0246400, nr=0x00, dev 0xc3b8a680, auth=1
> Oct 4 10:52:49 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0xc0246400, nr=0x00, dev 0xc3b8a680, auth=1
> Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0x80086408, nr=0x08, dev 0xc3b8a680, auth=1
> Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] no function
> Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0x80086408, nr=0x08, dev 0xc3b8a680, auth=1
> Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] no function
> Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] pid=826,
> cmd=0x80086408, nr=0x08, dev 0xc3b8a680, auth=1
> Oct 4 10:52:50 laptop kernel: [drm:pid826:drm_ioctl] no function
>
> Thats all there is.
I really expected to see the failures there... I need to go poke agp
and see if we can get useful information out of that.
robert.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20081004/f60f2f19/attachment.pgp
More information about the freebsd-x11
mailing list