-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Raspberry Pi 4: Your video card driver does not support any of the supported OpenGL versions. #41162
Comments
There is a different process for compiling to raspberry Pi. The default x11 templates are for desktop x11. This Reddit comment suggests you should compile the executable with particular flags for the raspberry Pi. Keep in mind, Godot doesn't officially support raspberry Pi, so don't expect great performance or usability. |
Have you enabled dtoverlay=vc4-fkms-v3d in config.txt? |
It was there by default, see my config below: `# See /boot/overlays/README for all available options gpu_mem=64 #enable sound #enable vc4 over_voltage=6 |
Thank you for trying to help me. I will try to recompile it as following:
|
What I did step by step:
Final output: ` [Initial build] Compiling ==> thirdparty/freetype/src/sfnt/sfnt.c [Initial build] Linking Static Library ==> modules/freetype/libfreetype_builtin.x11.opt.tools.64.llvm.a [Initial build] Ranlib Library ==> modules/freetype/libfreetype_builtin.x11.opt.tools.64.llvm.a [Initial build] Building compilation database compile_commands.json [Initial build] progress_finish(["progress_finish"], []) [Initial build] Linking Static Library ==> core/libcore.x11.opt.tools.64.llvm.a [Initial build] Linking Program ==> bin/godot.x11.opt.tools.64.llvm [Initial build] scons: done building targets. Now the problem is that I have no idea where is the execution file... I mean I checked bin directory and there was nothing like "bin/godot.x11.opt.tools.64.llvm" there... What should I do next? |
I expect the compiled file to have no extension, not .llvm. |
I guess it because I used use_llvm=yes ... "scons -j 4 platform=x11 module_webm_enabled=no tools=yes use_llvm=yes CCFLAGS="-mcpu=cortex-a72 -mfpu=neon-vfpv4 -mfloat-abi=hard -mlittle-endian -munaligned-access" |
That one did not work as well, this is what I got at the end: [ 73%] Compiling ==> thirdparty/freetype/src/type42/type42.c |
So I got some help from @psstoyanov and finnaly manage to compile it on my system (Raspberry Pi 4 4GB + Linux Manjaro), for more details see here Step by step:
and as a result I got this output: scons: Reading SConscript files ...
as a result I got following output: Godot Engine v3.2.3.rc.custom_build.c5abc57f8 - https://godotengine.org Godot GUI client is opened as well
It is good enough for now so I'll close this issue. |
Actually I still have a problem. When I tried to develop 2D game of my own I got an error on my first attempt to play it: So I get right back to where I started. i mean, I wanted to compile the Godot engine in order to solve that error in the first place... |
@ikostan Did you configure the project to use the GLES2 renderer instead of GLES3? You can do it in the top-right corner of th eeditor window (which appears to be cut off on your screenshot), or in the Project Settings (Rendering > Quality > Driver > Driver Name). |
Thanks @Calinou , now it works fine. |
Godot version: 3.2.2-stable
OS/device including
version:
Manjaro ARM Linux (Linux 5.4.51-2-MANJARO-ARM (aarch64)) + Raspberry Pi 4 4 GBIssue description: video card driver error appears when running Godot project on Raspberry Pi 4 (Godot engine was compiled on Raspberry Pi 4)
Steps to reproduce:
In general I tried to compile Godot for my Raspberry Pi 4 (4 GB) so that I could run Godot projects on it. I do that because there is no official Godot version for my setup at the moment. The full procedure description you can find here.
Open terminal and run: "sudo pacman -S scons pkgconf gcc libxcursor libxinerama libxi libxrandr mesa glu alsa-lib pulseaudio
freetype2 yasm"
Download official Godot version from here: 3.2.2-stable
Extract files to: "/home/superadmin/Godot/godot-3.2.2-stable/"
Open terminal and run: "cd /home/superadmin/Godot/godot-3.2.2-stable/"
Then run: "scons -j8 platform=x11 bits=64"
Wait until compilation process is finished
Copy compiled version: sudo cp /bin/godot.x11.tools.64 /home/superadmin/Godot/compiled/godot.x11.tools.64
Run godot.x11.tools.64
Open a simple Godot project and press on "Play" button.
Actual results:
"Your video card driver does not support any of the supported OpenGL versions. Please update your drivers or if you have a very old or integrated GPU upgrade it." error appears
Minimal reproduction project:
The text was updated successfully, but these errors were encountered: