[Bug 32581] New: Invalid dwFlags of reference rasterizer HAL D3DDEVICEDESC
http://bugs.winehq.org/show_bug.cgi?id=32581 Bug #: 32581 Summary: Invalid dwFlags of reference rasterizer HAL D3DDEVICEDESC Product: Wine Version: 1.5.19 Platform: x86-64 URL: http://slackware.sukkology.net/packages/d2xcvs/d2x/arc h/win32/d3dframe/d3denum.cpp OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: anonymous(a)interia.pl Classification: Unclassified It seems that there is a problem with d3d device enumeration (Wine's d3d3_EnumDevices function). An example found in directx 6.1 SDK (samples\multimedia\d3dim\src\d3dframe\d3denum.cpp, Enum3DDevicesCallback function) seems to indicate that testing whether currently enumerated device is a hardware device should be done by checking the dwFlags of the D3DDEVICEDESC structure related to the hardware features (pHALDesc argument). Wine sets both structures (and therefore both dwFlags) to the same value resulting in failure to find a software-only device (which should have dwFlags=0). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32581 Grzegorz C <anonymous(a)interia.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |27599, 19177 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32581 Piotr <anonymous(a)interia.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Invalid dwFlags of |Invalid dwFlags of |reference rasterizer HAL |reference rasterizer's HAL |D3DDEVICEDESC |D3DDEVICEDESC -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32581 --- Comment #1 from Piotr <anonymous(a)interia.pl> 2013-06-15 11:06:05 CDT --- Alternative d3denum location: http://src.gnu-darwin.org/ports/games/d2x/work/d2x-0.2.5/arch/win32/d3dframe... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32581 Henri Verbeet <hverbeet(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d --- Comment #2 from Henri Verbeet <hverbeet(a)gmail.com> 2013-06-16 06:07:18 CDT --- Makes sense, but mostly needs some tests. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32581 WineBuG <winebugs140(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winebugs140(a)gmail.com --- Comment #3 from WineBuG <winebugs140(a)gmail.com> 2013-10-11 16:21:46 CDT --- (In reply to comment #2)
Makes sense, but mostly needs some tests.
I wonder whether this can be connected with my Bug 34630. In games' preferences, there are more display drivers (graphic cards) than on Windows and they have strange names. I think this happens mainly with older games. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32581 WineBuG <winebugs140(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |erich.e.hoover(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32581 --- Comment #4 from Erich Hoover <erich.e.hoover(a)gmail.com> --- Created attachment 48302 --> http://bugs.winehq.org/attachment.cgi?id=48302 ddraw: Return empty D3D hardware flags for HEL device enumeration. Please try the attached patch, I developed this a little while ago but I currently have too many other patches waiting to be accepted to send it in. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=32581 --- Comment #5 from WineBuG <winebugs140(a)gmail.com> --- (In reply to Erich Hoover from comment #4)
Created attachment 48302 [details] ddraw: Return empty D3D hardware flags for HEL device enumeration.
Please try the attached patch, I developed this a little while ago but I currently have too many other patches waiting to be accepted to send it in.
Thanks for the patch! Now Gorky 17 runs fine, though only in software mode. In other modes a DirectX initialization error is still displayed. The patch doesn't seem to affect the problems described in Bug 19153 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=32581 --- Comment #6 from Erich Hoover <erich.e.hoover(a)gmail.com> --- I keep forgetting to comment here... This should be fixed now by commit 45147b82efeceea76b37147f56e7088a27d18663. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=32581 --- Comment #7 from WineBuG <winebugs140(a)gmail.com> --- (In reply to Erich Hoover from comment #6)
I keep forgetting to comment here... This should be fixed now by commit 45147b82efeceea76b37147f56e7088a27d18663.
Thanks a lot Erich! Do you think Gorky 17 doesn't run in DirectX mode because of Bug 19153? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=32581 Henri Verbeet <hverbeet(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |45147b82efeceea76b37147f56e | |7088a27d18663 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Henri Verbeet <hverbeet(a)gmail.com> --- So this is fixed, right? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=32581 --- Comment #9 from Erich Hoover <erich.e.hoover(a)gmail.com> --- (In reply to Henri Verbeet from comment #8)
So this is fixed, right?
Yes, I was waiting for the reporter to confirm - but it's fixed. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=32581 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #10 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.7.26. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org