Hi all,<br>I backported nouveau-git20100222 to pv_ops 2.6.31.6 by replacing the whole drm-tree and includes. Just needed a minor fix in drm_sysfs.c to compile.<br><br>nouveau works fine with 2D acceleration enabled when booted without xen.<br>
Even nouveau-dri works!<br><br>But when booted on Xen, X hangs if Accel enabled<br>Works fine with Option NoAccel True in xorg.conf.<br>Found to be stuck in nv_accel_common_init.<br><br>Call traced in xf86-nouveau:<br>in nv_accel_common.c;<br>
  NVAccelInit2D_NV50(ScrnInfoPtr pScrn)<br>    nouveau_grobj_alloc(chan, Nv2D, NV50_2D,&amp;pNv-&gt;Nv2D) finishes.<br>    BEGIN_RING(chan, eng2d, NV50_2D_DMA_NOTIFY, 3) hangs.<br><br>system with blank screen. Can connect with ssh. Card is GeForce 9400 GT<br>
with 1Gb vram. <br><br>debug trace tail from syslog:<br>kernel: [drm] nouveau 0000:06:00.0: nouveau_ramht_insert:141 - insert ch2 0x000000c0: h=0xd8000003, c=0x00000e0a<br>kernel: [drm:drm_ioctl], pid=6225, cmd=0x400c6444, nr=0x44, dev 0xe200, auth=1<br>
kernel: [drm] nouveau 0000:06:00.0: nouveau_gpuobj_gr_new:840 - ch2 class=0x502d<br>kernel: [drm] nouveau 0000:06:00.0: nouveau_gpuobj_new:216 - ch2 size=24 align=16 flags=0x00000006<br>kernel: [drm] nouveau 0000:06:00.0: nouveau_gpuobj_new:224 - gpuobj ffff880006a90140<br>
kernel: [drm] nouveau 0000:06:00.0: nouveau_gpuobj_new:237 - private heap<br>kernel: [drm] nouveau 0000:06:00.0: nouveau_gpuobj_ref_add:457 - ch2 h=0x80000020 gpuobj=ffff880006a90140<br>kernel: [drm] nouveau 0000:06:00.0: nouveau_ramht_hash_handle:75 - ch2 handle=0x80000020<br>
kernel: [drm] nouveau 0000:06:00.0: nouveau_ramht_hash_handle:86 - hash=0x00000180<br>kernel: [drm] nouveau 0000:06:00.0: nouveau_ramht_insert:141 - insert ch2 0x00000180: h=0x80000020, c=0x00100e0c<br><br>Am game to try to fix - need help.<br>
<br>Arvind R.<br><br>