stride3d / stride

Stride Game Engine (formerly Xenko)
https://stride3d.net
MIT License
6.38k stars 925 forks source link

No screen modes found error. #831

Open ghost opened 3 years ago

ghost commented 3 years ago

Release Type: Official Release

Version: 4.0.0.1-beta04-1265

Platform(s): Windows

Describe the bug I am following the C# beginner tutorials Ep. 1. As soon as I build the project I get an [Game]: Error: Unexpected exception. System.InvalidOperationException: No screen modes found error.

To Reproduce Steps to reproduce the behavior:

  1. Create C# Beginner tutorial project.
  2. Build and run project.

Expected behavior I expected it to build and then run the sample project.

Screenshots Screenshot (31)_LI

Log and callstacks Build.txt StrideOutput.txt

Additional context I am a complete beginner at Stride, and just started today. It looks really promising and would really like to use it. I am also using a fairly old computer.

Eideren commented 3 years ago

Weird that the editor works but not the game, could you try other values for the Default Graphics Profile property inside the GameSettings asset ? What cpu and gpu is in that computer ? What resolution and refresh rate does your screen support ?

ghost commented 3 years ago

@Eideren When I change he Default Graphics Profile to Direct3D 10 and below I get a black screen. Whenever I click on it it doesn't respond and crashes. Anything above Direct3D 10 and I get a console error.

My CPU is an Intel Core i7-2620M @ 2.70GHz. I have an Intel HD Graphics 3000 and a GeForce GT 540M. The resolution is 1920 x 1080 and the refresh rate is 60Hz.

ghost commented 3 years ago

@Eideren Is there a way to play the game in the Game Studio like Unity?

Eideren commented 3 years ago

@PrettyCoolDude987 not yet #333 Debugging this issue without similar hardware doesn't seem very feasible and there's not a lot of people on this project, sorry, you're more likely to fix this issue on your side before anyone else can even take a stab at it.

ghost commented 3 years ago

Ok thanks though. The engine is probably too complicated for me to comprehend, but I'll leave this open for a week just in case.

tebjan commented 3 years ago

Did you check on which GPU the game starts? https://ccm.net/faq/41241-nvidia-display-gpu-activity-icon-in-the-notification-area

Eideren commented 3 years ago

@PrettyCoolDude987 are you sure this issue is resolved ? I didn't see any pr related to it ? I would rather keep it open for now, either fix it, find a work around or at least present users with some info to fix it on their side. If this issue is apu/igpu related like tebjan alluded to we'll change the title to reflect that.

ghost commented 3 years ago

@Eideren I’m pretty sure it’s a gpu problem because I’ve had problems with Unreal and Unity before when it comes to playing a build.