tech-x11 archive

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

Re: nouveaudrm -- actually worth trying now!



Hi Matthew

On Thu, 29 Oct 2015 19:36:00 +1100
matthew green <mrg%eterna.com.au@localhost> wrote:

> hi folks.
>
>
> i seem to have figured out the final bits for getting nouveau limping
> along in a working state.  i can't stress enough that Taylor and Chuq
> really did the vast majority of this work, i feel like the final 5%
> at best...
>
> it's probably worth testing in -current now if you want.

No luck yet with my Geforce 4800 (on amd64). The crash is the same as
previously (
http://mail-index.netbsd.org/tech-x11/2015/10/28/.attachments/pngOp1CVnDesJ.png
). I have a core dump so I got the following from gdb:

#9  0xffffffff80114548 in bus_space_write_stream_4 ()
#10 0xffffffff80458bfa in nv_wo32 (data=0, addr=0, obj=0xfffffe822e9c0dd0)
    at /build/src/sys/external/bsd/drm2/dist/drm/nouveau/core/include/core/object.h:182
#11 nouveau_gpuobj_create_ (parent=0x0, engine=0xfffffe810eb211d0,
oclass=oclass@entry=0xffffffff80965980 <nouveau_ramht_oclass>,
    pclass=pclass@entry=0, pargpu=0xfffffe822eace610, size=<optimized
out>, size@entry=4096, align=align@entry=0, flags=flags@entry=1,
    length=length@entry=144, pobject=pobject@entry=0xfffffe810ecf6bc8)
    at /build/src/sys/external/bsd/drm2/dist/drm/nouveau/core/core/nouveau_core_gpuobj.c:139
#12 0xffffffff8045e13b in nouveau_ramht_new (parent=<optimized out>,
pargpu=<optimized out>, size=size@entry=4096, align=align@entry=0,
    pramht=0xfffffe822e7c0f18) at
/build/src/sys/external/bsd/drm2/dist/drm/nouveau/core/core/nouveau_core_ramht.c:103
#13 0xffffffff80470622 in nv50_disp_base_ctor (parent=<optimized out>,
engine=0xfffffe810eb211d0, oclass=<optimized out>, data=<optimized
out>,
    size=<optimized out>, pobject=0xfffffe810ecf6c58)
    at /build/src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/nouveau_engine_disp_nv50.c:871
#14 0xffffffff8045b4ba in nouveau_object_ctor
(parent=0xfffffe822eace610, engine=<optimized out>,
    oclass=0xffffffff80968c80 <nv94_disp_base_oclass>,
data=data@entry=0x0, size=size@entry=0,
pobject=pobject@entry=0xfffffe810ecf6cb8)
    at /build/src/sys/external/bsd/drm2/dist/drm/nouveau/core/core/nouveau_core_object.c:171
#15 0xffffffff8045c552 in nouveau_object_new
(client=client@entry=0xfffffe822e9f7010,
_parent=_parent@entry=3722304989,
    _handle=_handle@entry=3511681024, _oclass=<optimized out>,
data=data@entry=0x0, size=size@entry=0,
pobject=pobject@entry=0xfffffe810ed6d130)
    at /build/src/sys/external/bsd/drm2/dist/drm/nouveau/core/core/nouveau_core_object.c:277
#16 0xffffffff80606c1b in nouveau_display_create
(dev=dev@entry=0xfffffe822ea41810)
    at /build/src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_display.c:513
#17 0xffffffff8060ac54 in nouveau_drm_load (dev=0xfffffe822ea41810,
flags=<optimized out>)
    at /build/src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drm.c:462
#18 0xffffffff802e47ef in drm_dev_register
(dev=dev@entry=0xfffffe822ea41810, flags=flags@entry=0)
    at /build/src/sys/external/bsd/drm2/dist/drm/drm_stub.c:808
#19 0xffffffff801f62c9 in drm_pci_attach
(self=self@entry=0xfffffe810ea71308, pa=pa@entry=0xfffffe810ea71610,
    pdev=pdev@entry=0xfffffe810ea71680, driver=<optimized out>,
cookie=cookie@entry=0, devp=devp@entry=0xfffffe810ea71678)
    at /build/src/sys/external/bsd/drm2/pci/drm_pci.c:164
#20 0xffffffff80455ee6 in nouveau_attach_real
(self=0xfffffe810ea71308) at
/build/src/sys/external/bsd/drm2/nouveau/nouveau_pci.c:144
#21 0xffffffff803909f9 in config_mountroot_thread (cookie=<optimized
out>) at /build/src/sys/kern/subr_autoconf.c:472

I don't know if it's useful, but the nv_spam on line 181 of object.h
outputs 0x0 both for address as data.

kind regards
dieter


Home | Main Index | Thread Index | Old Index