[Mesa-dev] Gallium ARB_get_program_binary support

Mike Lothian mike at fireburn.co.uk
Tue Dec 12 16:36:46 UTC 2017


Game works fine, not sure if it's using the extension or not

On Mon, 11 Dec 2017 at 23:21 Mike Lothian <mike at fireburn.co.uk> wrote:

> I'll check that when I'm next home
>
> On Mon, 11 Dec 2017 at 21:19 Timothy Arceri <tarceri at itsqueeze.com> wrote:
>
>> On 12/12/17 08:13, Mike Lothian wrote:
>> > Tested with Dead Island, Dirt Rally and Serious Sam BFG (which I believe
>> > uses this extension)
>> >
>> > Do you know any other games that use this?
>>
>> I believe Dying Light uses it also.
>>
>>
>> >
>> > On Mon, 11 Dec 2017 at 02:17 Dieter Nützel <Dieter at nuetzel-hh.de
>> > <mailto:Dieter at nuetzel-hh.de>> wrote:
>> >
>> >     For the V2 series:
>> >
>> >     Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de
>> >     <mailto:Dieter at nuetzel-hh.de>>
>> >     and
>> >     Acked-by: Dieter Nützel <Dieter at nuetzel-hh.de
>> >     <mailto: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 <http://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 <http://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 <http://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 <http://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 <http://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
>> >     <mailto:mesa-dev at lists.freedesktop.org>
>> >      >>>>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>> >     _______________________________________________
>> >     mesa-dev mailing list
>> >     mesa-dev at lists.freedesktop.org <mailto:
>> mesa-dev at lists.freedesktop.org>
>> >     https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>> >
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171212/6b4a8d2e/attachment-0001.html>


More information about the mesa-dev mailing list