Comments (10)
EDIT:
It turned out that the game only started when I chose the integrated graphics card. I am still waiting for such a bug to be fixed. Greetings!
from skijump3-sdl.
Hey, thanks for reporting the issue!
Could you try to reproduce it with attached debug version? Extract it into fresh SJ3 directory and run from command line. It should print more information than the release version. Thanks!
from skijump3-sdl.
https://i.imgur.com/orQqy0T.png
Hello.
After activating SJ3-debug.exe, more information came out of the command line. I hope this will help solve the problem.
Cheers!
from skijump3-sdl.
Thanks! It's indeed helpful and shows that the problem happens within renderer creation.
renderer := SDL_CreateRenderer(window, -1, 0);
I checked the parameters we use in Window and Renderer creation and those should be valid. I couldn't find search engine hits for this kind of exception related to that API.
Because you are the only one out of hundreds of users who have reported this and with dedicated GPU only, I'm inclined to say that the issue is either in SDL library, operating system or most likely in GPU drivers.
Which dedicated GPU you have? Is it in laptop? Can you try to update your GPU drivers?
from skijump3-sdl.
One thing we could try. This version enforces software rendering instead of defaulting to hardware acceleration. Could you try if this one works with your problematic GPU? Thanks!
from skijump3-sdl.
My dedicated graphics card is the NVIDIA GeForce GTX 1650, and yes, I have a laptop. As for the graphics drivers, I have everything updated.
However, after running SJ3-sw-renderer.exe file on NVIDIA card, the game started normally, without any errors.
Thank you very much!
from skijump3-sdl.
Thanks for testing. What the test actually means is that the problem is indeed only with that particular nVIDIA setup/drivers. The change forced software rendering which means that all the work is done by the CPU. This test was unfortunately only a workaround and cannot be mainlined since it removes any GPU hardware acceleration from everyone.
It all means that there does not seem to be a way to fix the issue in code. Have you played other SDL2 games like what we have ported or maybe C-Dogs? It would be interesting to know if some or all of them work.
from skijump3-sdl.
I have not yet played the other games, I would have to look at them in the near future and see if there is a similar error. So, as I understand it, my only option is to play the integrated graphics card. Well, there is always a solution :D Thanks a lot for your help! :)
from skijump3-sdl.
I'm adding a command line parameter to prioritize SW rendering. It's at least a valid workaround.
I was looking online and there were some Pascal/SDL issues with similarities. But nothing really promising. I tried to repro on one nVidia laptop but that was ok.
from skijump3-sdl.
SJ313-SP4 released with support for enforced SW rendering via command line parameters.
Thanks again for reporting and have a nice flight to Christmas! Stay safe.
from skijump3-sdl.
Related Issues (12)
- Travis CI integration HOT 1
- Structure files
- Scandic letters not working HOT 1
- Add macOS release HOT 4
- Replay save support HOT 1
- Extra hill support HOT 1
- Fix arithmetic/buffer overflows
- Document changes in port HOT 1
- Animated cover GIF HOT 1
- Add SP version number HOT 2
- Remove unnecessary files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skijump3-sdl.