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@winehq.org ReportedBy: xerox_xerox2000@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