The test glmark2 is now in most distributions. While it passes in software mode, it crashes with r300 : glmark2 -b ideas ======================================================= glmark2 2014.03 ======================================================= OpenGL Information GL_VENDOR: X.Org R300 Project GL_RENDERER: Gallium 0.4 on ATI RV380 GL_VERSION: 2.1 Mesa 17.0.5 ======================================================= [ideas] speed=duration:Erreur de segmentation (core dumped) Before stopping, it fills all available memory and swap. As this is easy to reproduce, I suppose no more information is needed. (I tested with Mageia Cauldron ( kernel 4.9.27 )
Software mode result : glmark2-software -b ideas ** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control! ** Failed to set swap interval. Results may be bounded above by refresh rate. ======================================================= glmark2 2014.03 ======================================================= OpenGL Information GL_VENDOR: VMware, Inc. GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits) GL_VERSION: 3.0 Mesa 17.0.5 ======================================================= ** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control! ** Failed to set swap interval. Results may be bounded above by refresh rate. [ideas] <default>: FPS: 13 FrameTime: 76.923 ms ======================================================= glmark2 Score: 13 =======================================================
The kernel dmesg : [ 536.978422] glmark2[2507]: segfault at 0 ip b68c8266 sp bfb44d40 error 6 in r300_dri.so[b631a000+a57000]
Please attach a backtrace of the crash.
Created attachment 131335 [details] Backtrace with mesa 17.1.0 I could update to mesa 17.1.0, so I did this backtrace with it.
Seeing the same problem on Ubuntu 16.04 LTS with the 4.13.0-26-generic kernel.
Ditto. Branches 17.2, 17.3 and 18.0 up to 18.0.3. hardware is a 01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RS482M [Mobility Radeon Xpress 200] [1002:5975] Stack trace is the same, abbreviated for glmark2 -b ideas: #0 0x00007fdff96f3bb5 refill_pool (r300_dri.so) #1 0x00007fdff970971e rc_alloc_instruction (r300_dri.so) #2 0x00007fdff9701168 unroll_loop (r300_dri.so) #3 0x00007fdff97018cc rc_emulate_loops (r300_dri.so) #4 0x00007fdff96fcdd5 rc_run_compiler_passes (r300_dri.so) #5 0x00007fdff96fce85 rc_run_compiler (r300_dri.so) #6 0x00007fdff96f635c r3xx_compile_fragment_program (r300_dri.so) #7 0x00007fdff96e1aaf r300_translate_fragment_shader (r300_dri.so) #8 0x00007fdff96e291d r300_pick_fragment_shader (r300_dri.so) #9 0x00007fdff96ec8ef r300_validate_fragment_shader (r300_dri.so) #10 0x00007fdff96e355a r300_swtcl_draw_vbo (r300_dri.so) #11 0x00007fdff93156ef st_draw_vbo (r300_dri.so) #12 0x00007fdff92d8608 vbo_validated_drawrangeelements (r300_dri.so) #13 0x00007fdff92d8d7f vbo_exec_DrawElements (r300_dri.so) #14 0x0000000000455fde _ZN4Lamp4drawERN9LibMatrix6Stack4ES2_PKNS0_5tvec4IfEE (glmark2) #15 0x000000000047acba _ZN17SceneIdeasPrivate4drawEv (glmark2) #16 0x000000000040efd1 _ZN8MainLoop4drawEv (glmark2) #17 0x000000000040f76c _ZN8MainLoop4stepEv (glmark2) #18 0x00000000004110e0 _Z12do_benchmarkR6Canvas (glmark2) #19 0x0000000000406c80 main (glmark2) #20 0x00007fdffd2d8f2a __libc_start_main (libc.so.6) #21 0x0000000000408769 _start (glmark2)
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/381.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.