[Bug 75361] freeze in Mass Effect 3 (wine)

2015-02-06 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361
Bug 75361 depends on bug 75276, which changed state.

Bug 75276 Summary: Implement VGPR Register Spilling
https://bugs.freedesktop.org/show_bug.cgi?id=75276

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-05-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #30 from wdr  ---
Created attachment 99690
  --> https://bugs.freedesktop.org/attachment.cgi?id=99690&action=edit
R600_DEBUG=fs,vs,gs,ps,cs dump   +  si-spill-fixes-v4

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-05-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #29 from wdr  ---
Created attachment 99689
  --> https://bugs.freedesktop.org/attachment.cgi?id=99689&action=edit
Dmesg

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-05-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #28 from wdr  ---

mesa-git + llvm-git
(+0002-VER-5-emit-Error-when-attempting-to-spill-or-load-a-.patch) = no compile

mesa-git + llvm (si-spill-fixes-v4) + kernel 3.14.4 = gpu reset, xorg crash,
ssh work

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-05-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

Tom Stellard  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #27 from Tom Stellard  ---


*** This bug has been marked as a duplicate of bug 75276 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-05-16 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #26 from Tom Stellard  ---
Can you try this LLVM patch:

https://bugs.freedesktop.org/attachment.cgi?id=99169

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-04-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #25 from wdr  ---
Created attachment 98242
  --> https://bugs.freedesktop.org/attachment.cgi?id=98242&action=edit
mesa-git + llvm (si-spill-fixes-v3) + kernel 3.15-rc3 = gpu hung

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-04-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #24 from wdr  ---
Created attachment 98238
  --> https://bugs.freedesktop.org/attachment.cgi?id=98238&action=edit
dmesg wich errors

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-04-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #23 from wdr  ---
mesa-git + llvm (si-spill-fixes-v3) + kernel 3.14 = gpu hung

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-04-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #22 from Tom Stellard  ---
Updated v3 branch here:
http://cgit.freedesktop.org/~tstellar/llvm/log/?h=si-spill-fixes-v3

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-04-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #19 from Michel D?nzer  ---
(In reply to comment #18)
> That patch won't build try this instead:
> https://bugs.freedesktop.org/attachment.cgi?id=97539

With that I get this from the apitrace referenced in comment #14:

LLVM triggered Diagnostic Handler: SIInstrInfo::storeRegToStackSlot - Can't
spill VGPR!
glretrace:
/home/daenzer/src/llvm-git/llvm/include/llvm/CodeGen/SlotIndexes.h:572:
llvm::SlotIndex
llvm::SlotIndexes::insertMachineInstrInMaps(llvm::MachineInstr*, bool):
Assertion `mi2iMap.find(mi) == mi2iMap.end() && "Instr already indexed."'
failed.

--- Comment #20 from wdr  ---
with mesa-git and llvm-git  with/without patch game not start.

I'am find bad commit.

--- Comment #21 from Tom Stellard  ---
Can you test this branch:

http://cgit.freedesktop.org/~tstellar/llvm/log/?h=si-spill-fixes-v2

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-04-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #18 from Tom Stellard  ---
(In reply to comment #17)
> Can you try this LLVM patch:
> https://bugs.freedesktop.org/attachment.cgi?id=97522
> Make sure you have latest LLVM and Mesa from git.

That patch won't build try this instead:
https://bugs.freedesktop.org/attachment.cgi?id=97539

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-04-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #17 from Tom Stellard  ---
Can you try this LLVM patch:
https://bugs.freedesktop.org/attachment.cgi?id=97522
Make sure you have latest LLVM and Mesa from git.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-03-04 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #16 from wdr  ---
i am build llvm from
http://cgit.freedesktop.org/~tstellar/llvm/log/?h=si-spill-fixes , and latest
mesa-git

game also freeze. 

output:
/var/tmp/portage/sys-devel/llvm-/work/llvm-/lib/CodeGen/RegAllocGreedy.cpp:2096:
unsigned int {anonymous}::RAGreedy::selectOrSplitImpl(llvm::LiveInterval&,
llvm::SmallVectorImpl&, {anonymous}::RAGreedy::SmallVirtRegSet&,
unsigned int): ??? ??? ?NewVRegs.empty() && "Cannot append to
existing NewVRegs"?

I like more help?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-03-04 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

Michel D?nzer  changed:

   What|Removed |Added

 CC||tstellar at gmail.com
 Depends on||75276

--- Comment #15 from Michel D?nzer  ---
(In reply to comment #14)
> new apitrace trace (170 MB):
> https://bft.usu.edu/3hkhw

That runs into shader register allocation issues for me. Keep an eye on bug
75276, though right now the LLVM Git branch referenced there doesn't manage to
replay your second apitrace yet.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-02-27 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #14 from wdr  ---
I am build llvm with:
/var/tmp/portage/sys-devel/llvm-/work/llvm-/configure --prefix=/usr
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/usr/lib --disable-timestamps
--enable-keep-symbols --enable-shared --enable-optimized --enable-assertions
--disable-terminfo --enable-libffi ac_cv_prog_XML2CONFIG=
--enable-targets=host,cpp,r600 --enable-bindings=none

no effect

new apitrace trace (170 MB):
https://bft.usu.edu/3hkhw

glretrace -w -v /tmp/me3_new.trace > tmp/me3
28591: warning: unsupported glXSwapIntervalMESA call
28929: warning: unsupported glXSwapIntervalMESA call
54241: warning: unsupported glXSwapIntervalMESA call
54579: warning: unsupported glXSwapIntervalMESA call
79891: warning: unsupported glXSwapIntervalMESA call
80229: warning: unsupported glXSwapIntervalMESA call
118028: warning: unsupported glXSwapIntervalMESA call
118366: warning: unsupported glXSwapIntervalMESA call
118704: warning: unsupported glXSwapIntervalMESA call
119060: warning: unsupported glXSwapIntervalMESA call
158337: warning: unsupported glXSwapIntervalMESA call
158675: warning: unsupported glXSwapIntervalMESA call
apitrace: warning: caught signal 11
6523336: error: caught an unhandled exception
apitrace: info: taking default action for signal 11
?? ???

https://bft.usu.edu/bf8x6


it's correctly?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-02-27 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #13 from Michel D?nzer  ---
(In reply to comment #12)
> Created attachment 94775 [details]
> gdb backtrace

Unfortunately, this backtrace is useless because it doesn't show any symbol
names.

It might be easier to do this with glretrace than with Wine.


(In reply to comment #11)
> --with-optimize-option= --disable-optimized --enable-expensive-checks

Does building LLVM without these options help, or maybe with --enable-optimized
instead of them?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-02-26 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #12 from wdr  ---
Created attachment 94775
  --> https://bugs.freedesktop.org/attachment.cgi?id=94775&action=edit
gdb backtrace

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-02-26 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #11 from wdr  ---
I'm use gentoo x11 overlay for git mesa:
[ebuild   R   #] media-libs/mesa-::x11  USE="debug egl gallium gbm gles2
llvm llvm-shared-libs nptl -bindist -classic -gles1 -opencl -openmax -openvg
-osmesa -pax_kernel -pic -r600-llvm-compiler (-selinux) -vdpau -wayland -xa
-xvmc" VIDEO_CARDS="radeon radeonsi (-freedreno) -i915 -i965 -ilo -intel
-nouveau -r100 -r200 -r300 -r600 -vmware" 0 kB

./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib
--disable-silent-rules --disable-dependency-tracking --enable-dri --enable-glx
--enable-shared-glapi --enable-texture-float --enable-debug --enable-egl
--enable-gbm --disable-gles1 --enable-gles2 --enable-glx-tls --disable-osmesa
--enable-asm --enable-llvm-shared-libs --with-dri-drivers=
--with-gallium-drivers=,swrast,radeonsi,r300,r600 PYTHON2=/usr/bin/python2.7
--with-egl-platforms=x11,drm --enable-gallium-llvm --disable-openvg
--disable-gallium-egl --disable-omx --disable-r600-llvm-compiler
--disable-vdpau --disable-xa --disable-xvmc

[ebuild   R   *] sys-devel/llvm-:0/  USE="debug libffi static-analyzer
xml -clang -doc -gold -multitarget -ncurses -ocaml -python {-test} -udis86"
PYTHON_TARGETS="python2_7 -pypy2_0 -python2_6" VIDEO_CARDS="radeon" 0 kB

/var/tmp/portage/sys-devel/llvm-/work/llvm-/configure --prefix=/usr
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/usr/lib --disable-timestamps
--enable-keep-symbols --enable-shared --with-optimize-option=
--disable-optimized --enable-assertions --enable-expensive-checks
--disable-terminfo --enable-libffi ac_cv_prog_XML2CONFIG=
--enable-targets=host,cpp,r600 --enable-bindings=none


If i do not kill the freezing process, it freeze forever. Cpu usage ~10%.
i am use latest mesa git and latest llvm from svn (26 february)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-02-26 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #10 from Michel D?nzer  ---
(In reply to comment #9)
> apitrace replay freeze w at the end trace when obscure screen with ships and
> planet. Absolutely also as game.

Hmm. I do see a little freeze at the end of the trace, but only for about three
seconds, then it exits normally.


> After kill game process - Xorg 100% working.

So, does the freezing process hog the CPU?

If you don't kill the freezing process, does it remain frozen forever, or does
it recover or fail somehow after a while?

Can you attach gdb to the freezing process and get a backtrace? Probably best
to attempt this from ssh, but switching to console and doing it from there
might be fine as well.


Does it still happen with current LLVM SVN and Mesa Git? What configure options
do you use for building LLVM and Mesa?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-02-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #9 from wdr  ---
apitrace replay freeze w at the end trace when obscure screen with ships and
planet. Absolutely also as game.
100% reproducible
After kill game process - Xorg 100% working.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-02-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #8 from Michel D?nzer  ---
(In reply to comment #7)
> apitrace dump (600Mb in tar.bz2 archive)

Does replaying this trace reproduce the problem on your system? It seems to
play back fine without freeze here.

(In reply to comment #6)
> In game menu work. Freeze on load after menu. Ctrl+Alt+F1 and kill
> MassEffect - work. 

And the X session continues working fine after that? Does the MassEffect
process hog the CPU during the freeze?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-02-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #7 from wdr  ---
apitrace dump (600Mb in tar.bz2 archive)
https://bft.usu.edu/xkb8y

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-02-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #6 from wdr  ---
In game menu work. Freeze on load after menu. Ctrl+Alt+F1 and kill MassEffect -
work. 

'?' - 'Finished' - this output ok command kill MassEffect proccess
(kill -9 "pid")

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-02-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #5 from wdr  ---
Created attachment 94652
  --> https://bugs.freedesktop.org/attachment.cgi?id=94652&action=edit
glxinfo

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-02-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #4 from wdr  ---
Created attachment 94651
  --> https://bugs.freedesktop.org/attachment.cgi?id=94651&action=edit
Xorg.0.log

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-02-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #3 from wdr  ---
Created attachment 94650
  --> https://bugs.freedesktop.org/attachment.cgi?id=94650&action=edit
dmesg

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-02-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #2 from Michel D?nzer  ---
Please attach /var/log/Xorg.0.log and the output of glxinfo and dmesg.

What exactly are the symptoms? What does '?' mean at the end of the
attachment?

(In reply to comment #2)
> Need dump apitrace?

That might be useful.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-02-23 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

Vladimir Ysikov  changed:

   What|Removed |Added

  Attachment #94560|text/plain  |application/x-tar
  mime type||

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 75361] freeze in Mass Effect 3 (wine)

2014-02-22 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=75361

--- Comment #1 from wdr  ---
This my first bug. sorry attachment this tar.bz2 arhive

(sorry for my english)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: