Radeon R200 DRI driver bug?

"Jacobo Cabaleiro" <[email protected]>
Newsgroups gmane.comp.video.dri.user
Message-ID <[email protected]>
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.

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.

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?

Program versions:
xorg-server 1.1.1
mesa 6.5 (with some distro applied patches)
glib 2.10.3
gtk+ 2.8.20
cairo 1.2.0
kernel 2.6.17 (with gentoo added patches)
Distro: Gentoo
This backtrace hardware:
VT8377 northbridge, Radeon RV280 chip

I'll take a look on the DRI code, but I'm not familiarized with it so I
don't expect to get good results.
Please CC me as I'm not subscribed to the list.

-------------------------------------------------------------------------
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

--
_______________________________________________
Dri-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.