Open dmatveev opened 12 years ago
Thanks for the report. I believe that the symptoms match those of issue #2, which is good news since your dmesg provides more information. Note that, to avoid this problem in the future, you might want to enable DebugWait in your xorg.conf
as described in a comment of issue #2.
At first glance, this error means that the extent_alloc_subregion1()
call returned EAGAIN
in sg_dmamap_load_raw()
. The only way for extent_alloc_subregion1()
to return EAGAIN
is, according to the comment in the function, when no space is currently available in the extent. A possible cause would be that extent chunks are not freed properly in the sg_dma code, or that the inteldrm driver misses some bus_dma_unload() calls.
I'll have to look deeper into this, but this probably won't happen before the Christmas holidays.
Hello Gregoire,
~ $ dmesg | tail
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
sg_dmamap_load_raw: unable to allocate extent subregion: 35
The problem has been reproduced on the recent patch version, but after a long uptime (7+ days instead of 2-3 days in 2011). I will try to use DebugWait option as suggested, and inform you about the result.
Actually, the system is still usable, no artifacts on the screen, everything works now.
Dmitry
Thanks for the update. I was wondering whether the problem was fixed by the changes that have been committed in the meantime. No such luck...
I believe after all these years there's no reason to keep this open. Times goes by..)
Hello,
After running X for ~15 hours, I have tried to open many images at the same time in the Firefox. The system has hang up for some seconds (and mplayer stopped playing), but then returned but display was garbled. netbsd-drmgem rev 35f9144, NetBSD 5.99.56 amd64
Xorg.0.log
The rest of dmesg:
Dmitry