-
Notifications
You must be signed in to change notification settings - Fork 134
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
Arm64 Linux build has access to OpenGL when it is not supported #124
Comments
I was going to fix this using a Raspberry Pi I thought I had on hand, however I am unable to find it. |
It can actually launch on certain configurations but games can't be played on devices that don't have Vulkan (some have the hardware support but no kernel support yet) since it just tells us it requires OpenGL 4.3 (self compiled, not flatpak since flatpak just runs with llvmpipe for me because support for my GPU isn't in mainline MESA). I've started lookin at a way to use OpenGL ES for Linux ARM64 as well since it's already a thing for Android but no idea if that's even possible? |
I thought the issue was related to the Flatpak version? It's mentioned in the original issue. |
I wrote that in a break today so doesn't surprise me that it's written poorly but anyway:
However there's a secondary issue, even when the flatpak does work and can access the GPU... The emulator still won't work for most devices because anything OpenGL 4.x is a distant dream and the Vulkan situation on ARM Linux is pretty sad... Even where the hardware does support it the driver doesn't and usually won't for a very long time. What I'm basically saying is that just getting the flatpak to run isn't enough, we can usually just do that ourselves by setting some environment variable but most devices still can't use the emulator after. |
Flatpak runs fine on arm, and so does opengl es, standard opengl, (3.3) , does not exist on arm. (godot projects use opengl es, for example, on their android and arm64 builds.) It's failing bc you have it requesting a driver that doesn't exist on the platform. |
You really really should be using Vulcan on arm though, opengl es is probably going to lag behind vulcan on implemented features for awhile |
The vulcan drivers on arm64 devices vary in their implemented protocals, but for many arm64 devices with mali gpus, the situation is actually quite good, contrary to the impression you have. |
Yes, the Vulkan situation on Linux with Mali is decent but that's a now thing and for old ones mostly, the main test device I am using right now actually has a RK3588 and 32 GB RAM, the Mali g610 still doesn't have Vulkan working (at all) and who knows when that will be a thing. |
I have no idea why you got so defensive there, but open gl es support is fine to include, I still think the driver selection should default to vulcan, but regardless of opinions, you could simply run some commands on linux builds to get gpu support information and default to the best option for each device that way, regardless of your favorite driver. You also shouldn't hold out for too old of arm64 chipsets to get vulcan support (or any kind of gpu driver support, really), unless they're well maintained by projects like, postmarketOS. Support targets should be devices like the Pi's, rk3588(s)-based chipsets. I get the feeling two people being aggressively nerdy to one another on github isn't going to exactly help get this issue sorted though. If you have a good suggestion to get this issue sorted, i'm all ears; I think checking the gpu information by default is probably the way to ensure the highest compatibility. |
You may wish to just remove your arm64 build till such a time where you or someone familiar with arm64 and proper screen-factoring can help you fix somethings. As it stands, they don't work on any of the arm devices i've tested on and probably will confuse users as to why it has an arm build that's unfunctional and unsupported. Appologies for being unable to offer more assistance. |
I agree. The ARM Flatpak will be temporarily disabled in 2115 |
[Quote removed] This not true arm64 working fine [Quote removed] This doesn't true Opengl core can running fine under GPU Adreno 600 and Tegra TX1 . |
@mrcmunir Are you using an Android device? This discussion is exclusively referring to the ARM |
I'm always talked about linux aarch64/arm64 |
Lima3DS works well for me. I have a tegrax1 v1 switch with Linux, both Ubuntu 22.04 and 24.04 and it works fine. if an arm device that is not compatible with OpenGL or vulkan is used. It is normal that it does not turn on. Tegrax1 and jetson you should have no problems. With other devices it may be, especially if the drivers are not installed or optimized. 2024-07-04.22-05-15.mp4 |
That's what I said in the previous message. |
I've got an RPi 4 lying around, is there anything I can do to help? |
Fixed by b240dac, thanks for the report! |
That broken Option OpenGL under aarch64 devices can OpenGL run (i.e Tegra devices , Apple m1+ device asahi , Adreno 600 gpus , any other Pci express board ) . |
Is there an existing issue for this?
Affected Build(s)
2110
Description of Issue
Lime3DS doesn't launch on any arm64 devices.
(You probably still have it set to expect opengl 3.3..? on arm still? arm64 doesnt support opengl 3.3)
Expected Behavior
For it to use vucan on arm, always. opengl 3.3 doesnt exist for arm64, and probably never will.
Reproduction Steps
Install Lime from flathub on any arm device
Log File
not available.
System Configuration
Not Related, effects all arm64 devices.
The text was updated successfully, but these errors were encountered: