#
#asahi-dev · 2025-11-20 12:25
Seti_oh wait in a future commit they did allow it to be overriden
#asahi-dev · 2025-11-20 11:54
leiothey should change it to the way I thought that works; always expose the option, but conditionalize the default if they want to (instead of better runtime checking)
#asahi-dev · 2025-11-20 11:53
leioah, it might be about making it dependent if the option is even exposed based on other conditions, ok
#asahi-dev · 2025-11-20 11:52
leiobut I hate cmake and am not sure
#asahi-dev · 2025-11-20 11:52
leioisn't that CMAKE_DEPENDENT_OPTION just about what the default is?
#asahi-dev · 2025-11-20 11:51
chadmedleio: the commit referenced in that issue makes ENABLE_OPENGL not work on any aarch64 machine
#asahi-dev · 2025-11-20 11:51
jannau+ OpenGL 4.6
#asahi-dev · 2025-11-20 11:50
jannauhttps://mesamatrix.net/#OpenGL both freedreno and and asahi support. geometry shaders will bring panfrost to OpenGL 3.3
#asahi-dev · 2025-11-20 11:50
leiocan't you just say -DENABLE_OPENGL=ON ?
#asahi-dev · 2025-11-20 11:46
chadmedwhat the heck is going on here
#asahi-dev · 2025-11-20 11:46
chadmedlmfao someone even pointed out that this approach is dumb and then they locked the issue
#asahi-dev · 2025-11-20 11:46
Seti_ah right, i actually asked them when trying to debug it not working and they said they were running Nix or something and that they didnt actually run the emulator on asahi(?)
#asahi-dev · 2025-11-20 11:45
chadmedthe dev
#asahi-dev · 2025-11-20 11:45
chadmedsorry not the person who opened it
#asahi-dev · 2025-11-20 11:45
chadmedthe person who opened this uses/used asahi
#asahi-dev · 2025-11-20 11:45
chadmedhahahah are you fr
#asahi-dev · 2025-11-20 11:42
Seti_https://github.com/azahar-emu/azahar/issues/124
#asahi-dev · 2025-11-20 11:42
Seti_Here is a snippet from the issue "opengl 3.3 doesnt exist for arm64, and probably never will."
#asahi-dev · 2025-11-20 11:36
Seti_so they chose the hamfisted option basically, and someone pointed it out in the convo but it was closed and forgotten 1+ year ago
#asahi-dev · 2025-11-20 11:35
leiook, so you did that
#asahi-dev · 2025-11-20 11:35
leiomaybe the commit that introduced this in the build system has an explanation
#asahi-dev · 2025-11-20 11:35
Seti_i found this out from a PR they made where they added it being disabled on all aarch64, with the motivation being "Arm64 Linux build has access to OpenGL when it is not supported"
#asahi-dev · 2025-11-20 11:31
chadmedwe are just guessing
#asahi-dev · 2025-11-20 11:31
chadmedwhat is the perceived problem they have ostensibly solved by doing this
#asahi-dev · 2025-11-20 11:31
chadmedi feel like this is an XY problem and you should probably find out _why_ they have banned gl on arm64 in the first place
#asahi-dev · 2025-11-20 11:30
chadmedyoud need to know which are the problem drivers
#asahi-dev · 2025-11-20 11:29
Seti_which only seems to be a PR
#asahi-dev · 2025-11-20 11:29
Seti_anyway matching on GPU drivers seems the least insane forward, i mostly want to make them reconsider what they are doing with something they will notice
#asahi-dev · 2025-11-20 11:29
chadmedid say so, but they picked the worst possible way to achieve "no gl on android"
#asahi-dev · 2025-11-20 11:29
Seti_this also runs on android devices so i think it might be that
#asahi-dev · 2025-11-20 11:28
Seti_i made an issue a while ago where i said opengl is fine on asahi linux platforms
#asahi-dev · 2025-11-20 11:28
chadmedif the problem is crap android devices then yeah ban it based on platform that kinda makes sense and cmake can do this just fine
#asahi-dev · 2025-11-20 11:28
Seti_i agree and i dunno why they did it in such a hamfisted way
#asahi-dev · 2025-11-20 11:28
chaos_princessbut yes, what chadmed said
#asahi-dev · 2025-11-20 11:28
chaos_princesscounterpoint, android :P
#asahi-dev · 2025-11-20 11:28
chadmedbanning gl based on a cpu isa is just insanity
#asahi-dev · 2025-11-20 11:27
chadmedarm64 does not preclude sane graphics implementations, and even so vanishingly few arm64 platforms now have gl implementations that are so bad that things like this simply will not work
#asahi-dev · 2025-11-20 11:27
chaos_princessbuild it unconditionally, then disable at runtime, is the correct approach
#asahi-dev · 2025-11-20 11:27
chadmedSeti_: no, there are heaps of arm64 devices that could do it. you can plug an amd gpu into a raspberry pi
#asahi-dev · 2025-11-20 11:26
chadmed"asahi linux" builtin flag would only be useful if youre building on an asahi machine, which is probably not the case for most binary distros
#asahi-dev · 2025-11-20 11:26
Seti_chadmed: yeah its dumb but I think they would be a lot more PR-willing if that can be done, and afaik the only aarch64 linux device that could reasonably run the emu is currently asahi devices
#asahi-dev · 2025-11-20 11:26
chadmedalso an
#asahi-dev · 2025-11-20 11:25
chaos_princesscause what if i want to build your thing on a nvidia arm platform, i am sure those have competent opengl
#asahi-dev · 2025-11-20 11:25
chadmedbuilding opengl should not be unconditional based on arch, at the worst there should be an explicit switch you can use to force it on even if they want it to _default_ to off on arm64
#asahi-dev · 2025-11-20 11:25
chaos_princessdo not match on "asahi specifically", but instead ban the bad gpu drivers
#asahi-dev · 2025-11-20 11:24
chaos_princessthen match on gpu
#asahi-dev · 2025-11-20 11:24
chadmedthen its doing stupid shit and that should stop being done upstream
#asahi-dev · 2025-11-20 11:24
Seti_and is what runs well
#asahi-dev · 2025-11-20 11:24
chadmedat this point we shouldnt even really need anything special that generic arm64 doesnt
#asahi-dev · 2025-11-20 11:24
Seti_the 3ds azahar emu disables opengl when compiling on aarch64 linux, but this is bad for asahi linux since compliant opengl drivers are present

plus ›