Bug 43395 - Game running in wine stops rendering
Summary: Game running in wine stops rendering
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: 7.11
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-30 14:37 UTC by Tomas Schlosser
Modified: 2014-04-13 12:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
output of dmesg before running the game (68.84 KB, text/plain)
2011-12-01 05:37 UTC, Tomas Schlosser
Details
output of dmesg after stucking (68.90 KB, text/plain)
2011-12-01 05:38 UTC, Tomas Schlosser
Details
content of /var/log/Xorg.0.log before running the game (43.94 KB, text/plain)
2011-12-01 05:39 UTC, Tomas Schlosser
Details
content of /var/log/Xorg.0.log after stucking (45.39 KB, text/plain)
2011-12-01 05:40 UTC, Tomas Schlosser
Details

Description Tomas Schlosser 2011-11-30 14:37:49 UTC
When playing Gothic everything works fine for 10 - 15 minutes, then the
rendering just stops and the screen is left as it was. The game works normally
(I can hear sounds from game and can blindly manipulate it). The rest of the system works just fine as well (the game is running in simulated windowed mode).

Fedora 16 (Verne) x86_64
Graphic card:
VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 2400

[tomason@odysseus ~]$ glxinfo |grep -i "\(render\|opengl\)"
direct rendering: Yes
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV610
OpenGL version string: 2.1 Mesa 7.11
OpenGL shading language version string: 1.20

Using libtxc_dxtn.i686 as the game requires it to run

I also tried kmod-catalyst (proprietary drivers) and running it with wine64
none of which helped.
Comment 1 Alex Deucher 2011-11-30 14:39:11 UTC
please attach your xorg log and dmesg output.  Does mesa from git help?
Comment 2 Tomas Schlosser 2011-12-01 05:37:57 UTC
Created attachment 54006 [details]
output of dmesg before running the game
Comment 3 Tomas Schlosser 2011-12-01 05:38:54 UTC
Created attachment 54007 [details]
output of dmesg after stucking
Comment 4 Tomas Schlosser 2011-12-01 05:39:57 UTC
Created attachment 54008 [details]
content of /var/log/Xorg.0.log before running the game
Comment 5 Tomas Schlosser 2011-12-01 05:40:29 UTC
Created attachment 54009 [details]
content of /var/log/Xorg.0.log after stucking
Comment 6 Tomas Schlosser 2011-12-01 05:44:41 UTC
I included two versions of each for comparison. One is always from time before even starting the game, the other one was taken in the point when the game stopped rendering.

I didn't try git version of drivers as it seems to be too hard. However I might try on Sunday when I hope to have more time.
Comment 7 Alex Deucher 2011-12-01 05:46:57 UTC
Does disabling pageflipping help?

Option "EnablePageFlip" "false"

in the device section of your xorg.conf
Comment 8 Tomas Schlosser 2011-12-01 06:46:01 UTC
No, disabling page flipping didn't help. It maybe caused the graphics to stop even faster.
Comment 9 Tomas Schlosser 2011-12-03 04:58:36 UTC
(In reply to comment #1)
> Does mesa from git help?

Could you please point me to some tutorial as to how to do that? Thank you
Comment 10 Michel Dänzer 2011-12-06 10:24:38 UTC
(In reply to comment #10)
> I also tried kmod-catalyst (proprietary drivers) and running it with wine64
> none of which helped.

If the problem is the same with the proprietary drivers, then it's more likely a Gothic / Wine / configuration issue, as it's very unlikely that both drivers would have exactly the same problem.
Comment 11 Tomas Schlosser 2011-12-06 10:59:29 UTC
Oh, sorry, I posted the copied the bugreport I created for wine. I tried again with correct version of proprietary drivers installed and the problem was gone.

I also tried compiling the mesa drivers by tutorial on www.mesa3d.org and the game didn't even start then (gave me Access violation). I still have a few ideas how to run it on mesa from git, but it requires more try-fail attempts.
Comment 12 Michel Dänzer 2011-12-07 03:17:11 UTC
Does setting the environment variable vblank_mode=0 for the Wine process using OpenGL work around the problem? There should be a message

 ATTENTION: default value of option vblank_mode overridden by environment.

on stderr to confirm it takes effect.
Comment 13 Tomas Schlosser 2011-12-07 13:33:53 UTC
(In reply to comment #12)
> Does setting the environment variable vblank_mode=0 for the Wine process using
> OpenGL work around the problem? There should be a message
> 
>  ATTENTION: default value of option vblank_mode overridden by environment.
> 
> on stderr to confirm it takes effect.

No, it doesn't help. The message was printed and the game run slower, but got stuck after 6 minutes.
Comment 14 Tomas Schlosser 2011-12-15 14:08:15 UTC
New updates came:
kernel 3.1.5-2.fc16
mesa-dri-drivers.x86_64 7.11.2-1.fc16
No changes, rendering stops after a few minutes (5 - 10).

I can't build mesa from git. Last time I tried (using tutorial from http://www.mesa3d.org/ - ./autoconf.sh && make && sudo make install) I got error while running the game saying "Access Violation".
Comment 15 Michel Dänzer 2011-12-16 01:54:47 UTC
(In reply to comment #14)
> I can't build mesa from git. Last time I tried (using tutorial from
> http://www.mesa3d.org/ - ./autoconf.sh && make && sudo make install) I got
> error while running the game saying "Access Violation".

We can't help you with that without more information. Ideally a gdb backtrace of the crash, or at least the full output.
Comment 16 Marek Olšák 2014-04-13 12:15:50 UTC
(In reply to comment #15)
> We can't help you with that without more information. Ideally a gdb
> backtrace of the crash, or at least the full output.

Right. Since there is no other feedback after 3 years, I'm closing this bug.


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.