[Mesa-dev] Gallium ARB_get_program_binary support

Dieter Nützel Dieter at nuetzel-hh.de
Mon Dec 11 02:17:21 UTC 2017


For the V2 series:

Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
and
Acked-by: Dieter Nützel <Dieter at nuetzel-hh.de>
if this is worth from my side.

on RX580 8GB

with DiRT Rally, UH, UV, Blender 2.79, smoketest, F1 2017 (Vulkan), 
glmark2 (parallel with
OpenCL (/opt/opencl-example>./run_tests.sh))

Dieter

Am 10.12.2017 23:06, schrieb Timothy Arceri:
> On 10/12/17 17:56, Dieter Nützel wrote:
>> First BAD commit is patch [PATCH 2/5].
>> https://patchwork.freedesktop.org/patch/192329/
> 
> 
> Thanks! I've sent a V2 of that patch, I've also confirmed DiRT Rally
> no longer segfaults at start-up.
> 
>> With it I get this in dmesg:
>> 
>> [34581.836122] OGL_Dispatch_33[4887]: segfault at 0 ip 
>> 000000009ebeafda sp 00000000a95580d4 error 4 in 
>> libc-2.26.so[7f6afcaf7000+1b1000]
>> [34706.224082] perf: interrupt took too long (5089 > 4913), lowering 
>> kernel.perf_event_max_sample_rate to 39250
>> [34918.833330] OGL_Dispatch_33[19897]: segfault at 0 ip 
>> 00000000d9adbd7a sp 00000000e6e1b769 error 4 in 
>> libc-2.26.so[7f2fc4777000+1b1000]
>> [35148.576818] OGL_Dispatch_33[2934]: segfault at 0 ip 
>> 0000000078a41511 sp 000000001f147296 error 4 in 
>> libc-2.26.so[7ff11fa23000+1b1000]
>> [35172.410621] OGL_Dispatch_33[3371]: segfault at 0 ip 
>> 00000000ef37ae37 sp 0000000099ce37ab error 4 in 
>> libc-2.26.so[7f0af78ff000+1b1000]
>> [35383.940291] OGL_Dispatch_33[18591]: segfault at 0 ip 
>> 00000000813f92d2 sp 000000007c9305e7 error 4 in 
>> libc-2.26.so[7fee87426000+1b1000]
>> 
>> It's in the morning, now.
>> Here in 'OLD' Germany, near Hamburg.
>> Good night! ;-)
>> 
>> Dieter
>> 
>> Am 10.12.2017 05:15, schrieb Timothy Arceri:
>>> Hi, as always thanks for testing :)
>>> 
>>> Are you able to find out which patch causes the crash? I'm curious if
>>> its the ARB_get_program_binary support or if I break the regular 
>>> cache
>>> when re-factoring.
>>> 
>>> Thanks,
>>> Tim
>>> 
>>> On 09/12/17 15:58, Dieter Nützel wrote:
>>>> Hello Tim,
>>>> 
>>>> first time ever, that I got a real regression with your GREAT work. 
>>>> ;-)
>>>> 
>>>> DiRT Rally sig fault (SIGSEGV(11) with this series.
>>>> (see attachment)
>>>> 
>>>> Bad cache hit re-read?
>>>> Removing .cache/mesa_shader_cache do not help.
>>>> Searching for the rigth Feral (Steam?) cache dir. - Alex/James?
>>>> 
>>>> Then I'll have to find which of the five did it.
>>>> 
>>>>  From the log I got this:
>>>> [1209/054156:ERROR:sandbox_linux.cc(325)] InitializeSandbox() called 
>>>> with multiple threads in process gpu-process
>>>> [1209/054157:INFO:CONSOLE(0)] "The specified value '!' does not 
>>>> conform to the required format.  The format is '#rrggbb' where rr, 
>>>> gg, bb are two-digit hexadecimal numbers.", source: 
>>>> file://localhost/home1/alexander/My%20Games/Steam/steamapps/common/DiRT%20Rally/share/FeralUI/PGOW/Core/feralUI.html 
>>>> (0)
>>>> Installing breakpad exception handler for 
>>>> appid(steam)/version(1509425745)
>>>> [1209/054158:INFO:CONSOLE(0)] "Synchronous XMLHttpRequest on the 
>>>> main thread is deprecated because of its detrimental effects to the 
>>>> end user's experience. For more help, check 
>>>> http://xhr.spec.whatwg.org/.", source:  (0)
>>>> [1209/054208:WARNING:x11_util.cc(1490)] X error received: serial 
>>>> 4814, error_code 3 (BadWindow (invalid Window parameter)), 
>>>> request_code 4, minor_code 0 (X_DestroyWindow)
>>>> SDL2 initialised [built against 2.0.5, running with 2.0.5]
>>>> DirtRally: dumped to 
>>>> "/home/alexander/.local/share/feral-interactive/DiRT 
>>>> Rally/crashes/2363a778-c194-621f-0f837dfb-191070fd.dmp"
>>>> 
>>>> Cheers,
>>>> Dieter
>>>> 
>>>> Am 08.12.2017 10:57, schrieb Timothy Arceri:
>>>>> Core support in now in master so this is just a resend of the 
>>>>> gallium
>>>>> patches.
>>>>> 
>>>>> Resolves crash in Dead Island:
>>>>> 
>>>>> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85564
>>>>> 
>>>>> Branch available here:
>>>>> 
>>>>> https://github.com/tarceri/Mesa.git gallium-program-binary
>>>>> 
>>>>> _______________________________________________
>>>>> mesa-dev mailing list
>>>>> mesa-dev at lists.freedesktop.org
>>>>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list