-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Linux] Native Linux version launch but black screen #395
Comments
The issue is most likely the GPU or driver - it is reporting |
Thanks. Also here i am curious why all working good under Windows 10 at same GPU but video driver is bit newer 342.01 but Linux driver 340.108? Also geforce 9800 gtx (g92) support OpenGL 3.3 So it all wired things Linux "problems" and no way to investigate them? I mean to fiind reasons why mouselook can freezing under Wine or why i can't see GUI of TFE in native Linux version? |
You could try to raise an issue with nvidia (linux-bugs@nvidia.com) about this. It does work with driver 470 on linux; but I guess your gpu is too old for this version now? Alternatively, ditch the nvidia blob driver and try the mesa noveaou(sp?) driver. |
this gpu and driver have no support anymore by nvidia, why other games running smooth under wine but TFE mouselook have lag spikes? |
Please paste the output of "glxinfo" somehwere. A 9800gtx should have GL3.3 support, and I remember nvidias drivers supporting GL very well. There must be something else broken, or an extension missing. |
@JakeSmarter
how do this? try run flathub version
|
@12sunflowers: care to try this branch? I've added a few debug statements. run cmake with the following compiler flags to get at least some symbols: |
@mlauss2
|
you have apparently no OpenGL support at all (either missing in libSDL2 or on your system). |
My old gf9800gtx not fully supports all opengl 3.3 extensions |
others games running well ezquake zandronum ut99 |
I have a hunch, could you please test my "test2" branch? EDIT or do this change manually in the top-level CMakeLists.txt file: index 00046ba5..c6050ea9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -61,7 +61,7 @@ if(ENABLE_TFE)
find_package(Threads REQUIRED)
find_package(SDL2 2.0.20 REQUIRED)
pkg_check_modules(SDL2_IMAGE REQUIRED SDL2_image)
- set(OpenGL_GL_PREFERENCE GLVND)
+ set(OpenGL_GL_PREFERENCE LEGACY)
find_package(OpenGL REQUIRED)
target_include_directories(tfe PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories(tfe PRIVATE ${SDL2_INCLUDE_DIRS}) |
Great! The 340.xx nvidia driver series is the last that does not support glvnd (which is a method to have multiple libGL.so files on your system if you have e.g. intel igpu + nvidia dgpu and want to do opengl on both), however modern CMake sets it as default (I did as well in the CMakeLists.txt file), which links the binary against "libOpenGL.so" which does exist on your system, but the nvidia driver I'll prepare a PR. |
Thanks for explanations. It's all bit mess for me but very exiting. Can you suggest some reading about all of that stuff? Radeon drivers also use same way as nvidia, i mean GLX or GLVND? |
Hello @12sunflowers, could you please test lucius' latest tree whether it works for you? Some other changes have gone it, notably one which removed the whole OpenGL stuff from CMakeLists altogether. Thanks! |
@mlauss2 |
fixed by #419 Thanks for testing! |
It looks like this has been resolved, so closing. |
All compiled good
But after launch ./theforceengine only black screen
The text was updated successfully, but these errors were encountered: