[Mesa-dev] [Bug 102564] swr: GPU Caps Viewer crashes with any 3D demo

2017-09-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102564

--- Comment #5 from George Kyriazis  ---
Thanks Alex for the information on the dlls.

While OpenSWR does not do anything special to explicitly disable 32-bit
support, our team is not testing / developing on 32-bit.  This is simply
because our customer base is entirely on 64-bit, and the team does not have the
manpower to support configurations that are not of interest to our customers.

We certainly welcome community changes, and we have already done so in the
past.  Please feel free to contribute, if you so desire.  Thanks!

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 102564] swr: GPU Caps Viewer crashes with any 3D demo

2017-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102564

--- Comment #4 from Alex Granni  ---
Sorry, I didn't mention that GPU Caps Viewer is 32-bit even if running on
64-bit Windows so it goes in \windows\syswow64 on a 64-bit Windows. The way I
get it to use Mesa is by copying or rather create symlinks to Mesa DLLs in the
folder where GPU Caps Viewer resides; there is no DLL hijacking mitigation in
place. I create symlinks instead of copying to save storage and to update Mesa
from a centralized location, but you can do it as you want.

Also I have an advice for you. Dropping Mesa3D DLLs in system32 is short lived.
Only Windows 7 still allows this. Starting with Windows 8, Microsoft enlisted
TrustedInstaller to have ownership over system files. Changing permissions of
system files is bad idea if not impossible in Normal boot mode. However there
is a way to apply Mesa3D system-wide even on Windows 8 and 10 in Normal mode,
by hijacking the OpenGL ICD of the main GPU. Windows stores the filenames of
all OpenGL ICDs in registry in
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control under various keys
which contain values named OpenGLDriverName for 64-bit ICDs and
OpenGLDriverNameWow for 32-bit ICDs. The data of these values point to the
OpenGL ICDs filenames.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 102564] swr: GPU Caps Viewer crashes with any 3D demo

2017-09-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102564

George Kyriazis  changed:

   What|Removed |Added

 CC||george.kyria...@intel.com

-- 
You are receiving this mail because:
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 102564] swr: GPU Caps Viewer crashes with any 3D demo

2017-09-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102564

--- Comment #3 from George Kyriazis  ---
Alex,

how did you get GPU Caps Viewer to pick up the mesa libs?  I tried copying the
mesa libs to \windows\system32 (that works will other apps), but GPU Caps
Viewer looks like it's doing something different.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 102564] swr: GPU Caps Viewer crashes with any 3D demo

2017-09-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102564

--- Comment #2 from Bruce Cherniak  ---
> Regression in 17.2.0. v17.1.8 is unaffected.

I haven't had a chance to try it yet, but you're saying that 17.1.8 runs
without crashing?  That's helpful.  Thanks.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 102564] swr: GPU Caps Viewer crashes with any 3D demo

2017-09-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102564

Alex Granni  changed:

   What|Removed |Added

Version|unspecified |17.2

--- Comment #1 from Alex Granni  ---
Regression in 17.2.0. v17.1.8 is unaffected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 102564] swr: GPU Caps Viewer crashes with any 3D demo

2017-09-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102564

Alex Granni  changed:

   What|Removed |Added

 Attachment #134011|GPU Caps Viewer randomly|GPU Caps Viewer crash in
description|picked demo with OpenSWR -  |randomly picked demo with
   |Visual Studio debug output  |OpenSWR - Visual Studio
   |screenshot  |debug output screenshot

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 102564] swr: GPU Caps Viewer crashes with any 3D demo

2017-09-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102564

Bug ID: 102564
   Summary: swr: GPU Caps Viewer crashes with any 3D demo
   Product: Mesa
   Version: unspecified
  Hardware: Other
OS: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/Gallium/swr
  Assignee: mesa-dev@lists.freedesktop.org
  Reporter: liviupro...@yahoo.com
QA Contact: mesa-dev@lists.freedesktop.org

Created attachment 134011
  --> https://bugs.freedesktop.org/attachment.cgi?id=134011=edit
GPU Caps Viewer randomly picked demo with OpenSWR - Visual Studio debug output
screenshot

I was trying to benchmark swr against llvmpipe using GPU Caps Viewer
(http://www.geeks3d.com/category/geeks3d/gpu-caps-viewer-geeks3d/) as I
observed some performance gain with v17.2.0 when testing with other software,
but this didn't worked as planned. I got an instant crash on any demo I tried
regardless of what OpenGL version the demo required. Initially I thought that
GL 3.3COMPAT context enforced with MESA_GL_VERSION_OVERRIDE is the cause[1]. I
thought maybe OpenSWR doesn't support this yet or it is buggy, but that doesn't
seam to be the case. Even if I remove that from the batch script I wrote to
pass variables to Mesa before launching GPU Caps Viewer and limit myself to GL
1.2 and 2.1 demos, I still get crashes for all demos, regardless of GL
requirements being met or not.
llvmpipe doesn't crash even if you attempt to start a demo for which llvmpipe
doesn't meet the requirements. It fails cleanly.

[1]I set MESA_GL_VERSION_OVERRIDE=3.3COMPAT for convenience as it allows
running GL 1.2, 2.1 and 3.x demos without having to restart GPU Caps Viewer
with GL 3.x content for GL 3.x demos and without for GL 1.2 and 2.1 demos.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev