[Bug 18529] New: Two directX bugs in XNA-based games (Infiniminer/Paddles)
http://bugs.winehq.org/show_bug.cgi?id=18529 Summary: Two directX bugs in XNA-based games (Infiniminer/Paddles) Product: Wine Version: 1.1.21 Platform: PC URL: http://www.zachtronicsindustries.com/images/infinimine r-installer-v1.5.exe OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs(a)winehq.org ReportedBy: xerox_xerox2000(a)yahoo.co.uk Hi, i saw this thread http://ubuntuforums.org/showthread.php?t=1162360 someone trying to run this game, gave it a shot as well. The error-messagebox says: ----------------------------------------------------------------------------- No suitable graphics card found. The device creation parameters contain invalid configuration options. This program requires pixel shader 1.1 and vertex shader 1.1. ------------------------------------------------------------------------------ Doesn't really reveal anything. So i decided to give a simpler xna game a try: http://www.phstudios.com/tutorials/xna/Paddles/Paddles.zip Running this gives a lot more info in the console: Unhandled Exception: Microsoft.Xna.Framework.NoSuitableGraphicsDeviceException: The device creation parameters contain invalid configuration options. ---> System.ArgumentException: The selected MultiSampleQualityLevel value is invalid for the selected MultiSampleType. at Microsoft.Xna.Framework.GraphicsDeviceManager.ValidateGraphicsDeviceInformation(GraphicsDeviceInformation devInfo) at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice(GraphicsDeviceInformation newInfo) So the The selected MultiSampleQualityLevel value is invalid for the selected MultiSampleType is apparently the bug. That's bug one then. I can only do stupid hacks, the hack 1 attached gets the game a bit further. It then crashes with: Unhandled Exception: System.ArgumentException: The device name is not valid. Device names are in the form \\.\\DEVICE1 Parameter name: screenDeviceName at Microsoft.Xna.Framework.WindowsGameWindow.ScreenFromDeviceName(String screenDeviceName) Apperently it's not happy with what wine returns for ScreenDeviceName. It expects something like "\\\\.\\DISPLAY1", i think wine returns something like "\\.\\DISPLAY" With the hack/patch 2 the paddles game starts fine then. The other Infimer game also gets further with the two patches, but then halts at a sound error, and still doesn't run :(. If a directx developer could have a look and fix this that'd be nice, i think these bugs will affect all xna 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=18529 --- Comment #1 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2009-05-19 12:49:34 --- Created an attachment (id=21185) --> (http://bugs.winehq.org/attachment.cgi?id=21185) hack to get around bug 1 -- 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=18529 --- Comment #2 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2009-05-19 12:50:03 --- Created an attachment (id=21186) --> (http://bugs.winehq.org/attachment.cgi?id=21186) patch to work around bug 2 -- 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=18529 --- Comment #3 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2009-05-25 14:51:31 --- Created an attachment (id=21310) --> (http://bugs.winehq.org/attachment.cgi?id=21310) test QualityLevels !=0 on windows Second problem is solved. Attached is a test for the first problem. Tested on Vista, it turns out *pQualitylevels is not 0 but 1. Attaching also the fix for this problem. Anyone of the directX-developers have an idea this fix is the right way to go? -- 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=18529 --- Comment #4 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2009-05-25 14:53:46 --- Created an attachment (id=21311) --> (http://bugs.winehq.org/attachment.cgi?id=21311) fix for the bug -- 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=18529 Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Louis Lenders <xerox_xerox2000(a)yahoo.co.uk> 2009-05-28 12:17:42 --- fixed in current git. The apps I tested that are based on XNA 1.0 and XNA 2.0 now run fine, the Infiminer game (XNA 3.0) still crashes, i'll open a new bug for that one -- 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=18529 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> 2009-06-05 12:46:28 --- Closing bugs fixed in 1.1.23. -- 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.
participants (1)
-
wine-bugs@winehq.org