Re: Radeon R200 DRI driver bug?
Roland Scheidegger <[email protected]>
| Newsgroups | gmane.comp.video.dri.user |
|---|---|
| Message-ID | <[email protected]> |
Jacobo Cabaleiro wrote: > During the development of a small OpenGL app running under Radeon 9200 > hardware (RV280) with DRI drivers, we found a little problem: usually > when the OpenGL program was loaded, X system hang completly (no > keyboard, no mouse) and system had to be restarted (SysRq SUB). Linux > kernel was still alive. This problem was also reproducible with Radeon > 9000 based hardware. Those are usually symptoms of a gpu lockup. > I say usually because running the program thru an Xnest make the issue > dissapear. Also old Xorg versions or different hardware (for example > Nvidia cards) didn't show the problem. If you run it through Xnest, you don't get direct rendering, no? > Running the same app under a xorg-server / Mesa / glib / gtk+ libs > compiled with debug info, shows this: > ext_test: r200_vtxfmt.c:1045: r200VtxFmtFlushVertices: Assertion > `rmesa->dma.flush == 0 || rmesa->dma.flush == flush_prims' failed. > with following backtrace: > #0 0xffffe410 in __kernel_vsyscall () > #1 0xb758c241 in raise () from /lib/libc.so.6 > #2 0xb758dc9d in abort () from /lib/libc.so.6 > #3 0xb75859bb in __assert_fail () from /lib/libc.so.6 > #4 0xb6f74977 in r200_copy_to_current () from /usr/lib/dri/r200_dri.so > #5 0xb6f9a4e6 in _mesa_EndList () from /usr/lib/dri/r200_dri.so > #n and up, app calls > > _mesa_EndList() gets called obviously when in my app a call to glEndList > is done. Is this a known problem? Could be a problem from my own app? Possible it's triggered by doing something "illegal", but it shouldn't crash. If you could isolate the problem with a small test app that would be most helpful. Possibly setting tcl_mode=1 (which will disable the r200 vtxfmt code) might work around that issue. You might want to try a newer Mesa version (6.5.1 rc or cvs). This report though looks quite similar to something reported recently, http://marc.theaimsgroup.com/?l=dri-devel&m=115668401312399&w=2 > Please CC me as I'm not subscribed to the list. If you are not subscribed, I think your messages will need manual review and maybe make it never to the list, not to mention suffer from delay (though maybe I'm confusing that with another list...). Roland ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 --