http://bugs.winehq.org/show_bug.cgi?id=19724
Summary: elevated demo has a terrible performance under Wine Product: Wine Version: 1.1.27 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: t.artem@mailcity.com
Created an attachment (id=23049) --> (http://bugs.winehq.org/attachment.cgi?id=23049) elevated_1024x768.exe (4K binary)
elevated_1024x768.exe runs in Linux a hundred times slower than in Windows.
native d3dx9_33.dll is required.
This is probably due: fixme:d3d:IWineD3DDeviceImpl_CreateSwapChain The app requests more than one back buffer, this can't o use double buffering(=1 back buffer) if possible
http://bugs.winehq.org/show_bug.cgi?id=19724
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |minor
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-13 21:09:36 --- http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity
http://bugs.winehq.org/show_bug.cgi?id=19724
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3d |-unknown
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2009-08-13 22:11:48 --- OS? Video card? Drivers?
http://bugs.winehq.org/show_bug.cgi?id=19724
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |nerv@dawncrow.de Ever Confirmed|0 |1
--- Comment #3 from André H. nerv@dawncrow.de 2009-08-14 06:38:53 --- confirming. For me it crashes with Ubuntu 9.04 64-Bit, Geforce 8600 GTS, Driver NVIDIA 180.44
http://bugs.winehq.org/show_bug.cgi?id=19724
--- Comment #4 from Artem S. Tashkinov t.artem@mailcity.com 2009-08-16 13:09:26 --- OS: Fedora 11 x86 with all updates installed (including updates-testing).
glxinfo: ... direct rendering: Yes ... OpenGL renderer string: GeForce 8800 GT/PCI/SSE2/3DNOW! OpenGL version string: 3.2.0 NVIDIA 190.16 OpenGL shading language version string: 1.40 NVIDIA via Cg compiler ...
Drivers: NVIDIA 190.16
Under Windows XP I get up to 100FPS, in Linux I get around 0.2FPS (in fact 500 times slower).
http://bugs.winehq.org/show_bug.cgi?id=19724
--- Comment #5 from Artem S. Tashkinov t.artem@mailcity.com 2009-08-24 02:46:11 --- Created an attachment (id=23234) --> (http://bugs.winehq.org/attachment.cgi?id=23234) Wine console messages when running this demo
The same applies to Wine 1.1.28.
http://bugs.winehq.org/show_bug.cgi?id=19724
Steve Dougherty asksteved.com@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |asksteved.com@gmail.com
--- Comment #6 from Steve Dougherty asksteved.com@gmail.com 2009-09-19 17:13:41 --- Confirming.
Ubuntu 9.04 64-bit, Wine 1.1.29, NVIDIA GeForce 9500 GT with driver version 185.18.31.
It seems the frames, when rendered, are several seconds behind the music.
Can anyone running an ATI card reproduce this?
http://bugs.winehq.org/show_bug.cgi?id=19724
--- Comment #7 from Artem S. Tashkinov t.artem@mailcity.com 2009-10-24 08:36:56 --- In Wine 1.1.32 it immediately crashes when being started:
Backtrace: =>0 0x7ef3f300 __DTOR_LIST__+0x264() in system.drv16 (0x7ef2ffff) 1 0x00000300 (0x905a4d00) 0x7ef3f300 __DTOR_LIST__+0x264 in system.drv16: addl %ebp,%cs:0x0(%eax,%eax,1)
http://bugs.winehq.org/show_bug.cgi?id=19724
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com 2009-10-24 08:40:39 --- (In reply to comment #7)
In Wine 1.1.32 it immediately crashes when being started:
Backtrace: =>0 0x7ef3f300 __DTOR_LIST__+0x264() in system.drv16 (0x7ef2ffff) 1 0x00000300 (0x905a4d00) 0x7ef3f300 __DTOR_LIST__+0x264 in system.drv16: addl %ebp,%cs:0x0(%eax,%eax,1)
Hi, Artem. Install debug symbols please and attach current log for 1.1.32.
http://bugs.winehq.org/show_bug.cgi?id=19724
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |20457
http://bugs.winehq.org/show_bug.cgi?id=19724
--- Comment #9 from Artem S. Tashkinov t.artem@mailcity.com 2009-10-24 13:39:22 --- (In reply to comment #8)
Hi, Artem. Install debug symbols please and attach current log for 1.1.32.
See bug 20457 and thanks a lot goes to Andrew Nguyen for bisecting wine.
http://bugs.winehq.org/show_bug.cgi?id=19724
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=19724
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hverbeet@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=19724
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|hverbeet@gmail.com, | |stefan@codeweavers.com |
http://bugs.winehq.org/show_bug.cgi?id=19724
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger@gmx.at
--- Comment #10 from Stefan Dösinger stefandoesinger@gmx.at 2009-10-25 16:01:23 --- the debug messages don't say a lot, they're fairly standard.
The first thing worth checking is if the application is deliberately idling. See if the CPU is busy, or idle. If its idle, there's most likely some timer/event/scheduling problem
If the CPU is busy, use oprofile to find out where the time is spent. Its most likely either in the 3D driver(software emulation because we break some HW limit), or some format conversion code.
http://bugs.winehq.org/show_bug.cgi?id=19724
Bug 19724 depends on bug 20457, which changed state.
Bug 20457 Summary: Elevated demo crashes in system.drv16 on startup http://bugs.winehq.org/show_bug.cgi?id=20457
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=19724
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |21817
http://bugs.winehq.org/show_bug.cgi?id=19724
--- Comment #11 from Artem S. Tashkinov t.artem@mailcity.com 2010-05-25 16:21:22 --- Wine 1.2-rc1:
from top:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ P COMMAND 16807 artem 20 0 1631m 395m 17m R 100.2 9.8 1:42.63 0 elevated_1024x7
So it's definitely not idling.
There are only few fixme messages from Wine:
fixme:win:EnumDisplayDevicesW ((null),0,0x1464f8fc,0x00000000), stub! fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats fixme:d3d9:Direct3DShaderValidatorCreate9 stub fixme:d3d:query_init Unhandled query type 0x4.
http://bugs.winehq.org/show_bug.cgi?id=19724
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|elevated demo has a |elevated demo has a |terrible performance under |terrible performance |Wine |
http://bugs.winehq.org/show_bug.cgi?id=19724
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, performance
http://bugs.winehq.org/show_bug.cgi?id=19724
--- Comment #12 from Artem S. Tashkinov t.artem@mailcity.com 2011-03-06 16:59:26 CST --- Probably it's a bug in X.org server itself or maybe this demo/wine makes an awful lot of "wrong" system calls.
I've attached strace to a running demo and it shows this:
# strace -c -p 21109 Process 21109 attached - interrupt to quit % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 100.00 0.000498 0 135798 sched_yield 0.00 0.000000 0 8 6 read 0.00 0.000000 0 2 write 0.00 0.000000 0 2 getpid 0.00 0.000000 0 2 ioctl 0.00 0.000000 0 3 gettimeofday 0.00 0.000000 0 2 poll 0.00 0.000000 0 4 rt_sigprocmask ------ ----------- ----------- --------- --------- ---------------- 100.00 0.000498 135821 6 total
^CProcess 21109 detached
However it's worth noting that even though I ran the demo with the least priority (20) I could hardly move any windows, Alt-Tab between them or do anything beyond watching the demo (mind that I have a quad core CPU and my system was otherwise completely idle).
http://bugs.winehq.org/show_bug.cgi?id=19724
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |26972
http://bugs.winehq.org/show_bug.cgi?id=19724
Bug 19724 depends on bug 26972, which changed state.
Bug 26972 Summary: Elevated demo crashes on start up http://bugs.winehq.org/show_bug.cgi?id=26972
What |Old Value |New Value ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
http://bugs.winehq.org/show_bug.cgi?id=19724
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roland@mxchange.org
--- Comment #13 from Roland Haeder roland@mxchange.org 2011-09-05 05:29:15 CDT --- I cannot get it running at all (with or without native DLL). I have attached a d3d.log (WINEDEBUG=+d3d) from latest GIT.
http://bugs.winehq.org/show_bug.cgi?id=19724
--- Comment #14 from Roland Haeder roland@mxchange.org 2011-09-05 05:29:49 CDT --- Created an attachment (id=36235) --> (http://bugs.winehq.org/attachment.cgi?id=36235) d3d log
http://bugs.winehq.org/show_bug.cgi?id=19724
--- Comment #15 from Artem S. Tashkinov t.artem@mailcity.com 2011-09-05 05:50:43 CDT --- (In reply to comment #13)
I cannot get it running at all (with or without native DLL). I have attached a d3d.log (WINEDEBUG=+d3d) from latest GIT.
It's definitely a regression, it silently exits here in Wine 1.3.27:
$ wine elevated_1024x768.exe
fixme:win:EnumDisplayDevicesW ((null),0,0x1464f9d8,0x00000000), stub! fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats fixme:d3d9:Direct3DShaderValidatorCreate9 stub fixme:d3d:query_init Unhandled query type 0x4. fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
wine exit status is 2 (i.e. it's not a normal termination).
http://bugs.winehq.org/show_bug.cgi?id=19724
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #23234|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=19724
--- Comment #16 from Artem S. Tashkinov t.artem@mailcity.com 2012-07-22 15:29:45 CDT --- Still crashes in Wine 1.5.9 (with native d3dx9_33.dll):
fixme:win:EnumDisplayDevicesW ((null),0,0x1464f994,0x00000000), stub! fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. fixme:d3d9:Direct3DShaderValidatorCreate9 stub fixme:d3d:query_init Unhandled query type 0x4. err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
exit status 2
http://bugs.winehq.org/show_bug.cgi?id=19724
--- Comment #17 from Artem S. Tashkinov t.artem@mailcity.com 2012-09-29 07:05:02 CDT --- Crashes in Wine 1.5.14 (with native d3dx9_33.dll) as well:
$ ./elevated_1024x768.exe fixme:win:EnumDisplayDevicesW ((null),0,0x1464f994,0x00000000), stub! fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. fixme:d3d9:Direct3DShaderValidatorCreate9 stub fixme:d3d:query_init Unhandled query type 0x4. err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
$ echo $? 2
http://bugs.winehq.org/show_bug.cgi?id=19724
--- Comment #18 from Roland Haeder roland@mxchange.org --- As this app no longer starts (with latest GIT; 1.7.9) this bug report should be closed and reopened with updated infos.
http://bugs.winehq.org/show_bug.cgi?id=19724
--- Comment #19 from Artem S. Tashkinov t.artem@mailcity.com --- (In reply to comment #18)
As this app no longer starts (with latest GIT; 1.7.9) this bug report should be closed and reopened with updated infos.
Depends on: bug 21817
https://bugs.winehq.org/show_bug.cgi?id=19724
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #20 from Artem S. Tashkinov t.artem@mailcity.com --- This is fixed in Wine 1.7.34.
Native d3dx9_33.dll is required as without it the demo crashes on start up (bug 21817, I presume).
https://bugs.winehq.org/show_bug.cgi?id=19724
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.35.
https://bugs.winehq.org/show_bug.cgi?id=19724 Bug 19724 depends on bug 21817, which changed state.
Bug 21817 Summary: Demoscene 4K demos can't cope with Wine builtin d3dx9_xx dll functions being forwarded (Elevated, fr-057) https://bugs.winehq.org/show_bug.cgi?id=21817
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED