Bug#446315: xserver-xorg-video-ati: crashes in R and Blender, and incomlete drawing of glut (opengl) wire objects
Ok, still got some 'make depends' warnings referring to missing stddef.h and stdarg.h files, but then it proceeded to compile without any obvious problems. Set environment variables and checked system was using 7.0.2 using glxinfo. No discernable change in the blender crash bug. Incomplete drawing problems persist too - i'll start a separate bug report for that one. Thanks for your help in helping me test this. Alex Brice Goglin wrote: Alex Sheppard wrote: But when i try to compile ('make linux-dri-x86') i get a load of errors. I guess i have some headers missing but i can't figure out what packages i need to install to provide them. Error messages attached. Is there any systematic lookup to find what package supplies what headers? Feel free to point me to a helpful forum or something if you don't have time to help in person. You should be able to get all required header packages with: apt-get build-dep mesa Also, if you feel like building mesa is too long, you can restrict the list of drivers to build with something like: make linux-dri-x86 DRI_DIRS=r300 LIBGL_DEBUG=verbose glxinfo will tell you which driver you need (r300_dri.so if you have a r300). Also, there is no real need to install the newly built lib. You can keep them in the build tree and do: export LD_LIBRARY_PATH=foo export LIBGL_DRIVERS_DIR=bar with foo the path to the directory containing the new libGL.so, and bar the path to the newly built DRI driver (r300_dri.so or so). As earlier, use export LIBGL_DEBUG=verbose to get some debugging output from glxinfo and check that it is using the correct lib and driver. If you're lost/bored by all this, you might want to wait a couple days/weeks until we upload mesa 7.0.2 into Debian :) Brice -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#446315: xserver-xorg-video-ati: crashes in R and Blender, and incomlete drawing of glut (opengl) wire objects
forwarded 446315 https://bugs.freedesktop.org/show_bug.cgi?id=12968 thank you Alex Sheppard wrote: I finally managed to get the output from gdb (having installed libgl1-mesa-dri-dbg as suggested - sorry for such a long delay. Many times the crash when running in gdb would freeze my system - sometimes restarting X would work, other times having to just use the power button). This time i got lucky (i don't understand why the symptoms aren't exactly the same each time) and i copied the output to the attached file. Ok this looks like the upstream bug from the URL above. Which libgl1-mesa-dri are you using? Make you sure you try with 7.0.1-2. P.S. Should i log the incomplete drawing of glut shapes as a separate bug? Yes please, if it still happens with 7.0.1-2. It would be good to try the latest upstream git of the mesa_7_0_branch or the 7.0.2rc1 tarballs from http://mesa3d.org/beta/ Brice -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#446315: xserver-xorg-video-ati: crashes in R and Blender, and incomlete drawing of glut (opengl) wire objects
Hi Brice, I finally managed to get the output from gdb (having installed libgl1-mesa-dri-dbg as suggested - sorry for such a long delay. Many times the crash when running in gdb would freeze my system - sometimes restarting X would work, other times having to just use the power button). This time i got lucky (i don't understand why the symptoms aren't exactly the same each time) and i copied the output to the attached file. Regards Alex P.S. Should i log the incomplete drawing of glut shapes as a separate bug? Brice Goglin wrote: alex wrote: Package: xserver-xorg-video-ati Version: 1:6.6.3-2 Severity: important Blender crashes before even getting started (segmentation fault). Can you catch a backtrace in gdb? Assuming the problem is in libgl1-mesa-dri as Michel said, you might want to install libgl1-mesa-dri-dbg, and enter 'bt full' in gdb once the crash occurred. Thanks, Brice Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb6efc6c0 (LWP 3854)] triangle_twoside (ctx=0x8ad47d0, e0=1, e1=2, e2=0) at ../../../../../src/mesa/tnl_dd/t_dd_tritmp.h:202 202 ../../../../../src/mesa/tnl_dd/t_dd_tritmp.h: No such file or directory. in ../../../../../src/mesa/tnl_dd/t_dd_tritmp.h Output from bt full: #0 triangle_twoside (ctx=0x8ad47d0, e0=1, e1=2, e2=0) at ../../../../../src/mesa/tnl_dd/t_dd_tritmp.h:202 vbcolor = value optimized out VB = (struct vertex_buffer *) 0x8b24848 rmesa = (radeonContextPtr) 0x8acb7d0 coloroffset = 3 specoffset = 0 #1 0xb6bbb265 in _tnl_render_poly_verts (ctx=0x8ad47d0, start=0, count=32, flags=57) at tnl/t_vb_rendertmp.h:313 efstart = value optimized out efcount = value optimized out j = 3 tnl = (TNLcontext *) 0x8b24408 VB = value optimized out TriangleFunc = (const tnl_triangle_func) 0xb6b28000 triangle_twoside stipple = 0 '\0' #2 0xb6bbc2c2 in run_render (ctx=0x8ad47d0, stage=0x8b2461c) at tnl/t_vb_render.c:320 prim = 2987909168 start = 0 length = value optimized out i = 1 tnl = (TNLcontext *) 0x8b24408 VB = (struct vertex_buffer *) 0x8b24848 tab = (tnl_render_func *) 0xb6ccf9a0 pass = 0 __PRETTY_FUNCTION__ = run_render #3 0xb6bb3a9b in _tnl_run_pipeline (ctx=0x8ad47d0) at tnl/t_pipeline.c:158 tnl = (TNLcontext *) 0x8b24408 __tmp = 895 i = value optimized out mask = 63 #4 0xb6bb3f73 in _tnl_draw_prims (ctx=0x8ad47d0, arrays=0x8b12840, prim=0x8b1139c, nr_prims=1, ib=0x0, min_index=0, max_index=31) at tnl/t_draw.c:403 bo = {0x1, 0x80b6f7b, 0x0, 0x0, 0x1, 0xbfc2eea4, 0x0, 0xb75ad2a0, 0xbfc2ee28, 0xb6ba1304, 0x8af30d0, 0xb6ccf920, 0x40, 0xb7f89668, 0x80b6e2c, 0x8b11278, 0xbfc2ee48, 0xb6ba10e6, 0x8af2e58, 0x0, 0x0, 0x0, 0x1, 0x84217bde, 0xbfc2ee88, 0xb6ba189d, 0x8ad47d0, 0x8af3098, 0x8af3064, 0x8af3068, 0x8af3070, 0x8af3074, 0x8af3078} nr_bo = 0 tnl = (TNLcontext *) 0x8b24408 #5 0xb6bad176 in vbo_exec_vtx_flush (exec=0x8b11278) at vbo/vbo_exec_draw.c:215 ctx = (GLcontext *) 0x8ad47d0 #6 0xb6ba8f88 in vbo_exec_wrap_buffers (exec=0x8b11278) at vbo/vbo_exec_api.c:80 last_count = 32 __PRETTY_FUNCTION__ = vbo_exec_wrap_buffers #7 0xb6ba90ad in vbo_exec_fixup_vertex (ctx=value optimized out, attr=3, sz=2987909168) at vbo/vbo_exec_api.c:218 exec = (struct vbo_exec_context *) 0x8b11278 i = value optimized out id = {0, 0, 0, 1} #8 0xb6babf54 in vbo_Color4f (x=0, y=0, z=0, w=0.882353008) at vbo/vbo_attrib_tmp.h:163 exec = (struct vbo_exec_context *) 0x8b11278 #9 0x08139c04 in BIF_ThemeColorShadeAlpha () No symbol table info available. #10 0x08178efd in ?? () No symbol table info available. #11 0x0021 in ?? () No symbol table info available. #12 0x in ?? () No symbol table info available.
Processed: Re: Bug#446315: xserver-xorg-video-ati: crashes in R and Blender, and incomlete drawing of glut (opengl) wire objects
Processing commands for [EMAIL PROTECTED]: forwarded 446315 https://bugs.freedesktop.org/show_bug.cgi?id=12968 Bug#446315: xserver-xorg-video-ati: crashes in R and Blender, and incomlete drawing of glut (opengl) wire objects Noted your statement that Bug has been forwarded to https://bugs.freedesktop.org/show_bug.cgi?id=12968. thank you Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#446315: xserver-xorg-video-ati: crashes in R and Blender, and incomlete drawing of glut (opengl) wire objects
Alex Sheppard wrote: But when i try to compile ('make linux-dri-x86') i get a load of errors. I guess i have some headers missing but i can't figure out what packages i need to install to provide them. Error messages attached. Is there any systematic lookup to find what package supplies what headers? Feel free to point me to a helpful forum or something if you don't have time to help in person. You should be able to get all required header packages with: apt-get build-dep mesa Also, if you feel like building mesa is too long, you can restrict the list of drivers to build with something like: make linux-dri-x86 DRI_DIRS=r300 LIBGL_DEBUG=verbose glxinfo will tell you which driver you need (r300_dri.so if you have a r300). Also, there is no real need to install the newly built lib. You can keep them in the build tree and do: export LD_LIBRARY_PATH=foo export LIBGL_DRIVERS_DIR=bar with foo the path to the directory containing the new libGL.so, and bar the path to the newly built DRI driver (r300_dri.so or so). As earlier, use export LIBGL_DEBUG=verbose to get some debugging output from glxinfo and check that it is using the correct lib and driver. If you're lost/bored by all this, you might want to wait a couple days/weeks until we upload mesa 7.0.2 into Debian :) Brice -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#446315: xserver-xorg-video-ati: crashes in R and Blender, and incomlete drawing of glut (opengl) wire objects
reassign 446315 libgl1-mesa-dri kthxbye On Fri, 2007-10-12 at 00:38 +0100, alex wrote: Package: xserver-xorg-video-ati Version: 1:6.6.3-2 Severity: important Blender crashes before even getting started (segmentation fault). I believe this has been or is being addressed in upstream mesa Git. Crash occurs in R when using the rgl library (R's interface to opengl) - if i zoom in the whole system freezes and doesn't recover. Drawing wire objects with opengl (e.g. glutWireSphere), objects are complete when they fill the viewport, when object is smaller than viewport, some of the lines are missing. None of the above problems occur when rendering is software only. And none of it is likely related to the X driver, reassigning. Also, please don't combine several issues in one report. -- Earthling Michel Dänzer | http://tungstengraphics.com Libre software enthusiast | Debian, X and DRI developer
Processed: Re: Bug#446315: xserver-xorg-video-ati: crashes in R and Blender, and incomlete drawing of glut (opengl) wire objects
Processing commands for [EMAIL PROTECTED]: reassign 446315 libgl1-mesa-dri Bug#446315: xserver-xorg-video-ati: crashes in R and Blender, and incomlete drawing of glut (opengl) wire objects Bug reassigned from package `xserver-xorg-video-ati' to `libgl1-mesa-dri'. kthxbye Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#446315: xserver-xorg-video-ati: crashes in R and Blender, and incomlete drawing of glut (opengl) wire objects
alex wrote: Package: xserver-xorg-video-ati Version: 1:6.6.3-2 Severity: important Blender crashes before even getting started (segmentation fault). Can you catch a backtrace in gdb? Assuming the problem is in libgl1-mesa-dri as Michel said, you might want to install libgl1-mesa-dri-dbg, and enter 'bt full' in gdb once the crash occurred. Thanks, Brice -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#446315: xserver-xorg-video-ati: crashes in R and Blender, and incomlete drawing of glut (opengl) wire objects
Package: xserver-xorg-video-ati Version: 1:6.6.3-2 Severity: important Blender crashes before even getting started (segmentation fault). Crash occurs in R when using the rgl library (R's interface to opengl) - if i zoom in the whole system freezes and doesn't recover. Drawing wire objects with opengl (e.g. glutWireSphere), objects are complete when they fill the viewport, when object is smaller than viewport, some of the lines are missing. None of the above problems occur when rendering is software only. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages xserver-xorg-video-ati depends on: ii libc6 2.6.1-1+b1GNU C Library: Shared libraries ii xserver-xorg-core 2:1.3.0.0.dfsg-12 X.Org X server -- core server xserver-xorg-video-ati recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]